vcd.Provider
Explore with Pulumi AI
The provider type for the vcd package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_api_token_file: Optional[bool] = None,
allow_service_account_token_file: Optional[bool] = None,
allow_unverified_ssl: Optional[bool] = None,
api_token: Optional[str] = None,
api_token_file: Optional[str] = None,
auth_type: Optional[str] = None,
ignore_metadata_changes: Optional[Sequence[ProviderIgnoreMetadataChangeArgs]] = None,
import_separator: Optional[str] = None,
logging: Optional[bool] = None,
logging_file: Optional[str] = None,
max_retry_timeout: Optional[float] = None,
org: Optional[str] = None,
password: Optional[str] = None,
saml_adfs_cookie: Optional[str] = None,
saml_adfs_rpt_id: Optional[str] = None,
service_account_token_file: Optional[str] = None,
sysorg: Optional[str] = None,
token: Optional[str] = None,
url: Optional[str] = None,
user: Optional[str] = None,
vdc: Optional[str] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:vcd
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Org string
- The VCD Org for API operations
- Url string
- The VCD url for VCD API operations.
- Allow
Api boolToken File - Set this to true if you understand the security risks of using API token files and would like to suppress the warnings
- Allow
Service boolAccount Token File - Set this to true if you understand the security risks of using Service Account token files and would like to suppress the warnings
- Allow
Unverified boolSsl - If set, VCDClient will permit unverifiable SSL certificates.
- Api
Token string - The API token used instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- Api
Token stringFile - The API token file instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- Auth
Type string - 'integrated', 'saml_adfs', 'token', 'api_token', 'api_token_file' and 'service_account_token_file' are supported. 'integrated' is default.
- Ignore
Metadata List<ProviderChanges Ignore Metadata Change> - Defines a set of
metadata_entry
that need to be ignored by this provider. All filters on this attribute are computed with a logical AND - Import
Separator string - Logging bool
- If set, it will enable logging of API requests and responses
- Logging
File string - Defines the full name of the logging file for API calls (requires 'logging')
- Max
Retry doubleTimeout - Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 60)
- Password string
- The user password for VCD API operations.
- string
- Allows to specify custom cookie for ADFS server lookup. '{{.Org}}' is replaced by real Org - e.g. 'sso-preferred=yes; sso_redirect_org={{.Org}}'
- Saml
Adfs stringRpt Id - Allows to specify custom Relaying Party Trust Identifier for auth_type=saml_adfs
- Service
Account stringToken File - The Service Account API token file instead of username/password for VCD API operations. (Requires VCD 10.4.0+)
- Sysorg string
- The VCD Org for user authentication
- Token string
- The token used instead of username/password for VCD API operations.
- User string
- The user name for VCD API operations.
- Vdc string
- The VDC for API operations
- Org string
- The VCD Org for API operations
- Url string
- The VCD url for VCD API operations.
- Allow
Api boolToken File - Set this to true if you understand the security risks of using API token files and would like to suppress the warnings
- Allow
Service boolAccount Token File - Set this to true if you understand the security risks of using Service Account token files and would like to suppress the warnings
- Allow
Unverified boolSsl - If set, VCDClient will permit unverifiable SSL certificates.
- Api
Token string - The API token used instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- Api
Token stringFile - The API token file instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- Auth
Type string - 'integrated', 'saml_adfs', 'token', 'api_token', 'api_token_file' and 'service_account_token_file' are supported. 'integrated' is default.
- Ignore
Metadata []ProviderChanges Ignore Metadata Change Args - Defines a set of
metadata_entry
that need to be ignored by this provider. All filters on this attribute are computed with a logical AND - Import
Separator string - Logging bool
- If set, it will enable logging of API requests and responses
- Logging
File string - Defines the full name of the logging file for API calls (requires 'logging')
- Max
Retry float64Timeout - Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 60)
- Password string
- The user password for VCD API operations.
- string
- Allows to specify custom cookie for ADFS server lookup. '{{.Org}}' is replaced by real Org - e.g. 'sso-preferred=yes; sso_redirect_org={{.Org}}'
- Saml
Adfs stringRpt Id - Allows to specify custom Relaying Party Trust Identifier for auth_type=saml_adfs
- Service
Account stringToken File - The Service Account API token file instead of username/password for VCD API operations. (Requires VCD 10.4.0+)
- Sysorg string
- The VCD Org for user authentication
- Token string
- The token used instead of username/password for VCD API operations.
- User string
- The user name for VCD API operations.
- Vdc string
- The VDC for API operations
- org String
- The VCD Org for API operations
- url String
- The VCD url for VCD API operations.
- allow
Api BooleanToken File - Set this to true if you understand the security risks of using API token files and would like to suppress the warnings
- allow
Service BooleanAccount Token File - Set this to true if you understand the security risks of using Service Account token files and would like to suppress the warnings
- allow
Unverified BooleanSsl - If set, VCDClient will permit unverifiable SSL certificates.
- api
Token String - The API token used instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- api
Token StringFile - The API token file instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- auth
Type String - 'integrated', 'saml_adfs', 'token', 'api_token', 'api_token_file' and 'service_account_token_file' are supported. 'integrated' is default.
- ignore
Metadata List<ProviderChanges Ignore Metadata Change> - Defines a set of
metadata_entry
that need to be ignored by this provider. All filters on this attribute are computed with a logical AND - import
Separator String - logging Boolean
- If set, it will enable logging of API requests and responses
- logging
File String - Defines the full name of the logging file for API calls (requires 'logging')
- max
Retry DoubleTimeout - Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 60)
- password String
- The user password for VCD API operations.
- String
- Allows to specify custom cookie for ADFS server lookup. '{{.Org}}' is replaced by real Org - e.g. 'sso-preferred=yes; sso_redirect_org={{.Org}}'
- saml
Adfs StringRpt Id - Allows to specify custom Relaying Party Trust Identifier for auth_type=saml_adfs
- service
Account StringToken File - The Service Account API token file instead of username/password for VCD API operations. (Requires VCD 10.4.0+)
- sysorg String
- The VCD Org for user authentication
- token String
- The token used instead of username/password for VCD API operations.
- user String
- The user name for VCD API operations.
- vdc String
- The VDC for API operations
- org string
- The VCD Org for API operations
- url string
- The VCD url for VCD API operations.
- allow
Api booleanToken File - Set this to true if you understand the security risks of using API token files and would like to suppress the warnings
- allow
Service booleanAccount Token File - Set this to true if you understand the security risks of using Service Account token files and would like to suppress the warnings
- allow
Unverified booleanSsl - If set, VCDClient will permit unverifiable SSL certificates.
- api
Token string - The API token used instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- api
Token stringFile - The API token file instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- auth
Type string - 'integrated', 'saml_adfs', 'token', 'api_token', 'api_token_file' and 'service_account_token_file' are supported. 'integrated' is default.
- ignore
Metadata ProviderChanges Ignore Metadata Change[] - Defines a set of
metadata_entry
that need to be ignored by this provider. All filters on this attribute are computed with a logical AND - import
Separator string - logging boolean
- If set, it will enable logging of API requests and responses
- logging
File string - Defines the full name of the logging file for API calls (requires 'logging')
- max
Retry numberTimeout - Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 60)
- password string
- The user password for VCD API operations.
- string
- Allows to specify custom cookie for ADFS server lookup. '{{.Org}}' is replaced by real Org - e.g. 'sso-preferred=yes; sso_redirect_org={{.Org}}'
- saml
Adfs stringRpt Id - Allows to specify custom Relaying Party Trust Identifier for auth_type=saml_adfs
- service
Account stringToken File - The Service Account API token file instead of username/password for VCD API operations. (Requires VCD 10.4.0+)
- sysorg string
- The VCD Org for user authentication
- token string
- The token used instead of username/password for VCD API operations.
- user string
- The user name for VCD API operations.
- vdc string
- The VDC for API operations
- org str
- The VCD Org for API operations
- url str
- The VCD url for VCD API operations.
- allow_
api_ booltoken_ file - Set this to true if you understand the security risks of using API token files and would like to suppress the warnings
- allow_
service_ boolaccount_ token_ file - Set this to true if you understand the security risks of using Service Account token files and would like to suppress the warnings
- allow_
unverified_ boolssl - If set, VCDClient will permit unverifiable SSL certificates.
- api_
token str - The API token used instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- api_
token_ strfile - The API token file instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- auth_
type str - 'integrated', 'saml_adfs', 'token', 'api_token', 'api_token_file' and 'service_account_token_file' are supported. 'integrated' is default.
- ignore_
metadata_ Sequence[Providerchanges Ignore Metadata Change Args] - Defines a set of
metadata_entry
that need to be ignored by this provider. All filters on this attribute are computed with a logical AND - import_
separator str - logging bool
- If set, it will enable logging of API requests and responses
- logging_
file str - Defines the full name of the logging file for API calls (requires 'logging')
- max_
retry_ floattimeout - Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 60)
- password str
- The user password for VCD API operations.
- str
- Allows to specify custom cookie for ADFS server lookup. '{{.Org}}' is replaced by real Org - e.g. 'sso-preferred=yes; sso_redirect_org={{.Org}}'
- saml_
adfs_ strrpt_ id - Allows to specify custom Relaying Party Trust Identifier for auth_type=saml_adfs
- service_
account_ strtoken_ file - The Service Account API token file instead of username/password for VCD API operations. (Requires VCD 10.4.0+)
- sysorg str
- The VCD Org for user authentication
- token str
- The token used instead of username/password for VCD API operations.
- user str
- The user name for VCD API operations.
- vdc str
- The VDC for API operations
- org String
- The VCD Org for API operations
- url String
- The VCD url for VCD API operations.
- allow
Api BooleanToken File - Set this to true if you understand the security risks of using API token files and would like to suppress the warnings
- allow
Service BooleanAccount Token File - Set this to true if you understand the security risks of using Service Account token files and would like to suppress the warnings
- allow
Unverified BooleanSsl - If set, VCDClient will permit unverifiable SSL certificates.
- api
Token String - The API token used instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- api
Token StringFile - The API token file instead of username/password for VCD API operations. (Requires VCD 10.3.1+)
- auth
Type String - 'integrated', 'saml_adfs', 'token', 'api_token', 'api_token_file' and 'service_account_token_file' are supported. 'integrated' is default.
- ignore
Metadata List<Property Map>Changes - Defines a set of
metadata_entry
that need to be ignored by this provider. All filters on this attribute are computed with a logical AND - import
Separator String - logging Boolean
- If set, it will enable logging of API requests and responses
- logging
File String - Defines the full name of the logging file for API calls (requires 'logging')
- max
Retry NumberTimeout - Max num seconds to wait for successful response when operating on resources within vCloud (defaults to 60)
- password String
- The user password for VCD API operations.
- String
- Allows to specify custom cookie for ADFS server lookup. '{{.Org}}' is replaced by real Org - e.g. 'sso-preferred=yes; sso_redirect_org={{.Org}}'
- saml
Adfs StringRpt Id - Allows to specify custom Relaying Party Trust Identifier for auth_type=saml_adfs
- service
Account StringToken File - The Service Account API token file instead of username/password for VCD API operations. (Requires VCD 10.4.0+)
- sysorg String
- The VCD Org for user authentication
- token String
- The token used instead of username/password for VCD API operations.
- user String
- The user name for VCD API operations.
- vdc String
- The VDC for API operations
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ProviderIgnoreMetadataChange, ProviderIgnoreMetadataChangeArgs
- Conflict
Action string - Key
Regex string - Regular expression of the metadata entry keys to ignore. Either
key_regex
orvalue_regex
is required - Resource
Name string - Ignores metadata from the specific entity in VCD named like this argument
- Resource
Type string - Ignores metadata from the specific resource type
- Value
Regex string - Regular expression of the metadata entry values to ignore. Either
key_regex
orvalue_regex
is required
- Conflict
Action string - Key
Regex string - Regular expression of the metadata entry keys to ignore. Either
key_regex
orvalue_regex
is required - Resource
Name string - Ignores metadata from the specific entity in VCD named like this argument
- Resource
Type string - Ignores metadata from the specific resource type
- Value
Regex string - Regular expression of the metadata entry values to ignore. Either
key_regex
orvalue_regex
is required
- conflict
Action String - key
Regex String - Regular expression of the metadata entry keys to ignore. Either
key_regex
orvalue_regex
is required - resource
Name String - Ignores metadata from the specific entity in VCD named like this argument
- resource
Type String - Ignores metadata from the specific resource type
- value
Regex String - Regular expression of the metadata entry values to ignore. Either
key_regex
orvalue_regex
is required
- conflict
Action string - key
Regex string - Regular expression of the metadata entry keys to ignore. Either
key_regex
orvalue_regex
is required - resource
Name string - Ignores metadata from the specific entity in VCD named like this argument
- resource
Type string - Ignores metadata from the specific resource type
- value
Regex string - Regular expression of the metadata entry values to ignore. Either
key_regex
orvalue_regex
is required
- conflict_
action str - key_
regex str - Regular expression of the metadata entry keys to ignore. Either
key_regex
orvalue_regex
is required - resource_
name str - Ignores metadata from the specific entity in VCD named like this argument
- resource_
type str - Ignores metadata from the specific resource type
- value_
regex str - Regular expression of the metadata entry values to ignore. Either
key_regex
orvalue_regex
is required
- conflict
Action String - key
Regex String - Regular expression of the metadata entry keys to ignore. Either
key_regex
orvalue_regex
is required - resource
Name String - Ignores metadata from the specific entity in VCD named like this argument
- resource
Type String - Ignores metadata from the specific resource type
- value
Regex String - Regular expression of the metadata entry values to ignore. Either
key_regex
orvalue_regex
is required
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.