Microsoft.ApiManagement/service/contentTypes/contentItems 2021-12-01-preview – Bicep, ARM template & Terraform AzAPI reference

Table of Contents0.1 In this article1 Bicep resource definition2 Resource format3 Property values3.1 service/contentTypes/contentItems4 ARM template resource definition5 Resource format6 Property values6.1 service/contentTypes/contentItems7 Terraform (AzAPI provider) resource definition8 Resource format9 Property values9.1 service/contentTypes/contentItems Article 09/02/2022 2 minutes to read 1 contributor […]

Bicep resource definition

The service/contentTypes/contentItems resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ApiManagement/service/contentTypes/contentItems resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ApiManagement/service/contentTypes/[email protected]' = {
  name: 'string'
  parent: resourceSymbolicName
}

Property values

service/contentTypes/contentItems

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.

string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.

Symbolic name for resource of type: contentTypes

ARM template resource definition

The service/contentTypes/contentItems resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ApiManagement/service/contentTypes/contentItems resource, add the following JSON to your template.

{
  "type": "Microsoft.ApiManagement/service/contentTypes/contentItems",
  "apiVersion": "2021-12-01-preview",
  "name": "string"
}

Property values

service/contentTypes/contentItems

Name Description Value
type The resource type ‘Microsoft.ApiManagement/service/contentTypes/contentItems’
apiVersion The resource api version ‘2021-12-01-preview’
name The resource name

See how to set names and types for child resources in JSON ARM templates.

string (required)

Terraform (AzAPI provider) resource definition

The service/contentTypes/contentItems resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ApiManagement/service/contentTypes/contentItems resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ApiManagement/service/contentTypes/[email protected]"
  name = "string"
  parent_id = "string"
}

Property values

service/contentTypes/contentItems

Name Description Value
type The resource type “Microsoft.ApiManagement/service/contentTypes/[email protected]
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: contentTypes

Source Article

Next Post

Cloud monitoring guide - Cloud Adoption Framework

Wed Sep 28 , 2022
Table of Contents0.1 In this article1 Audience2 How this guide is structured3 Products and services4 Next steps Article 04/12/2022 3 minutes to read 6 contributors In this article The cloud fundamentally changes how enterprises procure and use technology […]