DeploymentIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. resources. deployments. models. DeploymentIdentity
- com.
Implements
public final class DeploymentIdentity
implements JsonSerializable<DeploymentIdentity>
The Managed Identity configuration for a deployment.
Constructor Summary
| Constructor | Description |
|---|---|
| DeploymentIdentity() |
Creates an instance of Deployment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Deployment |
type()
Get the type property: The identity type. |
|
Map<String,User |
userAssignedIdentities()
Get the user |
|
Deployment |
withType(DeploymentIdentityType type)
Set the type property: The identity type. |
|
Deployment |
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
DeploymentIdentity
public DeploymentIdentity()
Creates an instance of DeploymentIdentity class.
Method Details
fromJson
public static DeploymentIdentity fromJson(JsonReader jsonReader)
Reads an instance of DeploymentIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public DeploymentIdentityType type()
Get the type property: The identity type.
Returns:
userAssignedIdentities
public Map<String,UserAssignedIdentity> userAssignedIdentities()
Get the userAssignedIdentities property: The set of user assigned identities associated with the resource.
Returns:
withType
public DeploymentIdentity withType(DeploymentIdentityType type)
Set the type property: The identity type.
Parameters:
Returns:
withUserAssignedIdentities
public DeploymentIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The set of user assigned identities associated with the resource.
Parameters:
Returns: