Yandex

v0.10.0 published on Thursday, Nov 18, 2021 by Pulumi

Provider

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 a Provider Resource

new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@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,
             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)
@overload
def Provider(resource_name: str,
             args: Optional[ProviderArgs] = None,
             opts: Optional[ResourceOptions] = 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.
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.

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

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.
Plaintext bool
Disable use of TLS. Default value is false.
ServiceAccountKeyFile string
Either the path to or the contents of a Service Account key file in JSON format.
StorageAccessKey string
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
StorageSecretKey string
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.
YmqAccessKey string
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
YmqSecretKey string
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.
Plaintext bool
Disable use of TLS. Default value is false.
ServiceAccountKeyFile string
Either the path to or the contents of a Service Account key file in JSON format.
StorageAccessKey string
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
StorageSecretKey string
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.
YmqAccessKey string
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
YmqSecretKey string
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.
plaintext boolean
Disable use of TLS. Default value is false.
serviceAccountKeyFile string
Either the path to or the contents of a Service Account key file in JSON format.
storageAccessKey string
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
storageSecretKey string
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.
ymqAccessKey string
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
ymqSecretKey string
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.
plaintext bool
Disable use of TLS. Default value is false.
service_account_key_file str
Either the path to or the contents of a Service Account key file in JSON format.
storage_access_key str
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_key str
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_key str
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_key str
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.

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 str
The provider-assigned unique ID for this managed resource.

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.