1. Packages
  2. Azure Native
  3. API Docs
  4. networkcloud
  5. getRack
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.networkcloud.getRack

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Get properties of the provided rack.

Uses Azure REST API version 2025-02-01.

Other available API versions: 2023-10-01-preview, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native networkcloud [ApiVersion]. See the version guide for details.

Using getRack

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 getRack(args: GetRackArgs, opts?: InvokeOptions): Promise<GetRackResult>
function getRackOutput(args: GetRackOutputArgs, opts?: InvokeOptions): Output<GetRackResult>
Copy
def get_rack(rack_name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetRackResult
def get_rack_output(rack_name: Optional[pulumi.Input[str]] = None,
             resource_group_name: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetRackResult]
Copy
func LookupRack(ctx *Context, args *LookupRackArgs, opts ...InvokeOption) (*LookupRackResult, error)
func LookupRackOutput(ctx *Context, args *LookupRackOutputArgs, opts ...InvokeOption) LookupRackResultOutput
Copy

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

public static class GetRack 
{
    public static Task<GetRackResult> InvokeAsync(GetRackArgs args, InvokeOptions? opts = null)
    public static Output<GetRackResult> Invoke(GetRackInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRackResult> getRack(GetRackArgs args, InvokeOptions options)
public static Output<GetRackResult> getRack(GetRackArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:networkcloud:getRack
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RackName
This property is required.
Changes to this property will trigger replacement.
string
The name of the rack.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RackName
This property is required.
Changes to this property will trigger replacement.
string
The name of the rack.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
rackName
This property is required.
Changes to this property will trigger replacement.
String
The name of the rack.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
rackName
This property is required.
Changes to this property will trigger replacement.
string
The name of the rack.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
rack_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the rack.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
rackName
This property is required.
Changes to this property will trigger replacement.
String
The name of the rack.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getRack Result

The following output properties are available:

AvailabilityZone string
The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.
AzureApiVersion string
The Azure API version of the resource.
ClusterId string
The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.
DetailedStatus string
The more detailed status of the rack.
DetailedStatusMessage string
The descriptive message about the current detailed status.
Etag string
Resource ETag.
ExtendedLocation Pulumi.AzureNative.NetworkCloud.Outputs.ExtendedLocationResponse
The extended location of the cluster associated with the resource.
Id string
Fully qualified resource ID for the resource. E.g. "/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
The provisioning state of the rack resource.
RackLocation string
The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
RackSerialNumber string
The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.
RackSkuId string
The SKU for the rack.
SystemData Pulumi.AzureNative.NetworkCloud.Outputs.SystemDataResponse
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"
Tags Dictionary<string, string>
Resource tags.
AvailabilityZone string
The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.
AzureApiVersion string
The Azure API version of the resource.
ClusterId string
The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.
DetailedStatus string
The more detailed status of the rack.
DetailedStatusMessage string
The descriptive message about the current detailed status.
Etag string
Resource ETag.
ExtendedLocation ExtendedLocationResponse
The extended location of the cluster associated with the resource.
Id string
Fully qualified resource ID for the resource. E.g. "/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
The provisioning state of the rack resource.
RackLocation string
The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
RackSerialNumber string
The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.
RackSkuId string
The SKU for the rack.
SystemData SystemDataResponse
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"
Tags map[string]string
Resource tags.
availabilityZone String
The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.
azureApiVersion String
The Azure API version of the resource.
clusterId String
The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.
detailedStatus String
The more detailed status of the rack.
detailedStatusMessage String
The descriptive message about the current detailed status.
etag String
Resource ETag.
extendedLocation ExtendedLocationResponse
The extended location of the cluster associated with the resource.
id String
Fully qualified resource ID for the resource. E.g. "/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
The provisioning state of the rack resource.
rackLocation String
The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
rackSerialNumber String
The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.
rackSkuId String
The SKU for the rack.
systemData SystemDataResponse
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"
tags Map<String,String>
Resource tags.
availabilityZone string
The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.
azureApiVersion string
The Azure API version of the resource.
clusterId string
The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.
detailedStatus string
The more detailed status of the rack.
detailedStatusMessage string
The descriptive message about the current detailed status.
etag string
Resource ETag.
extendedLocation ExtendedLocationResponse
The extended location of the cluster associated with the resource.
id string
Fully qualified resource ID for the resource. E.g. "/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
The provisioning state of the rack resource.
rackLocation string
The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
rackSerialNumber string
The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.
rackSkuId string
The SKU for the rack.
systemData SystemDataResponse
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"
tags {[key: string]: string}
Resource tags.
availability_zone str
The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.
azure_api_version str
The Azure API version of the resource.
cluster_id str
The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.
detailed_status str
The more detailed status of the rack.
detailed_status_message str
The descriptive message about the current detailed status.
etag str
Resource ETag.
extended_location ExtendedLocationResponse
The extended location of the cluster associated with the resource.
id str
Fully qualified resource ID for the resource. E.g. "/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
The provisioning state of the rack resource.
rack_location str
The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
rack_serial_number str
The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.
rack_sku_id str
The SKU for the rack.
system_data SystemDataResponse
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"
tags Mapping[str, str]
Resource tags.
availabilityZone String
The value that will be used for machines in this rack to represent the availability zones that can be referenced by Hybrid AKS Clusters for node arrangement.
azureApiVersion String
The Azure API version of the resource.
clusterId String
The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.
detailedStatus String
The more detailed status of the rack.
detailedStatusMessage String
The descriptive message about the current detailed status.
etag String
Resource ETag.
extendedLocation Property Map
The extended location of the cluster associated with the resource.
id String
Fully qualified resource ID for the resource. E.g. "/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
The provisioning state of the rack resource.
rackLocation String
The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
rackSerialNumber String
The unique identifier for the rack within Network Cloud cluster. An alternate unique alphanumeric value other than a serial number may be provided if desired.
rackSkuId String
The SKU for the rack.
systemData 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"
tags Map<String>
Resource tags.

Supporting Types

ExtendedLocationResponse

Name This property is required. string
The resource ID of the extended location on which the resource will be created.
Type This property is required. string
The extended location type, for example, CustomLocation.
Name This property is required. string
The resource ID of the extended location on which the resource will be created.
Type This property is required. string
The extended location type, for example, CustomLocation.
name This property is required. String
The resource ID of the extended location on which the resource will be created.
type This property is required. String
The extended location type, for example, CustomLocation.
name This property is required. string
The resource ID of the extended location on which the resource will be created.
type This property is required. string
The extended location type, for example, CustomLocation.
name This property is required. str
The resource ID of the extended location on which the resource will be created.
type This property is required. str
The extended location type, for example, CustomLocation.
name This property is required. String
The resource ID of the extended location on which the resource will be created.
type This property is required. String
The extended location type, for example, CustomLocation.

SystemDataResponse

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 timestamp of resource last modification (UTC)
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 timestamp of resource last modification (UTC)
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 timestamp of resource last modification (UTC)
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 timestamp of resource last modification (UTC)
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 timestamp of resource last modification (UTC)
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 timestamp of resource last modification (UTC)
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi