你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoleAssignmentScheduleRequestProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleAssignmentScheduleRequestProperties
- com.
Implements
public final class RoleAssignmentScheduleRequestProperties
implements JsonSerializable<RoleAssignmentScheduleRequestProperties>
Role assignment schedule request properties with scope.
Constructor Summary
Constructor | Description |
---|---|
RoleAssignmentScheduleRequestProperties() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
approvalId()
Get the approval |
String |
condition()
Get the condition property: The conditions on the role assignment. |
String |
conditionVersion()
Get the condition |
Offset |
createdOn()
Get the created |
Expanded |
expandedProperties()
Get the expanded |
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
String |
justification()
Get the justification property: Justification for the role assignment. |
String |
linkedRoleEligibilityScheduleId()
Get the linked |
String |
principalId()
Get the principal |
Principal |
principalType()
Get the principal |
Request |
requestType()
Get the request |
String |
requestorId()
Get the requestor |
String |
roleDefinitionId()
Get the role |
Role |
scheduleInfo()
Get the schedule |
String |
scope()
Get the scope property: The role assignment schedule request scope. |
Status |
status()
Get the status property: The status of the role assignment schedule request. |
String |
targetRoleAssignmentScheduleId()
Get the target |
String |
targetRoleAssignmentScheduleInstanceId()
Get the target |
Role |
ticketInfo()
Get the ticket |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Role |
withCondition(String condition)
Set the condition property: The conditions on the role assignment. |
Role |
withConditionVersion(String conditionVersion)
Set the condition |
Role |
withJustification(String justification)
Set the justification property: Justification for the role assignment. |
Role |
withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)
Set the linked |
Role |
withPrincipalId(String principalId)
Set the principal |
Role |
withRequestType(RequestType requestType)
Set the request |
Role |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
Role |
withScheduleInfo(RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo)
Set the schedule |
Role |
withTargetRoleAssignmentScheduleId(String targetRoleAssignmentScheduleId)
Set the target |
Role |
withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId)
Set the target |
Role |
withTicketInfo(RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo)
Set the ticket |
Methods inherited from java.lang.Object
Constructor Details
RoleAssignmentScheduleRequestProperties
public RoleAssignmentScheduleRequestProperties()
Creates an instance of RoleAssignmentScheduleRequestProperties class.
Method Details
approvalId
public String approvalId()
Get the approvalId property: The approvalId of the role assignment schedule request.
Returns:
condition
public String condition()
Get the condition property: 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'.
Returns:
conditionVersion
public String conditionVersion()
Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
Returns:
createdOn
public OffsetDateTime createdOn()
Get the createdOn property: DateTime when role assignment schedule request was created.
Returns:
expandedProperties
public ExpandedProperties expandedProperties()
Get the expandedProperties property: Additional properties of principal, scope and role definition.
Returns:
fromJson
public static RoleAssignmentScheduleRequestProperties fromJson(JsonReader jsonReader)
Reads an instance of RoleAssignmentScheduleRequestProperties from the JsonReader.
Parameters:
Returns:
Throws:
justification
public String justification()
Get the justification property: Justification for the role assignment.
Returns:
linkedRoleEligibilityScheduleId
public String linkedRoleEligibilityScheduleId()
Get the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.
Returns:
principalId
public String principalId()
Get the principalId property: The principal ID.
Returns:
principalType
public PrincipalType principalType()
Get the principalType property: The principal type of the assigned principal ID.
Returns:
requestType
public RequestType requestType()
Get the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.
Returns:
requestorId
public String requestorId()
Get the requestorId property: Id of the user who created this request.
Returns:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId property: The role definition ID.
Returns:
scheduleInfo
public RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo()
Get the scheduleInfo property: Schedule info of the role assignment schedule.
Returns:
scope
public String scope()
Get the scope property: The role assignment schedule request scope.
Returns:
status
public Status status()
Get the status property: The status of the role assignment schedule request.
Returns:
targetRoleAssignmentScheduleId
public String targetRoleAssignmentScheduleId()
Get the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.
Returns:
targetRoleAssignmentScheduleInstanceId
public String targetRoleAssignmentScheduleInstanceId()
Get the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.
Returns:
ticketInfo
public RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo()
Get the ticketInfo property: Ticket Info of the role assignment.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCondition
public RoleAssignmentScheduleRequestProperties withCondition(String condition)
Set the condition property: 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'.
Parameters:
Returns:
withConditionVersion
public RoleAssignmentScheduleRequestProperties withConditionVersion(String conditionVersion)
Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
Parameters:
Returns:
withJustification
public RoleAssignmentScheduleRequestProperties withJustification(String justification)
Set the justification property: Justification for the role assignment.
Parameters:
Returns:
withLinkedRoleEligibilityScheduleId
public RoleAssignmentScheduleRequestProperties withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)
Set the linkedRoleEligibilityScheduleId property: The linked role eligibility schedule id - to activate an eligibility.
Parameters:
Returns:
withPrincipalId
public RoleAssignmentScheduleRequestProperties withPrincipalId(String principalId)
Set the principalId property: The principal ID.
Parameters:
Returns:
withRequestType
public RoleAssignmentScheduleRequestProperties withRequestType(RequestType requestType)
Set the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.
Parameters:
Returns:
withRoleDefinitionId
public RoleAssignmentScheduleRequestProperties withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition ID.
Parameters:
Returns:
withScheduleInfo
public RoleAssignmentScheduleRequestProperties withScheduleInfo(RoleAssignmentScheduleRequestPropertiesScheduleInfo scheduleInfo)
Set the scheduleInfo property: Schedule info of the role assignment schedule.
Parameters:
Returns:
withTargetRoleAssignmentScheduleId
public RoleAssignmentScheduleRequestProperties withTargetRoleAssignmentScheduleId(String targetRoleAssignmentScheduleId)
Set the targetRoleAssignmentScheduleId property: The resultant role assignment schedule id or the role assignment schedule id being updated.
Parameters:
Returns:
withTargetRoleAssignmentScheduleInstanceId
public RoleAssignmentScheduleRequestProperties withTargetRoleAssignmentScheduleInstanceId(String targetRoleAssignmentScheduleInstanceId)
Set the targetRoleAssignmentScheduleInstanceId property: The role assignment schedule instance id being updated.
Parameters:
Returns:
withTicketInfo
public RoleAssignmentScheduleRequestProperties withTicketInfo(RoleAssignmentScheduleRequestPropertiesTicketInfo ticketInfo)
Set the ticketInfo property: Ticket Info of the role assignment.
Parameters:
Returns: