RoleEligibilityScheduleInstanceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleEligibilityScheduleInstanceProperties
- com.
Implements
public final class RoleEligibilityScheduleInstanceProperties
implements JsonSerializable<RoleEligibilityScheduleInstanceProperties>
Role eligibility schedule properties with scope.
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 |
|
Member |
memberType()
Get the member |
| String |
principalId()
Get the principal |
|
Principal |
principalType()
Get the principal |
| String |
roleDefinitionId()
Get the role |
| String |
roleEligibilityScheduleId()
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 instance. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
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: The endDateTime of the role eligibility schedule instance.
Returns:
expandedProperties
public ExpandedProperties expandedProperties()
Get the expandedProperties property: Additional properties of principal, scope and role definition.
Returns:
fromJson
public static RoleEligibilityScheduleInstanceProperties fromJson(JsonReader jsonReader)
Reads an instance of RoleEligibilityScheduleInstanceProperties from the JsonReader.
Parameters:
Returns:
Throws:
memberType
public MemberType memberType()
Get the memberType property: Membership type of the role eligibility schedule.
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:
roleEligibilityScheduleId
public String roleEligibilityScheduleId()
Get the roleEligibilityScheduleId property: Id of the master role eligibility schedule.
Returns:
scope
public String scope()
Get the scope property: The role eligibility schedule scope.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: The startDateTime of the role eligibility schedule instance.
Returns:
status
public Status status()
Get the status property: The status of the role eligibility schedule instance.
Returns:
toJson
validate
public void validate()
Validates the instance.