Freigeben über


Microsoft.HybridCompute settings 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'
    }
  }
}

Property Values

Microsoft.HybridCompute/settings

Name BESCHREIBUNG Wert
Name The resource name Zeichenfolge

Constraints:
Pattern = default (required)
Eigenschaften Settings properties SettingsProperties
Umfang 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

Name BESCHREIBUNG Wert
gatewayResourceId Associated Gateway Resource Id Schnur

SettingsProperties

Name BESCHREIBUNG Wert
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"
    }
  }
}

Property Values

Microsoft.HybridCompute/settings

Name BESCHREIBUNG Wert
apiVersion The api version "2025-02-19-preview"
Name The resource name Zeichenfolge

Constraints:
Pattern = default (required)
Eigenschaften Settings properties SettingsProperties
Typ The resource type 'Microsoft.HybridCompute/settings'

SettingsGatewayProperties

Name BESCHREIBUNG Wert
gatewayResourceId Associated Gateway Resource Id Schnur

SettingsProperties

Name BESCHREIBUNG Wert
gatewayProperties Settings Gateway properties SettingsGatewayProperties

Verwendungsbeispiele

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"
      }
    }
  }
}

Property Values

Microsoft.HybridCompute/settings

Name BESCHREIBUNG Wert
Name The resource name Zeichenfolge

Constraints:
Pattern = default (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
Eigenschaften Settings properties SettingsProperties
Typ The resource type "Microsoft.HybridCompute/settings@2025-02-19-preview"

SettingsGatewayProperties

Name BESCHREIBUNG Wert
gatewayResourceId Associated Gateway Resource Id Schnur

SettingsProperties

Name BESCHREIBUNG Wert
gatewayProperties Settings Gateway properties SettingsGatewayProperties