Provider
The provider type for the openstack 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 a Provider Resource
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);def Provider(resource_name, opts=None, allow_reauth=None, application_credential_id=None, application_credential_name=None, application_credential_secret=None, auth_url=None, cacert_file=None, cert=None, cloud=None, default_domain=None, delayed_auth=None, disable_no_cache_header=None, domain_id=None, domain_name=None, endpoint_overrides=None, endpoint_type=None, insecure=None, key=None, max_retries=None, password=None, project_domain_id=None, project_domain_name=None, region=None, swauth=None, tenant_id=None, tenant_name=None, token=None, use_octavia=None, user_domain_id=None, user_domain_name=None, user_id=None, user_name=None, __props__=None);func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Provider resource accepts the following input properties:
- Allow
Reauth bool If set to
false, OpenStack authorization won’t be perfomed automatically, if the initial auth token get expired. Defaults totrue- Application
Credential stringId Application Credential ID to login with.
- Application
Credential stringName Application Credential name to login with.
- Application
Credential stringSecret Application Credential secret to login with.
- Auth
Url string The Identity authentication URL.
- Cacert
File string A Custom CA certificate.
- Cert string
A client certificate to authenticate with.
- Cloud string
An entry in a
clouds.yamlfile to use.- Default
Domain string The name of the Domain ID to scope to if no other domain is specified. Defaults to
default(Identity v3).- Delayed
Auth bool If set to
false, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue.- Disable
No boolCache Header If set to
true, the HTTPCache-Control: no-cacheheader will not be added by default to all API requests.- Domain
Id string The ID of the Domain to scope to (Identity v3).
- Domain
Name string The name of the Domain to scope to (Identity v3).
- Endpoint
Overrides Dictionary<string, object> A map of services with an endpoint to override what was from the Keystone catalog
- Endpoint
Type string - Insecure bool
Trust self-signed certificates.
- Key string
A client private key to authenticate with.
- Max
Retries int How many times HTTP connection should be retried until giving up.
- Password string
Password to login with.
- Project
Domain stringId The ID of the domain where the proejct resides (Identity v3).
- Project
Domain stringName The name of the domain where the project resides (Identity v3).
- Region string
The OpenStack region to connect to.
- Swauth bool
Use Swift’s authentication system instead of Keystone. Only used for interaction with Swift.
- Tenant
Id string The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Tenant
Name string The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Token string
Authentication token to use as an alternative to username/password.
- Use
Octavia bool If set to
true, API requests will go the Load Balancer service (Octavia) instead of the Networking service (Neutron).- User
Domain stringId The ID of the domain where the user resides (Identity v3).
- User
Domain stringName The name of the domain where the user resides (Identity v3).
- User
Id string Username to login with.
- User
Name string Username to login with.
- Allow
Reauth bool If set to
false, OpenStack authorization won’t be perfomed automatically, if the initial auth token get expired. Defaults totrue- Application
Credential stringId Application Credential ID to login with.
- Application
Credential stringName Application Credential name to login with.
- Application
Credential stringSecret Application Credential secret to login with.
- Auth
Url string The Identity authentication URL.
- Cacert
File string A Custom CA certificate.
- Cert string
A client certificate to authenticate with.
- Cloud string
An entry in a
clouds.yamlfile to use.- Default
Domain string The name of the Domain ID to scope to if no other domain is specified. Defaults to
default(Identity v3).- Delayed
Auth bool If set to
false, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue.- Disable
No boolCache Header If set to
true, the HTTPCache-Control: no-cacheheader will not be added by default to all API requests.- Domain
Id string The ID of the Domain to scope to (Identity v3).
- Domain
Name string The name of the Domain to scope to (Identity v3).
- Endpoint
Overrides map[string]interface{} A map of services with an endpoint to override what was from the Keystone catalog
- Endpoint
Type string - Insecure bool
Trust self-signed certificates.
- Key string
A client private key to authenticate with.
- Max
Retries int How many times HTTP connection should be retried until giving up.
- Password string
Password to login with.
- Project
Domain stringId The ID of the domain where the proejct resides (Identity v3).
- Project
Domain stringName The name of the domain where the project resides (Identity v3).
- Region string
The OpenStack region to connect to.
- Swauth bool
Use Swift’s authentication system instead of Keystone. Only used for interaction with Swift.
- Tenant
Id string The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Tenant
Name string The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- Token string
Authentication token to use as an alternative to username/password.
- Use
Octavia bool If set to
true, API requests will go the Load Balancer service (Octavia) instead of the Networking service (Neutron).- User
Domain stringId The ID of the domain where the user resides (Identity v3).
- User
Domain stringName The name of the domain where the user resides (Identity v3).
- User
Id string Username to login with.
- User
Name string Username to login with.
- allow
Reauth boolean If set to
false, OpenStack authorization won’t be perfomed automatically, if the initial auth token get expired. Defaults totrue- application
Credential stringId Application Credential ID to login with.
- application
Credential stringName Application Credential name to login with.
- application
Credential stringSecret Application Credential secret to login with.
- auth
Url string The Identity authentication URL.
- cacert
File string A Custom CA certificate.
- cert string
A client certificate to authenticate with.
- cloud string
An entry in a
clouds.yamlfile to use.- default
Domain string The name of the Domain ID to scope to if no other domain is specified. Defaults to
default(Identity v3).- delayed
Auth boolean If set to
false, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue.- disable
No booleanCache Header If set to
true, the HTTPCache-Control: no-cacheheader will not be added by default to all API requests.- domain
Id string The ID of the Domain to scope to (Identity v3).
- domain
Name string The name of the Domain to scope to (Identity v3).
- endpoint
Overrides {[key: string]: any} A map of services with an endpoint to override what was from the Keystone catalog
- endpoint
Type string - insecure boolean
Trust self-signed certificates.
- key string
A client private key to authenticate with.
- max
Retries number How many times HTTP connection should be retried until giving up.
- password string
Password to login with.
- project
Domain stringId The ID of the domain where the proejct resides (Identity v3).
- project
Domain stringName The name of the domain where the project resides (Identity v3).
- region string
The OpenStack region to connect to.
- swauth boolean
Use Swift’s authentication system instead of Keystone. Only used for interaction with Swift.
- tenant
Id string The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- tenant
Name string The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- token string
Authentication token to use as an alternative to username/password.
- use
Octavia boolean If set to
true, API requests will go the Load Balancer service (Octavia) instead of the Networking service (Neutron).- user
Domain stringId The ID of the domain where the user resides (Identity v3).
- user
Domain stringName The name of the domain where the user resides (Identity v3).
- user
Id string Username to login with.
- user
Name string Username to login with.
- allow_
reauth bool If set to
false, OpenStack authorization won’t be perfomed automatically, if the initial auth token get expired. Defaults totrue- application_
credential_ strid Application Credential ID to login with.
- application_
credential_ strname Application Credential name to login with.
- application_
credential_ strsecret Application Credential secret to login with.
- auth_
url str The Identity authentication URL.
- cacert_
file str A Custom CA certificate.
- cert str
A client certificate to authenticate with.
- cloud str
An entry in a
clouds.yamlfile to use.- default_
domain str The name of the Domain ID to scope to if no other domain is specified. Defaults to
default(Identity v3).- delayed_
auth bool If set to
false, OpenStack authorization will be perfomed, every time the service provider client is called. Defaults totrue.- disable_
no_ boolcache_ header If set to
true, the HTTPCache-Control: no-cacheheader will not be added by default to all API requests.- domain_
id str The ID of the Domain to scope to (Identity v3).
- domain_
name str The name of the Domain to scope to (Identity v3).
- endpoint_
overrides Dict[str, Any] A map of services with an endpoint to override what was from the Keystone catalog
- endpoint_
type str - insecure bool
Trust self-signed certificates.
- key str
A client private key to authenticate with.
- max_
retries float How many times HTTP connection should be retried until giving up.
- password str
Password to login with.
- project_
domain_ strid The ID of the domain where the proejct resides (Identity v3).
- project_
domain_ strname The name of the domain where the project resides (Identity v3).
- region str
The OpenStack region to connect to.
- swauth bool
Use Swift’s authentication system instead of Keystone. Only used for interaction with Swift.
- tenant_
id str The ID of the Tenant (Identity v2) or Project (Identity v3) to login with.
- tenant_
name str The name of the Tenant (Identity v2) or Project (Identity v3) to login with.
- token str
Authentication token to use as an alternative to username/password.
- use_
octavia bool If set to
true, API requests will go the Load Balancer service (Octavia) instead of the Networking service (Neutron).- user_
domain_ strid The ID of the domain where the user resides (Identity v3).
- user_
domain_ strname The name of the domain where the user resides (Identity v3).
- user_
id str Username to login with.
- user_
name str Username to login with.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.