published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Observability credential resource schema. Must have a region specified in the provider configuration.
Example Usage
resource "stackit_observability_credential" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
description = "Description of the credential."
}
Create ObservabilityCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObservabilityCredential(name: string, args: ObservabilityCredentialArgs, opts?: CustomResourceOptions);@overload
def ObservabilityCredential(resource_name: str,
args: ObservabilityCredentialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObservabilityCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
project_id: Optional[str] = None,
description: Optional[str] = None)func NewObservabilityCredential(ctx *Context, name string, args ObservabilityCredentialArgs, opts ...ResourceOption) (*ObservabilityCredential, error)public ObservabilityCredential(string name, ObservabilityCredentialArgs args, CustomResourceOptions? opts = null)
public ObservabilityCredential(String name, ObservabilityCredentialArgs args)
public ObservabilityCredential(String name, ObservabilityCredentialArgs args, CustomResourceOptions options)
type: stackit:ObservabilityCredential
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 ObservabilityCredentialArgs
- 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 ObservabilityCredentialArgs
- 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 ObservabilityCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObservabilityCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObservabilityCredentialArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var observabilityCredentialResource = new Stackit.ObservabilityCredential("observabilityCredentialResource", new()
{
InstanceId = "string",
ProjectId = "string",
Description = "string",
});
example, err := stackit.NewObservabilityCredential(ctx, "observabilityCredentialResource", &stackit.ObservabilityCredentialArgs{
InstanceId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Description: pulumi.String("string"),
})
var observabilityCredentialResource = new ObservabilityCredential("observabilityCredentialResource", ObservabilityCredentialArgs.builder()
.instanceId("string")
.projectId("string")
.description("string")
.build());
observability_credential_resource = stackit.ObservabilityCredential("observabilityCredentialResource",
instance_id="string",
project_id="string",
description="string")
const observabilityCredentialResource = new stackit.ObservabilityCredential("observabilityCredentialResource", {
instanceId: "string",
projectId: "string",
description: "string",
});
type: stackit:ObservabilityCredential
properties:
description: string
instanceId: string
projectId: string
ObservabilityCredential 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 ObservabilityCredential resource accepts the following input properties:
- Instance
Id string - The Observability Instance ID the credential belongs to.
- Project
Id string - STACKIT project ID to which the credential is associated.
- Description string
- A description of the credential.
- Instance
Id string - The Observability Instance ID the credential belongs to.
- Project
Id string - STACKIT project ID to which the credential is associated.
- Description string
- A description of the credential.
- instance
Id String - The Observability Instance ID the credential belongs to.
- project
Id String - STACKIT project ID to which the credential is associated.
- description String
- A description of the credential.
- instance
Id string - The Observability Instance ID the credential belongs to.
- project
Id string - STACKIT project ID to which the credential is associated.
- description string
- A description of the credential.
- instance_
id str - The Observability Instance ID the credential belongs to.
- project_
id str - STACKIT project ID to which the credential is associated.
- description str
- A description of the credential.
- instance
Id String - The Observability Instance ID the credential belongs to.
- project
Id String - STACKIT project ID to which the credential is associated.
- description String
- A description of the credential.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObservabilityCredential resource produces the following output properties:
Look up Existing ObservabilityCredential Resource
Get an existing ObservabilityCredential 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?: ObservabilityCredentialState, opts?: CustomResourceOptions): ObservabilityCredential@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
instance_id: Optional[str] = None,
password: Optional[str] = None,
project_id: Optional[str] = None,
username: Optional[str] = None) -> ObservabilityCredentialfunc GetObservabilityCredential(ctx *Context, name string, id IDInput, state *ObservabilityCredentialState, opts ...ResourceOption) (*ObservabilityCredential, error)public static ObservabilityCredential Get(string name, Input<string> id, ObservabilityCredentialState? state, CustomResourceOptions? opts = null)public static ObservabilityCredential get(String name, Output<String> id, ObservabilityCredentialState state, CustomResourceOptions options)resources: _: type: stackit:ObservabilityCredential get: id: ${id}- 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.
- Description string
- A description of the credential.
- Instance
Id string - The Observability Instance ID the credential belongs to.
- Password string
- Credential password
- Project
Id string - STACKIT project ID to which the credential is associated.
- Username string
- Credential username
- Description string
- A description of the credential.
- Instance
Id string - The Observability Instance ID the credential belongs to.
- Password string
- Credential password
- Project
Id string - STACKIT project ID to which the credential is associated.
- Username string
- Credential username
- description String
- A description of the credential.
- instance
Id String - The Observability Instance ID the credential belongs to.
- password String
- Credential password
- project
Id String - STACKIT project ID to which the credential is associated.
- username String
- Credential username
- description string
- A description of the credential.
- instance
Id string - The Observability Instance ID the credential belongs to.
- password string
- Credential password
- project
Id string - STACKIT project ID to which the credential is associated.
- username string
- Credential username
- description str
- A description of the credential.
- instance_
id str - The Observability Instance ID the credential belongs to.
- password str
- Credential password
- project_
id str - STACKIT project ID to which the credential is associated.
- username str
- Credential username
- description String
- A description of the credential.
- instance
Id String - The Observability Instance ID the credential belongs to.
- password String
- Credential password
- project
Id String - STACKIT project ID to which the credential is associated.
- username String
- Credential username
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
