yandex.Provider
Explore with Pulumi AI
The provider type for the yandex 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: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_id: Optional[str] = None,
endpoint: Optional[str] = None,
folder_id: Optional[str] = None,
insecure: Optional[bool] = None,
max_retries: Optional[int] = None,
organization_id: Optional[str] = None,
plaintext: Optional[bool] = None,
service_account_key_file: Optional[str] = None,
storage_access_key: Optional[str] = None,
storage_endpoint: Optional[str] = None,
storage_secret_key: Optional[str] = None,
token: Optional[str] = None,
ymq_access_key: Optional[str] = None,
ymq_endpoint: Optional[str] = None,
ymq_secret_key: Optional[str] = None,
zone: Optional[str] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:yandex
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:
- Cloud
Id string - ID of Yandex.Cloud tenant.
- Endpoint string
- The API endpoint for Yandex.Cloud SDK client.
- Folder
Id string - The default folder ID where resources will be placed.
- Insecure bool
- Explicitly allow the provider to perform "insecure" SSL requests. If omitted,default value is
false
. - Max
Retries int - The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- Organization
Id string - Plaintext bool
- Disable use of TLS. Default value is
false
. - Service
Account stringKey File - Either the path to or the contents of a Service Account key file in JSON format.
- Storage
Access stringKey - Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- Storage
Endpoint string - Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- Storage
Secret stringKey - Yandex.Cloud storage service secret key. Used when a storage data/resource doesn't have a secret key explicitly specified.
- Token string
- The access token for API operations.
- Ymq
Access stringKey - Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- Ymq
Endpoint string - Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- Ymq
Secret stringKey - Yandex.Cloud Message Queue service secret key. Used when a message queue resource doesn't have a secret key explicitly specified.
- Zone string
- The zone where operations will take place. Examples are ru-central1-a, ru-central2-c, etc.
- Cloud
Id string - ID of Yandex.Cloud tenant.
- Endpoint string
- The API endpoint for Yandex.Cloud SDK client.
- Folder
Id string - The default folder ID where resources will be placed.
- Insecure bool
- Explicitly allow the provider to perform "insecure" SSL requests. If omitted,default value is
false
. - Max
Retries int - The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- Organization
Id string - Plaintext bool
- Disable use of TLS. Default value is
false
. - Service
Account stringKey File - Either the path to or the contents of a Service Account key file in JSON format.
- Storage
Access stringKey - Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- Storage
Endpoint string - Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- Storage
Secret stringKey - Yandex.Cloud storage service secret key. Used when a storage data/resource doesn't have a secret key explicitly specified.
- Token string
- The access token for API operations.
- Ymq
Access stringKey - Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- Ymq
Endpoint string - Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- Ymq
Secret stringKey - Yandex.Cloud Message Queue service secret key. Used when a message queue resource doesn't have a secret key explicitly specified.
- Zone string
- The zone where operations will take place. Examples are ru-central1-a, ru-central2-c, etc.
- cloud
Id String - ID of Yandex.Cloud tenant.
- endpoint String
- The API endpoint for Yandex.Cloud SDK client.
- folder
Id String - The default folder ID where resources will be placed.
- insecure Boolean
- Explicitly allow the provider to perform "insecure" SSL requests. If omitted,default value is
false
. - max
Retries Integer - The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- organization
Id String - plaintext Boolean
- Disable use of TLS. Default value is
false
. - service
Account StringKey File - Either the path to or the contents of a Service Account key file in JSON format.
- storage
Access StringKey - Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- storage
Endpoint String - Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- storage
Secret StringKey - Yandex.Cloud storage service secret key. Used when a storage data/resource doesn't have a secret key explicitly specified.
- token String
- The access token for API operations.
- ymq
Access StringKey - Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- ymq
Endpoint String - Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- ymq
Secret StringKey - Yandex.Cloud Message Queue service secret key. Used when a message queue resource doesn't have a secret key explicitly specified.
- zone String
- The zone where operations will take place. Examples are ru-central1-a, ru-central2-c, etc.
- cloud
Id string - ID of Yandex.Cloud tenant.
- endpoint string
- The API endpoint for Yandex.Cloud SDK client.
- folder
Id string - The default folder ID where resources will be placed.
- insecure boolean
- Explicitly allow the provider to perform "insecure" SSL requests. If omitted,default value is
false
. - max
Retries number - The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- organization
Id string - plaintext boolean
- Disable use of TLS. Default value is
false
. - service
Account stringKey File - Either the path to or the contents of a Service Account key file in JSON format.
- storage
Access stringKey - Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- storage
Endpoint string - Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- storage
Secret stringKey - Yandex.Cloud storage service secret key. Used when a storage data/resource doesn't have a secret key explicitly specified.
- token string
- The access token for API operations.
- ymq
Access stringKey - Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- ymq
Endpoint string - Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- ymq
Secret stringKey - Yandex.Cloud Message Queue service secret key. Used when a message queue resource doesn't have a secret key explicitly specified.
- zone string
- The zone where operations will take place. Examples are ru-central1-a, ru-central2-c, etc.
- cloud_
id str - ID of Yandex.Cloud tenant.
- endpoint str
- The API endpoint for Yandex.Cloud SDK client.
- folder_
id str - The default folder ID where resources will be placed.
- insecure bool
- Explicitly allow the provider to perform "insecure" SSL requests. If omitted,default value is
false
. - max_
retries int - The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- organization_
id str - plaintext bool
- Disable use of TLS. Default value is
false
. - service_
account_ strkey_ file - Either the path to or the contents of a Service Account key file in JSON format.
- storage_
access_ strkey - Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- storage_
endpoint str - Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- storage_
secret_ strkey - Yandex.Cloud storage service secret key. Used when a storage data/resource doesn't have a secret key explicitly specified.
- token str
- The access token for API operations.
- ymq_
access_ strkey - Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- ymq_
endpoint str - Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- ymq_
secret_ strkey - Yandex.Cloud Message Queue service secret key. Used when a message queue resource doesn't have a secret key explicitly specified.
- zone str
- The zone where operations will take place. Examples are ru-central1-a, ru-central2-c, etc.
- cloud
Id String - ID of Yandex.Cloud tenant.
- endpoint String
- The API endpoint for Yandex.Cloud SDK client.
- folder
Id String - The default folder ID where resources will be placed.
- insecure Boolean
- Explicitly allow the provider to perform "insecure" SSL requests. If omitted,default value is
false
. - max
Retries Number - The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- organization
Id String - plaintext Boolean
- Disable use of TLS. Default value is
false
. - service
Account StringKey File - Either the path to or the contents of a Service Account key file in JSON format.
- storage
Access StringKey - Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- storage
Endpoint String - Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- storage
Secret StringKey - Yandex.Cloud storage service secret key. Used when a storage data/resource doesn't have a secret key explicitly specified.
- token String
- The access token for API operations.
- ymq
Access StringKey - Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- ymq
Endpoint String - Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- ymq
Secret StringKey - Yandex.Cloud Message Queue service secret key. Used when a message queue resource doesn't have a secret key explicitly specified.
- zone String
- The zone where operations will take place. Examples are ru-central1-a, ru-central2-c, etc.
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.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.