Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
- Terbaru
- 2025-12-01
- 2022-09-01
-
2022-06-01 - 2020-09-01
-
2020-03-01 - 2019-10-01
- 2019-06-01
-
2019-03-01 -
2019-02-01 - 2018-10-01
-
2018-07-01 - 2018-04-02
- pratinjau
2017-06-05
Definisi sumber daya Bicep
Jenis sumber daya storageSyncServices/syncGroups dapat disebarkan dengan operasi yang menargetkan:
- Grup sumber daya
- Lihat perintah penyebaran grup sumber daya
Untuk daftar properti yang diubah di setiap versi API, lihat mengubah log.
Contoh Penggunaan
Sampel Bicep
Contoh dasar penyebaran Grup Sinkronisasi Penyimpanan.
param location string = 'westeurope'
param resourceName string = 'acctest0001'
resource storageSyncService 'Microsoft.StorageSync/storageSyncServices@2020-03-01' = {
name: resourceName
location: location
properties: {
incomingTrafficPolicy: 'AllowAllTraffic'
}
}
resource syncGroup 'Microsoft.StorageSync/storageSyncServices/syncGroups@2020-03-01' = {
name: resourceName
parent: storageSyncService
}
Format sumber daya
Untuk membuat sumber daya Microsoft.StorageSync/storageSyncServices/syncGroups, tambahkan Bicep berikut ke templat Anda.
resource symbolicname 'Microsoft.StorageSync/storageSyncServices/syncGroups@2017-06-05-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
uniqueId: 'string'
}
}
Nilai Properti
Microsoft.StorageSync/storageSyncServices/syncGroups
| Nama | Deskripsi | Nilai |
|---|---|---|
| Nama | Nama sumber daya | string (diperlukan) |
| induk | Di Bicep, Anda dapat menentukan sumber daya induk untuk sumber daya anak. Anda hanya perlu menambahkan properti ini ketika sumber daya anak dideklarasikan di luar sumber daya induk. Untuk informasi selengkapnya, lihat sumber daya Turunan di luar sumber daya induk. |
Nama simbolis untuk sumber daya jenis: storageSyncServices |
| Properti | Properti SyncGroup. | |
SyncGroupProperties
| Nama | Deskripsi | Nilai |
|---|---|---|
| uniqueId | Id Unik | string |
Definisi sumber daya templat ARM
Jenis sumber daya storageSyncServices/syncGroups dapat disebarkan dengan operasi yang menargetkan:
- Grup sumber daya - Lihat perintah penyebaran grup sumber daya Untuk daftar properti yang diubah di setiap versi API, lihat log perubahan.
Contoh Penggunaan
Format sumber daya
Untuk membuat sumber daya Microsoft.StorageSync/storageSyncServices/syncGroups, tambahkan JSON berikut ke templat Anda.
{
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups",
"apiVersion": "2017-06-05-preview",
"name": "string",
"properties": {
"uniqueId": "string"
}
}
Nilai Properti
Microsoft.StorageSync/storageSyncServices/syncGroups
| Nama | Deskripsi | Nilai |
|---|---|---|
| apiVersion | Versi api | '2017-06-05-preview' |
| Nama | Nama sumber daya | string (diperlukan) |
| Properti | Properti SyncGroup. | |
| jenis | Jenis sumber daya | 'Microsoft.StorageSync/storageSyncServices/syncGroups' |
SyncGroupProperties
| Nama | Deskripsi | Nilai |
|---|---|---|
| uniqueId | Id Unik | string |
Definisi sumber daya Terraform (penyedia AzAPI)
Jenis sumber daya storageSyncServices/syncGroups dapat disebarkan dengan operasi yang menargetkan:
- Grup sumber daya Untuk daftar properti yang diubah di setiap versi API, lihat log perubahan.
Contoh Penggunaan
Sampel Terraform
Contoh dasar penyebaran Grup Sinkronisasi Penyimpanan.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "storageSyncService" {
type = "Microsoft.StorageSync/storageSyncServices@2020-03-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
incomingTrafficPolicy = "AllowAllTraffic"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "syncGroup" {
type = "Microsoft.StorageSync/storageSyncServices/syncGroups@2020-03-01"
parent_id = azapi_resource.storageSyncService.id
name = var.resource_name
schema_validation_enabled = false
response_export_values = ["*"]
}
Format sumber daya
Untuk membuat sumber daya Microsoft.StorageSync/storageSyncServices/syncGroups, tambahkan Terraform berikut ke templat Anda.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.StorageSync/storageSyncServices/syncGroups@2017-06-05-preview"
name = "string"
parent_id = "string"
body = {
properties = {
uniqueId = "string"
}
}
}
Nilai Properti
Microsoft.StorageSync/storageSyncServices/syncGroups
| Nama | Deskripsi | Nilai |
|---|---|---|
| Nama | Nama sumber daya | string (diperlukan) |
| parent_id | ID sumber daya yang merupakan induk untuk sumber daya ini. | ID untuk sumber daya jenis: storageSyncServices |
| Properti | Properti SyncGroup. | |
| jenis | Jenis sumber daya | "Microsoft.StorageSync/storageSyncServices/syncGroups@2017-06-05-preview" |
SyncGroupProperties
| Nama | Deskripsi | Nilai |
|---|---|---|
| uniqueId | Id Unik | string |