DiskAccesses interface

Interface representing a DiskAccesses.

Methods

beginCreateOrUpdate(string, string, DiskAccess, DiskAccessesCreateOrUpdateOptionalParams)

Creates or updates a disk access resource

beginCreateOrUpdateAndWait(string, string, DiskAccess, DiskAccessesCreateOrUpdateOptionalParams)

Creates or updates a disk access resource

beginDelete(string, string, DiskAccessesDeleteOptionalParams)

Deletes a disk access resource.

beginDeleteAndWait(string, string, DiskAccessesDeleteOptionalParams)

Deletes a disk access resource.

beginDeleteAPrivateEndpointConnection(string, string, string, DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams)

Deletes a private endpoint connection under a disk access resource.

beginDeleteAPrivateEndpointConnectionAndWait(string, string, string, DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams)

Deletes a private endpoint connection under a disk access resource.

beginUpdate(string, string, DiskAccessUpdate, DiskAccessesUpdateOptionalParams)

Updates (patches) a disk access resource.

beginUpdateAndWait(string, string, DiskAccessUpdate, DiskAccessesUpdateOptionalParams)

Updates (patches) a disk access resource.

beginUpdateAPrivateEndpointConnection(string, string, string, PrivateEndpointConnection, DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams)

Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.

beginUpdateAPrivateEndpointConnectionAndWait(string, string, string, PrivateEndpointConnection, DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams)

Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.

get(string, string, DiskAccessesGetOptionalParams)

Gets information about a disk access resource.

getAPrivateEndpointConnection(string, string, string, DiskAccessesGetAPrivateEndpointConnectionOptionalParams)

Gets information about a private endpoint connection under a disk access resource.

getPrivateLinkResources(string, string, DiskAccessesGetPrivateLinkResourcesOptionalParams)

Gets the private link resources possible under disk access resource

list(DiskAccessesListOptionalParams)

Lists all the disk access resources under a subscription.

listByResourceGroup(string, DiskAccessesListByResourceGroupOptionalParams)

Lists all the disk access resources under a resource group.

listPrivateEndpointConnections(string, string, DiskAccessesListPrivateEndpointConnectionsOptionalParams)

List information about private endpoint connections under a disk access resource

Method Details

beginCreateOrUpdate(string, string, DiskAccess, DiskAccessesCreateOrUpdateOptionalParams)

Creates or updates a disk access resource

function beginCreateOrUpdate(resourceGroupName: string, diskAccessName: string, diskAccess: DiskAccess, options?: DiskAccessesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DiskAccess>, DiskAccess>>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

diskAccess
DiskAccess

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

options
DiskAccessesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, DiskAccess, DiskAccessesCreateOrUpdateOptionalParams)

Creates or updates a disk access resource

function beginCreateOrUpdateAndWait(resourceGroupName: string, diskAccessName: string, diskAccess: DiskAccess, options?: DiskAccessesCreateOrUpdateOptionalParams): Promise<DiskAccess>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

diskAccess
DiskAccess

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

options
DiskAccessesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DiskAccess>

beginDelete(string, string, DiskAccessesDeleteOptionalParams)

Deletes a disk access resource.

function beginDelete(resourceGroupName: string, diskAccessName: string, options?: DiskAccessesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

options
DiskAccessesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, DiskAccessesDeleteOptionalParams)

Deletes a disk access resource.

function beginDeleteAndWait(resourceGroupName: string, diskAccessName: string, options?: DiskAccessesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

options
DiskAccessesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginDeleteAPrivateEndpointConnection(string, string, string, DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams)

Deletes a private endpoint connection under a disk access resource.

function beginDeleteAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

privateEndpointConnectionName

string

The name of the private endpoint connection.

Returns

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

beginDeleteAPrivateEndpointConnectionAndWait(string, string, string, DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams)

Deletes a private endpoint connection under a disk access resource.

function beginDeleteAPrivateEndpointConnectionAndWait(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: DiskAccessesDeleteAPrivateEndpointConnectionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

privateEndpointConnectionName

string

The name of the private endpoint connection.

Returns

Promise<void>

beginUpdate(string, string, DiskAccessUpdate, DiskAccessesUpdateOptionalParams)

Updates (patches) a disk access resource.

function beginUpdate(resourceGroupName: string, diskAccessName: string, diskAccess: DiskAccessUpdate, options?: DiskAccessesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DiskAccess>, DiskAccess>>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

diskAccess
DiskAccessUpdate

disk access object supplied in the body of the Patch disk access operation.

options
DiskAccessesUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, DiskAccessUpdate, DiskAccessesUpdateOptionalParams)

Updates (patches) a disk access resource.

function beginUpdateAndWait(resourceGroupName: string, diskAccessName: string, diskAccess: DiskAccessUpdate, options?: DiskAccessesUpdateOptionalParams): Promise<DiskAccess>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

diskAccess
DiskAccessUpdate

disk access object supplied in the body of the Patch disk access operation.

options
DiskAccessesUpdateOptionalParams

The options parameters.

Returns

Promise<DiskAccess>

beginUpdateAPrivateEndpointConnection(string, string, string, PrivateEndpointConnection, DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams)

Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.

function beginUpdateAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnection>, PrivateEndpointConnection>>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

privateEndpointConnectionName

string

The name of the private endpoint connection.

privateEndpointConnection
PrivateEndpointConnection

private endpoint connection object supplied in the body of the Put private endpoint connection operation.

Returns

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

beginUpdateAPrivateEndpointConnectionAndWait(string, string, string, PrivateEndpointConnection, DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams)

Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.

function beginUpdateAPrivateEndpointConnectionAndWait(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: DiskAccessesUpdateAPrivateEndpointConnectionOptionalParams): Promise<PrivateEndpointConnection>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

privateEndpointConnectionName

string

The name of the private endpoint connection.

privateEndpointConnection
PrivateEndpointConnection

private endpoint connection object supplied in the body of the Put private endpoint connection operation.

Returns

get(string, string, DiskAccessesGetOptionalParams)

Gets information about a disk access resource.

function get(resourceGroupName: string, diskAccessName: string, options?: DiskAccessesGetOptionalParams): Promise<DiskAccess>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

options
DiskAccessesGetOptionalParams

The options parameters.

Returns

Promise<DiskAccess>

getAPrivateEndpointConnection(string, string, string, DiskAccessesGetAPrivateEndpointConnectionOptionalParams)

Gets information about a private endpoint connection under a disk access resource.

function getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, options?: DiskAccessesGetAPrivateEndpointConnectionOptionalParams): Promise<PrivateEndpointConnection>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

privateEndpointConnectionName

string

The name of the private endpoint connection.

Returns

getPrivateLinkResources(string, string, DiskAccessesGetPrivateLinkResourcesOptionalParams)

Gets the private link resources possible under disk access resource

function getPrivateLinkResources(resourceGroupName: string, diskAccessName: string, options?: DiskAccessesGetPrivateLinkResourcesOptionalParams): Promise<PrivateLinkResourceListResult>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

options
DiskAccessesGetPrivateLinkResourcesOptionalParams

The options parameters.

Returns

list(DiskAccessesListOptionalParams)

Lists all the disk access resources under a subscription.

function list(options?: DiskAccessesListOptionalParams): PagedAsyncIterableIterator<DiskAccess, DiskAccess[], PageSettings>

Parameters

options
DiskAccessesListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, DiskAccessesListByResourceGroupOptionalParams)

Lists all the disk access resources under a resource group.

function listByResourceGroup(resourceGroupName: string, options?: DiskAccessesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DiskAccess, DiskAccess[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
DiskAccessesListByResourceGroupOptionalParams

The options parameters.

Returns

listPrivateEndpointConnections(string, string, DiskAccessesListPrivateEndpointConnectionsOptionalParams)

List information about private endpoint connections under a disk access resource

function listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, options?: DiskAccessesListPrivateEndpointConnectionsOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection, PrivateEndpointConnection[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

diskAccessName

string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

Returns