ArmAuthorizationModelFactory.RoleEligibilityScheduleRequestData 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 RoleEligibilityScheduleRequestData.
public static Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestData RoleEligibilityScheduleRequestData (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.ResourceManager.Authorization.Models.RoleManagementScheduleRequestType? requestType = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus? status = default, string approvalId = default, Azure.Core.ResourceIdentifier targetRoleEligibilityScheduleId = default, Azure.Core.ResourceIdentifier targetRoleEligibilityScheduleInstanceId = default, string justification = default, Azure.ResourceManager.Authorization.Models.RoleEligibilityScheduleRequestPropertiesTicketInfo ticketInfo = default, string condition = default, string conditionVersion = default, DateTimeOffset? createdOn = default, Guid? requestorId = default, Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties expandedProperties = default, DateTimeOffset? startOn = default, Azure.ResourceManager.Authorization.Models.RoleManagementScheduleExpirationType? expirationType = default, DateTimeOffset? endOn = default, TimeSpan? duration = default);
static member RoleEligibilityScheduleRequestData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * Nullable<Guid> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleRequestType> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleStatus> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.Authorization.Models.RoleEligibilityScheduleRequestPropertiesTicketInfo * string * string * Nullable<DateTimeOffset> * Nullable<Guid> * Azure.ResourceManager.Authorization.Models.RoleManagementExpandedProperties * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementScheduleExpirationType> * Nullable<DateTimeOffset> * Nullable<TimeSpan> -> Azure.ResourceManager.Authorization.RoleEligibilityScheduleRequestData
Public Shared Function RoleEligibilityScheduleRequestData (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 requestType As Nullable(Of RoleManagementScheduleRequestType) = Nothing, Optional status As Nullable(Of RoleManagementScheduleStatus) = Nothing, Optional approvalId As String = Nothing, Optional targetRoleEligibilityScheduleId As ResourceIdentifier = Nothing, Optional targetRoleEligibilityScheduleInstanceId As ResourceIdentifier = Nothing, Optional justification As String = Nothing, Optional ticketInfo As RoleEligibilityScheduleRequestPropertiesTicketInfo = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional requestorId As Nullable(Of Guid) = Nothing, Optional expandedProperties As RoleManagementExpandedProperties = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional expirationType As Nullable(Of RoleManagementScheduleExpirationType) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing) As RoleEligibilityScheduleRequestData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- scope
- String
The role eligibility schedule request scope.
- roleDefinitionId
- ResourceIdentifier
The role definition ID.
- principalType
- Nullable<RoleManagementPrincipalType>
The principal type of the assigned principal ID.
- requestType
- Nullable<RoleManagementScheduleRequestType>
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.
- status
- Nullable<RoleManagementScheduleStatus>
The status of the role eligibility schedule request.
- approvalId
- String
The approvalId of the role eligibility schedule request.
- targetRoleEligibilityScheduleId
- ResourceIdentifier
The resultant role eligibility schedule id or the role eligibility schedule id being updated.
- targetRoleEligibilityScheduleInstanceId
- ResourceIdentifier
The role eligibility schedule instance id being updated.
- justification
- String
Justification for the role eligibility.
Ticket Info of the role eligibility.
- 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 eligibility schedule request was created.
- expandedProperties
- RoleManagementExpandedProperties
Additional properties of principal, scope and role definition.
- startOn
- Nullable<DateTimeOffset>
Start DateTime of the role eligibility schedule.
- expirationType
- Nullable<RoleManagementScheduleExpirationType>
Type of the role eligibility schedule expiration.
- endOn
- Nullable<DateTimeOffset>
End DateTime of the role eligibility schedule.
Returns
A new RoleEligibilityScheduleRequestData instance for mocking.