ResourceSyncRulesOperations interface
Interface representing a ResourceSyncRules operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource Group |
| delete | Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource Name, Resource Group, and Subscription Id. |
| get | Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom Location resource name and Resource Sync Rule name. |
| list |
Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule |
| update | Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource Group, Subscription and Custom Location name. |
Property Details
beginCreateOrUpdate
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdate: (resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>
beginCreateOrUpdateAndWait
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdateAndWait: (resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => Promise<ResourceSyncRule>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => Promise<ResourceSyncRule>
beginUpdate
Warning
This API is now deprecated.
use update instead
beginUpdate: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>
beginUpdateAndWait
Warning
This API is now deprecated.
use update instead
beginUpdateAndWait: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => Promise<ResourceSyncRule>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => Promise<ResourceSyncRule>
createOrUpdate
Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource Group
createOrUpdate: (resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>
delete
Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource Name, Resource Group, and Subscription Id.
delete: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesDeleteOptionalParams) => Promise<void>
get
Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom Location resource name and Resource Sync Rule name.
get: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesGetOptionalParams) => Promise<ResourceSyncRule>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesGetOptionalParams) => Promise<ResourceSyncRule>
listByCustomLocationID
Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule
listByCustomLocationID: (resourceGroupName: string, resourceName: string, options?: ResourceSyncRulesListByCustomLocationIDOptionalParams) => PagedAsyncIterableIterator<ResourceSyncRule, ResourceSyncRule[], PageSettings>
Property Value
(resourceGroupName: string, resourceName: string, options?: ResourceSyncRulesListByCustomLocationIDOptionalParams) => PagedAsyncIterableIterator<ResourceSyncRule, ResourceSyncRule[], PageSettings>
update
Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource Group, Subscription and Custom Location name.
update: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>
Property Value
(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>