GetResourceSyncRuleResult

data class GetResourceSyncRuleResult(val azureApiVersion: String, val id: String, val location: String, val name: String, val priority: Int? = null, val provisioningState: String, val selector: ResourceSyncRulePropertiesResponseSelector? = null, val systemData: SystemDataResponse, val tags: Map<String, String>? = null, val targetResourceGroup: String? = null, val type: String)

Resource Sync Rules definition.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, id: String, location: String, name: String, priority: Int? = null, provisioningState: String, selector: ResourceSyncRulePropertiesResponseSelector? = null, systemData: SystemDataResponse, tags: Map<String, String>? = null, targetResourceGroup: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard

The name of the resource

Link copied to clipboard
val priority: Int? = null

Priority represents a priority of the Resource Sync Rule

Link copied to clipboard

Provisioning State for the Resource Sync Rule.

Link copied to clipboard

A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match.

Link copied to clipboard

Metadata pertaining to creation and last modification of the resource

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"