published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Load balancer observability credential resource schema. Must have a region specified in the provider configuration. These contain the username and password for the observability service (e.g. Argus) where the load balancer logs/metrics will be pushed into
Example Usage
resource "stackit_loadbalancer_observability_credential" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
display_name = "example-credentials"
username = "example-user"
password = "example-password"
}
# Only use the import statement, if you want to import an existing loadbalancer observability credential
import {
to = stackit_loadbalancer_observability_credential.import-example
id = "${var.project_id},${var.region},${var.credentials_ref}"
}
Create LoadbalancerObservabilityCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoadbalancerObservabilityCredential(name: string, args: LoadbalancerObservabilityCredentialArgs, opts?: CustomResourceOptions);@overload
def LoadbalancerObservabilityCredential(resource_name: str,
args: LoadbalancerObservabilityCredentialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoadbalancerObservabilityCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
password: Optional[str] = None,
project_id: Optional[str] = None,
username: Optional[str] = None,
region: Optional[str] = None)func NewLoadbalancerObservabilityCredential(ctx *Context, name string, args LoadbalancerObservabilityCredentialArgs, opts ...ResourceOption) (*LoadbalancerObservabilityCredential, error)public LoadbalancerObservabilityCredential(string name, LoadbalancerObservabilityCredentialArgs args, CustomResourceOptions? opts = null)
public LoadbalancerObservabilityCredential(String name, LoadbalancerObservabilityCredentialArgs args)
public LoadbalancerObservabilityCredential(String name, LoadbalancerObservabilityCredentialArgs args, CustomResourceOptions options)
type: stackit:LoadbalancerObservabilityCredential
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 LoadbalancerObservabilityCredentialArgs
- 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 LoadbalancerObservabilityCredentialArgs
- 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 LoadbalancerObservabilityCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadbalancerObservabilityCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoadbalancerObservabilityCredentialArgs
- 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 loadbalancerObservabilityCredentialResource = new Stackit.LoadbalancerObservabilityCredential("loadbalancerObservabilityCredentialResource", new()
{
DisplayName = "string",
Password = "string",
ProjectId = "string",
Username = "string",
Region = "string",
});
example, err := stackit.NewLoadbalancerObservabilityCredential(ctx, "loadbalancerObservabilityCredentialResource", &stackit.LoadbalancerObservabilityCredentialArgs{
DisplayName: pulumi.String("string"),
Password: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Username: pulumi.String("string"),
Region: pulumi.String("string"),
})
var loadbalancerObservabilityCredentialResource = new LoadbalancerObservabilityCredential("loadbalancerObservabilityCredentialResource", LoadbalancerObservabilityCredentialArgs.builder()
.displayName("string")
.password("string")
.projectId("string")
.username("string")
.region("string")
.build());
loadbalancer_observability_credential_resource = stackit.LoadbalancerObservabilityCredential("loadbalancerObservabilityCredentialResource",
display_name="string",
password="string",
project_id="string",
username="string",
region="string")
const loadbalancerObservabilityCredentialResource = new stackit.LoadbalancerObservabilityCredential("loadbalancerObservabilityCredentialResource", {
displayName: "string",
password: "string",
projectId: "string",
username: "string",
region: "string",
});
type: stackit:LoadbalancerObservabilityCredential
properties:
displayName: string
password: string
projectId: string
region: string
username: string
LoadbalancerObservabilityCredential 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 LoadbalancerObservabilityCredential resource accepts the following input properties:
- Display
Name string - Observability credential name.
- Password string
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- Project
Id string - STACKIT project ID to which the load balancer observability credential is associated.
- Username string
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- Region string
- The resource region. If not defined, the provider region is used.
- Display
Name string - Observability credential name.
- Password string
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- Project
Id string - STACKIT project ID to which the load balancer observability credential is associated.
- Username string
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- Region string
- The resource region. If not defined, the provider region is used.
- display
Name String - Observability credential name.
- password String
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project
Id String - STACKIT project ID to which the load balancer observability credential is associated.
- username String
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- region String
- The resource region. If not defined, the provider region is used.
- display
Name string - Observability credential name.
- password string
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project
Id string - STACKIT project ID to which the load balancer observability credential is associated.
- username string
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- region string
- The resource region. If not defined, the provider region is used.
- display_
name str - Observability credential name.
- password str
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project_
id str - STACKIT project ID to which the load balancer observability credential is associated.
- username str
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- region str
- The resource region. If not defined, the provider region is used.
- display
Name String - Observability credential name.
- password String
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project
Id String - STACKIT project ID to which the load balancer observability credential is associated.
- username String
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the LoadbalancerObservabilityCredential resource produces the following output properties:
- Credentials
Ref string - The credentials reference is used by the Load Balancer to define which credentials it will use.
- Id string
- The provider-assigned unique ID for this managed resource.
- Credentials
Ref string - The credentials reference is used by the Load Balancer to define which credentials it will use.
- Id string
- The provider-assigned unique ID for this managed resource.
- credentials
Ref String - The credentials reference is used by the Load Balancer to define which credentials it will use.
- id String
- The provider-assigned unique ID for this managed resource.
- credentials
Ref string - The credentials reference is used by the Load Balancer to define which credentials it will use.
- id string
- The provider-assigned unique ID for this managed resource.
- credentials_
ref str - The credentials reference is used by the Load Balancer to define which credentials it will use.
- id str
- The provider-assigned unique ID for this managed resource.
- credentials
Ref String - The credentials reference is used by the Load Balancer to define which credentials it will use.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing LoadbalancerObservabilityCredential Resource
Get an existing LoadbalancerObservabilityCredential 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?: LoadbalancerObservabilityCredentialState, opts?: CustomResourceOptions): LoadbalancerObservabilityCredential@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credentials_ref: Optional[str] = None,
display_name: Optional[str] = None,
password: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
username: Optional[str] = None) -> LoadbalancerObservabilityCredentialfunc GetLoadbalancerObservabilityCredential(ctx *Context, name string, id IDInput, state *LoadbalancerObservabilityCredentialState, opts ...ResourceOption) (*LoadbalancerObservabilityCredential, error)public static LoadbalancerObservabilityCredential Get(string name, Input<string> id, LoadbalancerObservabilityCredentialState? state, CustomResourceOptions? opts = null)public static LoadbalancerObservabilityCredential get(String name, Output<String> id, LoadbalancerObservabilityCredentialState state, CustomResourceOptions options)resources: _: type: stackit:LoadbalancerObservabilityCredential 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.
- Credentials
Ref string - The credentials reference is used by the Load Balancer to define which credentials it will use.
- Display
Name string - Observability credential name.
- Password string
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- Project
Id string - STACKIT project ID to which the load balancer observability credential is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Username string
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- Credentials
Ref string - The credentials reference is used by the Load Balancer to define which credentials it will use.
- Display
Name string - Observability credential name.
- Password string
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- Project
Id string - STACKIT project ID to which the load balancer observability credential is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Username string
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- credentials
Ref String - The credentials reference is used by the Load Balancer to define which credentials it will use.
- display
Name String - Observability credential name.
- password String
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project
Id String - STACKIT project ID to which the load balancer observability credential is associated.
- region String
- The resource region. If not defined, the provider region is used.
- username String
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- credentials
Ref string - The credentials reference is used by the Load Balancer to define which credentials it will use.
- display
Name string - Observability credential name.
- password string
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project
Id string - STACKIT project ID to which the load balancer observability credential is associated.
- region string
- The resource region. If not defined, the provider region is used.
- username string
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- credentials_
ref str - The credentials reference is used by the Load Balancer to define which credentials it will use.
- display_
name str - Observability credential name.
- password str
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project_
id str - STACKIT project ID to which the load balancer observability credential is associated.
- region str
- The resource region. If not defined, the provider region is used.
- username str
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- credentials
Ref String - The credentials reference is used by the Load Balancer to define which credentials it will use.
- display
Name String - Observability credential name.
- password String
- The username for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
- project
Id String - STACKIT project ID to which the load balancer observability credential is associated.
- region String
- The resource region. If not defined, the provider region is used.
- username String
- The password for the observability service (e.g. Argus) where the logs/metrics will be pushed into.
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
