Sdílet prostřednictvím


BackupPolicies interface

Interface representing a BackupPolicies.

Methods

beginCreate(string, string, string, BackupPolicy, BackupPoliciesCreateOptionalParams)

Create a backup policy for Netapp Account

beginCreateAndWait(string, string, string, BackupPolicy, BackupPoliciesCreateOptionalParams)

Create a backup policy for Netapp Account

beginDelete(string, string, string, BackupPoliciesDeleteOptionalParams)

Delete backup policy

beginDeleteAndWait(string, string, string, BackupPoliciesDeleteOptionalParams)

Delete backup policy

beginUpdate(string, string, string, BackupPolicyPatch, BackupPoliciesUpdateOptionalParams)

Patch a backup policy for Netapp Account

beginUpdateAndWait(string, string, string, BackupPolicyPatch, BackupPoliciesUpdateOptionalParams)

Patch a backup policy for Netapp Account

get(string, string, string, BackupPoliciesGetOptionalParams)

Get a particular backup Policy

list(string, string, BackupPoliciesListOptionalParams)

List backup policies for Netapp Account

Method Details

beginCreate(string, string, string, BackupPolicy, BackupPoliciesCreateOptionalParams)

Create a backup policy for Netapp Account

function beginCreate(resourceGroupName: string, accountName: string, backupPolicyName: string, body: BackupPolicy, options?: BackupPoliciesCreateOptionalParams): Promise<SimplePollerLike<OperationState<BackupPolicy>, BackupPolicy>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

backupPolicyName

string

Backup policy Name which uniquely identify backup policy.

body
BackupPolicy

Backup policy object supplied in the body of the operation.

options
BackupPoliciesCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BackupPolicy>, BackupPolicy>>

beginCreateAndWait(string, string, string, BackupPolicy, BackupPoliciesCreateOptionalParams)

Create a backup policy for Netapp Account

function beginCreateAndWait(resourceGroupName: string, accountName: string, backupPolicyName: string, body: BackupPolicy, options?: BackupPoliciesCreateOptionalParams): Promise<BackupPolicy>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

backupPolicyName

string

Backup policy Name which uniquely identify backup policy.

body
BackupPolicy

Backup policy object supplied in the body of the operation.

options
BackupPoliciesCreateOptionalParams

The options parameters.

Returns

Promise<BackupPolicy>

beginDelete(string, string, string, BackupPoliciesDeleteOptionalParams)

Delete backup policy

function beginDelete(resourceGroupName: string, accountName: string, backupPolicyName: string, options?: BackupPoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

backupPolicyName

string

Backup policy Name which uniquely identify backup policy.

options
BackupPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, BackupPoliciesDeleteOptionalParams)

Delete backup policy

function beginDeleteAndWait(resourceGroupName: string, accountName: string, backupPolicyName: string, options?: BackupPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

backupPolicyName

string

Backup policy Name which uniquely identify backup policy.

options
BackupPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, BackupPolicyPatch, BackupPoliciesUpdateOptionalParams)

Patch a backup policy for Netapp Account

function beginUpdate(resourceGroupName: string, accountName: string, backupPolicyName: string, body: BackupPolicyPatch, options?: BackupPoliciesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BackupPolicy>, BackupPolicy>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

backupPolicyName

string

Backup policy Name which uniquely identify backup policy.

body
BackupPolicyPatch

Backup policy object supplied in the body of the operation.

options
BackupPoliciesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BackupPolicy>, BackupPolicy>>

beginUpdateAndWait(string, string, string, BackupPolicyPatch, BackupPoliciesUpdateOptionalParams)

Patch a backup policy for Netapp Account

function beginUpdateAndWait(resourceGroupName: string, accountName: string, backupPolicyName: string, body: BackupPolicyPatch, options?: BackupPoliciesUpdateOptionalParams): Promise<BackupPolicy>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

backupPolicyName

string

Backup policy Name which uniquely identify backup policy.

body
BackupPolicyPatch

Backup policy object supplied in the body of the operation.

options
BackupPoliciesUpdateOptionalParams

The options parameters.

Returns

Promise<BackupPolicy>

get(string, string, string, BackupPoliciesGetOptionalParams)

Get a particular backup Policy

function get(resourceGroupName: string, accountName: string, backupPolicyName: string, options?: BackupPoliciesGetOptionalParams): Promise<BackupPolicy>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

backupPolicyName

string

Backup policy Name which uniquely identify backup policy.

options
BackupPoliciesGetOptionalParams

The options parameters.

Returns

Promise<BackupPolicy>

list(string, string, BackupPoliciesListOptionalParams)

List backup policies for Netapp Account

function list(resourceGroupName: string, accountName: string, options?: BackupPoliciesListOptionalParams): PagedAsyncIterableIterator<BackupPolicy, BackupPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of the NetApp account

options
BackupPoliciesListOptionalParams

The options parameters.

Returns