1. Packages
  2. Azure Native
  3. API Docs
  4. storagepool
  5. getDiskPool
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.storagepool.getDiskPool

Explore with Pulumi AI

azure-native logo
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Get a Disk pool. Azure REST API version: 2021-08-01.

    Other available API versions: 2020-03-15-preview.

    Using getDiskPool

    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 getDiskPool(args: GetDiskPoolArgs, opts?: InvokeOptions): Promise<GetDiskPoolResult>
    function getDiskPoolOutput(args: GetDiskPoolOutputArgs, opts?: InvokeOptions): Output<GetDiskPoolResult>
    def get_disk_pool(disk_pool_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDiskPoolResult
    def get_disk_pool_output(disk_pool_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDiskPoolResult]
    func LookupDiskPool(ctx *Context, args *LookupDiskPoolArgs, opts ...InvokeOption) (*LookupDiskPoolResult, error)
    func LookupDiskPoolOutput(ctx *Context, args *LookupDiskPoolOutputArgs, opts ...InvokeOption) LookupDiskPoolResultOutput

    > Note: This function is named LookupDiskPool in the Go SDK.

    public static class GetDiskPool 
    {
        public static Task<GetDiskPoolResult> InvokeAsync(GetDiskPoolArgs args, InvokeOptions? opts = null)
        public static Output<GetDiskPoolResult> Invoke(GetDiskPoolInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDiskPoolResult> getDiskPool(GetDiskPoolArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:storagepool:getDiskPool
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DiskPoolName string
    The name of the Disk Pool.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DiskPoolName string
    The name of the Disk Pool.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    diskPoolName String
    The name of the Disk Pool.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    diskPoolName string
    The name of the Disk Pool.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    disk_pool_name str
    The name of the Disk Pool.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    diskPoolName String
    The name of the Disk Pool.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getDiskPool Result

    The following output properties are available:

    AvailabilityZones List<string>
    Logical zone for Disk Pool resource; example: ["1"].
    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.
    ManagedBy string
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    ManagedByExtended List<string>
    List of Azure resource ids that manage this resource.
    Name string
    The name of the resource
    ProvisioningState string
    State of the operation on the resource.
    Status string
    Operational status of the Disk Pool.
    SubnetId string
    Azure Resource ID of a Subnet for the Disk Pool.
    SystemData Pulumi.AzureNative.StoragePool.Outputs.SystemMetadataResponse
    Resource metadata required by ARM RPC
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    AdditionalCapabilities List<string>
    List of additional capabilities for Disk Pool.
    Disks List<Pulumi.AzureNative.StoragePool.Outputs.DiskResponse>
    List of Azure Managed Disks to attach to a Disk Pool.
    Tags Dictionary<string, string>
    Resource tags.
    Tier string
    Sku tier
    AvailabilityZones []string
    Logical zone for Disk Pool resource; example: ["1"].
    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.
    ManagedBy string
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    ManagedByExtended []string
    List of Azure resource ids that manage this resource.
    Name string
    The name of the resource
    ProvisioningState string
    State of the operation on the resource.
    Status string
    Operational status of the Disk Pool.
    SubnetId string
    Azure Resource ID of a Subnet for the Disk Pool.
    SystemData SystemMetadataResponse
    Resource metadata required by ARM RPC
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    AdditionalCapabilities []string
    List of additional capabilities for Disk Pool.
    Disks []DiskResponse
    List of Azure Managed Disks to attach to a Disk Pool.
    Tags map[string]string
    Resource tags.
    Tier string
    Sku tier
    availabilityZones List<String>
    Logical zone for Disk Pool resource; example: ["1"].
    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.
    managedBy String
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managedByExtended List<String>
    List of Azure resource ids that manage this resource.
    name String
    The name of the resource
    provisioningState String
    State of the operation on the resource.
    status String
    Operational status of the Disk Pool.
    subnetId String
    Azure Resource ID of a Subnet for the Disk Pool.
    systemData SystemMetadataResponse
    Resource metadata required by ARM RPC
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    additionalCapabilities List<String>
    List of additional capabilities for Disk Pool.
    disks List<DiskResponse>
    List of Azure Managed Disks to attach to a Disk Pool.
    tags Map<String,String>
    Resource tags.
    tier String
    Sku tier
    availabilityZones string[]
    Logical zone for Disk Pool resource; example: ["1"].
    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.
    managedBy string
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managedByExtended string[]
    List of Azure resource ids that manage this resource.
    name string
    The name of the resource
    provisioningState string
    State of the operation on the resource.
    status string
    Operational status of the Disk Pool.
    subnetId string
    Azure Resource ID of a Subnet for the Disk Pool.
    systemData SystemMetadataResponse
    Resource metadata required by ARM RPC
    type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    additionalCapabilities string[]
    List of additional capabilities for Disk Pool.
    disks DiskResponse[]
    List of Azure Managed Disks to attach to a Disk Pool.
    tags {[key: string]: string}
    Resource tags.
    tier string
    Sku tier
    availability_zones Sequence[str]
    Logical zone for Disk Pool resource; example: ["1"].
    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.
    managed_by str
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managed_by_extended Sequence[str]
    List of Azure resource ids that manage this resource.
    name str
    The name of the resource
    provisioning_state str
    State of the operation on the resource.
    status str
    Operational status of the Disk Pool.
    subnet_id str
    Azure Resource ID of a Subnet for the Disk Pool.
    system_data SystemMetadataResponse
    Resource metadata required by ARM RPC
    type str
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    additional_capabilities Sequence[str]
    List of additional capabilities for Disk Pool.
    disks Sequence[DiskResponse]
    List of Azure Managed Disks to attach to a Disk Pool.
    tags Mapping[str, str]
    Resource tags.
    tier str
    Sku tier
    availabilityZones List<String>
    Logical zone for Disk Pool resource; example: ["1"].
    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.
    managedBy String
    Azure resource id. Indicates if this resource is managed by another Azure resource.
    managedByExtended List<String>
    List of Azure resource ids that manage this resource.
    name String
    The name of the resource
    provisioningState String
    State of the operation on the resource.
    status String
    Operational status of the Disk Pool.
    subnetId String
    Azure Resource ID of a Subnet for the Disk Pool.
    systemData Property Map
    Resource metadata required by ARM RPC
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    additionalCapabilities List<String>
    List of additional capabilities for Disk Pool.
    disks List<Property Map>
    List of Azure Managed Disks to attach to a Disk Pool.
    tags Map<String>
    Resource tags.
    tier String
    Sku tier

    Supporting Types

    DiskResponse

    Id string
    Unique Azure Resource ID of the Managed Disk.
    Id string
    Unique Azure Resource ID of the Managed Disk.
    id String
    Unique Azure Resource ID of the Managed Disk.
    id string
    Unique Azure Resource ID of the Managed Disk.
    id str
    Unique Azure Resource ID of the Managed Disk.
    id String
    Unique Azure Resource ID of the Managed Disk.

    SystemMetadataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The type of identity that last modified the resource.
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The type of identity that last modified the resource.
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.34.0 published on Thursday, Mar 28, 2024 by Pulumi