Microsoft. Ubicazioni SQL/serverTrustGroups 2026-08-01-preview

Definizione di risorsa Bicep

Il tipo di risorsa locations/serverTrustGroups può essere distribuito con operazioni destinate a:

  • Resource groups - Vedi resource group

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato risorsa

Per creare un Microsoft. Sql/locations/serverTrustGroups, aggiungi il seguente Bicep al tuo template.

resource symbolicname 'Microsoft.Sql/locations/serverTrustGroups@2026-08-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    groupMembers: [
      {
        serverId: 'string'
      }
    ]
    trustScopes: [
      'string'
    ]
  }
}

Valori delle proprietà

Microsoft. Sql/locations/serverTrustGroups

Nome Description Value
nome Nome della risorsa stringa (obbligatorio)
parent In Bicep è possibile specificare la risorsa padre per una risorsa figlio. È necessario aggiungere questa proprietà solo quando la risorsa figlio viene dichiarata all'esterno della risorsa padre.

Per altre informazioni, vedere risorsa figlio all'esterno della risorsa padre.
Nome simbolico per la risorsa di tipo: località
properties Proprietà delle risorse. ServerTrustGroupProperties

ServerInfo

Nome Description Value
serverId ID server. stringa (obbligatorio)

ServerTrustGroupProperties

Nome Description Value
groupMembers Informazioni sui membri del gruppo per il gruppo di attendibilità del server. ServerInfo[] (obbligatorio)
trustScopes Ambito di attendibilità del gruppo di attendibilità del server. Matrice di stringhe contenente uno dei seguenti elementi:
'GlobalTransactions'
'ServiceBroker' (obbligatorio)

Definizione di risorsa del modello di Resource Manager

Il tipo di risorsa locations/serverTrustGroups può essere distribuito con operazioni destinate a:

Esempi di utilizzo

Formato risorsa

Per creare un Microsoft. Sql/locations/serverTrustGroups, aggiungi il seguente JSON al tuo template.

{
  "type": "Microsoft.Sql/locations/serverTrustGroups",
  "apiVersion": "2026-08-01-preview",
  "name": "string",
  "properties": {
    "groupMembers": [
      {
        "serverId": "string"
      }
    ],
    "trustScopes": [ "string" ]
  }
}

Valori delle proprietà

Microsoft. Sql/locations/serverTrustGroups

Nome Description Value
apiVersion Versione dell'API 'Anteprima 2026-08-01-Preview'
nome Nome della risorsa stringa (obbligatorio)
properties Proprietà delle risorse. ServerTrustGroupProperties
type Tipo di risorsa 'Microsoft. Sql/locations/serverTrustGroups

ServerInfo

Nome Description Value
serverId ID server. stringa (obbligatorio)

ServerTrustGroupProperties

Nome Description Value
groupMembers Informazioni sui membri del gruppo per il gruppo di attendibilità del server. ServerInfo[] (obbligatorio)
trustScopes Ambito di attendibilità del gruppo di attendibilità del server. Matrice di stringhe contenente uno dei seguenti elementi:
'GlobalTransactions'
'ServiceBroker' (obbligatorio)

Definizione di risorsa Terraform (provider AzAPI)

Il tipo di risorsa locations/serverTrustGroups può essere distribuito con operazioni destinate a:

  • Gruppi di risorse Per un elenco delle proprietà modificate in ogni versione dell'API, vedi il registro modifiche.

Formato risorsa

Per creare un Microsoft. Sql/locations/serverTrustGroups, aggiungi il seguente Terraform al tuo template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Sql/locations/serverTrustGroups@2026-08-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      groupMembers = [
        {
          serverId = "string"
        }
      ]
      trustScopes = [
        "string"
      ]
    }
  }
}

Valori delle proprietà

Microsoft. Sql/locations/serverTrustGroups

Nome Description Value
nome Nome della risorsa stringa (obbligatorio)
parent_id ID della risorsa padre per questa risorsa. ID per la risorsa di tipo: località
properties Proprietà delle risorse. ServerTrustGroupProperties
type Tipo di risorsa "Microsoft. Sql/locations/serverTrustGroups@2026-08-01-anteprima"

ServerInfo

Nome Description Value
serverId ID server. stringa (obbligatorio)

ServerTrustGroupProperties

Nome Description Value
groupMembers Informazioni sui membri del gruppo per il gruppo di attendibilità del server. ServerInfo[] (obbligatorio)
trustScopes Ambito di attendibilità del gruppo di attendibilità del server. Matrice di stringhe contenente uno dei seguenti elementi:
'GlobalTransactions'
'ServiceBroker' (obbligatorio)