ArmAuthorizationModelFactory.RoleAssignmentScheduleData 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 RoleAssignmentScheduleData.
public static Azure.ResourceManager.Authorization.RoleAssignmentScheduleData RoleAssignmentScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string scope = default, Azure.Core.ResourceIdentifier roleDefinitionId = default, Guid? principalId = default, Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType? principalType = default, Azure.Core.ResourceIdentifier roleAssignmentScheduleRequestId = default, Azure.Core.ResourceIdentifier linkedRoleEligibilityScheduleId = default, Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleAssignmentType? assignmentType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleMemberType? memberType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus? status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string condition = default, string conditionVersion = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties expandedProperties = default);
static member RoleAssignmentScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * Nullable<Guid> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleAssignmentType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleMemberType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties -> Azure.ResourceManager.Authorization.RoleAssignmentScheduleData
Public Shared Function RoleAssignmentScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional scope As String = Nothing, Optional roleDefinitionId As ResourceIdentifier = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional principalType As Nullable(Of RoleManagementPrincipalType) = Nothing, Optional roleAssignmentScheduleRequestId As ResourceIdentifier = Nothing, Optional linkedRoleEligibilityScheduleId As ResourceIdentifier = Nothing, Optional assignmentType As Nullable(Of RoleAssignmentScheduleAssignmentType) = Nothing, Optional memberType As Nullable(Of RoleManagementScheduleMemberType) = Nothing, Optional status As Nullable(Of RoleManagementScheduleStatus) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional expandedProperties As RoleManagementExpandedProperties = Nothing) As RoleAssignmentScheduleData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- scope
- String
The role assignment schedule scope.
- roleDefinitionId
- ResourceIdentifier
The role definition ID.
- principalType
- Nullable<RoleManagementPrincipalType>
The principal type of the assigned principal ID.
- roleAssignmentScheduleRequestId
- ResourceIdentifier
The id of roleAssignmentScheduleRequest used to create this roleAssignmentSchedule.
- linkedRoleEligibilityScheduleId
- ResourceIdentifier
The id of roleEligibilitySchedule used to activated this roleAssignmentSchedule.
- assignmentType
- Nullable<RoleAssignmentScheduleAssignmentType>
Assignment type of the role assignment schedule.
- memberType
- Nullable<RoleManagementScheduleMemberType>
Membership type of the role assignment schedule.
- status
- Nullable<RoleManagementScheduleStatus>
The status of the role assignment schedule.
- startOn
- Nullable<DateTimeOffset>
Start DateTime when role assignment schedule.
- endOn
- Nullable<DateTimeOffset>
End DateTime when role assignment schedule.
- condition
- String
The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.
- conditionVersion
- String
Version of the condition. Currently accepted value is '2.0'.
- createdOn
- Nullable<DateTimeOffset>
DateTime when role assignment schedule was created.
- updatedOn
- Nullable<DateTimeOffset>
DateTime when role assignment schedule was modified.
- expandedProperties
- RoleManagementExpandedProperties
Additional properties of principal, scope and role definition.
Returns
A new RoleAssignmentScheduleData instance for mocking.
Applies to
Azure SDK for .NET