We recommend using Azure Native.
azure.apimanagement.ApiTagDescription
Explore with Pulumi AI
Manages an API Tag Description within an API Management Service.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleService:
type: azure:apimanagement:Service
name: example
properties:
name: example-apim
location: ${example.location}
resourceGroupName: ${example.name}
publisherName: My Company
publisherEmail: company@terraform.io
skuName: Developer_1
exampleApi:
type: azure:apimanagement:Api
name: example
properties:
name: example-api
resourceGroupName: ${example.name}
apiManagementName: ${exampleService.name}
revision: '1'
displayName: Example API
path: example
protocols:
- https
import:
contentFormat: swagger-link-json
contentValue: http://conferenceapi.azurewebsites.net/?format=json
exampleTag:
type: azure:apimanagement:Tag
name: example
properties:
apiManagementId: ${exampleService.id}
name: example-Tag
exampleApiTagDescription:
type: azure:apimanagement:ApiTagDescription
name: example
properties:
apiTagId: ${exampleTag.id}
description: This is an example description
externalDocsUrl: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
externalDocsDescription: This is an example external docs description
Create ApiTagDescription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiTagDescription(name: string, args: ApiTagDescriptionArgs, opts?: CustomResourceOptions);
@overload
def ApiTagDescription(resource_name: str,
args: ApiTagDescriptionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApiTagDescription(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_tag_id: Optional[str] = None,
description: Optional[str] = None,
external_documentation_description: Optional[str] = None,
external_documentation_url: Optional[str] = None)
func NewApiTagDescription(ctx *Context, name string, args ApiTagDescriptionArgs, opts ...ResourceOption) (*ApiTagDescription, error)
public ApiTagDescription(string name, ApiTagDescriptionArgs args, CustomResourceOptions? opts = null)
public ApiTagDescription(String name, ApiTagDescriptionArgs args)
public ApiTagDescription(String name, ApiTagDescriptionArgs args, CustomResourceOptions options)
type: azure:apimanagement:ApiTagDescription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApiTagDescriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApiTagDescriptionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApiTagDescriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiTagDescriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiTagDescriptionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var apiTagDescriptionResource = new Azure.ApiManagement.ApiTagDescription("apiTagDescriptionResource", new()
{
ApiTagId = "string",
Description = "string",
ExternalDocumentationDescription = "string",
ExternalDocumentationUrl = "string",
});
example, err := apimanagement.NewApiTagDescription(ctx, "apiTagDescriptionResource", &apimanagement.ApiTagDescriptionArgs{
ApiTagId: pulumi.String("string"),
Description: pulumi.String("string"),
ExternalDocumentationDescription: pulumi.String("string"),
ExternalDocumentationUrl: pulumi.String("string"),
})
var apiTagDescriptionResource = new ApiTagDescription("apiTagDescriptionResource", ApiTagDescriptionArgs.builder()
.apiTagId("string")
.description("string")
.externalDocumentationDescription("string")
.externalDocumentationUrl("string")
.build());
api_tag_description_resource = azure.apimanagement.ApiTagDescription("apiTagDescriptionResource",
api_tag_id="string",
description="string",
external_documentation_description="string",
external_documentation_url="string")
const apiTagDescriptionResource = new azure.apimanagement.ApiTagDescription("apiTagDescriptionResource", {
apiTagId: "string",
description: "string",
externalDocumentationDescription: "string",
externalDocumentationUrl: "string",
});
type: azure:apimanagement:ApiTagDescription
properties:
apiTagId: string
description: string
externalDocumentationDescription: string
externalDocumentationUrl: string
ApiTagDescription Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ApiTagDescription resource accepts the following input properties:
- Api
Tag stringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- Description string
- The description of the Tag.
- External
Documentation stringDescription - The description of the external documentation resources describing the tag.
- External
Documentation stringUrl - The URL of external documentation resources describing the tag.
- Api
Tag stringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- Description string
- The description of the Tag.
- External
Documentation stringDescription - The description of the external documentation resources describing the tag.
- External
Documentation stringUrl - The URL of external documentation resources describing the tag.
- api
Tag StringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description String
- The description of the Tag.
- external
Documentation StringDescription - The description of the external documentation resources describing the tag.
- external
Documentation StringUrl - The URL of external documentation resources describing the tag.
- api
Tag stringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description string
- The description of the Tag.
- external
Documentation stringDescription - The description of the external documentation resources describing the tag.
- external
Documentation stringUrl - The URL of external documentation resources describing the tag.
- api_
tag_ strid - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description str
- The description of the Tag.
- external_
documentation_ strdescription - The description of the external documentation resources describing the tag.
- external_
documentation_ strurl - The URL of external documentation resources describing the tag.
- api
Tag StringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description String
- The description of the Tag.
- external
Documentation StringDescription - The description of the external documentation resources describing the tag.
- external
Documentation StringUrl - The URL of external documentation resources describing the tag.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiTagDescription resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ApiTagDescription Resource
Get an existing ApiTagDescription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApiTagDescriptionState, opts?: CustomResourceOptions): ApiTagDescription
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_tag_id: Optional[str] = None,
description: Optional[str] = None,
external_documentation_description: Optional[str] = None,
external_documentation_url: Optional[str] = None) -> ApiTagDescription
func GetApiTagDescription(ctx *Context, name string, id IDInput, state *ApiTagDescriptionState, opts ...ResourceOption) (*ApiTagDescription, error)
public static ApiTagDescription Get(string name, Input<string> id, ApiTagDescriptionState? state, CustomResourceOptions? opts = null)
public static ApiTagDescription get(String name, Output<String> id, ApiTagDescriptionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Tag stringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- Description string
- The description of the Tag.
- External
Documentation stringDescription - The description of the external documentation resources describing the tag.
- External
Documentation stringUrl - The URL of external documentation resources describing the tag.
- Api
Tag stringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- Description string
- The description of the Tag.
- External
Documentation stringDescription - The description of the external documentation resources describing the tag.
- External
Documentation stringUrl - The URL of external documentation resources describing the tag.
- api
Tag StringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description String
- The description of the Tag.
- external
Documentation StringDescription - The description of the external documentation resources describing the tag.
- external
Documentation StringUrl - The URL of external documentation resources describing the tag.
- api
Tag stringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description string
- The description of the Tag.
- external
Documentation stringDescription - The description of the external documentation resources describing the tag.
- external
Documentation stringUrl - The URL of external documentation resources describing the tag.
- api_
tag_ strid - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description str
- The description of the Tag.
- external_
documentation_ strdescription - The description of the external documentation resources describing the tag.
- external_
documentation_ strurl - The URL of external documentation resources describing the tag.
- api
Tag StringId - The The ID of the API Management API Tag. Changing this forces a new API Management API Tag Description to be created.
- description String
- The description of the Tag.
- external
Documentation StringDescription - The description of the external documentation resources describing the tag.
- external
Documentation StringUrl - The URL of external documentation resources describing the tag.
Import
API Management API Schema’s can be imported using the resource id
, e.g.
$ pulumi import azure:apimanagement/apiTagDescription:ApiTagDescription example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/apis/api1/tagDescriptions/tagDescriptionId1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.