Volume Container Args
data class VolumeContainerArgs(val bandWidthRateInMbps: Output<Int>? = null, val bandwidthSettingId: Output<String>? = null, val deviceName: Output<String>? = null, val encryptionKey: Output<AsymmetricEncryptedSecretArgs>? = null, val kind: Output<Kind>? = null, val managerName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val storageAccountCredentialId: Output<String>? = null, val volumeContainerName: Output<String>? = null) : ConvertibleToJava<VolumeContainerArgs>
The volume container. Uses Azure REST API version 2017-06-01. In version 2.x of the Azure Native provider, it used API version 2017-06-01.
Example Usage
VolumeContainersCreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var volumeContainer = new AzureNative.StorSimple.VolumeContainer("volumeContainer", new()
{
BandwidthSettingId = "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1",
DeviceName = "Device05ForSDKTest",
EncryptionKey = new AzureNative.StorSimple.Inputs.AsymmetricEncryptedSecretArgs
{
EncryptionAlgorithm = AzureNative.StorSimple.EncryptionAlgorithm.RSAES_PKCS1_v_1_5,
EncryptionCertThumbprint = "A872A2DF196AC7682EE24791E7DE2E2A360F5926",
Value = "R//pyVLx/fn58ia098JiLgZB5RY7fVT+6o8a4fmsvjy+ls2UgJphMf25XVqEQCZnsp/5uxteN1M/9ArPIICdhM7M1+b/Ur7kJ0FH0ktxfk7CrPWWJLI4q20LZoduJGI56lREav1VpuLdqw5F9fRcq7zbfgPQ3B/SD0mfumNRiV+AnwbC6msfavIuWrhVDl9iSzEPE+zU06/kpsexnrS81yYT2QlVVUbvpY4F3zfH8TQPpAROTbv2pld6JO4eGOrZ5O1iOr6XCg2TY2W/jf+Ev4z5tqC9VWXE5kh65gjBfpWN0bDWXKekqEhor2crHAxZi4dybdY8Ok1MDWd1CSU8kw==",
},
ManagerName = "ManagerForSDKTest1",
ResourceGroupName = "ResourceGroupForSDKTest",
StorageAccountCredentialId = "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording",
VolumeContainerName = "VolumeContainerForSDKTest",
});
});
Content copied to clipboard
package main
import (
storsimple "github.com/pulumi/pulumi-azure-native-sdk/storsimple/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storsimple.NewVolumeContainer(ctx, "volumeContainer", &storsimple.VolumeContainerArgs{
BandwidthSettingId: pulumi.String("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1"),
DeviceName: pulumi.String("Device05ForSDKTest"),
EncryptionKey: &storsimple.AsymmetricEncryptedSecretArgs{
EncryptionAlgorithm: storsimple.EncryptionAlgorithm_RSAES_PKCS1_v_1_5,
EncryptionCertThumbprint: pulumi.String("A872A2DF196AC7682EE24791E7DE2E2A360F5926"),
Value: pulumi.String("R//pyVLx/fn58ia098JiLgZB5RY7fVT+6o8a4fmsvjy+ls2UgJphMf25XVqEQCZnsp/5uxteN1M/9ArPIICdhM7M1+b/Ur7kJ0FH0ktxfk7CrPWWJLI4q20LZoduJGI56lREav1VpuLdqw5F9fRcq7zbfgPQ3B/SD0mfumNRiV+AnwbC6msfavIuWrhVDl9iSzEPE+zU06/kpsexnrS81yYT2QlVVUbvpY4F3zfH8TQPpAROTbv2pld6JO4eGOrZ5O1iOr6XCg2TY2W/jf+Ev4z5tqC9VWXE5kh65gjBfpWN0bDWXKekqEhor2crHAxZi4dybdY8Ok1MDWd1CSU8kw=="),
},
ManagerName: pulumi.String("ManagerForSDKTest1"),
ResourceGroupName: pulumi.String("ResourceGroupForSDKTest"),
StorageAccountCredentialId: pulumi.String("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording"),
VolumeContainerName: pulumi.String("VolumeContainerForSDKTest"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storsimple.VolumeContainer;
import com.pulumi.azurenative.storsimple.VolumeContainerArgs;
import com.pulumi.azurenative.storsimple.inputs.AsymmetricEncryptedSecretArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var volumeContainer = new VolumeContainer("volumeContainer", VolumeContainerArgs.builder()
.bandwidthSettingId("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1")
.deviceName("Device05ForSDKTest")
.encryptionKey(AsymmetricEncryptedSecretArgs.builder()
.encryptionAlgorithm("RSAES_PKCS1_v_1_5")
.encryptionCertThumbprint("A872A2DF196AC7682EE24791E7DE2E2A360F5926")
.value("R//pyVLx/fn58ia098JiLgZB5RY7fVT+6o8a4fmsvjy+ls2UgJphMf25XVqEQCZnsp/5uxteN1M/9ArPIICdhM7M1+b/Ur7kJ0FH0ktxfk7CrPWWJLI4q20LZoduJGI56lREav1VpuLdqw5F9fRcq7zbfgPQ3B/SD0mfumNRiV+AnwbC6msfavIuWrhVDl9iSzEPE+zU06/kpsexnrS81yYT2QlVVUbvpY4F3zfH8TQPpAROTbv2pld6JO4eGOrZ5O1iOr6XCg2TY2W/jf+Ev4z5tqC9VWXE5kh65gjBfpWN0bDWXKekqEhor2crHAxZi4dybdY8Ok1MDWd1CSU8kw==")
.build())
.managerName("ManagerForSDKTest1")
.resourceGroupName("ResourceGroupForSDKTest")
.storageAccountCredentialId("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording")
.volumeContainerName("VolumeContainerForSDKTest")
.build());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(bandWidthRateInMbps: Output<Int>? = null, bandwidthSettingId: Output<String>? = null, deviceName: Output<String>? = null, encryptionKey: Output<AsymmetricEncryptedSecretArgs>? = null, kind: Output<Kind>? = null, managerName: Output<String>? = null, resourceGroupName: Output<String>? = null, storageAccountCredentialId: Output<String>? = null, volumeContainerName: Output<String>? = null)
Properties
Link copied to clipboard
The bandwidth-rate set on the volume container.
Link copied to clipboard
The ID of the bandwidth setting associated with the volume container.
Link copied to clipboard
The device name
Link copied to clipboard
The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
Link copied to clipboard
The manager name
Link copied to clipboard
The resource group name
Link copied to clipboard
The path ID of storage account associated with the volume container.
Link copied to clipboard
The name of the volume container.