ResourceGuards interface

Interface representing a ResourceGuards.

Methods

delete(string, string, ResourceGuardsDeleteOptionalParams)

Deletes a ResourceGuard resource from the resource group.

get(string, string, ResourceGuardsGetOptionalParams)

Returns a ResourceGuard belonging to a resource group.

getDefaultBackupSecurityPINRequestsObject(string, string, string, ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

getDefaultDeleteProtectedItemRequestsObject(string, string, string, ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

getDefaultDeleteResourceGuardProxyRequestsObject(string, string, string, ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

getDefaultDisableSoftDeleteRequestsObject(string, string, string, ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

getDefaultUpdateProtectedItemRequestsObject(string, string, string, ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

getDefaultUpdateProtectionPolicyRequestsObject(string, string, string, ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

listBackupSecurityPINRequestsObjects(string, string, ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

listDeleteProtectedItemRequestsObjects(string, string, ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

listDeleteResourceGuardProxyRequestsObjects(string, string, ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

listDisableSoftDeleteRequestsObjects(string, string, ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

listResourcesInResourceGroup(string, ResourceGuardsGetResourcesInResourceGroupOptionalParams)

Returns ResourceGuards collection belonging to a ResourceGroup.

listResourcesInSubscription(ResourceGuardsGetResourcesInSubscriptionOptionalParams)

Returns ResourceGuards collection belonging to a subscription.

listUpdateProtectedItemRequestsObjects(string, string, ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

listUpdateProtectionPolicyRequestsObjects(string, string, ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams)

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

patch(string, string, PatchResourceGuardInput, ResourceGuardsPatchOptionalParams)

Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.

put(string, string, ResourceGuardResource, ResourceGuardsPutOptionalParams)

Creates or updates a ResourceGuard resource belonging to a resource group.

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

options
ResourceGuardsDeleteOptionalParams

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

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

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

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

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

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

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

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

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

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

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

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.

Returns

listResourcesInSubscription(ResourceGuardsGetResourcesInSubscriptionOptionalParams)

Returns ResourceGuards collection belonging to a subscription.

function listResourcesInSubscription(options?: ResourceGuardsGetResourcesInSubscriptionOptionalParams): PagedAsyncIterableIterator<ResourceGuardResource, ResourceGuardResource[], PageSettings>

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

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

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

options
ResourceGuardsPatchOptionalParams

The options parameters.

Returns

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