Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResourceSyncRule

Package version

Resource Sync Rules definition.

Hierarchy

Index

Properties

Optional id

id: undefined | string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

location

location: string

The geo-location where the resource lives

Optional name

name: undefined | string

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

Optional priority

priority: undefined | number

Priority represents a priority of the Resource Sync Rule

Optional provisioningState

provisioningState: undefined | string

Provisioning State for the Resource Sync Rule. NOTE: This property will not be serialized. It can only be populated by the server.

Optional selector

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.

Optional systemData

systemData: SystemData

Metadata pertaining to creation and last modification of the resource NOTE: This property will not be serialized. It can only be populated by the server.

Optional tags

tags: undefined | {}

Resource tags.

Optional targetResourceGroup

targetResourceGroup: undefined | string

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.

Optional type

type: undefined | string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Generated using TypeDoc