azure-native-v2.networkcloud.StorageAppliance
Explore with Pulumi AI
Azure REST API version: 2023-10-01-preview. Prior API version in Azure Native 1.x: 2022-12-12-preview.
Other available API versions: 2023-07-01, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview.
Create StorageAppliance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageAppliance(name: string, args: StorageApplianceArgs, opts?: CustomResourceOptions);
@overload
def StorageAppliance(resource_name: str,
args: StorageApplianceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageAppliance(resource_name: str,
opts: Optional[ResourceOptions] = None,
administrator_credentials: Optional[AdministrativeCredentialsArgs] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
rack_id: Optional[str] = None,
rack_slot: Optional[float] = None,
resource_group_name: Optional[str] = None,
serial_number: Optional[str] = None,
storage_appliance_sku_id: Optional[str] = None,
location: Optional[str] = None,
storage_appliance_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewStorageAppliance(ctx *Context, name string, args StorageApplianceArgs, opts ...ResourceOption) (*StorageAppliance, error)
public StorageAppliance(string name, StorageApplianceArgs args, CustomResourceOptions? opts = null)
public StorageAppliance(String name, StorageApplianceArgs args)
public StorageAppliance(String name, StorageApplianceArgs args, CustomResourceOptions options)
type: azure-native:networkcloud:StorageAppliance
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. StorageApplianceArgs - 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. StorageApplianceArgs - 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. StorageApplianceArgs - 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. StorageApplianceArgs - 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. StorageApplianceArgs - 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 storageApplianceResource = new AzureNative.Networkcloud.StorageAppliance("storageApplianceResource", new()
{
AdministratorCredentials =
{
{ "password", "string" },
{ "username", "string" },
},
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
RackId = "string",
RackSlot = 0,
ResourceGroupName = "string",
SerialNumber = "string",
StorageApplianceSkuId = "string",
Location = "string",
StorageApplianceName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := networkcloud.NewStorageAppliance(ctx, "storageApplianceResource", &networkcloud.StorageApplianceArgs{
AdministratorCredentials: map[string]interface{}{
"password": "string",
"username": "string",
},
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
RackId: "string",
RackSlot: 0,
ResourceGroupName: "string",
SerialNumber: "string",
StorageApplianceSkuId: "string",
Location: "string",
StorageApplianceName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var storageApplianceResource = new StorageAppliance("storageApplianceResource", StorageApplianceArgs.builder()
.administratorCredentials(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.rackId("string")
.rackSlot(0)
.resourceGroupName("string")
.serialNumber("string")
.storageApplianceSkuId("string")
.location("string")
.storageApplianceName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
storage_appliance_resource = azure_native.networkcloud.StorageAppliance("storageApplianceResource",
administrator_credentials={
password: string,
username: string,
},
extended_location={
name: string,
type: string,
},
rack_id=string,
rack_slot=0,
resource_group_name=string,
serial_number=string,
storage_appliance_sku_id=string,
location=string,
storage_appliance_name=string,
tags={
string: string,
})
const storageApplianceResource = new azure_native.networkcloud.StorageAppliance("storageApplianceResource", {
administratorCredentials: {
password: "string",
username: "string",
},
extendedLocation: {
name: "string",
type: "string",
},
rackId: "string",
rackSlot: 0,
resourceGroupName: "string",
serialNumber: "string",
storageApplianceSkuId: "string",
location: "string",
storageApplianceName: "string",
tags: {
string: "string",
},
});
type: azure-native:networkcloud:StorageAppliance
properties:
administratorCredentials:
password: string
username: string
extendedLocation:
name: string
type: string
location: string
rackId: string
rackSlot: 0
resourceGroupName: string
serialNumber: string
storageApplianceName: string
storageApplianceSkuId: string
tags:
string: string
StorageAppliance 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 StorageAppliance resource accepts the following input properties:
- Administrator
Credentials This property is required. Changes to this property will trigger replacement.
Azure Native. Network Cloud. Inputs. Administrative Credentials - The credentials of the administrative interface on this storage appliance.
- 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
Id This property is required. Changes to this property will trigger replacement.
- The resource ID of the rack where this storage appliance resides.
- Rack
Slot This property is required. Changes to this property will trigger replacement.
- The slot the storage appliance is in the rack based on the BOM configuration.
- 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.
- Serial
Number This property is required. string - The serial number for the storage appliance.
- Storage
Appliance Sku Id This property is required. Changes to this property will trigger replacement.
- The SKU for the storage appliance.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Storage
Appliance Name Changes to this property will trigger replacement.
- The name of the storage appliance.
- Dictionary<string, string>
- Resource tags.
- Administrator
Credentials This property is required. Changes to this property will trigger replacement.
Credentials Args - The credentials of the administrative interface on this storage appliance.
- Extended
Location This property is required. ExtendedLocation Args - The extended location of the cluster associated with the resource.
- Rack
Id This property is required. Changes to this property will trigger replacement.
- The resource ID of the rack where this storage appliance resides.
- Rack
Slot This property is required. Changes to this property will trigger replacement.
- The slot the storage appliance is in the rack based on the BOM configuration.
- 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.
- Serial
Number This property is required. string - The serial number for the storage appliance.
- Storage
Appliance Sku Id This property is required. Changes to this property will trigger replacement.
- The SKU for the storage appliance.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Storage
Appliance Name Changes to this property will trigger replacement.
- The name of the storage appliance.
- map[string]string
- Resource tags.
- administrator
Credentials This property is required. Changes to this property will trigger replacement.
Credentials - The credentials of the administrative interface on this storage appliance.
- extended
Location This property is required. ExtendedLocation - The extended location of the cluster associated with the resource.
- rack
Id This property is required. Changes to this property will trigger replacement.
- The resource ID of the rack where this storage appliance resides.
- rack
Slot This property is required. Changes to this property will trigger replacement.
- The slot the storage appliance is in the rack based on the BOM configuration.
- 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.
- serial
Number This property is required. String - The serial number for the storage appliance.
- storage
Appliance Sku Id This property is required. Changes to this property will trigger replacement.
- The SKU for the storage appliance.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- storage
Appliance Name Changes to this property will trigger replacement.
- The name of the storage appliance.
- Map<String,String>
- Resource tags.
- administrator
Credentials This property is required. Changes to this property will trigger replacement.
Credentials - The credentials of the administrative interface on this storage appliance.
- extended
Location This property is required. ExtendedLocation - The extended location of the cluster associated with the resource.
- rack
Id This property is required. Changes to this property will trigger replacement.
- The resource ID of the rack where this storage appliance resides.
- rack
Slot This property is required. Changes to this property will trigger replacement.
- The slot the storage appliance is in the rack based on the BOM configuration.
- 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.
- serial
Number This property is required. string - The serial number for the storage appliance.
- storage
Appliance Sku Id This property is required. Changes to this property will trigger replacement.
- The SKU for the storage appliance.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- storage
Appliance Name Changes to this property will trigger replacement.
- The name of the storage appliance.
- {[key: string]: string}
- Resource tags.
- administrator_
credentials This property is required. Changes to this property will trigger replacement.
Credentials Args - The credentials of the administrative interface on this storage appliance.
- extended_
location This property is required. ExtendedLocation Args - The extended location of the cluster associated with the resource.
- rack_
id This property is required. Changes to this property will trigger replacement.
- The resource ID of the rack where this storage appliance resides.
- rack_
slot This property is required. Changes to this property will trigger replacement.
- The slot the storage appliance is in the rack based on the BOM configuration.
- 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.
- serial_
number This property is required. str - The serial number for the storage appliance.
- storage_
appliance_ sku_ id This property is required. Changes to this property will trigger replacement.
- The SKU for the storage appliance.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- storage_
appliance_ name Changes to this property will trigger replacement.
- The name of the storage appliance.
- Mapping[str, str]
- Resource tags.
- administrator
Credentials This property is required. Changes to this property will trigger replacement.
- The credentials of the administrative interface on this storage appliance.
- extended
Location This property is required. Property Map - The extended location of the cluster associated with the resource.
- rack
Id This property is required. Changes to this property will trigger replacement.
- The resource ID of the rack where this storage appliance resides.
- rack
Slot This property is required. Changes to this property will trigger replacement.
- The slot the storage appliance is in the rack based on the BOM configuration.
- 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.
- serial
Number This property is required. String - The serial number for the storage appliance.
- storage
Appliance Sku Id This property is required. Changes to this property will trigger replacement.
- The SKU for the storage appliance.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- storage
Appliance Name Changes to this property will trigger replacement.
- The name of the storage appliance.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageAppliance resource produces the following output properties:
- Capacity double
- The total capacity of the storage appliance.
- Capacity
Used double - The amount of storage consumed.
- Cluster
Id string - The resource ID of the cluster this storage appliance is associated with.
- Detailed
Status string - The detailed status of the storage appliance.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Management
Ipv4Address string - The endpoint for the management interface of the storage appliance.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the storage appliance.
- Remote
Vendor stringManagement Feature - The indicator of whether the storage appliance supports remote vendor management.
- Remote
Vendor stringManagement Status - The indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature.
- 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"
- Capacity float64
- The total capacity of the storage appliance.
- Capacity
Used float64 - The amount of storage consumed.
- Cluster
Id string - The resource ID of the cluster this storage appliance is associated with.
- Detailed
Status string - The detailed status of the storage appliance.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Management
Ipv4Address string - The endpoint for the management interface of the storage appliance.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the storage appliance.
- Remote
Vendor stringManagement Feature - The indicator of whether the storage appliance supports remote vendor management.
- Remote
Vendor stringManagement Status - The indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature.
- 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"
- capacity Double
- The total capacity of the storage appliance.
- capacity
Used Double - The amount of storage consumed.
- cluster
Id String - The resource ID of the cluster this storage appliance is associated with.
- detailed
Status String - The detailed status of the storage appliance.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- id String
- The provider-assigned unique ID for this managed resource.
- management
Ipv4Address String - The endpoint for the management interface of the storage appliance.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the storage appliance.
- remote
Vendor StringManagement Feature - The indicator of whether the storage appliance supports remote vendor management.
- remote
Vendor StringManagement Status - The indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature.
- 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"
- capacity number
- The total capacity of the storage appliance.
- capacity
Used number - The amount of storage consumed.
- cluster
Id string - The resource ID of the cluster this storage appliance is associated with.
- detailed
Status string - The detailed status of the storage appliance.
- detailed
Status stringMessage - The descriptive message about the current detailed status.
- id string
- The provider-assigned unique ID for this managed resource.
- management
Ipv4Address string - The endpoint for the management interface of the storage appliance.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the storage appliance.
- remote
Vendor stringManagement Feature - The indicator of whether the storage appliance supports remote vendor management.
- remote
Vendor stringManagement Status - The indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature.
- 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"
- capacity float
- The total capacity of the storage appliance.
- capacity_
used float - The amount of storage consumed.
- cluster_
id str - The resource ID of the cluster this storage appliance is associated with.
- detailed_
status str - The detailed status of the storage appliance.
- detailed_
status_ strmessage - The descriptive message about the current detailed status.
- id str
- The provider-assigned unique ID for this managed resource.
- management_
ipv4_ straddress - The endpoint for the management interface of the storage appliance.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the storage appliance.
- remote_
vendor_ strmanagement_ feature - The indicator of whether the storage appliance supports remote vendor management.
- remote_
vendor_ strmanagement_ status - The indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature.
- 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"
- capacity Number
- The total capacity of the storage appliance.
- capacity
Used Number - The amount of storage consumed.
- cluster
Id String - The resource ID of the cluster this storage appliance is associated with.
- detailed
Status String - The detailed status of the storage appliance.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- id String
- The provider-assigned unique ID for this managed resource.
- management
Ipv4Address String - The endpoint for the management interface of the storage appliance.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the storage appliance.
- remote
Vendor StringManagement Feature - The indicator of whether the storage appliance supports remote vendor management.
- remote
Vendor StringManagement Status - The indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature.
- 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
AdministrativeCredentials, AdministrativeCredentialsArgs
AdministrativeCredentialsResponse, AdministrativeCredentialsResponseArgs
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:StorageAppliance storageApplianceName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0