ArmAuthorizationModelFactory.RoleAssignmentScheduleInstanceData 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 RoleAssignmentScheduleInstanceData.
public static Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceData RoleAssignmentScheduleInstanceData (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 roleAssignmentScheduleId = default, Azure.Core.ResourceIdentifier originRoleAssignmentId = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus? status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.Core.ResourceIdentifier linkedRoleEligibilityScheduleId = default, Azure.Core.ResourceIdentifier linkedRoleEligibilityScheduleInstanceId = default, Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleAssignmentType? assignmentType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleMemberType? memberType = default, string condition = default, string conditionVersion = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties expandedProperties = default);
static member RoleAssignmentScheduleInstanceData : 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.RoleManagementScheduleStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Authorization.Models.RoleAssignmentScheduleAssignmentType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleMemberType> * string * string * Nullable<DateTimeOffset> * Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties -> Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceData
Public Shared Function RoleAssignmentScheduleInstanceData (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 roleAssignmentScheduleId As ResourceIdentifier = Nothing, Optional originRoleAssignmentId As ResourceIdentifier = Nothing, Optional status As Nullable(Of RoleManagementScheduleStatus) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional linkedRoleEligibilityScheduleId As ResourceIdentifier = Nothing, Optional linkedRoleEligibilityScheduleInstanceId As ResourceIdentifier = Nothing, Optional assignmentType As Nullable(Of RoleAssignmentScheduleAssignmentType) = Nothing, Optional memberType As Nullable(Of RoleManagementScheduleMemberType) = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional expandedProperties As RoleManagementExpandedProperties = Nothing) As RoleAssignmentScheduleInstanceData
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.
- roleAssignmentScheduleId
- ResourceIdentifier
Id of the master role assignment schedule.
- originRoleAssignmentId
- ResourceIdentifier
Role Assignment Id in external system.
- status
- Nullable<RoleManagementScheduleStatus>
The status of the role assignment schedule instance.
- startOn
- Nullable<DateTimeOffset>
The startDateTime of the role assignment schedule instance.
- endOn
- Nullable<DateTimeOffset>
The endDateTime of the role assignment schedule instance.
- linkedRoleEligibilityScheduleId
- ResourceIdentifier
roleEligibilityScheduleId used to activate.
- linkedRoleEligibilityScheduleInstanceId
- ResourceIdentifier
roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance.
- assignmentType
- Nullable<RoleAssignmentScheduleAssignmentType>
Assignment type of the role assignment schedule.
- memberType
- Nullable<RoleManagementScheduleMemberType>
Membership type of the 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.
- expandedProperties
- RoleManagementExpandedProperties
Additional properties of principal, scope and role definition.
Returns
A new RoleAssignmentScheduleInstanceData instance for mocking.
Applies to
Azure SDK for .NET