Microsoft.Compute gallerys/applications 2022-08-03

Bicep リソース定義

gallerys/applications リソースの種類は、次を対象とする操作でデプロイできます。

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

リソース形式

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

resource symbolicname 'Microsoft.Compute/galleries/applications@2022-08-03' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  properties: {
    customActions: [
      {
        description: 'string'
        name: 'string'
        parameters: [
          {
            defaultValue: 'string'
            description: 'string'
            name: 'string'
            required: bool
            type: 'string'
          }
        ]
        script: 'string'
      }
    ]
    description: 'string'
    endOfLifeDate: 'string'
    eula: 'string'
    privacyStatementUri: 'string'
    releaseNoteUri: 'string'
    supportedOSType: 'string'
  }
}

プロパティ値

galleries/applications

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)

文字数制限: 1 から 80

有効な文字:
英数字、ハイフン、およびピリオド。

先頭と末尾には英数字を使用します。
location リソースの場所 string (必須)
tags リソース タグ タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部にある子リソース」を参照してください。
種類のリソースのシンボル名: ギャラリー
properties ギャラリーアプリケーション定義のプロパティについて説明します。 GalleryApplicationProperties

GalleryApplicationProperties

名前 説明
customActions このギャラリー アプリケーション内のすべてのギャラリー アプリケーション バージョンで実行できるカスタム アクションの一覧。 GalleryApplicationCustomAction[]
description このギャラリーアプリケーション定義リソースの説明。 このプロパティは更新可能です。 string
endOfLifeDate ギャラリーアプリケーション定義の有効期間の終了日。 このプロパティは、使用停止の目的で使用できます。 このプロパティは更新可能です。 string
eula ギャラリー アプリケーション定義の Eula 契約。 string
privacyStatementUri プライバシーに関する声明の URI。 string
releaseNoteUri リリース ノート URI。 string
supportedOSType このプロパティを使用すると、アプリケーションがビルドされる OS のサポートされている種類を指定できます。 使用できる値は 、Windows、Linux です。 'Linux'
'Windows' (必須)

GalleryApplicationCustomAction

名前 説明
description このカスタム アクションの動作をユーザーが理解するのに役立つ説明。 string
name カスタム アクションの名前。 ギャラリー アプリケーション バージョン内で一意である必要があります。 string (必須)
parameters このカスタム アクションで使用されるパラメーター GalleryApplicationCustomActionParameter[]
script このカスタム アクションの実行時に実行するスクリプト。 string (必須)

GalleryApplicationCustomActionParameter

名前 説明
defaultValue パラメーターの既定値。 文字列型にのみ適用されます string
description ユーザーがこのパラメーターの意味を理解するのに役立つ説明 string
name カスタム アクションの名前。 ギャラリー アプリケーション のバージョン内で一意である必要があります。 string (必須)
必須 カスタム アクションの実行時にこのパラメーターを渡す必要があるかどうかを示します。 [bool]
カスタム アクション パラメーターの種類を指定します。 指定できる値は、String、ConfigurationDataBlob、LogOutputBlob です。 'ConfigurationDataBlob'
'LogOutputBlob'
'String'

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

gallerys/applications リソースの種類は、次を対象とする操作でデプロイできます。

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

リソース形式

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

{
  "type": "Microsoft.Compute/galleries/applications",
  "apiVersion": "2022-08-03",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "customActions": [
      {
        "description": "string",
        "name": "string",
        "parameters": [
          {
            "defaultValue": "string",
            "description": "string",
            "name": "string",
            "required": "bool",
            "type": "string"
          }
        ],
        "script": "string"
      }
    ],
    "description": "string",
    "endOfLifeDate": "string",
    "eula": "string",
    "privacyStatementUri": "string",
    "releaseNoteUri": "string",
    "supportedOSType": "string"
  }
}

プロパティ値

galleries/applications

名前 説明
type リソースの種類 'Microsoft.Compute/gallerys/applications'
apiVersion リソース API のバージョン '2022-08-03'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)

文字制限: 1 から 80

有効な文字:
英数字、ハイフン、およびピリオド。

先頭と末尾には英数字を使用します。
location リソースの場所 string (必須)
tags リソース タグ タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
properties ギャラリーアプリケーション定義のプロパティについて説明します。 GalleryApplicationProperties

GalleryApplicationProperties

