Class WorkbookResourceIdentity
java.lang.Object
com.azure.resourcemanager.applicationinsights.models.ManagedServiceIdentity
com.azure.resourcemanager.applicationinsights.models.WorkbookResourceIdentity
Identity used for BYOS.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.Set the type property: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).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
-
Constructor Details
-
WorkbookResourceIdentity
public WorkbookResourceIdentity()
-
-
Method Details
-
withType
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.
-