StorageAccountCredentialArgs

data class StorageAccountCredentialArgs(val accountKey: Output<AsymmetricEncryptedSecretArgs>? = null, val accountType: Output<Either<String, AccountType>>? = null, val alias: Output<String>? = null, val blobDomainName: Output<String>? = null, val connectionString: Output<String>? = null, val deviceName: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sslStatus: Output<Either<String, SSLStatus>>? = null, val storageAccountId: Output<String>? = null, val userName: Output<String>? = null) : ConvertibleToJava<StorageAccountCredentialArgs>

The storage account credential. API Version: 2020-12-01.

Example Usage

SACPut

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var storageAccountCredential = new AzureNative.DataBoxEdge.StorageAccountCredential("storageAccountCredential", new()
{
AccountKey = new AzureNative.DataBoxEdge.Inputs.AsymmetricEncryptedSecretArgs
{
EncryptionAlgorithm = "AES256",
EncryptionCertThumbprint = "2A9D8D6BE51574B5461230AEF02F162C5F01AD31",
Value = "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==",
},
AccountType = "BlobStorage",
Alias = "sac1",
DeviceName = "testedgedevice",
Name = "sac1",
ResourceGroupName = "GroupForEdgeAutomation",
SslStatus = "Disabled",
UserName = "cisbvt",
});
});
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databoxedge.NewStorageAccountCredential(ctx, "storageAccountCredential", &databoxedge.StorageAccountCredentialArgs{
AccountKey: &databoxedge.AsymmetricEncryptedSecretArgs{
EncryptionAlgorithm: pulumi.String("AES256"),
EncryptionCertThumbprint: pulumi.String("2A9D8D6BE51574B5461230AEF02F162C5F01AD31"),
Value: pulumi.String("lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA=="),
},
AccountType: pulumi.String("BlobStorage"),
Alias: pulumi.String("sac1"),
DeviceName: pulumi.String("testedgedevice"),
Name: pulumi.String("sac1"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
SslStatus: pulumi.String("Disabled"),
UserName: pulumi.String("cisbvt"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.databoxedge.StorageAccountCredential;
import com.pulumi.azurenative.databoxedge.StorageAccountCredentialArgs;
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 storageAccountCredential = new StorageAccountCredential("storageAccountCredential", StorageAccountCredentialArgs.builder()
.accountKey(Map.ofEntries(
Map.entry("encryptionAlgorithm", "AES256"),
Map.entry("encryptionCertThumbprint", "2A9D8D6BE51574B5461230AEF02F162C5F01AD31"),
Map.entry("value", "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==")
))
.accountType("BlobStorage")
.alias("sac1")
.deviceName("testedgedevice")
.name("sac1")
.resourceGroupName("GroupForEdgeAutomation")
.sslStatus("Disabled")
.userName("cisbvt")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:databoxedge:StorageAccountCredential sac1 /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1

Constructors

Link copied to clipboard
constructor(accountKey: Output<AsymmetricEncryptedSecretArgs>? = null, accountType: Output<Either<String, AccountType>>? = null, alias: Output<String>? = null, blobDomainName: Output<String>? = null, connectionString: Output<String>? = null, deviceName: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, sslStatus: Output<Either<String, SSLStatus>>? = null, storageAccountId: Output<String>? = null, userName: Output<String>? = null)

Properties

Link copied to clipboard

Encrypted storage key.

Link copied to clipboard
val accountType: Output<Either<String, AccountType>>? = null

Type of storage accessed on the storage account.

Link copied to clipboard
val alias: Output<String>? = null

Alias for the storage account.

Link copied to clipboard
val blobDomainName: Output<String>? = null

Blob end point for private clouds.

Link copied to clipboard
val connectionString: Output<String>? = null

Connection string for the storage account. Use this string if username and account key are not specified.

Link copied to clipboard
val deviceName: Output<String>? = null

The device name.

Link copied to clipboard
val name: Output<String>? = null

The storage account credential name.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The resource group name.

Link copied to clipboard
val sslStatus: Output<Either<String, SSLStatus>>? = null

Signifies whether SSL needs to be enabled or not.

Link copied to clipboard
val storageAccountId: Output<String>? = null

Id of the storage account.

Link copied to clipboard
val userName: Output<String>? = null

Username for the storage account.

Functions

Link copied to clipboard
open override fun toJava(): StorageAccountCredentialArgs