hpegl.Provider
Explore with Pulumi AI
The provider type for the hpegl 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_vended_service_client: Optional[bool] = None,
caas: Optional[ProviderCaasArgs] = None,
iam_service_url: Optional[str] = None,
iam_token: Optional[str] = None,
iam_version: Optional[str] = None,
metal: Optional[ProviderMetalArgs] = None,
tenant_id: Optional[str] = None,
user_id: Optional[str] = None,
user_secret: Optional[str] = None,
vmaas: Optional[ProviderVmaasArgs] = 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:hpegl
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
Vended boolService Client - Declare if the API client being used is an API-vended one or not. Defaults to "true" i.e. the client is API-vended. The value can be set using the HPEGL_API_VENDED_SERVICE_CLIENT env-var.
- Caas
Provider
Caas - Iam
Service stringUrl - The IAM service URL to be used to generate tokens. In the case of GLCS API clients (the default) then this should be set to the "issuer url" for the client. In the case of GLP API clients use the appropriate "Token URL" from the API screen. Can be set by HPEGL_IAM_SERVICE_URL env-var
- Iam
Token string - The IAM token to be used with the client(s). Note that in normal operation an API client is used. Passing-in a token means that tokens will not be generated or refreshed.
- Iam
Version string - The IAM version to be used. Can be set by HPEGL_IAM_VERSION env-var. Valid values are: [glcs glp]The default is glcs.
- Metal
Provider
Metal - Tenant
Id string - The tenant-id to be used for GLCS IAM, can be set by HPEGL_TENANT_ID env-var
- User
Id string - The user id to be used, can be set by HPEGL_USER_ID env-var
- User
Secret string - The user secret to be used, can be set by HPEGL_USER_SECRET env-var
- Vmaas
Provider
Vmaas
- Api
Vended boolService Client - Declare if the API client being used is an API-vended one or not. Defaults to "true" i.e. the client is API-vended. The value can be set using the HPEGL_API_VENDED_SERVICE_CLIENT env-var.
- Caas
Provider
Caas Args - Iam
Service stringUrl - The IAM service URL to be used to generate tokens. In the case of GLCS API clients (the default) then this should be set to the "issuer url" for the client. In the case of GLP API clients use the appropriate "Token URL" from the API screen. Can be set by HPEGL_IAM_SERVICE_URL env-var
- Iam
Token string - The IAM token to be used with the client(s). Note that in normal operation an API client is used. Passing-in a token means that tokens will not be generated or refreshed.
- Iam
Version string - The IAM version to be used. Can be set by HPEGL_IAM_VERSION env-var. Valid values are: [glcs glp]The default is glcs.
- Metal
Provider
Metal Args - Tenant
Id string - The tenant-id to be used for GLCS IAM, can be set by HPEGL_TENANT_ID env-var
- User
Id string - The user id to be used, can be set by HPEGL_USER_ID env-var
- User
Secret string - The user secret to be used, can be set by HPEGL_USER_SECRET env-var
- Vmaas
Provider
Vmaas Args
- api
Vended BooleanService Client - Declare if the API client being used is an API-vended one or not. Defaults to "true" i.e. the client is API-vended. The value can be set using the HPEGL_API_VENDED_SERVICE_CLIENT env-var.
- caas
Provider
Caas - iam
Service StringUrl - The IAM service URL to be used to generate tokens. In the case of GLCS API clients (the default) then this should be set to the "issuer url" for the client. In the case of GLP API clients use the appropriate "Token URL" from the API screen. Can be set by HPEGL_IAM_SERVICE_URL env-var
- iam
Token String - The IAM token to be used with the client(s). Note that in normal operation an API client is used. Passing-in a token means that tokens will not be generated or refreshed.
- iam
Version String - The IAM version to be used. Can be set by HPEGL_IAM_VERSION env-var. Valid values are: [glcs glp]The default is glcs.
- metal
Provider
Metal - tenant
Id String - The tenant-id to be used for GLCS IAM, can be set by HPEGL_TENANT_ID env-var
- user
Id String - The user id to be used, can be set by HPEGL_USER_ID env-var
- user
Secret String - The user secret to be used, can be set by HPEGL_USER_SECRET env-var
- vmaas
Provider
Vmaas
- api
Vended booleanService Client - Declare if the API client being used is an API-vended one or not. Defaults to "true" i.e. the client is API-vended. The value can be set using the HPEGL_API_VENDED_SERVICE_CLIENT env-var.
- caas
Provider
Caas - iam
Service stringUrl - The IAM service URL to be used to generate tokens. In the case of GLCS API clients (the default) then this should be set to the "issuer url" for the client. In the case of GLP API clients use the appropriate "Token URL" from the API screen. Can be set by HPEGL_IAM_SERVICE_URL env-var
- iam
Token string - The IAM token to be used with the client(s). Note that in normal operation an API client is used. Passing-in a token means that tokens will not be generated or refreshed.
- iam
Version string - The IAM version to be used. Can be set by HPEGL_IAM_VERSION env-var. Valid values are: [glcs glp]The default is glcs.
- metal
Provider
Metal - tenant
Id string - The tenant-id to be used for GLCS IAM, can be set by HPEGL_TENANT_ID env-var
- user
Id string - The user id to be used, can be set by HPEGL_USER_ID env-var
- user
Secret string - The user secret to be used, can be set by HPEGL_USER_SECRET env-var
- vmaas
Provider
Vmaas
- api_
vended_ boolservice_ client - Declare if the API client being used is an API-vended one or not. Defaults to "true" i.e. the client is API-vended. The value can be set using the HPEGL_API_VENDED_SERVICE_CLIENT env-var.
- caas
Provider
Caas Args - iam_
service_ strurl - The IAM service URL to be used to generate tokens. In the case of GLCS API clients (the default) then this should be set to the "issuer url" for the client. In the case of GLP API clients use the appropriate "Token URL" from the API screen. Can be set by HPEGL_IAM_SERVICE_URL env-var
- iam_
token str - The IAM token to be used with the client(s). Note that in normal operation an API client is used. Passing-in a token means that tokens will not be generated or refreshed.
- iam_
version str - The IAM version to be used. Can be set by HPEGL_IAM_VERSION env-var. Valid values are: [glcs glp]The default is glcs.
- metal
Provider
Metal Args - tenant_
id str - The tenant-id to be used for GLCS IAM, can be set by HPEGL_TENANT_ID env-var
- user_
id str - The user id to be used, can be set by HPEGL_USER_ID env-var
- user_
secret str - The user secret to be used, can be set by HPEGL_USER_SECRET env-var
- vmaas
Provider
Vmaas Args
- api
Vended BooleanService Client - Declare if the API client being used is an API-vended one or not. Defaults to "true" i.e. the client is API-vended. The value can be set using the HPEGL_API_VENDED_SERVICE_CLIENT env-var.
- caas Property Map
- iam
Service StringUrl - The IAM service URL to be used to generate tokens. In the case of GLCS API clients (the default) then this should be set to the "issuer url" for the client. In the case of GLP API clients use the appropriate "Token URL" from the API screen. Can be set by HPEGL_IAM_SERVICE_URL env-var
- iam
Token String - The IAM token to be used with the client(s). Note that in normal operation an API client is used. Passing-in a token means that tokens will not be generated or refreshed.
- iam
Version String - The IAM version to be used. Can be set by HPEGL_IAM_VERSION env-var. Valid values are: [glcs glp]The default is glcs.
- metal Property Map
- tenant
Id String - The tenant-id to be used for GLCS IAM, can be set by HPEGL_TENANT_ID env-var
- user
Id String - The user id to be used, can be set by HPEGL_USER_ID env-var
- user
Secret String - The user secret to be used, can be set by HPEGL_USER_SECRET env-var
- vmaas Property Map
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.
Supporting Types
ProviderCaas, ProviderCaasArgs
- Api
Url string - The URL to use for the CaaS API, can also be set with the HPEGL_CAAS_API_URL env var
- Api
Url string - The URL to use for the CaaS API, can also be set with the HPEGL_CAAS_API_URL env var
- api
Url String - The URL to use for the CaaS API, can also be set with the HPEGL_CAAS_API_URL env var
- api
Url string - The URL to use for the CaaS API, can also be set with the HPEGL_CAAS_API_URL env var
- api_
url str - The URL to use for the CaaS API, can also be set with the HPEGL_CAAS_API_URL env var
- api
Url String - The URL to use for the CaaS API, can also be set with the HPEGL_CAAS_API_URL env var
ProviderMetal, ProviderMetalArgs
- Gl
Token bool - Field indicating whether the token is GreenLake (GLCS or GLP) IAM issued token or Metal Service issued one, can also be set with the HPEGL_METAL_GL_TOKEN env-var
- Glp
Role string - Field indicating the GLP role to be used, can also be set with the HPEGL_METAL_GLP_ROLE env-var
- Glp
Workspace string - Field indicating the GLP workspace to be used, can also be set with the HPEGL_METAL_GLP_WORKSPACE env-var
- Project
Id string - The Metal project-id to use, can also be set with the HPEGL_METAL_PROJECT_ID env-var
- Rest
Url string - The Metal portal rest-url to use, can also be set with the HPEGL_METAL_REST_URL env-var
- Space
Name string - The space-name to use with Metal, only required for project creation operations, can also be set with the HPEGL_METAL_SPACE_NAME env-var
- Gl
Token bool - Field indicating whether the token is GreenLake (GLCS or GLP) IAM issued token or Metal Service issued one, can also be set with the HPEGL_METAL_GL_TOKEN env-var
- Glp
Role string - Field indicating the GLP role to be used, can also be set with the HPEGL_METAL_GLP_ROLE env-var
- Glp
Workspace string - Field indicating the GLP workspace to be used, can also be set with the HPEGL_METAL_GLP_WORKSPACE env-var
- Project
Id string - The Metal project-id to use, can also be set with the HPEGL_METAL_PROJECT_ID env-var
- Rest
Url string - The Metal portal rest-url to use, can also be set with the HPEGL_METAL_REST_URL env-var
- Space
Name string - The space-name to use with Metal, only required for project creation operations, can also be set with the HPEGL_METAL_SPACE_NAME env-var
- gl
Token Boolean - Field indicating whether the token is GreenLake (GLCS or GLP) IAM issued token or Metal Service issued one, can also be set with the HPEGL_METAL_GL_TOKEN env-var
- glp
Role String - Field indicating the GLP role to be used, can also be set with the HPEGL_METAL_GLP_ROLE env-var
- glp
Workspace String - Field indicating the GLP workspace to be used, can also be set with the HPEGL_METAL_GLP_WORKSPACE env-var
- project
Id String - The Metal project-id to use, can also be set with the HPEGL_METAL_PROJECT_ID env-var
- rest
Url String - The Metal portal rest-url to use, can also be set with the HPEGL_METAL_REST_URL env-var
- space
Name String - The space-name to use with Metal, only required for project creation operations, can also be set with the HPEGL_METAL_SPACE_NAME env-var
- gl
Token boolean - Field indicating whether the token is GreenLake (GLCS or GLP) IAM issued token or Metal Service issued one, can also be set with the HPEGL_METAL_GL_TOKEN env-var
- glp
Role string - Field indicating the GLP role to be used, can also be set with the HPEGL_METAL_GLP_ROLE env-var
- glp
Workspace string - Field indicating the GLP workspace to be used, can also be set with the HPEGL_METAL_GLP_WORKSPACE env-var
- project
Id string - The Metal project-id to use, can also be set with the HPEGL_METAL_PROJECT_ID env-var
- rest
Url string - The Metal portal rest-url to use, can also be set with the HPEGL_METAL_REST_URL env-var
- space
Name string - The space-name to use with Metal, only required for project creation operations, can also be set with the HPEGL_METAL_SPACE_NAME env-var
- gl_
token bool - Field indicating whether the token is GreenLake (GLCS or GLP) IAM issued token or Metal Service issued one, can also be set with the HPEGL_METAL_GL_TOKEN env-var
- glp_
role str - Field indicating the GLP role to be used, can also be set with the HPEGL_METAL_GLP_ROLE env-var
- glp_
workspace str - Field indicating the GLP workspace to be used, can also be set with the HPEGL_METAL_GLP_WORKSPACE env-var
- project_
id str - The Metal project-id to use, can also be set with the HPEGL_METAL_PROJECT_ID env-var
- rest_
url str - The Metal portal rest-url to use, can also be set with the HPEGL_METAL_REST_URL env-var
- space_
name str - The space-name to use with Metal, only required for project creation operations, can also be set with the HPEGL_METAL_SPACE_NAME env-var
- gl
Token Boolean - Field indicating whether the token is GreenLake (GLCS or GLP) IAM issued token or Metal Service issued one, can also be set with the HPEGL_METAL_GL_TOKEN env-var
- glp
Role String - Field indicating the GLP role to be used, can also be set with the HPEGL_METAL_GLP_ROLE env-var
- glp
Workspace String - Field indicating the GLP workspace to be used, can also be set with the HPEGL_METAL_GLP_WORKSPACE env-var
- project
Id String - The Metal project-id to use, can also be set with the HPEGL_METAL_PROJECT_ID env-var
- rest
Url String - The Metal portal rest-url to use, can also be set with the HPEGL_METAL_REST_URL env-var
- space
Name String - The space-name to use with Metal, only required for project creation operations, can also be set with the HPEGL_METAL_SPACE_NAME env-var
ProviderVmaas, ProviderVmaasArgs
- Allow
Insecure bool - Not to be used in production. To perform client connection ignoring TLS, it can also be set with the INSECURE env var
- Broker
Url string - The URL to use for the VMaaS Broker API, can also be set with the HPEGL_VMAAS_BROKER_URL env var
- Location string
- Location of GL VMaaS Service, can also be set with the HPEGL_VMAAS_LOCATION env var.
- Morpheus
Token string - The Morpheus token, can also be set with the HPEGL_MORPHEUS_TOKEN env var
- Morpheus
Url string - The Morpheus URL, can also be set with the HPEGL_MORPHEUS_URL env var
- Space
Name string - It can also be set with the HPEGL_VMAAS_SPACE_NAME env var. When
HPEGL_IAM_VERSION
isglcs
it refers to IAM Space name of the GL VMaaS Service i.e., Default. WhenHPEGL_IAM_VERSION
isglp
it refers to GLP Workspace ID.
- Allow
Insecure bool - Not to be used in production. To perform client connection ignoring TLS, it can also be set with the INSECURE env var
- Broker
Url string - The URL to use for the VMaaS Broker API, can also be set with the HPEGL_VMAAS_BROKER_URL env var
- Location string
- Location of GL VMaaS Service, can also be set with the HPEGL_VMAAS_LOCATION env var.
- Morpheus
Token string - The Morpheus token, can also be set with the HPEGL_MORPHEUS_TOKEN env var
- Morpheus
Url string - The Morpheus URL, can also be set with the HPEGL_MORPHEUS_URL env var
- Space
Name string - It can also be set with the HPEGL_VMAAS_SPACE_NAME env var. When
HPEGL_IAM_VERSION
isglcs
it refers to IAM Space name of the GL VMaaS Service i.e., Default. WhenHPEGL_IAM_VERSION
isglp
it refers to GLP Workspace ID.
- allow
Insecure Boolean - Not to be used in production. To perform client connection ignoring TLS, it can also be set with the INSECURE env var
- broker
Url String - The URL to use for the VMaaS Broker API, can also be set with the HPEGL_VMAAS_BROKER_URL env var
- location String
- Location of GL VMaaS Service, can also be set with the HPEGL_VMAAS_LOCATION env var.
- morpheus
Token String - The Morpheus token, can also be set with the HPEGL_MORPHEUS_TOKEN env var
- morpheus
Url String - The Morpheus URL, can also be set with the HPEGL_MORPHEUS_URL env var
- space
Name String - It can also be set with the HPEGL_VMAAS_SPACE_NAME env var. When
HPEGL_IAM_VERSION
isglcs
it refers to IAM Space name of the GL VMaaS Service i.e., Default. WhenHPEGL_IAM_VERSION
isglp
it refers to GLP Workspace ID.
- allow
Insecure boolean - Not to be used in production. To perform client connection ignoring TLS, it can also be set with the INSECURE env var
- broker
Url string - The URL to use for the VMaaS Broker API, can also be set with the HPEGL_VMAAS_BROKER_URL env var
- location string
- Location of GL VMaaS Service, can also be set with the HPEGL_VMAAS_LOCATION env var.
- morpheus
Token string - The Morpheus token, can also be set with the HPEGL_MORPHEUS_TOKEN env var
- morpheus
Url string - The Morpheus URL, can also be set with the HPEGL_MORPHEUS_URL env var
- space
Name string - It can also be set with the HPEGL_VMAAS_SPACE_NAME env var. When
HPEGL_IAM_VERSION
isglcs
it refers to IAM Space name of the GL VMaaS Service i.e., Default. WhenHPEGL_IAM_VERSION
isglp
it refers to GLP Workspace ID.
- allow_
insecure bool - Not to be used in production. To perform client connection ignoring TLS, it can also be set with the INSECURE env var
- broker_
url str - The URL to use for the VMaaS Broker API, can also be set with the HPEGL_VMAAS_BROKER_URL env var
- location str
- Location of GL VMaaS Service, can also be set with the HPEGL_VMAAS_LOCATION env var.
- morpheus_
token str - The Morpheus token, can also be set with the HPEGL_MORPHEUS_TOKEN env var
- morpheus_
url str - The Morpheus URL, can also be set with the HPEGL_MORPHEUS_URL env var
- space_
name str - It can also be set with the HPEGL_VMAAS_SPACE_NAME env var. When
HPEGL_IAM_VERSION
isglcs
it refers to IAM Space name of the GL VMaaS Service i.e., Default. WhenHPEGL_IAM_VERSION
isglp
it refers to GLP Workspace ID.
- allow
Insecure Boolean - Not to be used in production. To perform client connection ignoring TLS, it can also be set with the INSECURE env var
- broker
Url String - The URL to use for the VMaaS Broker API, can also be set with the HPEGL_VMAAS_BROKER_URL env var
- location String
- Location of GL VMaaS Service, can also be set with the HPEGL_VMAAS_LOCATION env var.
- morpheus
Token String - The Morpheus token, can also be set with the HPEGL_MORPHEUS_TOKEN env var
- morpheus
Url String - The Morpheus URL, can also be set with the HPEGL_MORPHEUS_URL env var
- space
Name String - It can also be set with the HPEGL_VMAAS_SPACE_NAME env var. When
HPEGL_IAM_VERSION
isglcs
it refers to IAM Space name of the GL VMaaS Service i.e., Default. WhenHPEGL_IAM_VERSION
isglp
it refers to GLP Workspace ID.
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the
hpegl
Terraform Provider.