ArmCommvaultContentStoreModelFactory.CommvaultRoleAssignment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CommvaultRoleAssignment(CommvaultRoleName, IEnumerable<CommvaultRolePrincipal>) |
A role assignment mapping a Commvault role to one or more Entra entities (users or groups). |
| CommvaultRoleAssignment(Nullable<CommvaultRoleName>, IEnumerable<CommvaultEntityInfo>) |
CommvaultRoleAssignment(CommvaultRoleName, IEnumerable<CommvaultRolePrincipal>)
A role assignment mapping a Commvault role to one or more Entra entities (users or groups).
public static Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleAssignment CommvaultRoleAssignment(Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleName roleName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRolePrincipal> principals = default);
static member CommvaultRoleAssignment : Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleName * seq<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRolePrincipal> -> Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleAssignment
Public Shared Function CommvaultRoleAssignment (Optional roleName As CommvaultRoleName = Nothing, Optional principals As IEnumerable(Of CommvaultRolePrincipal) = Nothing) As CommvaultRoleAssignment
Parameters
- roleName
- CommvaultRoleName
The name of the Commvault role.
- principals
- IEnumerable<CommvaultRolePrincipal>
The Entra entities (users or groups) assigned to this role.
Returns
A new CommvaultRoleAssignment instance for mocking.
Applies to
CommvaultRoleAssignment(Nullable<CommvaultRoleName>, IEnumerable<CommvaultEntityInfo>)
public static Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleAssignment CommvaultRoleAssignment(Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleName? roleName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultEntityInfo> entities = default);
static member CommvaultRoleAssignment : Nullable<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleName> * seq<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultEntityInfo> -> Azure.ResourceManager.CommvaultContentStore.Models.CommvaultRoleAssignment
Public Shared Function CommvaultRoleAssignment (Optional roleName As Nullable(Of CommvaultRoleName) = Nothing, Optional entities As IEnumerable(Of CommvaultEntityInfo) = Nothing) As CommvaultRoleAssignment
Parameters
- roleName
- Nullable<CommvaultRoleName>
The name of the Commvault role.
- entities
- IEnumerable<CommvaultEntityInfo>
The Entra entities (users or groups) assigned to this role.
Returns
A new CommvaultRoleAssignment instance for mocking.