Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The storageSyncServices resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.StorageSync/storageSyncServices resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.StorageSync/storageSyncServices@2022-06-01' = {
location: 'string'
name: 'string'
properties: {
incomingTrafficPolicy: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.StorageSync/storageSyncServices
Name | Description | Value |
---|---|---|
location | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. | string (required) |
name | The resource name | string (required) |
properties | The parameters used to create the storage sync service. | StorageSyncServiceCreateParametersPropertiesOrStorageSyncServiceProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
StorageSyncServiceCreateParametersPropertiesOrStorageSyncServiceProperties
Name | Description | Value |
---|---|---|
incomingTrafficPolicy | Incoming Traffic Policy | 'AllowAllTraffic' 'AllowVirtualNetworksOnly' |
StorageSyncServiceCreateParametersTags
Name | Description | Value |
---|
ARM template resource definition
The storageSyncServices resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.StorageSync/storageSyncServices resource, add the following JSON to your template.
{
"type": "Microsoft.StorageSync/storageSyncServices",
"apiVersion": "2022-06-01",
"name": "string",
"location": "string",
"properties": {
"incomingTrafficPolicy": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.StorageSync/storageSyncServices
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2022-06-01' |
location | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. | string (required) |
name | The resource name | string (required) |
properties | The parameters used to create the storage sync service. | StorageSyncServiceCreateParametersPropertiesOrStorageSyncServiceProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.StorageSync/storageSyncServices' |
StorageSyncServiceCreateParametersPropertiesOrStorageSyncServiceProperties
Name | Description | Value |
---|---|---|
incomingTrafficPolicy | Incoming Traffic Policy | 'AllowAllTraffic' 'AllowVirtualNetworksOnly' |
StorageSyncServiceCreateParametersTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The storageSyncServices resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.StorageSync/storageSyncServices resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.StorageSync/storageSyncServices@2022-06-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
incomingTrafficPolicy = "string"
}
}
}
Property Values
Microsoft.StorageSync/storageSyncServices
Name | Description | Value |
---|---|---|
location | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. | string (required) |
name | The resource name | string (required) |
properties | The parameters used to create the storage sync service. | StorageSyncServiceCreateParametersPropertiesOrStorageSyncServiceProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.StorageSync/storageSyncServices@2022-06-01" |
StorageSyncServiceCreateParametersPropertiesOrStorageSyncServiceProperties
Name | Description | Value |
---|---|---|
incomingTrafficPolicy | Incoming Traffic Policy | 'AllowAllTraffic' 'AllowVirtualNetworksOnly' |
StorageSyncServiceCreateParametersTags
Name | Description | Value |
---|