grafana.CloudStackApiKey

Explore with Pulumi AI

Create CloudStackApiKey Resource

new CloudStackApiKey(name: string, args: CloudStackApiKeyArgs, opts?: CustomResourceOptions);
@overload
def CloudStackApiKey(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     name: Optional[str] = None,
                     role: Optional[str] = None,
                     seconds_to_live: Optional[int] = None,
                     stack_slug: Optional[str] = None)
@overload
def CloudStackApiKey(resource_name: str,
                     args: CloudStackApiKeyArgs,
                     opts: Optional[ResourceOptions] = None)
func NewCloudStackApiKey(ctx *Context, name string, args CloudStackApiKeyArgs, opts ...ResourceOption) (*CloudStackApiKey, error)
public CloudStackApiKey(string name, CloudStackApiKeyArgs args, CustomResourceOptions? opts = null)
public CloudStackApiKey(String name, CloudStackApiKeyArgs args)
public CloudStackApiKey(String name, CloudStackApiKeyArgs args, CustomResourceOptions options)
type: grafana:CloudStackApiKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CloudStackApiKeyArgs
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 CloudStackApiKeyArgs
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 CloudStackApiKeyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudStackApiKeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CloudStackApiKeyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CloudStackApiKey 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 CloudStackApiKey resource accepts the following input properties:

Role string
StackSlug string
Name string
SecondsToLive int
Role string
StackSlug string
Name string
SecondsToLive int
role String
stackSlug String
name String
secondsToLive Integer
role string
stackSlug string
name string
secondsToLive number
role String
stackSlug String
name String
secondsToLive Number

Outputs

All input properties are implicitly available as output properties. Additionally, the CloudStackApiKey resource produces the following output properties:

Expiration string
Id string

The provider-assigned unique ID for this managed resource.

Key string
Expiration string
Id string

The provider-assigned unique ID for this managed resource.

Key string
expiration String
id String

The provider-assigned unique ID for this managed resource.

key String
expiration string
id string

The provider-assigned unique ID for this managed resource.

key string
expiration str
id str

The provider-assigned unique ID for this managed resource.

key str
expiration String
id String

The provider-assigned unique ID for this managed resource.

key String

Look up Existing CloudStackApiKey Resource

Get an existing CloudStackApiKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CloudStackApiKeyState, opts?: CustomResourceOptions): CloudStackApiKey
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        expiration: Optional[str] = None,
        key: Optional[str] = None,
        name: Optional[str] = None,
        role: Optional[str] = None,
        seconds_to_live: Optional[int] = None,
        stack_slug: Optional[str] = None) -> CloudStackApiKey
func GetCloudStackApiKey(ctx *Context, name string, id IDInput, state *CloudStackApiKeyState, opts ...ResourceOption) (*CloudStackApiKey, error)
public static CloudStackApiKey Get(string name, Input<string> id, CloudStackApiKeyState? state, CustomResourceOptions? opts = null)
public static CloudStackApiKey get(String name, Output<String> id, CloudStackApiKeyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Expiration string
Key string
Name string
Role string
SecondsToLive int
StackSlug string
Expiration string
Key string
Name string
Role string
SecondsToLive int
StackSlug string
expiration String
key String
name String
role String
secondsToLive Integer
stackSlug String
expiration string
key string
name string
role string
secondsToLive number
stackSlug string
expiration String
key String
name String
role String
secondsToLive Number
stackSlug String

Package Details

Repository
grafana lbrlabs/pulumi-grafana
License
Apache-2.0
Notes

This Pulumi package is based on the grafana Terraform Provider.