你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphOrganization Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOrganization
- com.
- com.
- com.
public final class MicrosoftGraphOrganization
extends MicrosoftGraphDirectoryObjectInner
organization The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOrganization() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<Microsoft |
assignedPlans()
Get the assigned |
List<String> |
businessPhones()
Get the business |
List<Microsoft |
certificateBasedAuthConfiguration()
Get the certificate |
String |
city()
Get the city property: City name of the address for the organization. |
String |
country()
Get the country property: Country/region name of the address for the organization. |
String |
countryLetterCode()
Get the country |
Offset |
createdDateTime()
Get the created |
String |
displayName()
Get the display |
List<Microsoft |
extensions()
Get the extensions property: The collection of open extensions defined for the organization. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<String> |
marketingNotificationEmails()
Get the marketing |
Microsoft |
mobileDeviceManagementAuthority()
Get the mobile |
Offset |
onPremisesLastSyncDateTime()
Get the on |
Boolean |
onPremisesSyncEnabled()
Get the on |
String |
postalCode()
Get the postal |
String |
preferredLanguage()
Get the preferred |
Microsoft |
privacyProfile()
Get the privacy |
List<Microsoft |
provisionedPlans()
Get the provisioned |
List<String> |
securityComplianceNotificationMails()
Get the security |
List<String> |
securityComplianceNotificationPhones()
Get the security |
String |
state()
Get the state property: State name of the address for the organization. |
String |
street()
Get the street property: Street name of the address for organization. |
List<String> |
technicalNotificationMails()
Get the technical |
String |
tenantType()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Microsoft |
verifiedDomains()
Get the verified |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAssignedPlans(List<MicrosoftGraphAssignedPlan> assignedPlans)
Set the assigned |
Microsoft |
withBusinessPhones(List<String> businessPhones)
Set the business |
Microsoft |
withCertificateBasedAuthConfiguration(List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration)
Set the certificate |
Microsoft |
withCity(String city)
Set the city property: City name of the address for the organization. |
Microsoft |
withCountry(String country)
Set the country property: Country/region name of the address for the organization. |
Microsoft |
withCountryLetterCode(String countryLetterCode)
Set the country |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deleted |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The collection of open extensions defined for the organization. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withMarketingNotificationEmails(List<String> marketingNotificationEmails)
Set the marketing |
Microsoft |
withMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority)
Set the mobile |
Microsoft |
withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the on |
Microsoft |
withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
Set the on |
Microsoft |
withPostalCode(String postalCode)
Set the postal |
Microsoft |
withPreferredLanguage(String preferredLanguage)
Set the preferred |
Microsoft |
withPrivacyProfile(MicrosoftGraphPrivacyProfile privacyProfile)
Set the privacy |
Microsoft |
withProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans)
Set the provisioned |
Microsoft |
withSecurityComplianceNotificationMails(List<String> securityComplianceNotificationMails)
Set the security |
Microsoft |
withSecurityComplianceNotificationPhones(List<String> securityComplianceNotificationPhones)
Set the security |
Microsoft |
withState(String state)
Set the state property: State name of the address for the organization. |
Microsoft |
withStreet(String street)
Set the street property: Street name of the address for organization. |
Microsoft |
withTechnicalNotificationMails(List<String> technicalNotificationMails)
Set the technical |
Microsoft |
withTenantType(String tenantType)
Set the tenant |
Microsoft |
withVerifiedDomains(List<MicrosoftGraphVerifiedDomain> verifiedDomains)
Set the verified |
Methods inherited from MicrosoftGraphDirectoryObjectInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphOrganization
public MicrosoftGraphOrganization()
Creates an instance of MicrosoftGraphOrganization class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
Overrides:
MicrosoftGraphOrganization.additionalProperties()Returns:
assignedPlans
public List
Get the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.
Returns:
businessPhones
public List
Get the businessPhones property: Telephone number for the organization. NOTE: Although this is a string collection, only one number can be set for this property.
Returns:
certificateBasedAuthConfiguration
public List
Get the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.
Returns:
city
public String city()
Get the city property: City name of the address for the organization.
Returns:
country
public String country()
Get the country property: Country/region name of the address for the organization.
Returns:
countryLetterCode
public String countryLetterCode()
Get the countryLetterCode property: Country/region abbreviation for the organization.
Returns:
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
Returns:
displayName
public String displayName()
Get the displayName property: The display name for the tenant.
Returns:
extensions
public List
Get the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.
Returns:
fromJson
public static MicrosoftGraphOrganization fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOrganization from the JsonReader.
Parameters:
Returns:
Throws:
marketingNotificationEmails
public List
Get the marketingNotificationEmails property: Not nullable.
Returns:
mobileDeviceManagementAuthority
public MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority()
Get the mobileDeviceManagementAuthority property: mdmAuthority.
Returns:
onPremisesLastSyncDateTime
public OffsetDateTime onPremisesLastSyncDateTime()
Get the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
Returns:
onPremisesSyncEnabled
public Boolean onPremisesSyncEnabled()
Get the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).
Returns:
postalCode
public String postalCode()
Get the postalCode property: Postal code of the address for the organization.
Returns:
preferredLanguage
public String preferredLanguage()
Get the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.
Returns:
privacyProfile
public MicrosoftGraphPrivacyProfile privacyProfile()
Get the privacyProfile property: privacyProfile.
Returns:
provisionedPlans
public List
Get the provisionedPlans property: Not nullable.
Returns:
securityComplianceNotificationMails
public List
Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.
Returns:
securityComplianceNotificationPhones
public List
Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.
Returns:
state
public String state()
Get the state property: State name of the address for the organization.
Returns:
street
public String street()
Get the street property: Street name of the address for organization.
Returns:
technicalNotificationMails
public List
Get the technicalNotificationMails property: Not nullable.
Returns:
tenantType
public String tenantType()
Get the tenantType property: The tenantType property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphOrganization.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphOrganization.validate()verifiedDomains
public List
Get the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.
Returns:
withAdditionalProperties
public MicrosoftGraphOrganization withAdditionalProperties(Map
Set the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
Overrides:
MicrosoftGraphOrganization.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAssignedPlans
public MicrosoftGraphOrganization withAssignedPlans(List
Set the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.
Parameters:
Returns:
withBusinessPhones
public MicrosoftGraphOrganization withBusinessPhones(List
Set the businessPhones property: Telephone number for the organization. NOTE: Although this is a string collection, only one number can be set for this property.
Parameters:
Returns:
withCertificateBasedAuthConfiguration
public MicrosoftGraphOrganization withCertificateBasedAuthConfiguration(List
Set the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.
Parameters:
Returns:
withCity
public MicrosoftGraphOrganization withCity(String city)
Set the city property: City name of the address for the organization.
Parameters:
Returns:
withCountry
public MicrosoftGraphOrganization withCountry(String country)
Set the country property: Country/region name of the address for the organization.
Parameters:
Returns:
withCountryLetterCode
public MicrosoftGraphOrganization withCountryLetterCode(String countryLetterCode)
Set the countryLetterCode property: Country/region abbreviation for the organization.
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphOrganization withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
Parameters:
Returns:
withDeletedDateTime
public MicrosoftGraphOrganization withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphOrganization.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withDisplayName
public MicrosoftGraphOrganization withDisplayName(String displayName)
Set the displayName property: The display name for the tenant.
Parameters:
Returns:
withExtensions
public MicrosoftGraphOrganization withExtensions(List
Set the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.
Parameters:
Returns:
withId
public MicrosoftGraphOrganization withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphOrganization.withId(String id)Parameters:
withMarketingNotificationEmails
public MicrosoftGraphOrganization withMarketingNotificationEmails(List
Set the marketingNotificationEmails property: Not nullable.
Parameters:
Returns:
withMobileDeviceManagementAuthority
public MicrosoftGraphOrganization withMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority)
Set the mobileDeviceManagementAuthority property: mdmAuthority.
Parameters:
Returns:
withOnPremisesLastSyncDateTime
public MicrosoftGraphOrganization withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
Parameters:
Returns:
withOnPremisesSyncEnabled
public MicrosoftGraphOrganization withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
Set the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).
Parameters:
Returns:
withPostalCode
public MicrosoftGraphOrganization withPostalCode(String postalCode)
Set the postalCode property: Postal code of the address for the organization.
Parameters:
Returns:
withPreferredLanguage
public MicrosoftGraphOrganization withPreferredLanguage(String preferredLanguage)
Set the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.
Parameters:
Returns:
withPrivacyProfile
public MicrosoftGraphOrganization withPrivacyProfile(MicrosoftGraphPrivacyProfile privacyProfile)
Set the privacyProfile property: privacyProfile.
Parameters:
Returns:
withProvisionedPlans
public MicrosoftGraphOrganization withProvisionedPlans(List
Set the provisionedPlans property: Not nullable.
Parameters:
Returns:
withSecurityComplianceNotificationMails
public MicrosoftGraphOrganization withSecurityComplianceNotificationMails(List
Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.
Parameters:
Returns:
withSecurityComplianceNotificationPhones
public MicrosoftGraphOrganization withSecurityComplianceNotificationPhones(List
Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.
Parameters:
Returns:
withState
public MicrosoftGraphOrganization withState(String state)
Set the state property: State name of the address for the organization.
Parameters:
Returns:
withStreet
public MicrosoftGraphOrganization withStreet(String street)
Set the street property: Street name of the address for organization.
Parameters:
Returns:
withTechnicalNotificationMails
public MicrosoftGraphOrganization withTechnicalNotificationMails(List
Set the technicalNotificationMails property: Not nullable.
Parameters:
Returns:
withTenantType
public MicrosoftGraphOrganization withTenantType(String tenantType)
Set the tenantType property: The tenantType property.
Parameters:
Returns:
withVerifiedDomains
public MicrosoftGraphOrganization withVerifiedDomains(List
Set the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.
Parameters:
Returns: