azure-native-v2.storsimple.VolumeContainer
Explore with Pulumi AI
The volume container. Azure REST API version: 2017-06-01. Prior API version in Azure Native 1.x: 2017-06-01.
Create VolumeContainer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VolumeContainer(name: string, args: VolumeContainerArgs, opts?: CustomResourceOptions);
@overload
def VolumeContainer(resource_name: str,
args: VolumeContainerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VolumeContainer(resource_name: str,
opts: Optional[ResourceOptions] = None,
device_name: Optional[str] = None,
manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
storage_account_credential_id: Optional[str] = None,
band_width_rate_in_mbps: Optional[int] = None,
bandwidth_setting_id: Optional[str] = None,
encryption_key: Optional[AsymmetricEncryptedSecretArgs] = None,
kind: Optional[Kind] = None,
volume_container_name: Optional[str] = None)
func NewVolumeContainer(ctx *Context, name string, args VolumeContainerArgs, opts ...ResourceOption) (*VolumeContainer, error)
public VolumeContainer(string name, VolumeContainerArgs args, CustomResourceOptions? opts = null)
public VolumeContainer(String name, VolumeContainerArgs args)
public VolumeContainer(String name, VolumeContainerArgs args, CustomResourceOptions options)
type: azure-native:storsimple:VolumeContainer
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. VolumeContainerArgs - 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. VolumeContainerArgs - 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. VolumeContainerArgs - 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. VolumeContainerArgs - 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. VolumeContainerArgs - 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 volumeContainerResource = new AzureNative.Storsimple.VolumeContainer("volumeContainerResource", new()
{
DeviceName = "string",
ManagerName = "string",
ResourceGroupName = "string",
StorageAccountCredentialId = "string",
BandWidthRateInMbps = 0,
BandwidthSettingId = "string",
EncryptionKey =
{
{ "encryptionAlgorithm", "None" },
{ "value", "string" },
{ "encryptionCertThumbprint", "string" },
},
Kind = "Series8000",
VolumeContainerName = "string",
});
example, err := storsimple.NewVolumeContainer(ctx, "volumeContainerResource", &storsimple.VolumeContainerArgs{
DeviceName: "string",
ManagerName: "string",
ResourceGroupName: "string",
StorageAccountCredentialId: "string",
BandWidthRateInMbps: 0,
BandwidthSettingId: "string",
EncryptionKey: map[string]interface{}{
"encryptionAlgorithm": "None",
"value": "string",
"encryptionCertThumbprint": "string",
},
Kind: "Series8000",
VolumeContainerName: "string",
})
var volumeContainerResource = new VolumeContainer("volumeContainerResource", VolumeContainerArgs.builder()
.deviceName("string")
.managerName("string")
.resourceGroupName("string")
.storageAccountCredentialId("string")
.bandWidthRateInMbps(0)
.bandwidthSettingId("string")
.encryptionKey(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.kind("Series8000")
.volumeContainerName("string")
.build());
volume_container_resource = azure_native.storsimple.VolumeContainer("volumeContainerResource",
device_name=string,
manager_name=string,
resource_group_name=string,
storage_account_credential_id=string,
band_width_rate_in_mbps=0,
bandwidth_setting_id=string,
encryption_key={
encryptionAlgorithm: None,
value: string,
encryptionCertThumbprint: string,
},
kind=Series8000,
volume_container_name=string)
const volumeContainerResource = new azure_native.storsimple.VolumeContainer("volumeContainerResource", {
deviceName: "string",
managerName: "string",
resourceGroupName: "string",
storageAccountCredentialId: "string",
bandWidthRateInMbps: 0,
bandwidthSettingId: "string",
encryptionKey: {
encryptionAlgorithm: "None",
value: "string",
encryptionCertThumbprint: "string",
},
kind: "Series8000",
volumeContainerName: "string",
});
type: azure-native:storsimple:VolumeContainer
properties:
bandWidthRateInMbps: 0
bandwidthSettingId: string
deviceName: string
encryptionKey:
encryptionAlgorithm: None
encryptionCertThumbprint: string
value: string
kind: Series8000
managerName: string
resourceGroupName: string
storageAccountCredentialId: string
volumeContainerName: string
VolumeContainer 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 VolumeContainer resource accepts the following input properties:
- Device
Name This property is required. Changes to this property will trigger replacement.
- The device name
- Manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- Storage
Account Credential Id This property is required. string - The path ID of storage account associated with the volume container.
- Band
Width intRate In Mbps - The bandwidth-rate set on the volume container.
- Bandwidth
Setting stringId - The ID of the bandwidth setting associated with the volume container.
- Encryption
Key Pulumi.Azure Native. Stor Simple. Inputs. Asymmetric Encrypted Secret - The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
- Kind
Pulumi.
Azure Native. Stor Simple. Kind - The Kind of the object. Currently only Series8000 is supported
- Volume
Container Name Changes to this property will trigger replacement.
- The name of the volume container.
- Device
Name This property is required. Changes to this property will trigger replacement.
- The device name
- Manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- Storage
Account Credential Id This property is required. string - The path ID of storage account associated with the volume container.
- Band
Width intRate In Mbps - The bandwidth-rate set on the volume container.
- Bandwidth
Setting stringId - The ID of the bandwidth setting associated with the volume container.
- Encryption
Key AsymmetricEncrypted Secret Args - The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
- Kind Kind
- The Kind of the object. Currently only Series8000 is supported
- Volume
Container Name Changes to this property will trigger replacement.
- The name of the volume container.
- device
Name This property is required. Changes to this property will trigger replacement.
- The device name
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- storage
Account Credential Id This property is required. String - The path ID of storage account associated with the volume container.
- band
Width IntegerRate In Mbps - The bandwidth-rate set on the volume container.
- bandwidth
Setting StringId - The ID of the bandwidth setting associated with the volume container.
- encryption
Key AsymmetricEncrypted Secret - The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- volume
Container Name Changes to this property will trigger replacement.
- The name of the volume container.
- device
Name This property is required. Changes to this property will trigger replacement.
- The device name
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- storage
Account Credential Id This property is required. string - The path ID of storage account associated with the volume container.
- band
Width numberRate In Mbps - The bandwidth-rate set on the volume container.
- bandwidth
Setting stringId - The ID of the bandwidth setting associated with the volume container.
- encryption
Key AsymmetricEncrypted Secret - The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- volume
Container Name Changes to this property will trigger replacement.
- The name of the volume container.
- device_
name This property is required. Changes to this property will trigger replacement.
- The device name
- manager_
name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The resource group name
- storage_
account_ credential_ id This property is required. str - The path ID of storage account associated with the volume container.
- band_
width_ intrate_ in_ mbps - The bandwidth-rate set on the volume container.
- bandwidth_
setting_ strid - The ID of the bandwidth setting associated with the volume container.
- encryption_
key AsymmetricEncrypted Secret Args - The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- volume_
container_ name Changes to this property will trigger replacement.
- The name of the volume container.
- device
Name This property is required. Changes to this property will trigger replacement.
- The device name
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- storage
Account Credential Id This property is required. String - The path ID of storage account associated with the volume container.
- band
Width NumberRate In Mbps - The bandwidth-rate set on the volume container.
- bandwidth
Setting StringId - The ID of the bandwidth setting associated with the volume container.
- encryption
Key Property Map - The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
- kind "Series8000"
- The Kind of the object. Currently only Series8000 is supported
- volume
Container Name Changes to this property will trigger replacement.
- The name of the volume container.
Outputs
All input properties are implicitly available as output properties. Additionally, the VolumeContainer resource produces the following output properties:
- Encryption
Status string - The flag to denote whether encryption is enabled or not.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the object.
- Owner
Ship stringStatus - The owner ship status of the volume container. Only when the status is "NotOwned", the delete operation on the volume container is permitted.
- Total
Cloud doubleStorage Usage In Bytes - The total cloud storage for the volume container.
- Type string
- The hierarchical type of the object.
- Volume
Count int - The number of volumes in the volume Container.
- Encryption
Status string - The flag to denote whether encryption is enabled or not.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the object.
- Owner
Ship stringStatus - The owner ship status of the volume container. Only when the status is "NotOwned", the delete operation on the volume container is permitted.
- Total
Cloud float64Storage Usage In Bytes - The total cloud storage for the volume container.
- Type string
- The hierarchical type of the object.
- Volume
Count int - The number of volumes in the volume Container.
- encryption
Status String - The flag to denote whether encryption is enabled or not.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the object.
- owner
Ship StringStatus - The owner ship status of the volume container. Only when the status is "NotOwned", the delete operation on the volume container is permitted.
- total
Cloud DoubleStorage Usage In Bytes - The total cloud storage for the volume container.
- type String
- The hierarchical type of the object.
- volume
Count Integer - The number of volumes in the volume Container.
- encryption
Status string - The flag to denote whether encryption is enabled or not.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the object.
- owner
Ship stringStatus - The owner ship status of the volume container. Only when the status is "NotOwned", the delete operation on the volume container is permitted.
- total
Cloud numberStorage Usage In Bytes - The total cloud storage for the volume container.
- type string
- The hierarchical type of the object.
- volume
Count number - The number of volumes in the volume Container.
- encryption_
status str - The flag to denote whether encryption is enabled or not.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the object.
- owner_
ship_ strstatus - The owner ship status of the volume container. Only when the status is "NotOwned", the delete operation on the volume container is permitted.
- total_
cloud_ floatstorage_ usage_ in_ bytes - The total cloud storage for the volume container.
- type str
- The hierarchical type of the object.
- volume_
count int - The number of volumes in the volume Container.
- encryption
Status String - The flag to denote whether encryption is enabled or not.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the object.
- owner
Ship StringStatus - The owner ship status of the volume container. Only when the status is "NotOwned", the delete operation on the volume container is permitted.
- total
Cloud NumberStorage Usage In Bytes - The total cloud storage for the volume container.
- type String
- The hierarchical type of the object.
- volume
Count Number - The number of volumes in the volume Container.
Supporting Types
AsymmetricEncryptedSecret, AsymmetricEncryptedSecretArgs
- Encryption
Algorithm This property is required. Pulumi.Azure Native. Stor Simple. Encryption Algorithm - The algorithm used to encrypt "Value".
- Value
This property is required. string - The value of the secret.
- Encryption
Cert stringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- Encryption
Algorithm This property is required. EncryptionAlgorithm - The algorithm used to encrypt "Value".
- Value
This property is required. string - The value of the secret.
- Encryption
Cert stringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption
Algorithm This property is required. EncryptionAlgorithm - The algorithm used to encrypt "Value".
- value
This property is required. String - The value of the secret.
- encryption
Cert StringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption
Algorithm This property is required. EncryptionAlgorithm - The algorithm used to encrypt "Value".
- value
This property is required. string - The value of the secret.
- encryption
Cert stringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption_
algorithm This property is required. EncryptionAlgorithm - The algorithm used to encrypt "Value".
- value
This property is required. str - The value of the secret.
- encryption_
cert_ strthumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption
Algorithm This property is required. "None" | "AES256" | "RSAES_PKCS1_v_1_5" - The algorithm used to encrypt "Value".
- value
This property is required. String - The value of the secret.
- encryption
Cert StringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
AsymmetricEncryptedSecretResponse, AsymmetricEncryptedSecretResponseArgs
- Encryption
Algorithm This property is required. string - The algorithm used to encrypt "Value".
- Value
This property is required. string - The value of the secret.
- Encryption
Cert stringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- Encryption
Algorithm This property is required. string - The algorithm used to encrypt "Value".
- Value
This property is required. string - The value of the secret.
- Encryption
Cert stringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption
Algorithm This property is required. String - The algorithm used to encrypt "Value".
- value
This property is required. String - The value of the secret.
- encryption
Cert StringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption
Algorithm This property is required. string - The algorithm used to encrypt "Value".
- value
This property is required. string - The value of the secret.
- encryption
Cert stringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption_
algorithm This property is required. str - The algorithm used to encrypt "Value".
- value
This property is required. str - The value of the secret.
- encryption_
cert_ strthumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
- encryption
Algorithm This property is required. String - The algorithm used to encrypt "Value".
- value
This property is required. String - The value of the secret.
- encryption
Cert StringThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
EncryptionAlgorithm, EncryptionAlgorithmArgs
- None
- None
- AES256
- AES256
- RSAES_PKCS1_
v_1_5 - RSAES_PKCS1_v_1_5
- Encryption
Algorithm None - None
- Encryption
Algorithm AES256 - AES256
- Encryption
Algorithm_RSAES_PKCS1_ v_1_5 - RSAES_PKCS1_v_1_5
- None
- None
- AES256
- AES256
- RSAES_PKCS1_
v_1_5 - RSAES_PKCS1_v_1_5
- None
- None
- AES256
- AES256
- RSAES_PKCS1_
v_1_5 - RSAES_PKCS1_v_1_5
- NONE
- None
- AES256
- AES256
- RSAE_S_PKCS1_V_1_5
- RSAES_PKCS1_v_1_5
- "None"
- None
- "AES256"
- AES256
- "RSAES_PKCS1_
v_1_5" - RSAES_PKCS1_v_1_5
Kind, KindArgs
- Series8000
- Series8000
- Kind
Series8000 - Series8000
- Series8000
- Series8000
- Series8000
- Series8000
- SERIES8000
- Series8000
- "Series8000"
- Series8000
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storsimple:VolumeContainer VolumeContainerForSDKTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/devices/{deviceName}/volumeContainers/{volumeContainerName}
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