SnapshotPolicies interface

Interface representing a SnapshotPolicies.

Methods

beginDelete(string, string, string, SnapshotPoliciesDeleteOptionalParams)

Delete snapshot policy

beginDeleteAndWait(string, string, string, SnapshotPoliciesDeleteOptionalParams)

Delete snapshot policy

beginUpdate(string, string, string, SnapshotPolicyPatch, SnapshotPoliciesUpdateOptionalParams)

Patch a snapshot policy

beginUpdateAndWait(string, string, string, SnapshotPolicyPatch, SnapshotPoliciesUpdateOptionalParams)

Patch a snapshot policy

create(string, string, string, SnapshotPolicy, SnapshotPoliciesCreateOptionalParams)

Create a snapshot policy

get(string, string, string, SnapshotPoliciesGetOptionalParams)

Get a snapshot Policy

list(string, string, SnapshotPoliciesListOptionalParams)

List snapshot policy

listVolumes(string, string, string, SnapshotPoliciesListVolumesOptionalParams)

Get volumes associated with snapshot policy

Method Details

beginDelete(string, string, string, SnapshotPoliciesDeleteOptionalParams)

Delete snapshot policy

function beginDelete(resourceGroupName: string, accountName: string, snapshotPolicyName: string, options?: SnapshotPoliciesDeleteOptionalParams): 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

snapshotPolicyName

string

The name of the snapshot policy

options
SnapshotPoliciesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, SnapshotPoliciesDeleteOptionalParams)

Delete snapshot policy

function beginDeleteAndWait(resourceGroupName: string, accountName: string, snapshotPolicyName: string, options?: SnapshotPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

snapshotPolicyName

string

The name of the snapshot policy

options
SnapshotPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, SnapshotPolicyPatch, SnapshotPoliciesUpdateOptionalParams)

Patch a snapshot policy

function beginUpdate(resourceGroupName: string, accountName: string, snapshotPolicyName: string, body: SnapshotPolicyPatch, options?: SnapshotPoliciesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SnapshotPolicy>, SnapshotPolicy>>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

snapshotPolicyName

string

The name of the snapshot policy

body
SnapshotPolicyPatch

Snapshot policy object supplied in the body of the operation.

options
SnapshotPoliciesUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, SnapshotPolicyPatch, SnapshotPoliciesUpdateOptionalParams)

Patch a snapshot policy

function beginUpdateAndWait(resourceGroupName: string, accountName: string, snapshotPolicyName: string, body: SnapshotPolicyPatch, options?: SnapshotPoliciesUpdateOptionalParams): Promise<SnapshotPolicy>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

snapshotPolicyName

string

The name of the snapshot policy

body
SnapshotPolicyPatch

Snapshot policy object supplied in the body of the operation.

options
SnapshotPoliciesUpdateOptionalParams

The options parameters.

Returns

Promise<SnapshotPolicy>

create(string, string, string, SnapshotPolicy, SnapshotPoliciesCreateOptionalParams)

Create a snapshot policy

function create(resourceGroupName: string, accountName: string, snapshotPolicyName: string, body: SnapshotPolicy, options?: SnapshotPoliciesCreateOptionalParams): Promise<SnapshotPolicy>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

snapshotPolicyName

string

The name of the snapshot policy

body
SnapshotPolicy

Snapshot policy object supplied in the body of the operation.

options
SnapshotPoliciesCreateOptionalParams

The options parameters.

Returns

Promise<SnapshotPolicy>

get(string, string, string, SnapshotPoliciesGetOptionalParams)

Get a snapshot Policy

function get(resourceGroupName: string, accountName: string, snapshotPolicyName: string, options?: SnapshotPoliciesGetOptionalParams): Promise<SnapshotPolicy>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

snapshotPolicyName

string

The name of the snapshot policy

options
SnapshotPoliciesGetOptionalParams

The options parameters.

Returns

Promise<SnapshotPolicy>

list(string, string, SnapshotPoliciesListOptionalParams)

List snapshot policy

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

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

options
SnapshotPoliciesListOptionalParams

The options parameters.

Returns

listVolumes(string, string, string, SnapshotPoliciesListVolumesOptionalParams)

Get volumes associated with snapshot policy

function listVolumes(resourceGroupName: string, accountName: string, snapshotPolicyName: string, options?: SnapshotPoliciesListVolumesOptionalParams): Promise<SnapshotPolicyVolumeList>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

snapshotPolicyName

string

The name of the snapshot policy

options
SnapshotPoliciesListVolumesOptionalParams

The options parameters.

Returns