1. Packages
  2. Gcore Provider
  3. API Docs
  4. Provider
gcore 0.19.0 published on Monday, Apr 14, 2025 by g-core

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The unique name of the resource.
args This property is required. 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:

ApiEndpoint 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.
GcoreApi string
Region API.

Deprecated: Deprecated

GcoreCdnApi string
CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
GcoreClientId string
Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
GcoreCloudApi string
Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
GcoreDnsApi string
DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
GcoreFastedgeApi string
FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
GcorePlatform string
Platform URL is used for generate JWT.

Deprecated: Deprecated

GcorePlatformApi string
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.
GcoreStorageApi string
Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
IgnoreCredsAuthError bool
Should be set to true when you are gonna to use storage resource with permanent API-token only.

Deprecated: Deprecated

Password string
Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.

Deprecated: Deprecated

PermanentApiToken string
A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
UserName string
Gcore account username. Can also be set with the GCORE_USERNAME environment variable.

Deprecated: Deprecated

ApiEndpoint 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.
GcoreApi string
Region API.

Deprecated: Deprecated

GcoreCdnApi string
CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
GcoreClientId string
Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
GcoreCloudApi string
Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
GcoreDnsApi string
DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
GcoreFastedgeApi string
FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
GcorePlatform string
Platform URL is used for generate JWT.

Deprecated: Deprecated

GcorePlatformApi string
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.
GcoreStorageApi string
Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
IgnoreCredsAuthError bool
Should be set to true when you are gonna to use storage resource with permanent API-token only.

Deprecated: Deprecated

Password string
Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.

Deprecated: Deprecated

PermanentApiToken string
A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
UserName string
Gcore account username. Can also be set with the GCORE_USERNAME environment variable.

Deprecated: Deprecated

apiEndpoint 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.
gcoreApi String
Region API.

Deprecated: Deprecated

gcoreCdnApi String
CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
gcoreClientId String
Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
gcoreCloudApi String
Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
gcoreDnsApi String
DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
gcoreFastedgeApi String
FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
gcorePlatform String
Platform URL is used for generate JWT.

Deprecated: Deprecated

gcorePlatformApi String
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.
gcoreStorageApi String
Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
ignoreCredsAuthError Boolean
Should be set to true when you are gonna to use storage resource with permanent API-token only.

Deprecated: Deprecated

password String
Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.

Deprecated: Deprecated

permanentApiToken String
A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
userName String
Gcore account username. Can also be set with the GCORE_USERNAME environment variable.

Deprecated: Deprecated

apiEndpoint 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.
gcoreApi string
Region API.

Deprecated: Deprecated

gcoreCdnApi string
CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
gcoreClientId string
Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
gcoreCloudApi string
Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
gcoreDnsApi string
DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
gcoreFastedgeApi string
FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
gcorePlatform string
Platform URL is used for generate JWT.

Deprecated: Deprecated

gcorePlatformApi string
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.
gcoreStorageApi string
Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
ignoreCredsAuthError boolean
Should be set to true when you are gonna to use storage resource with permanent API-token only.

Deprecated: Deprecated

password string
Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.

Deprecated: Deprecated

permanentApiToken string
A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
userName string
Gcore account username. Can also be set with the GCORE_USERNAME environment variable.

Deprecated: Deprecated

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.

Deprecated: Deprecated

gcore_cdn_api str
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_id str
Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
gcore_cloud_api str
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_api str
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_api str
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.

Deprecated: Deprecated

gcore_platform_api str
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_api str
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_auth_error bool
Should be set to true when you are gonna to use storage resource with permanent API-token only.

Deprecated: Deprecated

password str
Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.

Deprecated: Deprecated

permanent_api_token str
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.

Deprecated: Deprecated

apiEndpoint 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.
gcoreApi String
Region API.

Deprecated: Deprecated

gcoreCdnApi String
CDN API (define only if you want to override CDN API endpoint). Can also be set with the GCORE_CDN_API environment variable.
gcoreClientId String
Client ID. Can also be set with the GCORE_CLIENT_ID environment variable.
gcoreCloudApi String
Region API (define only if you want to override Region API endpoint). Can also be set with the GCORE_CLOUD_API environment variable.
gcoreDnsApi String
DNS API (define only if you want to override DNS API endpoint). Can also be set with the GCORE_DNS_API environment variable.
gcoreFastedgeApi String
FastEdge API (define only if you want to override FastEdge API endpoint). Can also be set with the GCORE_FASTEDGE_API environment variable.
gcorePlatform String
Platform URL is used for generate JWT.

Deprecated: Deprecated

gcorePlatformApi String
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.
gcoreStorageApi String
Storage API (define only if you want to override Storage API endpoint). Can also be set with the GCORE_STORAGE_API environment variable.
ignoreCredsAuthError Boolean
Should be set to true when you are gonna to use storage resource with permanent API-token only.

Deprecated: Deprecated

password String
Gcore account password. Can also be set with the GCORE_PASSWORD environment variable.

Deprecated: Deprecated

permanentApiToken String
A permanent API-token. Can also be set with the GCORE_PERMANENT_TOKEN environment variable.
userName String
Gcore account username. Can also be set with the GCORE_USERNAME environment variable.

Deprecated: Deprecated

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.