你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoleEligibilityScheduleInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleEligibilityScheduleInner
- com.
Implements
public final class RoleEligibilityScheduleInner
implements JsonSerializable<RoleEligibilityScheduleInner>
Role eligibility schedule.
Constructor Summary
Constructor | Description |
---|---|
RoleEligibilityScheduleInner() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
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 eligibility schedule Id. |
Member |
memberType()
Get the member |
String |
name()
Get the name property: The role eligibility schedule name. |
String |
principalId()
Get the principal |
Principal |
principalType()
Get the principal |
String |
roleDefinitionId()
Get the role |
String |
roleEligibilityScheduleRequestId()
Get the role |
String |
scope()
Get the scope property: The role eligibility schedule scope. |
Offset |
startDateTime()
Get the start |
Status |
status()
Get the status property: The status of the role eligibility schedule. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The role eligibility schedule type. |
Offset |
updatedOn()
Get the updated |
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 |
withCreatedOn(OffsetDateTime createdOn)
Set the created |
Role |
withEndDateTime(OffsetDateTime endDateTime)
Set the end |
Role |
withExpandedProperties(ExpandedProperties expandedProperties)
Set the expanded |
Role |
withMemberType(MemberType memberType)
Set the member |
Role |
withPrincipalId(String principalId)
Set the principal |
Role |
withPrincipalType(PrincipalType principalType)
Set the principal |
Role |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
Role |
withRoleEligibilityScheduleRequestId(String roleEligibilityScheduleRequestId)
Set the role |
Role |
withScope(String scope)
Set the scope property: The role eligibility schedule scope. |
Role |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Role |
withStatus(Status status)
Set the status property: The status of the role eligibility schedule. |
Role |
withUpdatedOn(OffsetDateTime updatedOn)
Set the updated |
Methods inherited from java.lang.Object
Constructor Details
RoleEligibilityScheduleInner
public RoleEligibilityScheduleInner()
Creates an instance of RoleEligibilityScheduleInner class.
Method Details
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 was created.
Returns:
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: End DateTime when role eligibility schedule.
Returns:
expandedProperties
public ExpandedProperties expandedProperties()
Get the expandedProperties property: Additional properties of principal, scope and role definition.
Returns:
fromJson
public static RoleEligibilityScheduleInner fromJson(JsonReader jsonReader)
Reads an instance of RoleEligibilityScheduleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The role eligibility schedule Id.
Returns:
memberType
public MemberType memberType()
Get the memberType property: Membership type of the role eligibility schedule.
Returns:
name
public String name()
Get the name property: The role eligibility schedule 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:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId property: The role definition ID.
Returns:
roleEligibilityScheduleRequestId
public String roleEligibilityScheduleRequestId()
Get the roleEligibilityScheduleRequestId property: The id of roleEligibilityScheduleRequest used to create this roleAssignmentSchedule.
Returns:
scope
public String scope()
Get the scope property: The role eligibility schedule scope.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: Start DateTime when role eligibility schedule.
Returns:
status
public Status status()
Get the status property: The status of the role eligibility schedule.
Returns:
toJson
type
public String type()
Get the type property: The role eligibility schedule type.
Returns:
updatedOn
public OffsetDateTime updatedOn()
Get the updatedOn property: DateTime when role eligibility schedule was modified.
Returns:
validate
public void validate()
Validates the instance.
withCondition
public RoleEligibilityScheduleInner 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 RoleEligibilityScheduleInner withConditionVersion(String conditionVersion)
Set the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.
Parameters:
Returns:
withCreatedOn
public RoleEligibilityScheduleInner withCreatedOn(OffsetDateTime createdOn)
Set the createdOn property: DateTime when role eligibility schedule was created.
Parameters:
Returns:
withEndDateTime
public RoleEligibilityScheduleInner withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: End DateTime when role eligibility schedule.
Parameters:
Returns:
withExpandedProperties
public RoleEligibilityScheduleInner withExpandedProperties(ExpandedProperties expandedProperties)
Set the expandedProperties property: Additional properties of principal, scope and role definition.
Parameters:
Returns:
withMemberType
public RoleEligibilityScheduleInner withMemberType(MemberType memberType)
Set the memberType property: Membership type of the role eligibility schedule.
Parameters:
Returns:
withPrincipalId
public RoleEligibilityScheduleInner withPrincipalId(String principalId)
Set the principalId property: The principal ID.
Parameters:
Returns:
withPrincipalType
public RoleEligibilityScheduleInner withPrincipalType(PrincipalType principalType)
Set the principalType property: The principal type of the assigned principal ID.
Parameters:
Returns:
withRoleDefinitionId
public RoleEligibilityScheduleInner withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition ID.
Parameters:
Returns:
withRoleEligibilityScheduleRequestId
public RoleEligibilityScheduleInner withRoleEligibilityScheduleRequestId(String roleEligibilityScheduleRequestId)
Set the roleEligibilityScheduleRequestId property: The id of roleEligibilityScheduleRequest used to create this roleAssignmentSchedule.
Parameters:
Returns:
withScope
public RoleEligibilityScheduleInner withScope(String scope)
Set the scope property: The role eligibility schedule scope.
Parameters:
Returns:
withStartDateTime
public RoleEligibilityScheduleInner withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: Start DateTime when role eligibility schedule.
Parameters:
Returns:
withStatus
public RoleEligibilityScheduleInner withStatus(Status status)
Set the status property: The status of the role eligibility schedule.
Parameters:
Returns:
withUpdatedOn
public RoleEligibilityScheduleInner withUpdatedOn(OffsetDateTime updatedOn)
Set the updatedOn property: DateTime when role eligibility schedule was modified.
Parameters:
Returns: