你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoleAssignmentScheduleInstanceInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleAssignmentScheduleInstanceInner
- com.
Implements
public final class RoleAssignmentScheduleInstanceInner
implements JsonSerializable<RoleAssignmentScheduleInstanceInner>
Information about current or upcoming role assignment schedule instance.
Constructor Summary
Constructor | Description |
---|---|
RoleAssignmentScheduleInstanceInner() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
Assignment |
assignmentType()
Get the assignment |
String |
condition()
Get the condition property: The conditions on the role assignment. |
String |
conditionVersion()
Get the condition |
Offset |
createdOn()
Get the created |
Offset |
endDateTime()
Get the end |
Expanded |
expandedProperties()
Get the expanded |
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
String |
id()
Get the id property: The role assignment schedule instance ID. |
String |
linkedRoleEligibilityScheduleId()
Get the linked |
String |
linkedRoleEligibilityScheduleInstanceId()
Get the linked |
Member |
memberType()
Get the member |
String |
name()
Get the name property: The role assignment schedule instance name. |
String |
originRoleAssignmentId()
Get the origin |
String |
principalId()
Get the principal |
Principal |
principalType()
Get the principal |
String |
roleAssignmentScheduleId()
Get the role |
String |
roleDefinitionId()
Get the role |
String |
scope()
Get the scope property: The role assignment schedule scope. |
Offset |
startDateTime()
Get the start |
Status |
status()
Get the status property: The status of the role assignment schedule instance. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The role assignment schedule instance type. |
void |
validate()
Validates the instance. |
Role |
withAssignmentType(AssignmentType assignmentType)
Set the assignment |
Role |
withCondition(String condition)
Set the condition property: The conditions on the role assignment. |
Role |
withConditionVersion(String conditionVersion)
Set the condition |
Role |
withCreatedOn(OffsetDateTime createdOn)
Set the created |
Role |
withEndDateTime(OffsetDateTime endDateTime)
Set the end |
Role |
withExpandedProperties(ExpandedProperties expandedProperties)
Set the expanded |
Role |
withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)
Set the linked |
Role |
withLinkedRoleEligibilityScheduleInstanceId(String linkedRoleEligibilityScheduleInstanceId)
Set the linked |
Role |
withMemberType(MemberType memberType)
Set the member |
Role |
withOriginRoleAssignmentId(String originRoleAssignmentId)
Set the origin |
Role |
withPrincipalId(String principalId)
Set the principal |
Role |
withPrincipalType(PrincipalType principalType)
Set the principal |
Role |
withRoleAssignmentScheduleId(String roleAssignmentScheduleId)
Set the role |
Role |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
Role |
withScope(String scope)
Set the scope property: The role assignment schedule scope. |
Role |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Role |
withStatus(Status status)
Set the status property: The status of the role assignment schedule instance. |
Methods inherited from java.lang.Object
Constructor Details
RoleAssignmentScheduleInstanceInner
public RoleAssignmentScheduleInstanceInner()
Creates an instance of RoleAssignmentScheduleInstanceInner class.
Method Details
assignmentType
public AssignmentType assignmentType()
Get the assignmentType property: Assignment type of the role assignment schedule.
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 was created.
Returns:
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: The endDateTime of the role assignment schedule instance.
Returns:
expandedProperties
public ExpandedProperties expandedProperties()
Get the expandedProperties property: Additional properties of principal, scope and role definition.
Returns:
fromJson
public static RoleAssignmentScheduleInstanceInner fromJson(JsonReader jsonReader)
Reads an instance of RoleAssignmentScheduleInstanceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The role assignment schedule instance ID.
Returns:
linkedRoleEligibilityScheduleId
public String linkedRoleEligibilityScheduleId()
Get the linkedRoleEligibilityScheduleId property: roleEligibilityScheduleId used to activate.
Returns:
linkedRoleEligibilityScheduleInstanceId
public String linkedRoleEligibilityScheduleInstanceId()
Get the linkedRoleEligibilityScheduleInstanceId property: roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance.
Returns:
memberType
public MemberType memberType()
Get the memberType property: Membership type of the role assignment schedule.
Returns:
name
public String name()
Get the name property: The role assignment schedule instance name.
Returns:
originRoleAssignmentId
public String originRoleAssignmentId()
Get the originRoleAssignmentId property: Role Assignment Id in external system.
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:
roleAssignmentScheduleId
public String roleAssignmentScheduleId()
Get the roleAssignmentScheduleId property: Id of the master role assignment schedule.
Returns:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId property: The role definition ID.
Returns:
scope
public String scope()
Get the scope property: The role assignment schedule scope.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: The startDateTime of the role assignment schedule instance.
Returns:
status
public Status status()
Get the status property: The status of the role assignment schedule instance.
Returns:
toJson
type
public String type()
Get the type property: The role assignment schedule instance type.
Returns:
validate
public void validate()
Validates the instance.
withAssignmentType
public RoleAssignmentScheduleInstanceInner withAssignmentType(AssignmentType assignmentType)
Set the assignmentType property: Assignment type of the role assignment schedule.
Parameters:
Returns:
withCondition
public RoleAssignmentScheduleInstanceInner 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 RoleAssignmentScheduleInstanceInner withConditionVersion(String conditionVersion)
Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
Parameters:
Returns:
withCreatedOn
public RoleAssignmentScheduleInstanceInner withCreatedOn(OffsetDateTime createdOn)
Set the createdOn property: DateTime when role assignment schedule was created.
Parameters:
Returns:
withEndDateTime
public RoleAssignmentScheduleInstanceInner withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The endDateTime of the role assignment schedule instance.
Parameters:
Returns:
withExpandedProperties
public RoleAssignmentScheduleInstanceInner withExpandedProperties(ExpandedProperties expandedProperties)
Set the expandedProperties property: Additional properties of principal, scope and role definition.
Parameters:
Returns:
withLinkedRoleEligibilityScheduleId
public RoleAssignmentScheduleInstanceInner withLinkedRoleEligibilityScheduleId(String linkedRoleEligibilityScheduleId)
Set the linkedRoleEligibilityScheduleId property: roleEligibilityScheduleId used to activate.
Parameters:
Returns:
withLinkedRoleEligibilityScheduleInstanceId
public RoleAssignmentScheduleInstanceInner withLinkedRoleEligibilityScheduleInstanceId(String linkedRoleEligibilityScheduleInstanceId)
Set the linkedRoleEligibilityScheduleInstanceId property: roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance.
Parameters:
Returns:
withMemberType
public RoleAssignmentScheduleInstanceInner withMemberType(MemberType memberType)
Set the memberType property: Membership type of the role assignment schedule.
Parameters:
Returns:
withOriginRoleAssignmentId
public RoleAssignmentScheduleInstanceInner withOriginRoleAssignmentId(String originRoleAssignmentId)
Set the originRoleAssignmentId property: Role Assignment Id in external system.
Parameters:
Returns:
withPrincipalId
public RoleAssignmentScheduleInstanceInner withPrincipalId(String principalId)
Set the principalId property: The principal ID.
Parameters:
Returns:
withPrincipalType
public RoleAssignmentScheduleInstanceInner withPrincipalType(PrincipalType principalType)
Set the principalType property: The principal type of the assigned principal ID.
Parameters:
Returns:
withRoleAssignmentScheduleId
public RoleAssignmentScheduleInstanceInner withRoleAssignmentScheduleId(String roleAssignmentScheduleId)
Set the roleAssignmentScheduleId property: Id of the master role assignment schedule.
Parameters:
Returns:
withRoleDefinitionId
public RoleAssignmentScheduleInstanceInner withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition ID.
Parameters:
Returns:
withScope
public RoleAssignmentScheduleInstanceInner withScope(String scope)
Set the scope property: The role assignment schedule scope.
Parameters:
Returns:
withStartDateTime
public RoleAssignmentScheduleInstanceInner withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The startDateTime of the role assignment schedule instance.
Parameters:
Returns:
withStatus
public RoleAssignmentScheduleInstanceInner withStatus(Status status)
Set the status property: The status of the role assignment schedule instance.
Parameters:
Returns: