PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/?api-version=2023-10-02

Creates or updates a disk access resource

Servers

Path parameters

Name Type Required Description
diskAccessName String Yes

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.

subscriptionId String Yes

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName String Yes

The name of the resource group.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String No

Resource Id

extendedLocation Object No

The complex type of the extended location.

extendedLocation.name String No

The name of the extended location.

extendedLocation.type String No

The type of extendedLocation.

Possible values:

  • "EdgeZone"
name String No

Resource name

properties Object No
properties.timeCreated String No

The time when the disk access was created.

properties.provisioningState String No

The disk access resource provisioning state.

properties.privateEndpointConnections[] Array No

A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.

properties.privateEndpointConnections[].id String No

private endpoint connection Id

properties.privateEndpointConnections[].name String No

private endpoint connection name

properties.privateEndpointConnections[].properties Object No

Properties of the PrivateEndpointConnectProperties.

properties.privateEndpointConnections[].properties.provisioningState String No

The current provisioning state.

Possible values:

  • "Succeeded"
  • "Creating"
  • "Deleting"
  • "Failed"
properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState Object Yes

A collection of information about the state of the connection between service consumer and provider.

properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.description String No

The reason for approval/rejection of the connection.

properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.actionsRequired String No

A message indicating if changes on the service provider require any updates on the consumer.

properties.privateEndpointConnections[].properties.privateLinkServiceConnectionState.status String No

The private endpoint connection status.

Possible values:

  • "Approved"
  • "Rejected"
  • "Pending"
properties.privateEndpointConnections[].properties.privateEndpoint Object No

The Private Endpoint resource.

properties.privateEndpointConnections[].properties.privateEndpoint.id String No

The ARM identifier for Private Endpoint

properties.privateEndpointConnections[].type String No

private endpoint connection type

location String No

Resource location

tags Object No

Resource tags

type String No

Resource type

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.