你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphAdministrativeUnit Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphAdministrativeUnit
- com.
- com.
- com.
public final class MicrosoftGraphAdministrativeUnit
extends MicrosoftGraphDirectoryObjectInner
administrativeUnit Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphAdministrativeUnit() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
description()
Get the description property: An optional description for the administrative unit. |
String |
displayName()
Get the display |
List<Microsoft |
extensions()
Get the extensions property: The extensions property. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<Microsoft |
members()
Get the members property: Users and groups that are members of this Adminsitrative Unit. |
List<Microsoft |
scopedRoleMembers()
Get the scoped |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
visibility()
Get the visibility property: Controls whether the administrative unit and its members are hidden or public. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deleted |
Microsoft |
withDescription(String description)
Set the description property: An optional description for the administrative unit. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The extensions property. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withMembers(List<MicrosoftGraphDirectoryObjectInner> members)
Set the members property: Users and groups that are members of this Adminsitrative Unit. |
Microsoft |
withScopedRoleMembers(List<MicrosoftGraphScopedRoleMembership> scopedRoleMembers)
Set the scoped |
Microsoft |
withVisibility(String visibility)
Set the visibility property: Controls whether the administrative unit and its members are hidden or public. |
Methods inherited from MicrosoftGraphDirectoryObjectInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphAdministrativeUnit
public MicrosoftGraphAdministrativeUnit()
Creates an instance of MicrosoftGraphAdministrativeUnit class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Overrides:
MicrosoftGraphAdministrativeUnit.additionalProperties()Returns:
description
public String description()
Get the description property: An optional description for the administrative unit.
Returns:
displayName
public String displayName()
Get the displayName property: Display name for the administrative unit.
Returns:
extensions
public List
Get the extensions property: The extensions property.
Returns:
fromJson
public static MicrosoftGraphAdministrativeUnit fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphAdministrativeUnit from the JsonReader.
Parameters:
Returns:
Throws:
members
public List
Get the members property: Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
Returns:
scopedRoleMembers
public List
Get the scopedRoleMembers property: Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphAdministrativeUnit.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphAdministrativeUnit.validate()visibility
public String visibility()
Get the visibility property: Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.
Returns:
withAdditionalProperties
public MicrosoftGraphAdministrativeUnit withAdditionalProperties(Map
Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Overrides:
MicrosoftGraphAdministrativeUnit.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDeletedDateTime
public MicrosoftGraphAdministrativeUnit withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphAdministrativeUnit.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withDescription
public MicrosoftGraphAdministrativeUnit withDescription(String description)
Set the description property: An optional description for the administrative unit.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphAdministrativeUnit withDisplayName(String displayName)
Set the displayName property: Display name for the administrative unit.
Parameters:
Returns:
withExtensions
public MicrosoftGraphAdministrativeUnit withExtensions(List
Set the extensions property: The extensions property.
Parameters:
Returns:
withId
public MicrosoftGraphAdministrativeUnit withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphAdministrativeUnit.withId(String id)Parameters:
withMembers
public MicrosoftGraphAdministrativeUnit withMembers(List
Set the members property: Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
Parameters:
Returns:
withScopedRoleMembers
public MicrosoftGraphAdministrativeUnit withScopedRoleMembers(List
Set the scopedRoleMembers property: Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
Parameters:
Returns:
withVisibility
public MicrosoftGraphAdministrativeUnit withVisibility(String visibility)
Set the visibility property: Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.
Parameters:
Returns: