你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoleEligibilityScheduleRequestInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleEligibilityScheduleRequestInner
- com.
Implements
public final class RoleEligibilityScheduleRequestInner
implements JsonSerializable<RoleEligibilityScheduleRequestInner>
Role Eligibility schedule request.
Constructor Summary
Constructor | Description |
---|---|
RoleEligibilityScheduleRequestInner() |
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 |
id()
Get the id property: The role eligibility schedule request ID. |
String |
justification()
Get the justification property: Justification for the role eligibility. |
String |
name()
Get the name property: The role eligibility schedule request name. |
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 eligibility schedule request scope. |
Status |
status()
Get the status property: The status of the role eligibility schedule request. |
String |
targetRoleEligibilityScheduleId()
Get the target |
String |
targetRoleEligibilityScheduleInstanceId()
Get the target |
Role |
ticketInfo()
Get the ticket |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The role eligibility schedule request type. |
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 eligibility. |
Role |
withPrincipalId(String principalId)
Set the principal |
Role |
withRequestType(RequestType requestType)
Set the request |
Role |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
Role |
withScheduleInfo(RoleEligibilityScheduleRequestPropertiesScheduleInfo scheduleInfo)
Set the schedule |
Role |
withTargetRoleEligibilityScheduleId(String targetRoleEligibilityScheduleId)
Set the target |
Role |
withTargetRoleEligibilityScheduleInstanceId(String targetRoleEligibilityScheduleInstanceId)
Set the target |
Role |
withTicketInfo(RoleEligibilityScheduleRequestPropertiesTicketInfo ticketInfo)
Set the ticket |
Methods inherited from java.lang.Object
Constructor Details
RoleEligibilityScheduleRequestInner
public RoleEligibilityScheduleRequestInner()
Creates an instance of RoleEligibilityScheduleRequestInner class.
Method Details
approvalId
public String approvalId()
Get the approvalId property: The approvalId of the role eligibility 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 eligibility 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 RoleEligibilityScheduleRequestInner fromJson(JsonReader jsonReader)
Reads an instance of RoleEligibilityScheduleRequestInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The role eligibility schedule request ID.
Returns:
justification
public String justification()
Get the justification property: Justification for the role eligibility.
Returns:
name
public String name()
Get the name property: The role eligibility schedule request name.
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 RoleEligibilityScheduleRequestPropertiesScheduleInfo scheduleInfo()
Get the scheduleInfo property: Schedule info of the role eligibility schedule.
Returns:
scope
public String scope()
Get the scope property: The role eligibility schedule request scope.
Returns:
status
public Status status()
Get the status property: The status of the role eligibility schedule request.
Returns:
targetRoleEligibilityScheduleId
public String targetRoleEligibilityScheduleId()
Get the targetRoleEligibilityScheduleId property: The resultant role eligibility schedule id or the role eligibility schedule id being updated.
Returns:
targetRoleEligibilityScheduleInstanceId
public String targetRoleEligibilityScheduleInstanceId()
Get the targetRoleEligibilityScheduleInstanceId property: The role eligibility schedule instance id being updated.
Returns:
ticketInfo
public RoleEligibilityScheduleRequestPropertiesTicketInfo ticketInfo()
Get the ticketInfo property: Ticket Info of the role eligibility.
Returns:
toJson
type
public String type()
Get the type property: The role eligibility schedule request type.
Returns:
validate
public void validate()
Validates the instance.
withCondition
public RoleEligibilityScheduleRequestInner 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 RoleEligibilityScheduleRequestInner withConditionVersion(String conditionVersion)
Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
Parameters:
Returns:
withJustification
public RoleEligibilityScheduleRequestInner withJustification(String justification)
Set the justification property: Justification for the role eligibility.
Parameters:
Returns:
withPrincipalId
public RoleEligibilityScheduleRequestInner withPrincipalId(String principalId)
Set the principalId property: The principal ID.
Parameters:
Returns:
withRequestType
public RoleEligibilityScheduleRequestInner withRequestType(RequestType requestType)
Set the requestType property: The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc.
Parameters:
Returns:
withRoleDefinitionId
public RoleEligibilityScheduleRequestInner withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition ID.
Parameters:
Returns:
withScheduleInfo
public RoleEligibilityScheduleRequestInner withScheduleInfo(RoleEligibilityScheduleRequestPropertiesScheduleInfo scheduleInfo)
Set the scheduleInfo property: Schedule info of the role eligibility schedule.
Parameters:
Returns:
withTargetRoleEligibilityScheduleId
public RoleEligibilityScheduleRequestInner withTargetRoleEligibilityScheduleId(String targetRoleEligibilityScheduleId)
Set the targetRoleEligibilityScheduleId property: The resultant role eligibility schedule id or the role eligibility schedule id being updated.
Parameters:
Returns:
withTargetRoleEligibilityScheduleInstanceId
public RoleEligibilityScheduleRequestInner withTargetRoleEligibilityScheduleInstanceId(String targetRoleEligibilityScheduleInstanceId)
Set the targetRoleEligibilityScheduleInstanceId property: The role eligibility schedule instance id being updated.
Parameters:
Returns:
withTicketInfo
public RoleEligibilityScheduleRequestInner withTicketInfo(RoleEligibilityScheduleRequestPropertiesTicketInfo ticketInfo)
Set the ticketInfo property: Ticket Info of the role eligibility.
Parameters:
Returns: