次の方法で共有


Microsoft.ApiManagement サービス/テンプレート 2020-12-01

Bicep リソース定義

サービス/テンプレートのリソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.ApiManagement/service/templates リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.ApiManagement/service/templates@2020-12-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    body: 'string'
    description: 'string'
    parameters: [
      {
        description: 'string'
        name: 'string'
        title: 'string'
      }
    ]
    subject: 'string'
    title: 'string'
  }
}

プロパティ値

EmailTemplateParametersContractProperties

名前 形容 価値
形容 テンプレート パラメーターの説明。

制約:
最小長 = 1
最大長 = 256
パターン = ^[A-Za-z0-9-._]+$
名前 テンプレート パラメーター名。

制約:
最小長 = 1
最大長 = 256
パターン = ^[A-Za-z0-9-._]+$
タイトル テンプレート パラメーターのタイトル。

制約:
最小長 = 1
最大長 = 4096

EmailTemplateUpdateParameterPropertiesOrEmailTemplateContractProperties

名前 形容 価値
電子メール テンプレートの本文。 これは有効な XDocument である必要があります

制約:
最小長 = 1
形容 電子メール テンプレートの説明。
パラメーター 電子メール テンプレートパラメーターの値。 EmailTemplateParametersContractProperties[]
件名 テンプレートの件名。

制約:
最小長 = 1
最大長 = 1000
タイトル テンプレートのタイトル。

Microsoft.ApiManagement/service/templates

名前 形容 価値
名前 リソース名 'accountClosedDeveloper'
'applicationApprovedNotificationMessage'
'confirmSignUpIdentityDefault'
'emailChangeIdentityDefault'
'inviteUserNotificationMessage'
'newCommentNotificationMessage'
'newDeveloperNotificationMessage'
'newIssueNotificationMessage'
'passwordResetByAdminNotificationMessage'
'passwordResetIdentityDefault'
'purchaseDeveloperNotificationMessage'
'quotaLimitApproachingDeveloperNotificationMessage'
'rejectDeveloperNotificationMessage'
'requestDeveloperNotificationMessage' (必須)
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: サービス
プロパティ 電子メール テンプレートの更新コントラクトのプロパティ。 EmailTemplateUpdateParameterPropertiesOrEmailTemplateContractProperties

ARM テンプレート リソース定義

サービス/テンプレートのリソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.ApiManagement/service/templates リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.ApiManagement/service/templates",
  "apiVersion": "2020-12-01",
  "name": "string",
  "properties": {
    "body": "string",
    "description": "string",
    "parameters": [
      {
        "description": "string",
        "name": "string",
        "title": "string"
      }
    ],
    "subject": "string",
    "title": "string"
  }
}

プロパティ値

EmailTemplateParametersContractProperties

名前 形容 価値
形容 テンプレート パラメーターの説明。

制約:
最小長 = 1
最大長 = 256
パターン = ^[A-Za-z0-9-._]+$
名前 テンプレート パラメーター名。

制約:
最小長 = 1
最大長 = 256
パターン = ^[A-Za-z0-9-._]+$
タイトル テンプレート パラメーターのタイトル。

制約:
最小長 = 1
最大長 = 4096

EmailTemplateUpdateParameterPropertiesOrEmailTemplateContractProperties

名前 形容 価値
電子メール テンプレートの本文。 これは有効な XDocument である必要があります

制約:
最小長 = 1
形容 電子メール テンプレートの説明。
パラメーター 電子メール テンプレートパラメーターの値。 EmailTemplateParametersContractProperties[]
件名 テンプレートの件名。

制約:
最小長 = 1
最大長 = 1000
タイトル テンプレートのタイトル。

Microsoft.ApiManagement/service/templates

名前 形容 価値
apiVersion API のバージョン '2020-12-01'
名前 リソース名 'accountClosedDeveloper'
'applicationApprovedNotificationMessage'
'confirmSignUpIdentityDefault'
'emailChangeIdentityDefault'
'inviteUserNotificationMessage'
'newCommentNotificationMessage'
'newDeveloperNotificationMessage'
'newIssueNotificationMessage'
'passwordResetByAdminNotificationMessage'
'passwordResetIdentityDefault'
'purchaseDeveloperNotificationMessage'
'quotaLimitApproachingDeveloperNotificationMessage'
'rejectDeveloperNotificationMessage'
'requestDeveloperNotificationMessage' (必須)
プロパティ 電子メール テンプレートの更新コントラクトのプロパティ。 EmailTemplateUpdateParameterPropertiesOrEmailTemplateContractProperties
種類 リソースの種類 'Microsoft.ApiManagement/service/templates'

Terraform (AzAPI プロバイダー) リソース定義

サービス/テンプレートのリソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoft.ApiManagement/service/templates リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ApiManagement/service/templates@2020-12-01"
  name = "string"
  body = jsonencode({
    properties = {
      body = "string"
      description = "string"
      parameters = [
        {
          description = "string"
          name = "string"
          title = "string"
        }
      ]
      subject = "string"
      title = "string"
    }
  })
}

プロパティ値

EmailTemplateParametersContractProperties

名前 形容 価値
形容 テンプレート パラメーターの説明。

制約:
最小長 = 1
最大長 = 256
パターン = ^[A-Za-z0-9-._]+$
名前 テンプレート パラメーター名。

制約:
最小長 = 1
最大長 = 256
パターン = ^[A-Za-z0-9-._]+$
タイトル テンプレート パラメーターのタイトル。

制約:
最小長 = 1
最大長 = 4096

EmailTemplateUpdateParameterPropertiesOrEmailTemplateContractProperties

名前 形容 価値
電子メール テンプレートの本文。 これは有効な XDocument である必要があります

制約:
最小長 = 1
形容 電子メール テンプレートの説明。
パラメーター 電子メール テンプレートパラメーターの値。 EmailTemplateParametersContractProperties[]
件名 テンプレートの件名。

制約:
最小長 = 1
最大長 = 1000
タイトル テンプレートのタイトル。

Microsoft.ApiManagement/service/templates

名前 形容 価値
名前 リソース名 'accountClosedDeveloper'
'applicationApprovedNotificationMessage'
'confirmSignUpIdentityDefault'
'emailChangeIdentityDefault'
'inviteUserNotificationMessage'
'newCommentNotificationMessage'
'newDeveloperNotificationMessage'
'newIssueNotificationMessage'
'passwordResetByAdminNotificationMessage'
'passwordResetIdentityDefault'
'purchaseDeveloperNotificationMessage'
'quotaLimitApproachingDeveloperNotificationMessage'
'rejectDeveloperNotificationMessage'
'requestDeveloperNotificationMessage' (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: サービス
プロパティ 電子メール テンプレートの更新コントラクトのプロパティ。 EmailTemplateUpdateParameterPropertiesOrEmailTemplateContractProperties
種類 リソースの種類 "Microsoft.ApiManagement/service/templates@2020-12-01"