These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.sql.getEncryptionProtector
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a server encryption protector. API Version: 2020-11-01-preview.
Using getEncryptionProtector
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 getEncryptionProtector(args: GetEncryptionProtectorArgs, opts?: InvokeOptions): Promise<GetEncryptionProtectorResult>
function getEncryptionProtectorOutput(args: GetEncryptionProtectorOutputArgs, opts?: InvokeOptions): Output<GetEncryptionProtectorResult>
def get_encryption_protector(encryption_protector_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEncryptionProtectorResult
def get_encryption_protector_output(encryption_protector_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEncryptionProtectorResult]
func LookupEncryptionProtector(ctx *Context, args *LookupEncryptionProtectorArgs, opts ...InvokeOption) (*LookupEncryptionProtectorResult, error)
func LookupEncryptionProtectorOutput(ctx *Context, args *LookupEncryptionProtectorOutputArgs, opts ...InvokeOption) LookupEncryptionProtectorResultOutput
> Note: This function is named LookupEncryptionProtector
in the Go SDK.
public static class GetEncryptionProtector
{
public static Task<GetEncryptionProtectorResult> InvokeAsync(GetEncryptionProtectorArgs args, InvokeOptions? opts = null)
public static Output<GetEncryptionProtectorResult> Invoke(GetEncryptionProtectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEncryptionProtectorResult> getEncryptionProtector(GetEncryptionProtectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getEncryptionProtector
arguments:
# arguments dictionary
The following arguments are supported:
- Encryption
Protector stringName - The name of the encryption protector to be retrieved.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server.
- Encryption
Protector stringName - The name of the encryption protector to be retrieved.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server.
- encryption
Protector StringName - The name of the encryption protector to be retrieved.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server.
- encryption
Protector stringName - The name of the encryption protector to be retrieved.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name string - The name of the server.
- encryption_
protector_ strname - The name of the encryption protector to be retrieved.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server_
name str - The name of the server.
- encryption
Protector StringName - The name of the encryption protector to be retrieved.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server.
getEncryptionProtector Result
The following output properties are available:
- Id string
- Resource ID.
- Kind string
- Kind of encryption protector. This is metadata used for the Azure portal experience.
- Location string
- Resource location.
- Name string
- Resource name.
- Server
Key stringType - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
- Subregion string
- Subregion of the encryption protector.
- Thumbprint string
- Thumbprint of the server key.
- Type string
- Resource type.
- Uri string
- The URI of the server key.
- Auto
Rotation boolEnabled - Key auto rotation opt-in flag. Either true or false.
- Server
Key stringName - The name of the server key.
- Id string
- Resource ID.
- Kind string
- Kind of encryption protector. This is metadata used for the Azure portal experience.
- Location string
- Resource location.
- Name string
- Resource name.
- Server
Key stringType - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
- Subregion string
- Subregion of the encryption protector.
- Thumbprint string
- Thumbprint of the server key.
- Type string
- Resource type.
- Uri string
- The URI of the server key.
- Auto
Rotation boolEnabled - Key auto rotation opt-in flag. Either true or false.
- Server
Key stringName - The name of the server key.
- id String
- Resource ID.
- kind String
- Kind of encryption protector. This is metadata used for the Azure portal experience.
- location String
- Resource location.
- name String
- Resource name.
- server
Key StringType - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
- subregion String
- Subregion of the encryption protector.
- thumbprint String
- Thumbprint of the server key.
- type String
- Resource type.
- uri String
- The URI of the server key.
- auto
Rotation BooleanEnabled - Key auto rotation opt-in flag. Either true or false.
- server
Key StringName - The name of the server key.
- id string
- Resource ID.
- kind string
- Kind of encryption protector. This is metadata used for the Azure portal experience.
- location string
- Resource location.
- name string
- Resource name.
- server
Key stringType - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
- subregion string
- Subregion of the encryption protector.
- thumbprint string
- Thumbprint of the server key.
- type string
- Resource type.
- uri string
- The URI of the server key.
- auto
Rotation booleanEnabled - Key auto rotation opt-in flag. Either true or false.
- server
Key stringName - The name of the server key.
- id str
- Resource ID.
- kind str
- Kind of encryption protector. This is metadata used for the Azure portal experience.
- location str
- Resource location.
- name str
- Resource name.
- server_
key_ strtype - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
- subregion str
- Subregion of the encryption protector.
- thumbprint str
- Thumbprint of the server key.
- type str
- Resource type.
- uri str
- The URI of the server key.
- auto_
rotation_ boolenabled - Key auto rotation opt-in flag. Either true or false.
- server_
key_ strname - The name of the server key.
- id String
- Resource ID.
- kind String
- Kind of encryption protector. This is metadata used for the Azure portal experience.
- location String
- Resource location.
- name String
- Resource name.
- server
Key StringType - The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
- subregion String
- Subregion of the encryption protector.
- thumbprint String
- Thumbprint of the server key.
- type String
- Resource type.
- uri String
- The URI of the server key.
- auto
Rotation BooleanEnabled - Key auto rotation opt-in flag. Either true or false.
- server
Key StringName - The name of the server key.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi