次の方法で共有


Microsoft.HybridCompute 設定 2025-02-19-preview

Bicep resource definition

The settings 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.HybridCompute/settings resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.HybridCompute/settings@2025-02-19-preview' = {
  scope: resourceSymbolicName or scope
  name: 'string'
  properties: {
    gatewayProperties: {
      gatewayResourceId: 'string'
    }
  }
}

プロパティ値

Microsoft.HybridCompute/settings

名前 説明 価値
名前 The resource name

Constraints:
Pattern = default (required)
プロパティ Settings properties SettingsProperties
範囲 Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

SettingsGatewayProperties

名前 説明 価値
gatewayResourceId Associated Gateway Resource Id ひも

SettingsProperties

名前 説明 価値
gatewayProperties Settings Gateway properties SettingsGatewayProperties

ARM template resource definition

The settings 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.HybridCompute/settings resource, add the following JSON to your template.

{
  "type": "Microsoft.HybridCompute/settings",
  "apiVersion": "2025-02-19-preview",
  "name": "string",
  "properties": {
    "gatewayProperties": {
      "gatewayResourceId": "string"
    }
  }
}

プロパティ値

Microsoft.HybridCompute/settings

名前 説明 価値
apiVersion The api version '2025-02-19-preview'
名前 The resource name

Constraints:
Pattern = default (required)
プロパティ Settings properties SettingsProperties
種類 The resource type 'Microsoft.HybridCompute/settings'

SettingsGatewayProperties

名前 説明 価値
gatewayResourceId Associated Gateway Resource Id ひも

SettingsProperties

名前 説明 価値
gatewayProperties Settings Gateway properties SettingsGatewayProperties

使用例

Terraform (AzAPI provider) resource definition

The settings 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.HybridCompute/settings resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.HybridCompute/settings@2025-02-19-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      gatewayProperties = {
        gatewayResourceId = "string"
      }
    }
  }
}

プロパティ値

Microsoft.HybridCompute/settings

名前 説明 価値
名前 The resource name

Constraints:
Pattern = default (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
プロパティ Settings properties SettingsProperties
種類 The resource type "Microsoft.HybridCompute/settings@2025-02-19-preview"

SettingsGatewayProperties

名前 説明 価値
gatewayResourceId Associated Gateway Resource Id ひも

SettingsProperties

名前 説明 価値
gatewayProperties Settings Gateway properties SettingsGatewayProperties