These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.apimanagement.getTagByApi
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get tag associated with the API. API Version: 2020-12-01.
Using getTagByApi
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 getTagByApi(args: GetTagByApiArgs, opts?: InvokeOptions): Promise<GetTagByApiResult>
function getTagByApiOutput(args: GetTagByApiOutputArgs, opts?: InvokeOptions): Output<GetTagByApiResult>
def get_tag_by_api(api_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
tag_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTagByApiResult
def get_tag_by_api_output(api_id: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
tag_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagByApiResult]
func LookupTagByApi(ctx *Context, args *LookupTagByApiArgs, opts ...InvokeOption) (*LookupTagByApiResult, error)
func LookupTagByApiOutput(ctx *Context, args *LookupTagByApiOutputArgs, opts ...InvokeOption) LookupTagByApiResultOutput
> Note: This function is named LookupTagByApi
in the Go SDK.
public static class GetTagByApi
{
public static Task<GetTagByApiResult> InvokeAsync(GetTagByApiArgs args, InvokeOptions? opts = null)
public static Output<GetTagByApiResult> Invoke(GetTagByApiInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTagByApiResult> getTagByApi(GetTagByApiArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:apimanagement:getTagByApi
arguments:
# arguments dictionary
The following arguments are supported:
- Api
Id string - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- Resource
Group stringName - The name of the resource group.
- Service
Name string - The name of the API Management service.
- Tag
Id string - Tag identifier. Must be unique in the current API Management service instance.
- Api
Id string - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- Resource
Group stringName - The name of the resource group.
- Service
Name string - The name of the API Management service.
- Tag
Id string - Tag identifier. Must be unique in the current API Management service instance.
- api
Id String - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource
Group StringName - The name of the resource group.
- service
Name String - The name of the API Management service.
- tag
Id String - Tag identifier. Must be unique in the current API Management service instance.
- api
Id string - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource
Group stringName - The name of the resource group.
- service
Name string - The name of the API Management service.
- tag
Id string - Tag identifier. Must be unique in the current API Management service instance.
- api_
id str - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource_
group_ strname - The name of the resource group.
- service_
name str - The name of the API Management service.
- tag_
id str - Tag identifier. Must be unique in the current API Management service instance.
- api
Id String - API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource
Group StringName - The name of the resource group.
- service
Name String - The name of the API Management service.
- tag
Id String - Tag identifier. Must be unique in the current API Management service instance.
getTagByApi Result
The following output properties are available:
- Display
Name string - Tag name.
- Id string
- Resource ID.
- Name string
- Resource name.
- Type string
- Resource type for API Management resource.
- Display
Name string - Tag name.
- Id string
- Resource ID.
- Name string
- Resource name.
- Type string
- Resource type for API Management resource.
- display
Name String - Tag name.
- id String
- Resource ID.
- name String
- Resource name.
- type String
- Resource type for API Management resource.
- display
Name string - Tag name.
- id string
- Resource ID.
- name string
- Resource name.
- type string
- Resource type for API Management resource.
- display_
name str - Tag name.
- id str
- Resource ID.
- name str
- Resource name.
- type str
- Resource type for API Management resource.
- display
Name String - Tag name.
- id String
- Resource ID.
- name String
- Resource name.
- type String
- Resource type for API Management resource.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi