Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

getTagByApi

Tag Contract details. 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:

ApiId 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.

ResourceGroupName string

The name of the resource group.

ServiceName string

The name of the API Management service.

TagId string

Tag identifier. Must be unique in the current API Management service instance.

ApiId 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.

ResourceGroupName string

The name of the resource group.

ServiceName string

The name of the API Management service.

TagId string

Tag identifier. Must be unique in the current API Management service instance.

apiId 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.

resourceGroupName String

The name of the resource group.

serviceName String

The name of the API Management service.

tagId String

Tag identifier. Must be unique in the current API Management service instance.

apiId 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.

resourceGroupName string

The name of the resource group.

serviceName string

The name of the API Management service.

tagId 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_name str

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.

apiId 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.

resourceGroupName String

The name of the resource group.

serviceName String

The name of the API Management service.

tagId String

Tag identifier. Must be unique in the current API Management service instance.

getTagByApi Result

The following output properties are available:

DisplayName string

Tag name.

Id string

Resource ID.

Name string

Resource name.

Type string

Resource type for API Management resource.

DisplayName string

Tag name.

Id string

Resource ID.

Name string

Resource name.

Type string

Resource type for API Management resource.

displayName String

Tag name.

id String

Resource ID.

name String

Resource name.

type String

Resource type for API Management resource.

displayName 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.

displayName String

Tag name.

id String

Resource ID.

name String

Resource name.

type String

Resource type for API Management resource.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0