This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.storage.getEncryptionScope
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Returns the properties for the specified encryption scope. Azure REST API version: 2022-09-01.
Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01.
Using getEncryptionScope
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEncryptionScope(args: GetEncryptionScopeArgs, opts?: InvokeOptions): Promise<GetEncryptionScopeResult>
function getEncryptionScopeOutput(args: GetEncryptionScopeOutputArgs, opts?: InvokeOptions): Output<GetEncryptionScopeResult>
def get_encryption_scope(account_name: Optional[str] = None,
encryption_scope_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEncryptionScopeResult
def get_encryption_scope_output(account_name: Optional[pulumi.Input[str]] = None,
encryption_scope_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEncryptionScopeResult]
func LookupEncryptionScope(ctx *Context, args *LookupEncryptionScopeArgs, opts ...InvokeOption) (*LookupEncryptionScopeResult, error)
func LookupEncryptionScopeOutput(ctx *Context, args *LookupEncryptionScopeOutputArgs, opts ...InvokeOption) LookupEncryptionScopeResultOutput
> Note: This function is named LookupEncryptionScope
in the Go SDK.
public static class GetEncryptionScope
{
public static Task<GetEncryptionScopeResult> InvokeAsync(GetEncryptionScopeArgs args, InvokeOptions? opts = null)
public static Output<GetEncryptionScopeResult> Invoke(GetEncryptionScopeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEncryptionScopeResult> getEncryptionScope(GetEncryptionScopeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:storage:getEncryptionScope
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Encryption
Scope stringName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Encryption
Scope stringName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- encryption
Scope StringName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- encryption
Scope stringName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account_
name str - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- encryption_
scope_ strname - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name String - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- encryption
Scope StringName - The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
getEncryptionScope Result
The following output properties are available:
- Creation
Time string - Gets the creation date and time of the encryption scope in UTC.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified stringTime - Gets the last modification date and time of the encryption scope in UTC.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Key
Vault Pulumi.Properties Azure Native. Storage. Outputs. Encryption Scope Key Vault Properties Response - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
- Require
Infrastructure boolEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
- Source string
- The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
- State string
- The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
- Creation
Time string - Gets the creation date and time of the encryption scope in UTC.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified stringTime - Gets the last modification date and time of the encryption scope in UTC.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Key
Vault EncryptionProperties Scope Key Vault Properties Response - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
- Require
Infrastructure boolEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
- Source string
- The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
- State string
- The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
- creation
Time String - Gets the creation date and time of the encryption scope in UTC.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified StringTime - Gets the last modification date and time of the encryption scope in UTC.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- key
Vault EncryptionProperties Scope Key Vault Properties Response - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
- require
Infrastructure BooleanEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
- source String
- The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
- state String
- The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
- creation
Time string - Gets the creation date and time of the encryption scope in UTC.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified stringTime - Gets the last modification date and time of the encryption scope in UTC.
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- key
Vault EncryptionProperties Scope Key Vault Properties Response - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
- require
Infrastructure booleanEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
- source string
- The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
- state string
- The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
- creation_
time str - Gets the creation date and time of the encryption scope in UTC.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_
modified_ strtime - Gets the last modification date and time of the encryption scope in UTC.
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- key_
vault_ Encryptionproperties Scope Key Vault Properties Response - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
- require_
infrastructure_ boolencryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
- source str
- The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
- state str
- The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
- creation
Time String - Gets the creation date and time of the encryption scope in UTC.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified StringTime - Gets the last modification date and time of the encryption scope in UTC.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- key
Vault Property MapProperties - The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
- require
Infrastructure BooleanEncryption - A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
- source String
- The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
- state String
- The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
Supporting Types
EncryptionScopeKeyVaultPropertiesResponse
- Current
Versioned stringKey Identifier - The object identifier of the current versioned Key Vault Key in use.
- Last
Key stringRotation Timestamp - Timestamp of last rotation of the Key Vault Key.
- Key
Uri string - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.
- Current
Versioned stringKey Identifier - The object identifier of the current versioned Key Vault Key in use.
- Last
Key stringRotation Timestamp - Timestamp of last rotation of the Key Vault Key.
- Key
Uri string - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.
- current
Versioned StringKey Identifier - The object identifier of the current versioned Key Vault Key in use.
- last
Key StringRotation Timestamp - Timestamp of last rotation of the Key Vault Key.
- key
Uri String - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.
- current
Versioned stringKey Identifier - The object identifier of the current versioned Key Vault Key in use.
- last
Key stringRotation Timestamp - Timestamp of last rotation of the Key Vault Key.
- key
Uri string - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.
- current_
versioned_ strkey_ identifier - The object identifier of the current versioned Key Vault Key in use.
- last_
key_ strrotation_ timestamp - Timestamp of last rotation of the Key Vault Key.
- key_
uri str - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.
- current
Versioned StringKey Identifier - The object identifier of the current versioned Key Vault Key in use.
- last
Key StringRotation Timestamp - Timestamp of last rotation of the Key Vault Key.
- key
Uri String - The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi