共用方式為


ArmAuthorizationModelFactory.RoleManagementPolicyProperties Method

Definition

Initializes a new instance of RoleManagementPolicyProperties.

public static Azure.ResourceManager.Authorization.Models.RoleManagementPolicyProperties RoleManagementPolicyProperties (Azure.Core.ResourceIdentifier scopeId = default, string scopeDisplayName = default, Azure.ResourceManager.Authorization.Models.RoleManagementScopeType? scopeType = default);
static member RoleManagementPolicyProperties : Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScopeType> -> Azure.ResourceManager.Authorization.Models.RoleManagementPolicyProperties
Public Shared Function RoleManagementPolicyProperties (Optional scopeId As ResourceIdentifier = Nothing, Optional scopeDisplayName As String = Nothing, Optional scopeType As Nullable(Of RoleManagementScopeType) = Nothing) As RoleManagementPolicyProperties

Parameters

scopeId
ResourceIdentifier

Scope id of the resource.

scopeDisplayName
String

Display name of the resource.

scopeType
Nullable<RoleManagementScopeType>

Type of the scope.

Returns

A new RoleManagementPolicyProperties instance for mocking.

Applies to