RoleEligibilityScheduleInstanceInner Class

public final class RoleEligibilityScheduleInstanceInner
extends ProxyResource

Information about current or upcoming role eligibility schedule instance.

Method Summary

Modifier and Type Method and Description
String condition()

Get the condition property: The conditions on the role assignment.

String conditionVersion()

Get the conditionVersion property: Version of the condition.

OffsetDateTime createdOn()

Get the createdOn property: DateTime when role eligibility schedule was created.

OffsetDateTime endDateTime()

Get the endDateTime property: The endDateTime of the role eligibility schedule instance.

ExpandedProperties expandedProperties()

Get the expandedProperties property: Additional properties of principal, scope and role definition.

static RoleEligibilityScheduleInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of RoleEligibilityScheduleInstanceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

MemberType memberType()

Get the memberType property: Membership type of the role eligibility schedule.

String name()

Get the name property: The name of the resource.

String principalId()

Get the principalId property: The principal ID.

PrincipalType principalType()

Get the principalType property: The principal type of the assigned principal ID.

String roleDefinitionId()

Get the roleDefinitionId property: The role definition ID.

String roleEligibilityScheduleId()

Get the roleEligibilityScheduleId property: Id of the master role eligibility schedule.

String scope()

Get the scope property: The role eligibility schedule scope.

OffsetDateTime startDateTime()

Get the startDateTime property: The startDateTime of the role eligibility schedule instance.

Status status()

Get the status property: The status of the role eligibility schedule instance.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

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:

the condition value.

conditionVersion

public String conditionVersion()

Get the conditionVersion property: Version of the condition. Currently accepted value is '2.0'.

Returns:

the conditionVersion value.

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: DateTime when role eligibility schedule was created.

Returns:

the createdOn value.

endDateTime

public OffsetDateTime endDateTime()

Get the endDateTime property: The endDateTime of the role eligibility schedule instance.

Returns:

the endDateTime value.

expandedProperties

public ExpandedProperties expandedProperties()

Get the expandedProperties property: Additional properties of principal, scope and role definition.

Returns:

the expandedProperties value.

fromJson

public static RoleEligibilityScheduleInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of RoleEligibilityScheduleInstanceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoleEligibilityScheduleInstanceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RoleEligibilityScheduleInstanceInner.id()

Returns:

the id value.

memberType

public MemberType memberType()

Get the memberType property: Membership type of the role eligibility schedule.

Returns:

the memberType value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RoleEligibilityScheduleInstanceInner.name()

Returns:

the name value.

principalId

public String principalId()

Get the principalId property: The principal ID.

Returns:

the principalId value.

principalType

public PrincipalType principalType()

Get the principalType property: The principal type of the assigned principal ID.

Returns:

the principalType value.

roleDefinitionId

public String roleDefinitionId()

Get the roleDefinitionId property: The role definition ID.

Returns:

the roleDefinitionId value.

roleEligibilityScheduleId

public String roleEligibilityScheduleId()

Get the roleEligibilityScheduleId property: Id of the master role eligibility schedule.

Returns:

the roleEligibilityScheduleId value.

scope

public String scope()

Get the scope property: The role eligibility schedule scope.

Returns:

the scope value.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: The startDateTime of the role eligibility schedule instance.

Returns:

the startDateTime value.

status

public Status status()

Get the status property: The status of the role eligibility schedule instance.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RoleEligibilityScheduleInstanceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RoleEligibilityScheduleInstanceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to