Uses of Class
com.azure.resourcemanager.resources.models.RoleDefinition
Packages that use RoleDefinition
Package
Description
Package containing the data models for ResourceManagementClient.
-
Uses of RoleDefinition in com.azure.resourcemanager.resources.models
Methods in com.azure.resourcemanager.resources.models that return RoleDefinitionModifier and TypeMethodDescriptionstatic RoleDefinitionRoleDefinition.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RoleDefinition from the JsonReader.ProviderPermission.managedByRoleDefinition()Get the managedByRoleDefinition property: Role definition properties.ProviderPermission.roleDefinition()Get the roleDefinition property: Role definition properties.Set the id property: The role definition ID.RoleDefinition.withIsServiceRole(Boolean isServiceRole) Set the isServiceRole property: If this is a service role.Set the name property: The role definition name.RoleDefinition.withPermissions(List<Permission> permissions) Set the permissions property: Role definition permissions.RoleDefinition.withScopes(List<String> scopes) Set the scopes property: Role definition assignable scopes.Methods in com.azure.resourcemanager.resources.models with parameters of type RoleDefinitionModifier and TypeMethodDescriptionProviderPermission.withManagedByRoleDefinition(RoleDefinition managedByRoleDefinition) Set the managedByRoleDefinition property: Role definition properties.ProviderPermission.withRoleDefinition(RoleDefinition roleDefinition) Set the roleDefinition property: Role definition properties.