azure-native-v2.storsimple.StorageAccountCredential
Explore with Pulumi AI
The storage account credential. Azure REST API version: 2017-06-01. Prior API version in Azure Native 1.x: 2017-06-01.
Create StorageAccountCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageAccountCredential(name: string, args: StorageAccountCredentialArgs, opts?: CustomResourceOptions);
@overload
def StorageAccountCredential(resource_name: str,
args: StorageAccountCredentialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageAccountCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
end_point: Optional[str] = None,
manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
ssl_status: Optional[SslStatus] = None,
access_key: Optional[AsymmetricEncryptedSecretArgs] = None,
kind: Optional[Kind] = None,
storage_account_credential_name: Optional[str] = None)
func NewStorageAccountCredential(ctx *Context, name string, args StorageAccountCredentialArgs, opts ...ResourceOption) (*StorageAccountCredential, error)
public StorageAccountCredential(string name, StorageAccountCredentialArgs args, CustomResourceOptions? opts = null)
public StorageAccountCredential(String name, StorageAccountCredentialArgs args)
public StorageAccountCredential(String name, StorageAccountCredentialArgs args, CustomResourceOptions options)
type: azure-native:storsimple:StorageAccountCredential
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. StorageAccountCredentialArgs - 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. StorageAccountCredentialArgs - 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. StorageAccountCredentialArgs - 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. StorageAccountCredentialArgs - 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. StorageAccountCredentialArgs - 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 azure_nativeStorageAccountCredentialResource = new AzureNative.Storsimple.StorageAccountCredential("azure-nativeStorageAccountCredentialResource", new()
{
EndPoint = "string",
ManagerName = "string",
ResourceGroupName = "string",
SslStatus = "Enabled",
AccessKey =
{
{ "encryptionAlgorithm", "None" },
{ "value", "string" },
{ "encryptionCertThumbprint", "string" },
},
Kind = "Series8000",
StorageAccountCredentialName = "string",
});
example, err := storsimple.NewStorageAccountCredential(ctx, "azure-nativeStorageAccountCredentialResource", &storsimple.StorageAccountCredentialArgs{
EndPoint: "string",
ManagerName: "string",
ResourceGroupName: "string",
SslStatus: "Enabled",
AccessKey: map[string]interface{}{
"encryptionAlgorithm": "None",
"value": "string",
"encryptionCertThumbprint": "string",
},
Kind: "Series8000",
StorageAccountCredentialName: "string",
})
var azure_nativeStorageAccountCredentialResource = new StorageAccountCredential("azure-nativeStorageAccountCredentialResource", StorageAccountCredentialArgs.builder()
.endPoint("string")
.managerName("string")
.resourceGroupName("string")
.sslStatus("Enabled")
.accessKey(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.kind("Series8000")
.storageAccountCredentialName("string")
.build());
azure_native_storage_account_credential_resource = azure_native.storsimple.StorageAccountCredential("azure-nativeStorageAccountCredentialResource",
end_point=string,
manager_name=string,
resource_group_name=string,
ssl_status=Enabled,
access_key={
encryptionAlgorithm: None,
value: string,
encryptionCertThumbprint: string,
},
kind=Series8000,
storage_account_credential_name=string)
const azure_nativeStorageAccountCredentialResource = new azure_native.storsimple.StorageAccountCredential("azure-nativeStorageAccountCredentialResource", {
endPoint: "string",
managerName: "string",
resourceGroupName: "string",
sslStatus: "Enabled",
accessKey: {
encryptionAlgorithm: "None",
value: "string",
encryptionCertThumbprint: "string",
},
kind: "Series8000",
storageAccountCredentialName: "string",
});
type: azure-native:storsimple:StorageAccountCredential
properties:
accessKey:
encryptionAlgorithm: None
encryptionCertThumbprint: string
value: string
endPoint: string
kind: Series8000
managerName: string
resourceGroupName: string
sslStatus: Enabled
storageAccountCredentialName: string
StorageAccountCredential 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 StorageAccountCredential resource accepts the following input properties:
- End
Point This property is required. string - The storage endpoint
- 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
- Ssl
Status This property is required. Pulumi.Azure Native. Stor Simple. Ssl Status - Signifies whether SSL needs to be enabled or not.
- Access
Key Pulumi.Azure Native. Stor Simple. Inputs. Asymmetric Encrypted Secret - The details of the storage account password.
- Kind
Pulumi.
Azure Native. Stor Simple. Kind - The Kind of the object. Currently only Series8000 is supported
- Storage
Account Credential Name Changes to this property will trigger replacement.
- The storage account credential name.
- End
Point This property is required. string - The storage endpoint
- 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
- Ssl
Status This property is required. SslStatus - Signifies whether SSL needs to be enabled or not.
- Access
Key AsymmetricEncrypted Secret Args - The details of the storage account password.
- Kind Kind
- The Kind of the object. Currently only Series8000 is supported
- Storage
Account Credential Name Changes to this property will trigger replacement.
- The storage account credential name.
- end
Point This property is required. String - The storage endpoint
- 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
- ssl
Status This property is required. SslStatus - Signifies whether SSL needs to be enabled or not.
- access
Key AsymmetricEncrypted Secret - The details of the storage account password.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- storage
Account Credential Name Changes to this property will trigger replacement.
- The storage account credential name.
- end
Point This property is required. string - The storage endpoint
- 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
- ssl
Status This property is required. SslStatus - Signifies whether SSL needs to be enabled or not.
- access
Key AsymmetricEncrypted Secret - The details of the storage account password.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- storage
Account Credential Name Changes to this property will trigger replacement.
- The storage account credential name.
- end_
point This property is required. str - The storage endpoint
- 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
- ssl_
status This property is required. SslStatus - Signifies whether SSL needs to be enabled or not.
- access_
key AsymmetricEncrypted Secret Args - The details of the storage account password.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- storage_
account_ credential_ name Changes to this property will trigger replacement.
- The storage account credential name.
- end
Point This property is required. String - The storage endpoint
- 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
- ssl
Status This property is required. "Enabled" | "Disabled" - Signifies whether SSL needs to be enabled or not.
- access
Key Property Map - The details of the storage account password.
- kind "Series8000"
- The Kind of the object. Currently only Series8000 is supported
- storage
Account Credential Name Changes to this property will trigger replacement.
- The storage account credential name.
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageAccountCredential resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the object.
- Type string
- The hierarchical type of the object.
- Volumes
Count int - The count of volumes using this storage account credential.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the object.
- Type string
- The hierarchical type of the object.
- Volumes
Count int - The count of volumes using this storage account credential.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the object.
- type String
- The hierarchical type of the object.
- volumes
Count Integer - The count of volumes using this storage account credential.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the object.
- type string
- The hierarchical type of the object.
- volumes
Count number - The count of volumes using this storage account credential.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the object.
- type str
- The hierarchical type of the object.
- volumes_
count int - The count of volumes using this storage account credential.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the object.
- type String
- The hierarchical type of the object.
- volumes
Count Number - The count of volumes using this storage account credential.
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
SslStatus, SslStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Ssl
Status Enabled - Enabled
- Ssl
Status Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storsimple:StorageAccountCredential SACForTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/storageAccountCredentials/{storageAccountCredentialName}
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