azure-native.resources.getTagAtScope
Explore with Pulumi AI
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:
- Azure
Api stringVersion - 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.
Azure Native. Resources. Outputs. Tags Response - The set of tags.
- Type string
- The type of the tags wrapper resource.
- Azure
Api stringVersion - 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
Tags
Response - The set of tags.
- Type string
- The type of the tags wrapper resource.
- azure
Api StringVersion - 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
Tags
Response - The set of tags.
- type String
- The type of the tags wrapper resource.
- azure
Api stringVersion - 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
Tags
Response - The set of tags.
- type string
- The type of the tags wrapper resource.
- azure_
api_ strversion - 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
Tags
Response - The set of tags.
- type str
- The type of the tags wrapper resource.
- azure
Api StringVersion - 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
- Dictionary<string, string>
- map[string]string
- Map<String,String>
- {[key: string]: string}
- Mapping[str, str]
- Map<String>
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0