Class PartialManagedServiceIdentity
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.PartialManagedServiceIdentity
-
public class PartialManagedServiceIdentity extends Object
Managed service identity (system assigned and/or user assigned identities).
-
-
Constructor Summary
Constructors Constructor Description PartialManagedServiceIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedServiceIdentityType
type()
Get the type property: Managed service identity (system assigned and/or user assigned identities).Map<String,Object>
userAssignedIdentities()
Get the userAssignedIdentities property: The set of user assigned identities associated with the resource.void
validate()
Validates the instance.PartialManagedServiceIdentity
withType(ManagedServiceIdentityType type)
Set the type property: Managed service identity (system assigned and/or user assigned identities).PartialManagedServiceIdentity
withUserAssignedIdentities(Map<String,Object> userAssignedIdentities)
Set the userAssignedIdentities property: The set of user assigned identities associated with the resource.
-
-
-
Method Detail
-
type
public ManagedServiceIdentityType type()
Get the type property: Managed service identity (system assigned and/or user assigned identities).- Returns:
- the type value.
-
withType
public PartialManagedServiceIdentity withType(ManagedServiceIdentityType type)
Set the type property: Managed service identity (system assigned and/or user assigned identities).- Parameters:
type
- the type value to set.- Returns:
- the PartialManagedServiceIdentity object itself.
-
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:
- the userAssignedIdentities value.
-
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:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the PartialManagedServiceIdentity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-