Skip to content

Commit

Permalink
Generated with latest terraform provider 1.41.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kavya498 committed Jul 19, 2022
1 parent 8161444 commit 04d48c7
Show file tree
Hide file tree
Showing 682 changed files with 15,717 additions and 9,969 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/ibm_account_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
description:
- Retrieve an IBM Cloud 'ibm_account' resource
requirements:
- IBM-Cloud terraform-provider-ibm v1.40.1
- IBM-Cloud terraform-provider-ibm v1.41.1
- Terraform v0.12.20
options:
Expand Down Expand Up @@ -112,7 +112,7 @@ def run_module():
resource_type='ibm_account',
tf_type='data',
parameters=module.params,
ibm_provider_version='1.40.1',
ibm_provider_version='1.41.1',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
58 changes: 29 additions & 29 deletions plugins/modules/ibm_api_gateway_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- Create, update or destroy an IBM Cloud 'ibm_api_gateway_endpoint' resource
- This module does not support idempotency
requirements:
- IBM-Cloud terraform-provider-ibm v1.40.1
- IBM-Cloud terraform-provider-ibm v1.41.1
- Terraform v0.12.20
options:
Expand All @@ -27,18 +27,6 @@
- (Required for new resource) Api Gateway Service Instance Crn
required: True
type: str
provider_id:
description:
- Provider ID of an endpoint allowable values user-defined and whisk
required: False
type: str
default: user-defined
type:
description:
- Action type of Endpoint ALoowable values are share, unshare, manage, unmanage
required: False
type: str
default: unshare
open_api_doc_name:
description:
- (Required for new resource) Json File path
Expand All @@ -49,18 +37,30 @@
- (Required for new resource) Endpoint name
required: True
type: str
managed:
description:
- Managed indicates if endpoint is online or offline.
required: False
type: bool
default: False
routes:
description:
- Invokable routes for an endpoint
required: False
type: list
elements: str
managed:
provider_id:
description:
- Managed indicates if endpoint is online or offline.
- Provider ID of an endpoint allowable values user-defined and whisk
required: False
type: bool
default: False
type: str
default: user-defined
type:
description:
- Action type of Endpoint ALoowable values are share, unshare, manage, unmanage
required: False
type: str
default: unshare
id:
description:
- (Required when updating or destroying existing resource) IBM Cloud Resource ID.
Expand Down Expand Up @@ -115,12 +115,12 @@
# All top level parameter keys supported by Terraform module
TL_ALL_PARAMETERS = [
'service_instance_crn',
'provider_id',
'type',
'open_api_doc_name',
'name',
'routes',
'managed',
'routes',
'provider_id',
'type',
]

# Params for Data source
Expand All @@ -140,25 +140,25 @@
service_instance_crn=dict(
required=False,
type='str'),
provider_id=dict(
required=False,
type='str'),
type=dict(
required=False,
type='str'),
open_api_doc_name=dict(
required=False,
type='str'),
name=dict(
required=False,
type='str'),
managed=dict(
required=False,
type='bool'),
routes=dict(
required=False,
elements='',
type='list'),
managed=dict(
provider_id=dict(
required=False,
type='bool'),
type='str'),
type=dict(
required=False,
type='str'),
id=dict(
required=False,
type='str'),
Expand Down Expand Up @@ -224,7 +224,7 @@ def run_module():
resource_type='ibm_api_gateway_endpoint',
tf_type='resource',
parameters=module.params,
ibm_provider_version='1.40.1',
ibm_provider_version='1.41.1',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
24 changes: 12 additions & 12 deletions plugins/modules/ibm_api_gateway_endpoint_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@
- Create, update or destroy an IBM Cloud 'ibm_api_gateway_endpoint_subscription' resource
- This module does not support idempotency
requirements:
- IBM-Cloud terraform-provider-ibm v1.40.1
- IBM-Cloud terraform-provider-ibm v1.41.1
- Terraform v0.12.20
options:
type:
description:
- (Required for new resource) Subscription type. Allowable values are external, internal
required: True
type: str
client_secret:
description:
- Client Sercret of a Subscription
Expand All @@ -52,6 +47,11 @@
- (Required for new resource) Subscription name
required: True
type: str
type:
description:
- (Required for new resource) Subscription type. Allowable values are external, internal
required: True
type: str
id:
description:
- (Required when updating or destroying existing resource) IBM Cloud Resource ID.
Expand Down Expand Up @@ -98,19 +98,19 @@

# Top level parameter keys required by Terraform module
TL_REQUIRED_PARAMETERS = [
('type', 'str'),
('artifact_id', 'str'),
('name', 'str'),
('type', 'str'),
]

# All top level parameter keys supported by Terraform module
TL_ALL_PARAMETERS = [
'type',
'client_secret',
'generate_secret',
'artifact_id',
'client_id',
'name',
'type',
]

# Params for Data source
Expand All @@ -129,9 +129,6 @@
from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform
from ansible.module_utils.basic import env_fallback
module_args = dict(
type=dict(
required=False,
type='str'),
client_secret=dict(
required=False,
type='str'),
Expand All @@ -147,6 +144,9 @@
name=dict(
required=False,
type='str'),
type=dict(
required=False,
type='str'),
id=dict(
required=False,
type='str'),
Expand Down Expand Up @@ -212,7 +212,7 @@ def run_module():
resource_type='ibm_api_gateway_endpoint_subscription',
tf_type='resource',
parameters=module.params,
ibm_provider_version='1.40.1',
ibm_provider_version='1.41.1',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/ibm_api_gateway_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
description:
- Retrieve an IBM Cloud 'ibm_api_gateway' resource
requirements:
- IBM-Cloud terraform-provider-ibm v1.40.1
- IBM-Cloud terraform-provider-ibm v1.41.1
- Terraform v0.12.20
options:
Expand Down Expand Up @@ -112,7 +112,7 @@ def run_module():
resource_type='ibm_api_gateway',
tf_type='data',
parameters=module.params,
ibm_provider_version='1.40.1',
ibm_provider_version='1.41.1',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
Loading

0 comments on commit 04d48c7

Please sign in to comment.