PartialManagedServiceIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. PartialManagedServiceIdentity
- com.
Implements
public final class PartialManagedServiceIdentity
implements JsonSerializable<PartialManagedServiceIdentity>
Managed service identity (system assigned and/or user assigned identities).
Constructor Summary
| Constructor | Description |
|---|---|
| PartialManagedServiceIdentity() |
Creates an instance of Partial |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Partial |
fromJson(JsonReader jsonReader)
Reads an instance of Partial |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Managed |
type()
Get the type property: Managed service identity (system assigned and/or user assigned identities). |
| Map<String,Object> |
userAssignedIdentities()
Get the user |
| void |
validate()
Validates the instance. |
|
Partial |
withType(ManagedServiceIdentityType type)
Set the type property: Managed service identity (system assigned and/or user assigned identities). |
|
Partial |
withUserAssignedIdentities(Map<String,Object> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
PartialManagedServiceIdentity
public PartialManagedServiceIdentity()
Creates an instance of PartialManagedServiceIdentity class.
Method Details
fromJson
public static PartialManagedServiceIdentity fromJson(JsonReader jsonReader)
Reads an instance of PartialManagedServiceIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public ManagedServiceIdentityType type()
Get the type property: Managed service identity (system assigned and/or user assigned identities).
Returns:
userAssignedIdentities
public Map<String,Object> userAssignedIdentities()
Get the userAssignedIdentities property: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
Returns:
validate
public void validate()
Validates the instance.
withType
public PartialManagedServiceIdentity withType(ManagedServiceIdentityType type)
Set the type property: Managed service identity (system assigned and/or user assigned identities).
Parameters:
Returns:
withUserAssignedIdentities
public PartialManagedServiceIdentity withUserAssignedIdentities(Map<String,Object> userAssignedIdentities)
Set the userAssignedIdentities property: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
Parameters:
Returns: