Class WorkbookResourceIdentity
- java.lang.Object
-
- com.azure.resourcemanager.applicationinsights.models.ManagedServiceIdentity
-
- com.azure.resourcemanager.applicationinsights.models.WorkbookResourceIdentity
-
public class WorkbookResourceIdentity extends ManagedServiceIdentity
Identity used for BYOS.
-
-
Constructor Summary
Constructors Constructor Description WorkbookResourceIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.WorkbookResourceIdentity
withType(ManagedServiceIdentityType type)
Set the type property: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).WorkbookResourceIdentity
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The set of user assigned identities associated with the resource.-
Methods inherited from class com.azure.resourcemanager.applicationinsights.models.ManagedServiceIdentity
principalId, tenantId, type, userAssignedIdentities
-
-
-
-
Method Detail
-
withType
public WorkbookResourceIdentity withType(ManagedServiceIdentityType type)
Set the type property: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).- Overrides:
withType
in classManagedServiceIdentity
- Parameters:
type
- the type value to set.- Returns:
- the ManagedServiceIdentity object itself.
-
withUserAssignedIdentities
public WorkbookResourceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> 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.- Overrides:
withUserAssignedIdentities
in classManagedServiceIdentity
- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the ManagedServiceIdentity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classManagedServiceIdentity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-