1. Packages
  2. Azure Native
  3. API Docs
  4. resources
  5. getTagAtScope
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.resources.getTagAtScope

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Wrapper resource for tags API requests and responses.

    Uses Azure REST API version 2024-03-01.

    Other available API versions: 2020-10-01, 2021-01-01, 2021-04-01, 2022-09-01, 2023-07-01, 2024-07-01, 2024-11-01, 2025-03-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native resources [ApiVersion]. See the version guide for details.

    Using getTagAtScope

    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 getTagAtScope(args: GetTagAtScopeArgs, opts?: InvokeOptions): Promise<GetTagAtScopeResult>
    function getTagAtScopeOutput(args: GetTagAtScopeOutputArgs, opts?: InvokeOptions): Output<GetTagAtScopeResult>
    def get_tag_at_scope(scope: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetTagAtScopeResult
    def get_tag_at_scope_output(scope: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetTagAtScopeResult]
    func LookupTagAtScope(ctx *Context, args *LookupTagAtScopeArgs, opts ...InvokeOption) (*LookupTagAtScopeResult, error)
    func LookupTagAtScopeOutput(ctx *Context, args *LookupTagAtScopeOutputArgs, opts ...InvokeOption) LookupTagAtScopeResultOutput

    > Note: This function is named LookupTagAtScope in the Go SDK.

    public static class GetTagAtScope 
    {
        public static Task<GetTagAtScopeResult> InvokeAsync(GetTagAtScopeArgs args, InvokeOptions? opts = null)
        public static Output<GetTagAtScopeResult> Invoke(GetTagAtScopeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTagAtScopeResult> getTagAtScope(GetTagAtScopeArgs args, InvokeOptions options)
    public static Output<GetTagAtScopeResult> getTagAtScope(GetTagAtScopeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:resources:getTagAtScope
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Scope string
    The resource scope.
    Scope string
    The resource scope.
    scope String
    The resource scope.
    scope string
    The resource scope.
    scope str
    The resource scope.
    scope String
    The resource scope.

    getTagAtScope Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The ID of the tags wrapper resource.
    Name string
    The name of the tags wrapper resource.
    Properties Pulumi.AzureNative.Resources.Outputs.TagsResponse
    The set of tags.
    Type string
    The type of the tags wrapper resource.
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The ID of the tags wrapper resource.
    Name string
    The name of the tags wrapper resource.
    Properties TagsResponse
    The set of tags.
    Type string
    The type of the tags wrapper resource.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The ID of the tags wrapper resource.
    name String
    The name of the tags wrapper resource.
    properties TagsResponse
    The set of tags.
    type String
    The type of the tags wrapper resource.
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The ID of the tags wrapper resource.
    name string
    The name of the tags wrapper resource.
    properties TagsResponse
    The set of tags.
    type string
    The type of the tags wrapper resource.
    azure_api_version str
    The Azure API version of the resource.
    id str
    The ID of the tags wrapper resource.
    name str
    The name of the tags wrapper resource.
    properties TagsResponse
    The set of tags.
    type str
    The type of the tags wrapper resource.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The ID of the tags wrapper resource.
    name String
    The name of the tags wrapper resource.
    properties Property Map
    The set of tags.
    type String
    The type of the tags wrapper resource.

    Supporting Types

    TagsResponse

    Tags Dictionary<string, string>
    Tags map[string]string
    tags Map<String,String>
    tags {[key: string]: string}
    tags Mapping[str, str]
    tags Map<String>

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi