azure-native.networkcloud.Rack
Explore with Pulumi AI
Uses Azure REST API version 2025-02-01. In version 2.x of the Azure Native provider, it used API version 2023-10-01-preview.
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.
Create Rack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Rack(name: string, args: RackArgs, opts?: CustomResourceOptions);
@overload
def Rack(resource_name: str,
args: RackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Rack(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
rack_location: Optional[str] = None,
rack_serial_number: Optional[str] = None,
rack_sku_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
rack_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewRack(ctx *Context, name string, args RackArgs, opts ...ResourceOption) (*Rack, error)
public Rack(string name, RackArgs args, CustomResourceOptions? opts = null)
type: azure-native:networkcloud:Rack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RackArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. RackArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RackArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. RackArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. RackArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var rackResource = new AzureNative.NetworkCloud.Rack("rackResource", new()
{
AvailabilityZone = "string",
ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
RackLocation = "string",
RackSerialNumber = "string",
RackSkuId = "string",
ResourceGroupName = "string",
Location = "string",
RackName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := networkcloud.NewRack(ctx, "rackResource", &networkcloud.RackArgs{
AvailabilityZone: pulumi.String("string"),
ExtendedLocation: &networkcloud.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
RackLocation: pulumi.String("string"),
RackSerialNumber: pulumi.String("string"),
RackSkuId: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
RackName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var rackResource = new Rack("rackResource", RackArgs.builder()
.availabilityZone("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.rackLocation("string")
.rackSerialNumber("string")
.rackSkuId("string")
.resourceGroupName("string")
.location("string")
.rackName("string")
.tags(Map.of("string", "string"))
.build());
rack_resource = azure_native.networkcloud.Rack("rackResource",
availability_zone="string",
extended_location={
"name": "string",
"type": "string",
},
rack_location="string",
rack_serial_number="string",
rack_sku_id="string",
resource_group_name="string",
location="string",
rack_name="string",
tags={
"string": "string",
})
const rackResource = new azure_native.networkcloud.Rack("rackResource", {
availabilityZone: "string",
extendedLocation: {
name: "string",
type: "string",
},
rackLocation: "string",
rackSerialNumber: "string",
rackSkuId: "string",
resourceGroupName: "string",
location: "string",
rackName: "string",
tags: {
string: "string",
},
});
type: azure-native:networkcloud:Rack
properties:
availabilityZone: string
extendedLocation:
name: string
type: string
location: string
rackLocation: string
rackName: string
rackSerialNumber: string
rackSkuId: string
resourceGroupName: string
tags:
string: string
Rack Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Rack resource accepts the following input properties:
- Availability
Zone This property is required. 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.
- Extended
Location This property is required. Pulumi.Azure Native. Network Cloud. Inputs. Extended Location - The extended location of the cluster associated with the resource.
- Rack
Location This property is required. string - The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
- Rack
Serial Number This property is required. 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.
- Rack
Sku Id This property is required. string - The SKU for the rack.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Rack
Name Changes to this property will trigger replacement.
- The name of the rack.
- Dictionary<string, string>
- Resource tags.
- Availability
Zone This property is required. 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.
- Extended
Location This property is required. ExtendedLocation Args - The extended location of the cluster associated with the resource.
- Rack
Location This property is required. string - The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
- Rack
Serial Number This property is required. 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.
- Rack
Sku Id This property is required. string - The SKU for the rack.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Rack
Name Changes to this property will trigger replacement.
- The name of the rack.
- map[string]string
- Resource tags.
- availability
Zone This property is required. 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.
- extended
Location This property is required. ExtendedLocation - The extended location of the cluster associated with the resource.
- rack
Location This property is required. String - The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
- rack
Serial Number This property is required. 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.
- rack
Sku Id This property is required. String - The SKU for the rack.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- rack
Name Changes to this property will trigger replacement.
- The name of the rack.
- Map<String,String>
- Resource tags.
- availability
Zone This property is required. 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.
- extended
Location This property is required. ExtendedLocation - The extended location of the cluster associated with the resource.
- rack
Location This property is required. string - The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
- rack
Serial Number This property is required. 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.
- rack
Sku Id This property is required. string - The SKU for the rack.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- rack
Name Changes to this property will trigger replacement.
- The name of the rack.
- {[key: string]: string}
- Resource tags.
- availability_
zone This property is required. 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.
- extended_
location This property is required. ExtendedLocation Args - The extended location of the cluster associated with the resource.
- rack_
location This property is required. str - The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
- rack_
serial_ number This property is required. 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 This property is required. str - The SKU for the rack.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- rack_
name Changes to this property will trigger replacement.
- The name of the rack.
- Mapping[str, str]
- Resource tags.
- availability
Zone This property is required. 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.
- extended
Location This property is required. Property Map - The extended location of the cluster associated with the resource.
- rack
Location This property is required. String - The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”)
- rack
Serial Number This property is required. 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.
- rack
Sku Id This property is required. String - The SKU for the rack.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- rack
Name Changes to this property will trigger replacement.
- The name of the rack.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Rack resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Cluster
Id string - 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 string - The more detailed status of the rack.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Etag string
- Resource ETag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the rack resource.
- System
Data Pulumi.Azure Native. Network Cloud. 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"
- Azure
Api stringVersion - The Azure API version of the resource.
- Cluster
Id string - 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 string - The more detailed status of the rack.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Etag string
- Resource ETag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the rack resource.
- 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"
- azure
Api StringVersion - The Azure API version of the resource.
- cluster
Id String - 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 String - The more detailed status of the rack.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- etag String
- Resource ETag.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the rack resource.
- 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"
- azure
Api stringVersion - The Azure API version of the resource.
- cluster
Id string - 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 string - The more detailed status of the rack.
- detailed
Status stringMessage - The descriptive message about the current detailed status.
- etag string
- Resource ETag.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the rack resource.
- 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"
- azure_
api_ strversion - 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_ strmessage - The descriptive message about the current detailed status.
- etag str
- Resource ETag.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the rack resource.
- 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"
- azure
Api StringVersion - The Azure API version of the resource.
- cluster
Id String - 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 String - The more detailed status of the rack.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- etag String
- Resource ETag.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the rack resource.
- 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"
Supporting Types
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
SystemDataResponse, SystemDataResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:networkcloud:Rack rackName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/racks/{rackName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0