名前 説明
customActions このギャラリー アプリケーション内のすべてのギャラリー アプリケーション バージョンで実行できるカスタム アクションの一覧。 GalleryApplicationCustomAction[]
description このギャラリーアプリケーション定義リソースの説明。 このプロパティは更新可能です。 string
endOfLifeDate ギャラリーアプリケーション定義の有効期間の終了日。 このプロパティは、使用停止の目的で使用できます。 このプロパティは更新可能です。 string
eula ギャラリー アプリケーション定義の Eula 契約。 string
privacyStatementUri プライバシーに関する声明 URI。 string
releaseNoteUri リリース ノート URI。 string
supportedOSType このプロパティを使用すると、アプリケーションがビルドされる OS のサポートされている種類を指定できます。 使用できる値は、 Windows、Linux です。 'Linux'
'Windows' (必須)

GalleryApplicationCustomAction

名前 説明
description このカスタム アクションの動作をユーザーが理解するのに役立つ説明。 string
name カスタム アクションの名前。 ギャラリー アプリケーション のバージョン内で一意である必要があります。 string (必須)
parameters このカスタム アクションで使用されるパラメーター GalleryApplicationCustomActionParameter[]
script このカスタム アクションの実行時に実行するスクリプト。 string (必須)

GalleryApplicationCustomActionParameter

名前 説明
defaultValue パラメーターの既定値。 文字列型にのみ適用されます string
description ユーザーがこのパラメーターの意味を理解するのに役立つ説明 string
name カスタム アクションの名前。 ギャラリー アプリケーション のバージョン内で一意である必要があります。 string (必須)
必須 カスタム アクションの実行時にこのパラメーターを渡す必要があるかどうかを示します。 [bool]
カスタム アクション パラメーターの種類を指定します。 指定できる値は、String、ConfigurationDataBlob、LogOutputBlob です。 'ConfigurationDataBlob'
'LogOutputBlob'
'String'

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

gallerys/applications リソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループ

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Compute/galleries/applications@2022-08-03"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      customActions = [
        {
          description = "string"
          name = "string"
          parameters = [
            {
              defaultValue = "string"
              description = "string"
              name = "string"
              required = bool
              type = "string"
            }
          ]
          script = "string"
        }
      ]
      description = "string"
      endOfLifeDate = "string"
      eula = "string"
      privacyStatementUri = "string"
      releaseNoteUri = "string"
      supportedOSType = "string"
    }
  })
}

プロパティ値

galleries/applications

名前 説明
type リソースの種類 "Microsoft.Compute/gallerys/applications@2022-08-03"
name リソース名 string (必須)

文字制限: 1 から 80

有効な文字:
英数字、ハイフン、およびピリオド。

先頭と末尾には英数字を使用します。
location リソースの場所 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: ギャラリー
tags リソース タグ タグの名前と値のディクショナリ。
properties ギャラリーアプリケーション定義のプロパティについて説明します。 GalleryApplicationProperties

GalleryApplicationProperties

名前 説明
customActions このギャラリー アプリケーション内のすべてのギャラリー アプリケーション バージョンで実行できるカスタム アクションの一覧。 GalleryApplicationCustomAction[]
description このギャラリーアプリケーション定義リソースの説明。 このプロパティは更新可能です。 string
endOfLifeDate ギャラリーアプリケーション定義の有効期間の終了日。 このプロパティは、使用停止の目的で使用できます。 このプロパティは更新可能です。 string
eula ギャラリー アプリケーション定義の Eula 契約。 string
privacyStatementUri プライバシーに関する声明 URI。 string
releaseNoteUri リリース ノート URI。 string
supportedOSType このプロパティを使用すると、アプリケーションがビルドされる OS のサポートされている種類を指定できます。 使用できる値は、 Windows、Linux です。 "Linux"
"Windows" (必須)

GalleryApplicationCustomAction

名前 説明
description このカスタム アクションの動作をユーザーが理解するのに役立つ説明。 string
name カスタム アクションの名前。 ギャラリー アプリケーション のバージョン内で一意である必要があります。 string (必須)
parameters このカスタム アクションで使用されるパラメーター GalleryApplicationCustomActionParameter[]
script このカスタム アクションの実行時に実行するスクリプト。 string (必須)

GalleryApplicationCustomActionParameter

名前 説明
defaultValue パラメーターの既定値。 文字列型にのみ適用されます string
description ユーザーがこのパラメーターの意味を理解するのに役立つ説明 string
name カスタム アクションの名前。 ギャラリー アプリケーション のバージョン内で一意である必要があります。 string (必須)
必須 カスタム アクションの実行時にこのパラメーターを渡す必要があるかどうかを示します。 [bool]
カスタム アクション パラメーターの種類を指定します。 指定できる値は、String、ConfigurationDataBlob、LogOutputBlob です。 "ConfigurationDataBlob"
"LogOutputBlob"
"String"