Snapshots interface

Methods

beginCreateOrUpdate(string, string, Snapshot, Object)

Creates or updates a snapshot.

beginCreateOrUpdate(string, string, Snapshot, Object, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

beginCreateOrUpdate(string, string, Snapshot, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

beginCreateOrUpdateWithHttpOperationResponse(string, string, Snapshot, Object)

Creates or updates a snapshot.

beginDeleteMethod(string, string, Object)

Deletes a snapshot.

beginDeleteMethod(string, string, Object, ServiceCallback<void>)

Deletes a snapshot.

beginDeleteMethod(string, string, ServiceCallback<void>)

Deletes a snapshot.

beginDeleteMethodWithHttpOperationResponse(string, string, Object)

Deletes a snapshot.

beginGrantAccess(string, string, GrantAccessData, Object)

Grants access to a snapshot.

beginGrantAccess(string, string, GrantAccessData, Object, ServiceCallback<AccessUri>)

Grants access to a snapshot.

beginGrantAccess(string, string, GrantAccessData, ServiceCallback<AccessUri>)

Grants access to a snapshot.

beginGrantAccessWithHttpOperationResponse(string, string, GrantAccessData, Object)

Grants access to a snapshot.

beginRevokeAccess(string, string, Object)

Revokes access to a snapshot.

beginRevokeAccess(string, string, Object, ServiceCallback<void>)

Revokes access to a snapshot.

beginRevokeAccess(string, string, ServiceCallback<void>)

Revokes access to a snapshot.

beginRevokeAccessWithHttpOperationResponse(string, string, Object)

Revokes access to a snapshot.

beginUpdate(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

beginUpdate(string, string, SnapshotUpdate, Object, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

beginUpdate(string, string, SnapshotUpdate, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

beginUpdateWithHttpOperationResponse(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

createOrUpdate(string, string, Snapshot, Object)

Creates or updates a snapshot.

createOrUpdate(string, string, Snapshot, Object, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

createOrUpdate(string, string, Snapshot, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

createOrUpdateWithHttpOperationResponse(string, string, Snapshot, Object)

Creates or updates a snapshot.

deleteMethod(string, string, Object)

Deletes a snapshot.

deleteMethod(string, string, Object, ServiceCallback<void>)

Deletes a snapshot.

deleteMethod(string, string, ServiceCallback<void>)

Deletes a snapshot.

deleteMethodWithHttpOperationResponse(string, string, Object)

Deletes a snapshot.

get(string, string, Object)

Gets information about a snapshot.

get(string, string, Object, ServiceCallback<Snapshot>)

Gets information about a snapshot.

get(string, string, ServiceCallback<Snapshot>)

Gets information about a snapshot.

getWithHttpOperationResponse(string, string, Object)

Gets information about a snapshot.

grantAccess(string, string, GrantAccessData, Object)

Grants access to a snapshot.

grantAccess(string, string, GrantAccessData, Object, ServiceCallback<AccessUri>)

Grants access to a snapshot.

grantAccess(string, string, GrantAccessData, ServiceCallback<AccessUri>)

Grants access to a snapshot.

grantAccessWithHttpOperationResponse(string, string, GrantAccessData, Object)

Grants access to a snapshot.

list(Object)

Lists snapshots under a subscription.

list(Object, ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

list(ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

listByResourceGroup(string, Object)

Lists snapshots under a resource group.

listByResourceGroup(string, Object, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

listByResourceGroup(string, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

listByResourceGroupNext(string, Object)

Lists snapshots under a resource group.

listByResourceGroupNext(string, Object, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

listByResourceGroupNext(string, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

listByResourceGroupNextWithHttpOperationResponse(string, Object)

Lists snapshots under a resource group.

listByResourceGroupWithHttpOperationResponse(string, Object)

Lists snapshots under a resource group.

listNext(string, Object)

Lists snapshots under a subscription.

listNext(string, Object, ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

listNext(string, ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

listNextWithHttpOperationResponse(string, Object)

Lists snapshots under a subscription.

listWithHttpOperationResponse(Object)

Lists snapshots under a subscription.

revokeAccess(string, string, Object)

Revokes access to a snapshot.

revokeAccess(string, string, Object, ServiceCallback<void>)

Revokes access to a snapshot.

revokeAccess(string, string, ServiceCallback<void>)

Revokes access to a snapshot.

revokeAccessWithHttpOperationResponse(string, string, Object)

Revokes access to a snapshot.

update(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

update(string, string, SnapshotUpdate, Object, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

update(string, string, SnapshotUpdate, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

updateWithHttpOperationResponse(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

Method Details

beginCreateOrUpdate(string, string, Snapshot, Object)

Creates or updates a snapshot.

function beginCreateOrUpdate(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
Snapshot

Snapshot object supplied in the body of the Put disk operation.

options
Object

Returns

Promise<Snapshot>

beginCreateOrUpdate(string, string, Snapshot, Object, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

function beginCreateOrUpdate(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, options: Object, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
Snapshot
options
Object
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

beginCreateOrUpdate(string, string, Snapshot, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

function beginCreateOrUpdate(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
Snapshot
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

beginCreateOrUpdateWithHttpOperationResponse(string, string, Snapshot, Object)

Creates or updates a snapshot.

function beginCreateOrUpdateWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
Snapshot

Snapshot object supplied in the body of the Put disk operation.

options
Object

Returns

Promise<HttpOperationResponse<Snapshot>>

beginDeleteMethod(string, string, Object)

Deletes a snapshot.

function beginDeleteMethod(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<void>

beginDeleteMethod(string, string, Object, ServiceCallback<void>)

Deletes a snapshot.

function beginDeleteMethod(resourceGroupName: string, snapshotName: string, options: Object, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
options
Object
callback
ServiceCallback<void>

Returns

Promise<void>

beginDeleteMethod(string, string, ServiceCallback<void>)

Deletes a snapshot.

function beginDeleteMethod(resourceGroupName: string, snapshotName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
callback
ServiceCallback<void>

Returns

Promise<void>

beginDeleteMethodWithHttpOperationResponse(string, string, Object)

Deletes a snapshot.

function beginDeleteMethodWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<HttpOperationResponse<void>>

beginGrantAccess(string, string, GrantAccessData, Object)

Grants access to a snapshot.

function beginGrantAccess(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

grantAccessData
GrantAccessData

Access data object supplied in the body of the get snapshot access operation.

options
Object

Returns

Promise<AccessUri>

beginGrantAccess(string, string, GrantAccessData, Object, ServiceCallback<AccessUri>)

Grants access to a snapshot.

function beginGrantAccess(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, options: Object, callback: ServiceCallback<AccessUri>)

Parameters

resourceGroupName
string
snapshotName
string
grantAccessData
GrantAccessData
options
Object
callback
ServiceCallback<AccessUri>

Returns

Promise<AccessUri>

beginGrantAccess(string, string, GrantAccessData, ServiceCallback<AccessUri>)

Grants access to a snapshot.

function beginGrantAccess(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, callback: ServiceCallback<AccessUri>)

Parameters

resourceGroupName
string
snapshotName
string
grantAccessData
GrantAccessData
callback
ServiceCallback<AccessUri>

Returns

Promise<AccessUri>

beginGrantAccessWithHttpOperationResponse(string, string, GrantAccessData, Object)

Grants access to a snapshot.

function beginGrantAccessWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

grantAccessData
GrantAccessData

Access data object supplied in the body of the get snapshot access operation.

options
Object

Returns

Promise<HttpOperationResponse<AccessUri>>

beginRevokeAccess(string, string, Object)

Revokes access to a snapshot.

function beginRevokeAccess(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<void>

beginRevokeAccess(string, string, Object, ServiceCallback<void>)

Revokes access to a snapshot.

function beginRevokeAccess(resourceGroupName: string, snapshotName: string, options: Object, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
options
Object
callback
ServiceCallback<void>

Returns

Promise<void>

beginRevokeAccess(string, string, ServiceCallback<void>)

Revokes access to a snapshot.

function beginRevokeAccess(resourceGroupName: string, snapshotName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
callback
ServiceCallback<void>

Returns

Promise<void>

beginRevokeAccessWithHttpOperationResponse(string, string, Object)

Revokes access to a snapshot.

function beginRevokeAccessWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<HttpOperationResponse<void>>

beginUpdate(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

function beginUpdate(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
SnapshotUpdate

Snapshot object supplied in the body of the Patch snapshot operation.

options
Object

Returns

Promise<Snapshot>

beginUpdate(string, string, SnapshotUpdate, Object, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

function beginUpdate(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, options: Object, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
SnapshotUpdate
options
Object
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

beginUpdate(string, string, SnapshotUpdate, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

function beginUpdate(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
SnapshotUpdate
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

beginUpdateWithHttpOperationResponse(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

function beginUpdateWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
SnapshotUpdate

Snapshot object supplied in the body of the Patch snapshot operation.

options
Object

Returns

Promise<HttpOperationResponse<Snapshot>>

createOrUpdate(string, string, Snapshot, Object)

Creates or updates a snapshot.

function createOrUpdate(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
Snapshot

Snapshot object supplied in the body of the Put disk operation.

options
Object

Returns

Promise<Snapshot>

createOrUpdate(string, string, Snapshot, Object, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

function createOrUpdate(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, options: Object, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
Snapshot
options
Object
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

createOrUpdate(string, string, Snapshot, ServiceCallback<Snapshot>)

Creates or updates a snapshot.

function createOrUpdate(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
Snapshot
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

createOrUpdateWithHttpOperationResponse(string, string, Snapshot, Object)

Creates or updates a snapshot.

function createOrUpdateWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, snapshot: Snapshot, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
Snapshot

Snapshot object supplied in the body of the Put disk operation.

options
Object

Returns

Promise<HttpOperationResponse<Snapshot>>

deleteMethod(string, string, Object)

Deletes a snapshot.

function deleteMethod(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<void>

deleteMethod(string, string, Object, ServiceCallback<void>)

Deletes a snapshot.

function deleteMethod(resourceGroupName: string, snapshotName: string, options: Object, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
options
Object
callback
ServiceCallback<void>

Returns

Promise<void>

deleteMethod(string, string, ServiceCallback<void>)

Deletes a snapshot.

function deleteMethod(resourceGroupName: string, snapshotName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
callback
ServiceCallback<void>

Returns

Promise<void>

deleteMethodWithHttpOperationResponse(string, string, Object)

Deletes a snapshot.

function deleteMethodWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<HttpOperationResponse<void>>

get(string, string, Object)

Gets information about a snapshot.

function get(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<Snapshot>

get(string, string, Object, ServiceCallback<Snapshot>)

Gets information about a snapshot.

function get(resourceGroupName: string, snapshotName: string, options: Object, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
options
Object
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

get(string, string, ServiceCallback<Snapshot>)

Gets information about a snapshot.

function get(resourceGroupName: string, snapshotName: string, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

getWithHttpOperationResponse(string, string, Object)

Gets information about a snapshot.

function getWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<HttpOperationResponse<Snapshot>>

grantAccess(string, string, GrantAccessData, Object)

Grants access to a snapshot.

function grantAccess(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

grantAccessData
GrantAccessData

Access data object supplied in the body of the get snapshot access operation.

options
Object

Returns

Promise<AccessUri>

grantAccess(string, string, GrantAccessData, Object, ServiceCallback<AccessUri>)

Grants access to a snapshot.

function grantAccess(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, options: Object, callback: ServiceCallback<AccessUri>)

Parameters

resourceGroupName
string
snapshotName
string
grantAccessData
GrantAccessData
options
Object
callback
ServiceCallback<AccessUri>

Returns

Promise<AccessUri>

grantAccess(string, string, GrantAccessData, ServiceCallback<AccessUri>)

Grants access to a snapshot.

function grantAccess(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, callback: ServiceCallback<AccessUri>)

Parameters

resourceGroupName
string
snapshotName
string
grantAccessData
GrantAccessData
callback
ServiceCallback<AccessUri>

Returns

Promise<AccessUri>

grantAccessWithHttpOperationResponse(string, string, GrantAccessData, Object)

Grants access to a snapshot.

function grantAccessWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, grantAccessData: GrantAccessData, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

grantAccessData
GrantAccessData

Access data object supplied in the body of the get snapshot access operation.

options
Object

Returns

Promise<HttpOperationResponse<AccessUri>>

list(Object)

Lists snapshots under a subscription.

function list(options?: Object)

Parameters

options
Object

Returns

Promise<SnapshotList>

list(Object, ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

function list(options: Object, callback: ServiceCallback<SnapshotList>)

Parameters

options
Object
callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

list(ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

function list(callback: ServiceCallback<SnapshotList>)

Parameters

callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

listByResourceGroup(string, Object)

Lists snapshots under a resource group.

function listByResourceGroup(resourceGroupName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

options
Object

Returns

Promise<SnapshotList>

listByResourceGroup(string, Object, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

function listByResourceGroup(resourceGroupName: string, options: Object, callback: ServiceCallback<SnapshotList>)

Parameters

resourceGroupName
string
options
Object
callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

listByResourceGroup(string, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<SnapshotList>)

Parameters

resourceGroupName
string
callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

listByResourceGroupNext(string, Object)

Lists snapshots under a resource group.

function listByResourceGroupNext(nextPageLink: string, options?: Object)

Parameters

nextPageLink
string

The NextLink from the previous successful call to List operation.

options
Object

Returns

Promise<SnapshotList>

listByResourceGroupNext(string, Object, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

function listByResourceGroupNext(nextPageLink: string, options: Object, callback: ServiceCallback<SnapshotList>)

Parameters

nextPageLink
string
options
Object
callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

listByResourceGroupNext(string, ServiceCallback<SnapshotList>)

Lists snapshots under a resource group.

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<SnapshotList>)

Parameters

nextPageLink
string
callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

listByResourceGroupNextWithHttpOperationResponse(string, Object)

Lists snapshots under a resource group.

function listByResourceGroupNextWithHttpOperationResponse(nextPageLink: string, options?: Object)

Parameters

nextPageLink
string

The NextLink from the previous successful call to List operation.

options
Object

Returns

Promise<HttpOperationResponse<SnapshotList>>

listByResourceGroupWithHttpOperationResponse(string, Object)

Lists snapshots under a resource group.

function listByResourceGroupWithHttpOperationResponse(resourceGroupName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

options
Object

Returns

Promise<HttpOperationResponse<SnapshotList>>

listNext(string, Object)

Lists snapshots under a subscription.

function listNext(nextPageLink: string, options?: Object)

Parameters

nextPageLink
string

The NextLink from the previous successful call to List operation.

options
Object

Returns

Promise<SnapshotList>

listNext(string, Object, ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

function listNext(nextPageLink: string, options: Object, callback: ServiceCallback<SnapshotList>)

Parameters

nextPageLink
string
options
Object
callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

listNext(string, ServiceCallback<SnapshotList>)

Lists snapshots under a subscription.

function listNext(nextPageLink: string, callback: ServiceCallback<SnapshotList>)

Parameters

nextPageLink
string
callback
ServiceCallback<SnapshotList>

Returns

Promise<SnapshotList>

listNextWithHttpOperationResponse(string, Object)

Lists snapshots under a subscription.

function listNextWithHttpOperationResponse(nextPageLink: string, options?: Object)

Parameters

nextPageLink
string

The NextLink from the previous successful call to List operation.

options
Object

Returns

Promise<HttpOperationResponse<SnapshotList>>

listWithHttpOperationResponse(Object)

Lists snapshots under a subscription.

function listWithHttpOperationResponse(options?: Object)

Parameters

options
Object

Returns

Promise<HttpOperationResponse<SnapshotList>>

revokeAccess(string, string, Object)

Revokes access to a snapshot.

function revokeAccess(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<void>

revokeAccess(string, string, Object, ServiceCallback<void>)

Revokes access to a snapshot.

function revokeAccess(resourceGroupName: string, snapshotName: string, options: Object, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
options
Object
callback
ServiceCallback<void>

Returns

Promise<void>

revokeAccess(string, string, ServiceCallback<void>)

Revokes access to a snapshot.

function revokeAccess(resourceGroupName: string, snapshotName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName
string
snapshotName
string
callback
ServiceCallback<void>

Returns

Promise<void>

revokeAccessWithHttpOperationResponse(string, string, Object)

Revokes access to a snapshot.

function revokeAccessWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

options
Object

Returns

Promise<HttpOperationResponse<void>>

update(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

function update(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
SnapshotUpdate

Snapshot object supplied in the body of the Patch snapshot operation.

options
Object

Returns

Promise<Snapshot>

update(string, string, SnapshotUpdate, Object, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

function update(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, options: Object, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
SnapshotUpdate
options
Object
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

update(string, string, SnapshotUpdate, ServiceCallback<Snapshot>)

Updates (patches) a snapshot.

function update(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, callback: ServiceCallback<Snapshot>)

Parameters

resourceGroupName
string
snapshotName
string
snapshot
SnapshotUpdate
callback
ServiceCallback<Snapshot>

Returns

Promise<Snapshot>

updateWithHttpOperationResponse(string, string, SnapshotUpdate, Object)

Updates (patches) a snapshot.

function updateWithHttpOperationResponse(resourceGroupName: string, snapshotName: string, snapshot: SnapshotUpdate, options?: Object)

Parameters

resourceGroupName
string

The name of the resource group.

snapshotName
string

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

snapshot
SnapshotUpdate

Snapshot object supplied in the body of the Patch snapshot operation.

options
Object

Returns

Promise<HttpOperationResponse<Snapshot>>