ResourceGuards interface
Interface representing a ResourceGuards.
Methods
Method Details
delete(string, string, ResourceGuardsDeleteOptionalParams)
Deletes a ResourceGuard resource from the resource group.
function delete(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The name of ResourceGuard
The options parameters.
Returns
Promise<void>
get(string, string, ResourceGuardsGetOptionalParams)
Returns a ResourceGuard belonging to a resource group.
function get(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetOptionalParams): Promise<ResourceGuardResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The name of ResourceGuard
- options
- ResourceGuardsGetOptionalParams
The options parameters.
Returns
Promise<ResourceGuardResource>
getDefaultBackupSecurityPINRequestsObject(string, string, string, ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function getDefaultBackupSecurityPINRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectOptionalParams): Promise<DppBaseResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
- requestName
-
string
The options parameters.
Returns
Promise<DppBaseResource>
getDefaultDeleteProtectedItemRequestsObject(string, string, string, ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function getDefaultDeleteProtectedItemRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectOptionalParams): Promise<DppBaseResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
- requestName
-
string
The options parameters.
Returns
Promise<DppBaseResource>
getDefaultDeleteResourceGuardProxyRequestsObject(string, string, string, ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function getDefaultDeleteResourceGuardProxyRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectOptionalParams): Promise<DppBaseResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
- requestName
-
string
The options parameters.
Returns
Promise<DppBaseResource>
getDefaultDisableSoftDeleteRequestsObject(string, string, string, ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function getDefaultDisableSoftDeleteRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectOptionalParams): Promise<DppBaseResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
- requestName
-
string
The options parameters.
Returns
Promise<DppBaseResource>
getDefaultUpdateProtectedItemRequestsObject(string, string, string, ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function getDefaultUpdateProtectedItemRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectOptionalParams): Promise<DppBaseResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
- requestName
-
string
The options parameters.
Returns
Promise<DppBaseResource>
getDefaultUpdateProtectionPolicyRequestsObject(string, string, string, ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function getDefaultUpdateProtectionPolicyRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectOptionalParams): Promise<DppBaseResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
- requestName
-
string
The options parameters.
Returns
Promise<DppBaseResource>
listBackupSecurityPINRequestsObjects(string, string, ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function listBackupSecurityPINRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource, DppBaseResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The options parameters.
Returns
listDeleteProtectedItemRequestsObjects(string, string, ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function listDeleteProtectedItemRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource, DppBaseResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The options parameters.
Returns
listDeleteResourceGuardProxyRequestsObjects(string, string, ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function listDeleteResourceGuardProxyRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource, DppBaseResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The options parameters.
Returns
listDisableSoftDeleteRequestsObjects(string, string, ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function listDisableSoftDeleteRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource, DppBaseResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The options parameters.
Returns
listResourcesInResourceGroup(string, ResourceGuardsGetResourcesInResourceGroupOptionalParams)
Returns ResourceGuards collection belonging to a ResourceGroup.
function listResourcesInResourceGroup(resourceGroupName: string, options?: ResourceGuardsGetResourcesInResourceGroupOptionalParams): PagedAsyncIterableIterator<ResourceGuardResource, ResourceGuardResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listResourcesInSubscription(ResourceGuardsGetResourcesInSubscriptionOptionalParams)
Returns ResourceGuards collection belonging to a subscription.
function listResourcesInSubscription(options?: ResourceGuardsGetResourcesInSubscriptionOptionalParams): PagedAsyncIterableIterator<ResourceGuardResource, ResourceGuardResource[], PageSettings>
Parameters
The options parameters.
Returns
listUpdateProtectedItemRequestsObjects(string, string, ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function listUpdateProtectedItemRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource, DppBaseResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The options parameters.
Returns
listUpdateProtectionPolicyRequestsObjects(string, string, ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams)
Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.
function listUpdateProtectionPolicyRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource, DppBaseResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The options parameters.
Returns
patch(string, string, PatchResourceGuardInput, ResourceGuardsPatchOptionalParams)
Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
function patch(resourceGroupName: string, resourceGuardsName: string, parameters: PatchResourceGuardInput, options?: ResourceGuardsPatchOptionalParams): Promise<ResourceGuardResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The name of ResourceGuard
- parameters
- PatchResourceGuardInput
Request body for operation
The options parameters.
Returns
Promise<ResourceGuardResource>
put(string, string, ResourceGuardResource, ResourceGuardsPutOptionalParams)
Creates or updates a ResourceGuard resource belonging to a resource group.
function put(resourceGroupName: string, resourceGuardsName: string, parameters: ResourceGuardResource, options?: ResourceGuardsPutOptionalParams): Promise<ResourceGuardResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceGuardsName
-
string
The name of ResourceGuard
- parameters
- ResourceGuardResource
Request body for operation
- options
- ResourceGuardsPutOptionalParams
The options parameters.
Returns
Promise<ResourceGuardResource>