1. Packages
  2. Azure Native
  3. API Docs
  4. resources
  5. getTagAtScope
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 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 v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Wrapper resource for tags API requests and responses. Azure REST API version: 2022-09-01.

    Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01.

    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)
    // Output-based functions aren't available in Java yet
    
    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:

    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.
    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.
    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.
    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.
    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.
    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 v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi