你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Microsoft.Web sites/premieraddons 2019-08-01

选择部署语言

Bicep resource definition

The sites/premieraddons resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.Web/sites/premieraddons resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Web/sites/premieraddons@2019-08-01' = {
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    marketplaceOffer: 'string'
    marketplacePublisher: 'string'
    product: 'string'
    sku: 'string'
    vendor: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

Microsoft.Web/sites/premieraddons

Name Description Value
kind Kind of resource. string
location Resource Location. string (required)
name The resource name 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: sites
properties PremierAddOn resource specific properties PremierAddOnProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

PremierAddOnProperties

Name Description Value
marketplaceOffer Premier add on Marketplace offer. string
marketplacePublisher Premier add on Marketplace publisher. string
product Premier add on Product. string
sku Premier add on SKU. string
vendor Premier add on Vendor. string

ResourceTags

Name Description Value

ARM template resource definition

The sites/premieraddons resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.Web/sites/premieraddons resource, add the following JSON to your template.

{
  "type": "Microsoft.Web/sites/premieraddons",
  "apiVersion": "2019-08-01",
  "name": "string",
  "kind": "string",
  "location": "string",
  "properties": {
    "marketplaceOffer": "string",
    "marketplacePublisher": "string",
    "product": "string",
    "sku": "string",
    "vendor": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

Microsoft.Web/sites/premieraddons

Name Description Value
apiVersion The api version '2019-08-01'
kind Kind of resource. string
location Resource Location. string (required)
name The resource name string (required)
properties PremierAddOn resource specific properties PremierAddOnProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Web/sites/premieraddons'

PremierAddOnProperties

Name Description Value
marketplaceOffer Premier add on Marketplace offer. string
marketplacePublisher Premier add on Marketplace publisher. string
product Premier add on Product. string
sku Premier add on SKU. string
vendor Premier add on Vendor. string

ResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

The sites/premieraddons resource type can be deployed with operations that target:

  • Resource groups

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

Resource format

To create a Microsoft.Web/sites/premieraddons resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Web/sites/premieraddons@2019-08-01"
  name = "string"
  kind = "string"
  location = "string"
  body = jsonencode({
    properties = {
      marketplaceOffer = "string"
      marketplacePublisher = "string"
      product = "string"
      sku = "string"
      vendor = "string"
    }
  })
  tags = {
    {customized property} = "string"
  }
}

Property values

Microsoft.Web/sites/premieraddons

Name Description Value
kind Kind of resource. string
location Resource Location. string (required)
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: sites
properties PremierAddOn resource specific properties PremierAddOnProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Web/sites/premieraddons@2019-08-01"

PremierAddOnProperties

Name Description Value
marketplaceOffer Premier add on Marketplace offer. string
marketplacePublisher Premier add on Marketplace publisher. string
product Premier add on Product. string
sku Premier add on SKU. string
vendor Premier add on Vendor. string

ResourceTags

Name Description Value