EncryptionPropertiesIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. loadtesting. models. EncryptionPropertiesIdentity
- com.
Implements
public final class EncryptionPropertiesIdentity
implements JsonSerializable<EncryptionPropertiesIdentity>
All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionPropertiesIdentity() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| Type |
type()
Get the type property: Managed identity type to use for accessing encryption key Url. |
| void |
validate()
Validates the instance. |
|
Encryption |
withResourceId(String resourceId)
Set the resource |
|
Encryption |
withType(Type type)
Set the type property: Managed identity type to use for accessing encryption key Url. |
Methods inherited from java.lang.Object
Constructor Details
EncryptionPropertiesIdentity
public EncryptionPropertiesIdentity()
Creates an instance of EncryptionPropertiesIdentity class.
Method Details
fromJson
public static EncryptionPropertiesIdentity fromJson(JsonReader jsonReader)
Reads an instance of EncryptionPropertiesIdentity from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId 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.
Returns:
toJson
type
public Type type()
Get the type property: Managed identity type to use for accessing encryption key Url.
Returns:
validate
public void validate()
Validates the instance.
withResourceId
public EncryptionPropertiesIdentity withResourceId(String resourceId)
Set the resourceId 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.
Parameters:
Returns:
withType
public EncryptionPropertiesIdentity withType(Type type)
Set the type property: Managed identity type to use for accessing encryption key Url.
Parameters:
Returns: