ArmAuthorizationModelFactory.PolicyAssignmentProperties 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.
Initializes a new instance of PolicyAssignmentProperties.
public static Azure.ResourceManager.Authorization.Models.PolicyAssignmentProperties PolicyAssignmentProperties (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier policyId = default, Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal lastModifiedBy = default, DateTimeOffset? lastModifiedOn = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, string roleDefinitionDisplayName = default, Azure.ResourceManager.Authorization.Models.AuthorizationRoleType? roleType = default, Azure.Core.ResourceIdentifier scopeId = default, string scopeDisplayName = default, Azure.ResourceManager.Authorization.Models.RoleManagementScopeType? scopeType = default);
static member PolicyAssignmentProperties : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Authorization.Models.AuthorizationRoleType> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScopeType> -> Azure.ResourceManager.Authorization.Models.PolicyAssignmentProperties
Public Shared Function PolicyAssignmentProperties (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional policyId As ResourceIdentifier = Nothing, Optional lastModifiedBy As RoleManagementPrincipal = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional roleDefinitionDisplayName As String = Nothing, Optional roleType As Nullable(Of AuthorizationRoleType) = Nothing, Optional scopeId As ResourceIdentifier = Nothing, Optional scopeDisplayName As String = Nothing, Optional scopeType As Nullable(Of RoleManagementScopeType) = Nothing) As PolicyAssignmentProperties
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- policyId
- ResourceIdentifier
Id of the policy.
- lastModifiedBy
- RoleManagementPrincipal
The name of the entity last modified it.
- lastModifiedOn
- Nullable<DateTimeOffset>
The last modified date time.
- roleDefinitionId
- ResourceIdentifier
Id of the role definition.
- roleDefinitionDisplayName
- String
Display name of the role definition.
- roleType
- Nullable<AuthorizationRoleType>
The role type.
- scopeId
- ResourceIdentifier
Scope id of the resource.
- scopeDisplayName
- String
Display name of the resource.
- scopeType
- Nullable<RoleManagementScopeType>
Type of the scope.
Returns
A new PolicyAssignmentProperties instance for mocking.
Applies to
Azure SDK for .NET