1. Packages
  2. Azure Native v1
  3. API Docs
  4. storagepool
  5. getDiskPool
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.storagepool.getDiskPool

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get a Disk pool. API Version: 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.
    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
    Tier string
    Determines the SKU of VM deployed for Disk pool
    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. Can attach 8 disks at most.
    Tags Dictionary<string, string>
    Resource tags.
    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.
    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
    Tier string
    Determines the SKU of VM deployed for Disk pool
    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. Can attach 8 disks at most.
    Tags map[string]string
    Resource tags.
    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.
    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
    tier String
    Determines the SKU of VM deployed for Disk pool
    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. Can attach 8 disks at most.
    tags Map<String,String>
    Resource tags.
    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.
    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
    tier string
    Determines the SKU of VM deployed for Disk pool
    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. Can attach 8 disks at most.
    tags {[key: string]: string}
    Resource tags.
    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.
    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
    tier str
    Determines the SKU of VM deployed for Disk pool
    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. Can attach 8 disks at most.
    tags Mapping[str, str]
    Resource tags.
    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.
    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
    tier String
    Determines the SKU of VM deployed for Disk pool
    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. Can attach 8 disks at most.
    tags Map<String>
    Resource tags.

    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
    A string identifier for the identity that created the resource.
    CreatedByType string
    The type of identity that created the resource: user, application, managedIdentity.
    LastModifiedAt string
    The timestamp of resource last modification (UTC).
    LastModifiedBy string
    A string identifier for the identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource: user, application, managedIdentity.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    A string identifier for the identity that created the resource.
    CreatedByType string
    The type of identity that created the resource: user, application, managedIdentity.
    LastModifiedAt string
    The timestamp of resource last modification (UTC).
    LastModifiedBy string
    A string identifier for the identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource: user, application, managedIdentity.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    A string identifier for the identity that created the resource.
    createdByType String
    The type of identity that created the resource: user, application, managedIdentity.
    lastModifiedAt String
    The timestamp of resource last modification (UTC).
    lastModifiedBy String
    A string identifier for the identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource: user, application, managedIdentity.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    A string identifier for the identity that created the resource.
    createdByType string
    The type of identity that created the resource: user, application, managedIdentity.
    lastModifiedAt string
    The timestamp of resource last modification (UTC).
    lastModifiedBy string
    A string identifier for the identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource: user, application, managedIdentity.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    A string identifier for the identity that created the resource.
    created_by_type str
    The type of identity that created the resource: user, application, managedIdentity.
    last_modified_at str
    The timestamp of resource last modification (UTC).
    last_modified_by str
    A string identifier for the identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource: user, application, managedIdentity.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    A string identifier for the identity that created the resource.
    createdByType String
    The type of identity that created the resource: user, application, managedIdentity.
    lastModifiedAt String
    The timestamp of resource last modification (UTC).
    lastModifiedBy String
    A string identifier for the identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource: user, application, managedIdentity.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi