getAccountEncryption

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()));
}
}

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

encryptionKey

The key vault encryption key.

netappAccountId

The ID of the NetApp account where customer managed keys-based encryption is enabled.

systemAssignedIdentityPrincipalId

The ID of the System Assigned Manged Identity.

userAssignedIdentityId

The ID of the User Assigned Managed Identity.


Return

A collection of values returned by getAccountEncryption.

See also

Parameters

argument

Builder for com.pulumi.azure.netapp.kotlin.inputs.GetAccountEncryptionPlainArgs.