CustomerManagedKeyEncryptionKeyIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. CustomerManagedKeyEncryptionKeyIdentity
- com.
Implements
public final class CustomerManagedKeyEncryptionKeyIdentity
implements JsonSerializable<CustomerManagedKeyEncryptionKeyIdentity>
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerManagedKeyEncryptionKeyIdentity() |
Creates an instance of Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| UUID |
delegatedIdentityClientId()
Get the delegated |
|
static
Customer |
fromJson(JsonReader jsonReader)
Reads an instance of Customer |
|
Identity |
identityType()
Get the identity |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
userAssignedIdentityResourceId()
Get the user |
| void |
validate()
Validates the instance. |
|
Customer |
withDelegatedIdentityClientId(UUID delegatedIdentityClientId)
Set the delegated |
|
Customer |
withIdentityType(IdentityType identityType)
Set the identity |
|
Customer |
withUserAssignedIdentityResourceId(String userAssignedIdentityResourceId)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
CustomerManagedKeyEncryptionKeyIdentity
public CustomerManagedKeyEncryptionKeyIdentity()
Creates an instance of CustomerManagedKeyEncryptionKeyIdentity class.
Method Details
delegatedIdentityClientId
public UUID delegatedIdentityClientId()
Get the delegatedIdentityClientId property: delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only.
Returns:
fromJson
public static CustomerManagedKeyEncryptionKeyIdentity fromJson(JsonReader jsonReader)
Reads an instance of CustomerManagedKeyEncryptionKeyIdentity from the JsonReader.
Parameters:
Returns:
Throws:
identityType
public IdentityType identityType()
Get the identityType property: Values can be systemAssignedIdentity or userAssignedIdentity.
Returns:
toJson
userAssignedIdentityResourceId
public String userAssignedIdentityResourceId()
Get the userAssignedIdentityResourceId property: user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity.
Returns:
validate
public void validate()
Validates the instance.
withDelegatedIdentityClientId
public CustomerManagedKeyEncryptionKeyIdentity withDelegatedIdentityClientId(UUID delegatedIdentityClientId)
Set the delegatedIdentityClientId property: delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only.
Parameters:
Returns:
withIdentityType
public CustomerManagedKeyEncryptionKeyIdentity withIdentityType(IdentityType identityType)
Set the identityType property: Values can be systemAssignedIdentity or userAssignedIdentity.
Parameters:
Returns:
withUserAssignedIdentityResourceId
public CustomerManagedKeyEncryptionKeyIdentity withUserAssignedIdentityResourceId(String userAssignedIdentityResourceId)
Set the userAssignedIdentityResourceId property: user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity.
Parameters:
Returns: