get Account Encryption
suspend fun getAccountEncryption(argument: GetAccountEncryptionPlainArgs): GetAccountEncryptionResult
Use this data source to access information about an existing NetApp Account Encryption Resource.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.netapp.NetappFunctions;
import com.pulumi.azure.netapp.inputs.GetAccountEncryptionArgs;
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) {
final var example = NetappFunctions.getAccountEncryption(GetAccountEncryptionArgs.builder()
.netappAccountId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1")
.build());
ctx.export("id", example.applyValue(getAccountEncryptionResult -> getAccountEncryptionResult.id()));
}
}Content copied to clipboard
Return
A collection of values returned by getAccountEncryption.
Parameters
argument
A collection of arguments for invoking getAccountEncryption.
suspend fun getAccountEncryption(encryptionKey: String? = null, netappAccountId: String, systemAssignedIdentityPrincipalId: String? = null, userAssignedIdentityId: String? = null): GetAccountEncryptionResult
Return
A collection of values returned by getAccountEncryption.
See also
Parameters
encryption Key
The key vault encryption key.
netapp Account Id
The ID of the NetApp account where customer managed keys-based encryption is enabled.
system Assigned Identity Principal Id
The ID of the System Assigned Manged Identity.
user Assigned Identity Id
The ID of the User Assigned Managed Identity.
suspend fun getAccountEncryption(argument: suspend GetAccountEncryptionPlainArgsBuilder.() -> Unit): GetAccountEncryptionResult
Return
A collection of values returned by getAccountEncryption.
See also
Parameters
argument
Builder for com.pulumi.azure.netapp.kotlin.inputs.GetAccountEncryptionPlainArgs.