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:
- CloudId string
- ID of Yandex.Cloud tenant.
- Endpoint string
- The API endpoint for Yandex.Cloud SDK client.
- FolderId 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.
- MaxRetries int
- The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- OrganizationId string
- Plaintext bool
- Disable use of TLS. Default value is false.
- ServiceAccount stringKey File 
- Either the path to or the contents of a Service Account key file in JSON format.
- StorageAccess stringKey 
- Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- StorageEndpoint string
- Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- StorageSecret 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.
- YmqAccess stringKey 
- Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- YmqEndpoint string
- Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- YmqSecret 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.
- CloudId string
- ID of Yandex.Cloud tenant.
- Endpoint string
- The API endpoint for Yandex.Cloud SDK client.
- FolderId 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.
- MaxRetries int
- The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- OrganizationId string
- Plaintext bool
- Disable use of TLS. Default value is false.
- ServiceAccount stringKey File 
- Either the path to or the contents of a Service Account key file in JSON format.
- StorageAccess stringKey 
- Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- StorageEndpoint string
- Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- StorageSecret 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.
- YmqAccess stringKey 
- Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- YmqEndpoint string
- Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- YmqSecret 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.
- cloudId String
- ID of Yandex.Cloud tenant.
- endpoint String
- The API endpoint for Yandex.Cloud SDK client.
- folderId 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.
- maxRetries Integer
- The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- organizationId String
- plaintext Boolean
- Disable use of TLS. Default value is false.
- serviceAccount StringKey File 
- Either the path to or the contents of a Service Account key file in JSON format.
- storageAccess StringKey 
- Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- storageEndpoint String
- Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- storageSecret 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.
- ymqAccess StringKey 
- Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- ymqEndpoint String
- Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- ymqSecret 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.
- cloudId string
- ID of Yandex.Cloud tenant.
- endpoint string
- The API endpoint for Yandex.Cloud SDK client.
- folderId 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.
- maxRetries number
- The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- organizationId string
- plaintext boolean
- Disable use of TLS. Default value is false.
- serviceAccount stringKey File 
- Either the path to or the contents of a Service Account key file in JSON format.
- storageAccess stringKey 
- Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- storageEndpoint string
- Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- storageSecret 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.
- ymqAccess stringKey 
- Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- ymqEndpoint string
- Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- ymqSecret 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.
- cloudId String
- ID of Yandex.Cloud tenant.
- endpoint String
- The API endpoint for Yandex.Cloud SDK client.
- folderId 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.
- maxRetries Number
- The maximum number of times an API request is being executed. If the API request still fails, an error is thrown.
- organizationId String
- plaintext Boolean
- Disable use of TLS. Default value is false.
- serviceAccount StringKey File 
- Either the path to or the contents of a Service Account key file in JSON format.
- storageAccess StringKey 
- Yandex.Cloud storage service access key. Used when a storage data/resource doesn't have an access key explicitly specified.
- storageEndpoint String
- Yandex.Cloud storage service endpoint. Default is storage.yandexcloud.net
- storageSecret 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.
- ymqAccess StringKey 
- Yandex.Cloud Message Queue service access key. Used when a message queue resource doesn't have an access key explicitly specified.
- ymqEndpoint String
- Yandex.Cloud Message Queue service endpoint. Default is message-queue.api.cloud.yandex.net
- ymqSecret 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 yandexTerraform Provider.