published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Using getTag
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTag(args: GetTagArgs, opts?: InvokeOptions): Promise<GetTagResult>
function getTagOutput(args: GetTagOutputArgs, opts?: InvokeOptions): Output<GetTagResult>def get_tag(credentials: Optional[GetTagCredentials] = None,
name: Optional[str] = None,
rest_endpoint: Optional[str] = None,
schema_registry_cluster: Optional[GetTagSchemaRegistryCluster] = None,
opts: Optional[InvokeOptions] = None) -> GetTagResult
def get_tag_output(credentials: Optional[pulumi.Input[GetTagCredentialsArgs]] = None,
name: Optional[pulumi.Input[str]] = None,
rest_endpoint: Optional[pulumi.Input[str]] = None,
schema_registry_cluster: Optional[pulumi.Input[GetTagSchemaRegistryClusterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagResult]func LookupTag(ctx *Context, args *LookupTagArgs, opts ...InvokeOption) (*LookupTagResult, error)
func LookupTagOutput(ctx *Context, args *LookupTagOutputArgs, opts ...InvokeOption) LookupTagResultOutput> Note: This function is named LookupTag in the Go SDK.
public static class GetTag
{
public static Task<GetTagResult> InvokeAsync(GetTagArgs args, InvokeOptions? opts = null)
public static Output<GetTagResult> Invoke(GetTagInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTagResult> getTag(GetTagArgs args, InvokeOptions options)
public static Output<GetTagResult> getTag(GetTagArgs args, InvokeOptions options)
fn::invoke:
function: confluentcloud:index/getTag:getTag
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
The name of the tag, for example,
PII. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters.Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
- Credentials
Pulumi.
Confluent Cloud. Inputs. Get Tag Credentials - Rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - Schema
Registry Pulumi.Cluster Confluent Cloud. Inputs. Get Tag Schema Registry Cluster
- Name string
The name of the tag, for example,
PII. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters.Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
- Credentials
Get
Tag Credentials - Rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - Schema
Registry GetCluster Tag Schema Registry Cluster
- name String
The name of the tag, for example,
PII. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters.Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
- credentials
Get
Tag Credentials - rest
Endpoint String - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema
Registry GetCluster Tag Schema Registry Cluster
- name string
The name of the tag, for example,
PII. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters.Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
- credentials
Get
Tag Credentials - rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema
Registry GetCluster Tag Schema Registry Cluster
- name str
The name of the tag, for example,
PII. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters.Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
- credentials
Get
Tag Credentials - rest_
endpoint str - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema_
registry_ Getcluster Tag Schema Registry Cluster
- name String
The name of the tag, for example,
PII. The name must not be empty and consist of a letter followed by a sequence of letter, number, space, or _ characters.Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.
- credentials Property Map
- rest
Endpoint String - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema
Registry Property MapCluster
getTag Result
The following output properties are available:
- Description string
- (Optional String) The description of the tag.
- Entity
Types List<string> - (Optional List of String) The entity types of the tag, this always returns
["cf_entity"]. - Id string
- (Required String) The ID of the Tag, in the format
<Schema Registry cluster ID>/<Tag name>, for example,lsrc-8wrx70/PII. - Name string
- Version int
- (Optional Integer) The version, for example,
1. - Credentials
Pulumi.
Confluent Cloud. Outputs. Get Tag Credentials - Rest
Endpoint string - Schema
Registry Pulumi.Cluster Confluent Cloud. Outputs. Get Tag Schema Registry Cluster
- Description string
- (Optional String) The description of the tag.
- Entity
Types []string - (Optional List of String) The entity types of the tag, this always returns
["cf_entity"]. - Id string
- (Required String) The ID of the Tag, in the format
<Schema Registry cluster ID>/<Tag name>, for example,lsrc-8wrx70/PII. - Name string
- Version int
- (Optional Integer) The version, for example,
1. - Credentials
Get
Tag Credentials - Rest
Endpoint string - Schema
Registry GetCluster Tag Schema Registry Cluster
- description String
- (Optional String) The description of the tag.
- entity
Types List<String> - (Optional List of String) The entity types of the tag, this always returns
["cf_entity"]. - id String
- (Required String) The ID of the Tag, in the format
<Schema Registry cluster ID>/<Tag name>, for example,lsrc-8wrx70/PII. - name String
- version Integer
- (Optional Integer) The version, for example,
1. - credentials
Get
Tag Credentials - rest
Endpoint String - schema
Registry GetCluster Tag Schema Registry Cluster
- description string
- (Optional String) The description of the tag.
- entity
Types string[] - (Optional List of String) The entity types of the tag, this always returns
["cf_entity"]. - id string
- (Required String) The ID of the Tag, in the format
<Schema Registry cluster ID>/<Tag name>, for example,lsrc-8wrx70/PII. - name string
- version number
- (Optional Integer) The version, for example,
1. - credentials
Get
Tag Credentials - rest
Endpoint string - schema
Registry GetCluster Tag Schema Registry Cluster
- description str
- (Optional String) The description of the tag.
- entity_
types Sequence[str] - (Optional List of String) The entity types of the tag, this always returns
["cf_entity"]. - id str
- (Required String) The ID of the Tag, in the format
<Schema Registry cluster ID>/<Tag name>, for example,lsrc-8wrx70/PII. - name str
- version int
- (Optional Integer) The version, for example,
1. - credentials
Get
Tag Credentials - rest_
endpoint str - schema_
registry_ Getcluster Tag Schema Registry Cluster
- description String
- (Optional String) The description of the tag.
- entity
Types List<String> - (Optional List of String) The entity types of the tag, this always returns
["cf_entity"]. - id String
- (Required String) The ID of the Tag, in the format
<Schema Registry cluster ID>/<Tag name>, for example,lsrc-8wrx70/PII. - name String
- version Number
- (Optional Integer) The version, for example,
1. - credentials Property Map
- rest
Endpoint String - schema
Registry Property MapCluster
Supporting Types
GetTagCredentials
GetTagSchemaRegistryCluster
- Id string
- The ID of the Schema Registry cluster, for example,
lsrc-abc123.
- Id string
- The ID of the Schema Registry cluster, for example,
lsrc-abc123.
- id String
- The ID of the Schema Registry cluster, for example,
lsrc-abc123.
- id string
- The ID of the Schema Registry cluster, for example,
lsrc-abc123.
- id str
- The ID of the Schema Registry cluster, for example,
lsrc-abc123.
- id String
- The ID of the Schema Registry cluster, for example,
lsrc-abc123.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluentTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
