azure-native.storagepool.getDiskPool
Explore with Pulumi AI
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:
- Disk
Pool stringName The name of the Disk Pool.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Disk
Pool stringName The name of the Disk Pool.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- disk
Pool StringName The name of the Disk Pool.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- disk
Pool stringName The name of the Disk Pool.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- disk_
pool_ strname The name of the Disk Pool.
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- disk
Pool StringName The name of the Disk Pool.
- resource
Group StringName The name of the resource group. The name is case insensitive.
getDiskPool Result
The following output properties are available:
- Availability
Zones 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.
- Managed
By string Azure resource id. Indicates if this resource is managed by another Azure resource.
- Managed
By List<string>Extended List of Azure resource ids that manage this resource.
- Name string
The name of the resource
- Provisioning
State string State of the operation on the resource.
- Status string
Operational status of the Disk Pool.
- Subnet
Id string Azure Resource ID of a Subnet for the Disk Pool.
- System
Data Pulumi.Azure Native. Storage Pool. Outputs. System Metadata Response Resource metadata required by ARM RPC
- Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Additional
Capabilities List<string> List of additional capabilities for Disk Pool.
- Disks
List<Pulumi.
Azure Native. Storage Pool. Outputs. Disk Response> List of Azure Managed Disks to attach to a Disk Pool.
- Dictionary<string, string>
Resource tags.
- Tier string
Sku tier
- Availability
Zones []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.
- Managed
By string Azure resource id. Indicates if this resource is managed by another Azure resource.
- Managed
By []stringExtended List of Azure resource ids that manage this resource.
- Name string
The name of the resource
- Provisioning
State string State of the operation on the resource.
- Status string
Operational status of the Disk Pool.
- Subnet
Id string Azure Resource ID of a Subnet for the Disk Pool.
- System
Data SystemMetadata Response Resource metadata required by ARM RPC
- Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Additional
Capabilities []string List of additional capabilities for Disk Pool.
- Disks
[]Disk
Response List of Azure Managed Disks to attach to a Disk Pool.
- map[string]string
Resource tags.
- Tier string
Sku tier
- availability
Zones 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.
- managed
By String Azure resource id. Indicates if this resource is managed by another Azure resource.
- managed
By List<String>Extended List of Azure resource ids that manage this resource.
- name String
The name of the resource
- provisioning
State String State of the operation on the resource.
- status String
Operational status of the Disk Pool.
- subnet
Id String Azure Resource ID of a Subnet for the Disk Pool.
- system
Data SystemMetadata Response Resource metadata required by ARM RPC
- type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- additional
Capabilities List<String> List of additional capabilities for Disk Pool.
- disks
List<Disk
Response> List of Azure Managed Disks to attach to a Disk Pool.
- Map<String,String>
Resource tags.
- tier String
Sku tier
- availability
Zones 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.
- managed
By string Azure resource id. Indicates if this resource is managed by another Azure resource.
- managed
By string[]Extended List of Azure resource ids that manage this resource.
- name string
The name of the resource
- provisioning
State string State of the operation on the resource.
- status string
Operational status of the Disk Pool.
- subnet
Id string Azure Resource ID of a Subnet for the Disk Pool.
- system
Data SystemMetadata Response Resource metadata required by ARM RPC
- type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- additional
Capabilities string[] List of additional capabilities for Disk Pool.
- disks
Disk
Response[] List of Azure Managed Disks to attach to a Disk Pool.
- {[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_ Sequence[str]extended 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 SystemMetadata Response 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[Disk
Response] List of Azure Managed Disks to attach to a Disk Pool.
- Mapping[str, str]
Resource tags.
- tier str
Sku tier
- availability
Zones 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.
- managed
By String Azure resource id. Indicates if this resource is managed by another Azure resource.
- managed
By List<String>Extended List of Azure resource ids that manage this resource.
- name String
The name of the resource
- provisioning
State String State of the operation on the resource.
- status String
Operational status of the Disk Pool.
- subnet
Id String Azure Resource ID of a Subnet for the Disk Pool.
- system
Data Property Map Resource metadata required by ARM RPC
- type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- additional
Capabilities List<String> List of additional capabilities for Disk Pool.
- disks List<Property Map>
List of Azure Managed Disks to attach to a Disk Pool.
- 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
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- 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 type of identity that last modified the resource.
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0