Skip to main content

resource_sync_rules

Overview

Nameresource_sync_rules
TypeResource
Idazure.custom_locations.resource_sync_rules

Fields

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectProperties for a resource sync rule. For an unmapped custom resource, its labels will be used to find out matching resource sync rules using the selector property of the resource sync rule. If this resource sync rule has highest priority among all matching rules, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTchildResourceName, resourceGroupName, resourceName, subscriptionIdGets the details of the resourceSyncRule with a specified resource group, subscription id Custom Location resource name and Resource Sync Rule name.
list_by_custom_location_idSELECTresourceGroupName, resourceName, subscriptionIdGets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule
create_or_updateINSERTchildResourceName, resourceGroupName, resourceName, subscriptionIdCreates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource Group
deleteDELETEchildResourceName, resourceGroupName, resourceName, subscriptionIdDeletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource Name, Resource Group, and Subscription Id.
_list_by_custom_location_idEXECresourceGroupName, resourceName, subscriptionIdGets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule
updateEXECchildResourceName, resourceGroupName, resourceName, subscriptionIdUpdates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource Group, Subscription and Custom Location name.