This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.compute.getDiskAccess
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets information about a disk access resource. Azure REST API version: 2022-07-02.
Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02.
Using getDiskAccess
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDiskAccess(args: GetDiskAccessArgs, opts?: InvokeOptions): Promise<GetDiskAccessResult>
function getDiskAccessOutput(args: GetDiskAccessOutputArgs, opts?: InvokeOptions): Output<GetDiskAccessResult>
def get_disk_access(disk_access_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDiskAccessResult
def get_disk_access_output(disk_access_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDiskAccessResult]
func LookupDiskAccess(ctx *Context, args *LookupDiskAccessArgs, opts ...InvokeOption) (*LookupDiskAccessResult, error)
func LookupDiskAccessOutput(ctx *Context, args *LookupDiskAccessOutputArgs, opts ...InvokeOption) LookupDiskAccessResultOutput
> Note: This function is named LookupDiskAccess
in the Go SDK.
public static class GetDiskAccess
{
public static Task<GetDiskAccessResult> InvokeAsync(GetDiskAccessArgs args, InvokeOptions? opts = null)
public static Output<GetDiskAccessResult> Invoke(GetDiskAccessInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDiskAccessResult> getDiskAccess(GetDiskAccessArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:compute:getDiskAccess
arguments:
# arguments dictionary
The following arguments are supported:
- Disk
Access stringName - 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.
- Resource
Group stringName - The name of the resource group.
- Disk
Access stringName - 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.
- Resource
Group stringName - The name of the resource group.
- disk
Access StringName - 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.
- resource
Group StringName - The name of the resource group.
- disk
Access stringName - 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.
- resource
Group stringName - The name of the resource group.
- disk_
access_ strname - 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.
- resource_
group_ strname - The name of the resource group.
- disk
Access StringName - 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.
- resource
Group StringName - The name of the resource group.
getDiskAccess Result
The following output properties are available:
- Id string
- Resource Id
- Location string
- Resource location
- Name string
- Resource name
- Private
Endpoint List<Pulumi.Connections Azure Native. Compute. Outputs. Private Endpoint Connection Response> - A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
- Provisioning
State string - The disk access resource provisioning state.
- Time
Created string - The time when the disk access was created.
- Type string
- Resource type
- Extended
Location Pulumi.Azure Native. Compute. Outputs. Extended Location Response - The extended location where the disk access will be created. Extended location cannot be changed.
- Dictionary<string, string>
- Resource tags
- Id string
- Resource Id
- Location string
- Resource location
- Name string
- Resource name
- Private
Endpoint []PrivateConnections Endpoint Connection Response - A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
- Provisioning
State string - The disk access resource provisioning state.
- Time
Created string - The time when the disk access was created.
- Type string
- Resource type
- Extended
Location ExtendedLocation Response - The extended location where the disk access will be created. Extended location cannot be changed.
- map[string]string
- Resource tags
- id String
- Resource Id
- location String
- Resource location
- name String
- Resource name
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
- provisioning
State String - The disk access resource provisioning state.
- time
Created String - The time when the disk access was created.
- type String
- Resource type
- extended
Location ExtendedLocation Response - The extended location where the disk access will be created. Extended location cannot be changed.
- Map<String,String>
- Resource tags
- id string
- Resource Id
- location string
- Resource location
- name string
- Resource name
- private
Endpoint PrivateConnections Endpoint Connection Response[] - A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
- provisioning
State string - The disk access resource provisioning state.
- time
Created string - The time when the disk access was created.
- type string
- Resource type
- extended
Location ExtendedLocation Response - The extended location where the disk access will be created. Extended location cannot be changed.
- {[key: string]: string}
- Resource tags
- id str
- Resource Id
- location str
- Resource location
- name str
- Resource name
- private_
endpoint_ Sequence[Privateconnections Endpoint Connection Response] - A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
- provisioning_
state str - The disk access resource provisioning state.
- time_
created str - The time when the disk access was created.
- type str
- Resource type
- extended_
location ExtendedLocation Response - The extended location where the disk access will be created. Extended location cannot be changed.
- Mapping[str, str]
- Resource tags
- id String
- Resource Id
- location String
- Resource location
- name String
- Resource name
- private
Endpoint List<Property Map>Connections - A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
- provisioning
State String - The disk access resource provisioning state.
- time
Created String - The time when the disk access was created.
- type String
- Resource type
- extended
Location Property Map - The extended location where the disk access will be created. Extended location cannot be changed.
- Map<String>
- Resource tags
Supporting Types
ExtendedLocationResponse
PrivateEndpointConnectionResponse
- Id string
- private endpoint connection Id
- Name string
- private endpoint connection name
- Private
Endpoint Pulumi.Azure Native. Compute. Inputs. Private Endpoint Response - The resource of private end point.
- Private
Link Pulumi.Service Connection State Azure Native. Compute. Inputs. Private Link Service Connection State Response - A collection of information about the state of the connection between DiskAccess and Virtual Network.
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- Type string
- private endpoint connection type
- Id string
- private endpoint connection Id
- Name string
- private endpoint connection name
- Private
Endpoint PrivateEndpoint Response - The resource of private end point.
- Private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between DiskAccess and Virtual Network.
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- Type string
- private endpoint connection type
- id String
- private endpoint connection Id
- name String
- private endpoint connection name
- private
Endpoint PrivateEndpoint Response - The resource of private end point.
- private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between DiskAccess and Virtual Network.
- provisioning
State String - The provisioning state of the private endpoint connection resource.
- type String
- private endpoint connection type
- id string
- private endpoint connection Id
- name string
- private endpoint connection name
- private
Endpoint PrivateEndpoint Response - The resource of private end point.
- private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between DiskAccess and Virtual Network.
- provisioning
State string - The provisioning state of the private endpoint connection resource.
- type string
- private endpoint connection type
- id str
- private endpoint connection Id
- name str
- private endpoint connection name
- private_
endpoint PrivateEndpoint Response - The resource of private end point.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - A collection of information about the state of the connection between DiskAccess and Virtual Network.
- provisioning_
state str - The provisioning state of the private endpoint connection resource.
- type str
- private endpoint connection type
- id String
- private endpoint connection Id
- name String
- private endpoint connection name
- private
Endpoint Property Map - The resource of private end point.
- private
Link Property MapService Connection State - A collection of information about the state of the connection between DiskAccess and Virtual Network.
- provisioning
State String - The provisioning state of the private endpoint connection resource.
- type String
- private endpoint connection type
PrivateEndpointResponse
- Id string
- The ARM identifier for Private Endpoint
- Id string
- The ARM identifier for Private Endpoint
- id String
- The ARM identifier for Private Endpoint
- id string
- The ARM identifier for Private Endpoint
- id str
- The ARM identifier for Private Endpoint
- id String
- The ARM identifier for Private Endpoint
PrivateLinkServiceConnectionStateResponse
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- description string
- The reason for approval/rejection of the connection.
- status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions_
required str - A message indicating if changes on the service provider require any updates on the consumer.
- description str
- The reason for approval/rejection of the connection.
- status str
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi