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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.azurestackhci.getVirtualHardDisk
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets a virtual hard disk Azure REST API version: 2022-12-15-preview.
Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview.
Using getVirtualHardDisk
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 getVirtualHardDisk(args: GetVirtualHardDiskArgs, opts?: InvokeOptions): Promise<GetVirtualHardDiskResult>
function getVirtualHardDiskOutput(args: GetVirtualHardDiskOutputArgs, opts?: InvokeOptions): Output<GetVirtualHardDiskResult>
def get_virtual_hard_disk(resource_group_name: Optional[str] = None,
virtual_hard_disk_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualHardDiskResult
def get_virtual_hard_disk_output(resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_hard_disk_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualHardDiskResult]
func LookupVirtualHardDisk(ctx *Context, args *LookupVirtualHardDiskArgs, opts ...InvokeOption) (*LookupVirtualHardDiskResult, error)
func LookupVirtualHardDiskOutput(ctx *Context, args *LookupVirtualHardDiskOutputArgs, opts ...InvokeOption) LookupVirtualHardDiskResultOutput
> Note: This function is named LookupVirtualHardDisk
in the Go SDK.
public static class GetVirtualHardDisk
{
public static Task<GetVirtualHardDiskResult> InvokeAsync(GetVirtualHardDiskArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualHardDiskResult> Invoke(GetVirtualHardDiskInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualHardDiskResult> getVirtualHardDisk(GetVirtualHardDiskArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:azurestackhci:getVirtualHardDisk
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Virtual
Hard stringDisk Name - Name of the virtual hard disk
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Virtual
Hard stringDisk Name - Name of the virtual hard disk
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- virtual
Hard StringDisk Name - Name of the virtual hard disk
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- virtual
Hard stringDisk Name - Name of the virtual hard disk
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- virtual_
hard_ strdisk_ name - Name of the virtual hard disk
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- virtual
Hard StringDisk Name - Name of the virtual hard disk
getVirtualHardDisk Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the virtual hard disk.
- Status
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Virtual Hard Disk Status Response - The observed state of virtual hard disks
- System
Data Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Block
Size intBytes - Container
Id string - Storage ContainerID of the storage container to be used for VHD
- Disk
File stringFormat - The format of the actual VHD file [vhd, vhdx]
- Disk
Size doubleGB - Size of the disk in GB
- Dynamic bool
- Boolean for enabling dynamic sizing on the virtual hard disk
- Extended
Location Pulumi.Azure Native. Azure Stack HCI. Outputs. Extended Location Response - The extendedLocation of the resource.
- Hyper
VGeneration string - The hypervisor generation of the Virtual Machine [V1, V2]
- Logical
Sector intBytes - Physical
Sector intBytes - Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the virtual hard disk.
- Status
Virtual
Hard Disk Status Response - The observed state of virtual hard disks
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Block
Size intBytes - Container
Id string - Storage ContainerID of the storage container to be used for VHD
- Disk
File stringFormat - The format of the actual VHD file [vhd, vhdx]
- Disk
Size float64GB - Size of the disk in GB
- Dynamic bool
- Boolean for enabling dynamic sizing on the virtual hard disk
- Extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- Hyper
VGeneration string - The hypervisor generation of the Virtual Machine [V1, V2]
- Logical
Sector intBytes - Physical
Sector intBytes - map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the virtual hard disk.
- status
Virtual
Hard Disk Status Response - The observed state of virtual hard disks
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- block
Size IntegerBytes - container
Id String - Storage ContainerID of the storage container to be used for VHD
- disk
File StringFormat - The format of the actual VHD file [vhd, vhdx]
- disk
Size DoubleGB - Size of the disk in GB
- dynamic Boolean
- Boolean for enabling dynamic sizing on the virtual hard disk
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- hyper
VGeneration String - The hypervisor generation of the Virtual Machine [V1, V2]
- logical
Sector IntegerBytes - physical
Sector IntegerBytes - Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the virtual hard disk.
- status
Virtual
Hard Disk Status Response - The observed state of virtual hard disks
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- block
Size numberBytes - container
Id string - Storage ContainerID of the storage container to be used for VHD
- disk
File stringFormat - The format of the actual VHD file [vhd, vhdx]
- disk
Size numberGB - Size of the disk in GB
- dynamic boolean
- Boolean for enabling dynamic sizing on the virtual hard disk
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- hyper
VGeneration string - The hypervisor generation of the Virtual Machine [V1, V2]
- logical
Sector numberBytes - physical
Sector numberBytes - {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the virtual hard disk.
- status
Virtual
Hard Disk Status Response - The observed state of virtual hard disks
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- block_
size_ intbytes - container_
id str - Storage ContainerID of the storage container to be used for VHD
- disk_
file_ strformat - The format of the actual VHD file [vhd, vhdx]
- disk_
size_ floatgb - Size of the disk in GB
- dynamic bool
- Boolean for enabling dynamic sizing on the virtual hard disk
- extended_
location ExtendedLocation Response - The extendedLocation of the resource.
- hyper_
v_ strgeneration - The hypervisor generation of the Virtual Machine [V1, V2]
- logical_
sector_ intbytes - physical_
sector_ intbytes - Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the virtual hard disk.
- status Property Map
- The observed state of virtual hard disks
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- block
Size NumberBytes - container
Id String - Storage ContainerID of the storage container to be used for VHD
- disk
File StringFormat - The format of the actual VHD file [vhd, vhdx]
- disk
Size NumberGB - Size of the disk in GB
- dynamic Boolean
- Boolean for enabling dynamic sizing on the virtual hard disk
- extended
Location Property Map - The extendedLocation of the resource.
- hyper
VGeneration String - The hypervisor generation of the Virtual Machine [V1, V2]
- logical
Sector NumberBytes - physical
Sector NumberBytes - Map<String>
- Resource tags.
Supporting Types
ExtendedLocationResponse
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VirtualHardDiskStatusResponse
- Error
Code string - VirtualHardDisk provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Hard Disk Status Response Provisioning Status
- Error
Code string - VirtualHardDisk provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status VirtualHard Disk Status Response Provisioning Status
- error
Code String - VirtualHardDisk provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status VirtualHard Disk Status Response Provisioning Status
- error
Code string - VirtualHardDisk provisioning error code
- error
Message string - Descriptive error message
- provisioning
Status VirtualHard Disk Status Response Provisioning Status
- error_
code str - VirtualHardDisk provisioning error code
- error_
message str - Descriptive error message
- provisioning_
status VirtualHard Disk Status Response Provisioning Status
- error
Code String - VirtualHardDisk provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status Property Map
VirtualHardDiskStatusResponseProvisioningStatus
- Operation
Id string - The ID of the operation performed on the virtual hard disk
- Status string
- The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]
- Operation
Id string - The ID of the operation performed on the virtual hard disk
- Status string
- The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]
- operation
Id String - The ID of the operation performed on the virtual hard disk
- status String
- The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]
- operation
Id string - The ID of the operation performed on the virtual hard disk
- status string
- The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]
- operation_
id str - The ID of the operation performed on the virtual hard disk
- status str
- The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]
- operation
Id String - The ID of the operation performed on the virtual hard disk
- status String
- The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi