gcore.Provider
Explore with Pulumi AI
The provider type for the gcore 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,
api_endpoint: Optional[str] = None,
gcore_api: Optional[str] = None,
gcore_cdn_api: Optional[str] = None,
gcore_client_id: Optional[str] = None,
gcore_cloud_api: Optional[str] = None,
gcore_dns_api: Optional[str] = None,
gcore_fastedge_api: Optional[str] = None,
gcore_platform: Optional[str] = None,
gcore_platform_api: Optional[str] = None,
gcore_storage_api: Optional[str] = None,
ignore_creds_auth_error: Optional[bool] = None,
password: Optional[str] = None,
permanent_api_token: Optional[str] = None,
user_name: 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:gcore
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:
- Api
Endpoint string - A single API endpoint for all products. Will be used when specific product API url is not defined. Can also be set with the GCORE_API_ENDPOINT environment variable.
- Gcore
Api string - Region API.
- Gcore
Cdn stringApi - CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
- Gcore
Client stringId - Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
- Gcore
Cloud stringApi - Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
- Gcore
Dns stringApi - DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
- Gcore
Fastedge stringApi - FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
- Gcore
Platform string - Platform URL is used for generate JWT.
- Gcore
Platform stringApi - Platform URL is used for generate JWT (define only if you want to override Platform API endpoint). Can also be set with the GCORE_PLATFORM_API environment variable.
- Gcore
Storage stringApi - Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
- Ignore
Creds boolAuth Error - Should be set to true when you are gonna to use storage resource with permanent API-token only.
- Password string
- Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.
- Permanent
Api stringToken - A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
- User
Name string - Gcore account username. Can also be set with the GCORE_USERNAME environment variable.
- Api
Endpoint string - A single API endpoint for all products. Will be used when specific product API url is not defined. Can also be set with the GCORE_API_ENDPOINT environment variable.
- Gcore
Api string - Region API.
- Gcore
Cdn stringApi - CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
- Gcore
Client stringId - Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
- Gcore
Cloud stringApi - Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
- Gcore
Dns stringApi - DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
- Gcore
Fastedge stringApi - FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
- Gcore
Platform string - Platform URL is used for generate JWT.
- Gcore
Platform stringApi - Platform URL is used for generate JWT (define only if you want to override Platform API endpoint). Can also be set with the GCORE_PLATFORM_API environment variable.
- Gcore
Storage stringApi - Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
- Ignore
Creds boolAuth Error - Should be set to true when you are gonna to use storage resource with permanent API-token only.
- Password string
- Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.
- Permanent
Api stringToken - A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
- User
Name string - Gcore account username. Can also be set with the GCORE_USERNAME environment variable.
- api
Endpoint String - A single API endpoint for all products. Will be used when specific product API url is not defined. Can also be set with the GCORE_API_ENDPOINT environment variable.
- gcore
Api String - Region API.
- gcore
Cdn StringApi - CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
- gcore
Client StringId - Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
- gcore
Cloud StringApi - Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
- gcore
Dns StringApi - DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
- gcore
Fastedge StringApi - FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
- gcore
Platform String - Platform URL is used for generate JWT.
- gcore
Platform StringApi - Platform URL is used for generate JWT (define only if you want to override Platform API endpoint). Can also be set with the GCORE_PLATFORM_API environment variable.
- gcore
Storage StringApi - Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
- ignore
Creds BooleanAuth Error - Should be set to true when you are gonna to use storage resource with permanent API-token only.
- password String
- Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.
- permanent
Api StringToken - A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
- user
Name String - Gcore account username. Can also be set with the GCORE_USERNAME environment variable.
- api
Endpoint string - A single API endpoint for all products. Will be used when specific product API url is not defined. Can also be set with the GCORE_API_ENDPOINT environment variable.
- gcore
Api string - Region API.
- gcore
Cdn stringApi - CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
- gcore
Client stringId - Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
- gcore
Cloud stringApi - Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
- gcore
Dns stringApi - DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
- gcore
Fastedge stringApi - FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
- gcore
Platform string - Platform URL is used for generate JWT.
- gcore
Platform stringApi - Platform URL is used for generate JWT (define only if you want to override Platform API endpoint). Can also be set with the GCORE_PLATFORM_API environment variable.
- gcore
Storage stringApi - Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
- ignore
Creds booleanAuth Error - Should be set to true when you are gonna to use storage resource with permanent API-token only.
- password string
- Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.
- permanent
Api stringToken - A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
- user
Name string - Gcore account username. Can also be set with the GCORE_USERNAME environment variable.
- api_
endpoint str - A single API endpoint for all products. Will be used when specific product API url is not defined. Can also be set with the GCORE_API_ENDPOINT environment variable.
- gcore_
api str - Region API.
- gcore_
cdn_ strapi - CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
- gcore_
client_ strid - Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
- gcore_
cloud_ strapi - Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
- gcore_
dns_ strapi - DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
- gcore_
fastedge_ strapi - FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
- gcore_
platform str - Platform URL is used for generate JWT.
- gcore_
platform_ strapi - Platform URL is used for generate JWT (define only if you want to override Platform API endpoint). Can also be set with the GCORE_PLATFORM_API environment variable.
- gcore_
storage_ strapi - Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
- ignore_
creds_ boolauth_ error - Should be set to true when you are gonna to use storage resource with permanent API-token only.
- password str
- Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.
- permanent_
api_ strtoken - A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
- user_
name str - Gcore account username. Can also be set with the GCORE_USERNAME environment variable.
- api
Endpoint String - A single API endpoint for all products. Will be used when specific product API url is not defined. Can also be set with the GCORE_API_ENDPOINT environment variable.
- gcore
Api String - Region API.
- gcore
Cdn StringApi - CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
- gcore
Client StringId - Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
- gcore
Cloud StringApi - Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
- gcore
Dns StringApi - DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
- gcore
Fastedge StringApi - FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
- gcore
Platform String - Platform URL is used for generate JWT.
- gcore
Platform StringApi - Platform URL is used for generate JWT (define only if you want to override Platform API endpoint). Can also be set with the GCORE_PLATFORM_API environment variable.
- gcore
Storage StringApi - Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
- ignore
Creds BooleanAuth Error - Should be set to true when you are gonna to use storage resource with permanent API-token only.
- password String
- Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.
- permanent
Api StringToken - A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
- user
Name String - Gcore account username. Can also be set with the GCORE_USERNAME environment variable.
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
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcore
Terraform Provider.