Class MicrosoftGraphOrganization
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOrganization
organization
The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOrganization class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.Get the assignedPlans property: The collection of service plans associated with the tenant.Get the businessPhones property: Telephone number for the organization.Get the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration.city()Get the city property: City name of the address for the organization.country()Get the country property: Country/region name of the address for the organization.Get the countryLetterCode property: Country/region abbreviation for the organization.Get the createdDateTime property: Timestamp of when the organization was created.Get the displayName property: The display name for the tenant.Get the extensions property: The collection of open extensions defined for the organization.Get the marketingNotificationEmails property: Not nullable.Get the mobileDeviceManagementAuthority property: mdmAuthority.Get the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory.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).Get the postalCode property: Postal code of the address for the organization.Get the preferredLanguage property: The preferred language for the organization.Get the privacyProfile property: privacyProfile.Get the provisionedPlans property: Not nullable.Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.state()Get the state property: State name of the address for the organization.street()Get the street property: Street name of the address for organization.Get the technicalNotificationMails property: Not nullable.Get the tenantType property: The tenantType property.voidvalidate()Validates the instance.Get the verifiedDomains property: The collection of domains associated with this tenant.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.withAssignedPlans(List<MicrosoftGraphAssignedPlan> assignedPlans) Set the assignedPlans property: The collection of service plans associated with the tenant.withBusinessPhones(List<String> businessPhones) Set the businessPhones property: Telephone number for the organization.withCertificateBasedAuthConfiguration(List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration) Set the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration.Set the city property: City name of the address for the organization.withCountry(String country) Set the country property: Country/region name of the address for the organization.withCountryLetterCode(String countryLetterCode) Set the countryLetterCode property: Country/region abbreviation for the organization.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: Timestamp of when the organization was created.withDeletedDateTime(OffsetDateTime deletedDateTime) Set the deletedDateTime property: The deletedDateTime property.withDisplayName(String displayName) Set the displayName property: The display name for the tenant.withExtensions(List<MicrosoftGraphExtension> extensions) Set the extensions property: The collection of open extensions defined for the organization.Set the id property: Read-only.withMarketingNotificationEmails(List<String> marketingNotificationEmails) Set the marketingNotificationEmails property: Not nullable.withMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority) Set the mobileDeviceManagementAuthority property: mdmAuthority.withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime) Set the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory.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).withPostalCode(String postalCode) Set the postalCode property: Postal code of the address for the organization.withPreferredLanguage(String preferredLanguage) Set the preferredLanguage property: The preferred language for the organization.withPrivacyProfile(MicrosoftGraphPrivacyProfile privacyProfile) Set the privacyProfile property: privacyProfile.withProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans) Set the provisionedPlans property: Not nullable.withSecurityComplianceNotificationMails(List<String> securityComplianceNotificationMails) Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.withSecurityComplianceNotificationPhones(List<String> securityComplianceNotificationPhones) Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.Set the state property: State name of the address for the organization.withStreet(String street) Set the street property: Street name of the address for organization.withTechnicalNotificationMails(List<String> technicalNotificationMails) Set the technicalNotificationMails property: Not nullable.withTenantType(String tenantType) Set the tenantType property: The tenantType property.withVerifiedDomains(List<MicrosoftGraphVerifiedDomain> verifiedDomains) Set the verifiedDomains property: The collection of domains associated with this tenant.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphOrganization
public MicrosoftGraphOrganization()Creates an instance of MicrosoftGraphOrganization class.
-
-
Method Details
-
assignedPlans
Get the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.- Returns:
- the assignedPlans value.
-
withAssignedPlans
Set the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.- Parameters:
assignedPlans- the assignedPlans value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
businessPhones
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:
- the businessPhones value.
-
withBusinessPhones
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:
businessPhones- the businessPhones value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
city
Get the city property: City name of the address for the organization.- Returns:
- the city value.
-
withCity
Set the city property: City name of the address for the organization.- Parameters:
city- the city value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
country
Get the country property: Country/region name of the address for the organization.- Returns:
- the country value.
-
withCountry
Set the country property: Country/region name of the address for the organization.- Parameters:
country- the country value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
countryLetterCode
Get the countryLetterCode property: Country/region abbreviation for the organization.- Returns:
- the countryLetterCode value.
-
withCountryLetterCode
Set the countryLetterCode property: Country/region abbreviation for the organization.- Parameters:
countryLetterCode- the countryLetterCode value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
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:
- the createdDateTime value.
-
withCreatedDateTime
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:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
displayName
Get the displayName property: The display name for the tenant.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name for the tenant.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
marketingNotificationEmails
Get the marketingNotificationEmails property: Not nullable.- Returns:
- the marketingNotificationEmails value.
-
withMarketingNotificationEmails
public MicrosoftGraphOrganization withMarketingNotificationEmails(List<String> marketingNotificationEmails) Set the marketingNotificationEmails property: Not nullable.- Parameters:
marketingNotificationEmails- the marketingNotificationEmails value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
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:
- the onPremisesLastSyncDateTime value.
-
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:
onPremisesLastSyncDateTime- the onPremisesLastSyncDateTime value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
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:
- the onPremisesSyncEnabled value.
-
withOnPremisesSyncEnabled
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:
onPremisesSyncEnabled- the onPremisesSyncEnabled value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
postalCode
Get the postalCode property: Postal code of the address for the organization.- Returns:
- the postalCode value.
-
withPostalCode
Set the postalCode property: Postal code of the address for the organization.- Parameters:
postalCode- the postalCode value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
preferredLanguage
Get the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.- Returns:
- the preferredLanguage value.
-
withPreferredLanguage
Set the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.- Parameters:
preferredLanguage- the preferredLanguage value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
privacyProfile
Get the privacyProfile property: privacyProfile.- Returns:
- the privacyProfile value.
-
withPrivacyProfile
Set the privacyProfile property: privacyProfile.- Parameters:
privacyProfile- the privacyProfile value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
provisionedPlans
Get the provisionedPlans property: Not nullable.- Returns:
- the provisionedPlans value.
-
withProvisionedPlans
public MicrosoftGraphOrganization withProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans) Set the provisionedPlans property: Not nullable.- Parameters:
provisionedPlans- the provisionedPlans value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
securityComplianceNotificationMails
Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.- Returns:
- the securityComplianceNotificationMails value.
-
withSecurityComplianceNotificationMails
public MicrosoftGraphOrganization withSecurityComplianceNotificationMails(List<String> securityComplianceNotificationMails) Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.- Parameters:
securityComplianceNotificationMails- the securityComplianceNotificationMails value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
securityComplianceNotificationPhones
Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.- Returns:
- the securityComplianceNotificationPhones value.
-
withSecurityComplianceNotificationPhones
public MicrosoftGraphOrganization withSecurityComplianceNotificationPhones(List<String> securityComplianceNotificationPhones) Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.- Parameters:
securityComplianceNotificationPhones- the securityComplianceNotificationPhones value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
state
Get the state property: State name of the address for the organization.- Returns:
- the state value.
-
withState
Set the state property: State name of the address for the organization.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
street
Get the street property: Street name of the address for organization.- Returns:
- the street value.
-
withStreet
Set the street property: Street name of the address for organization.- Parameters:
street- the street value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
technicalNotificationMails
Get the technicalNotificationMails property: Not nullable.- Returns:
- the technicalNotificationMails value.
-
withTechnicalNotificationMails
public MicrosoftGraphOrganization withTechnicalNotificationMails(List<String> technicalNotificationMails) Set the technicalNotificationMails property: Not nullable.- Parameters:
technicalNotificationMails- the technicalNotificationMails value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
tenantType
Get the tenantType property: The tenantType property.- Returns:
- the tenantType value.
-
withTenantType
Set the tenantType property: The tenantType property.- Parameters:
tenantType- the tenantType value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
verifiedDomains
Get the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.- Returns:
- the verifiedDomains value.
-
withVerifiedDomains
public MicrosoftGraphOrganization withVerifiedDomains(List<MicrosoftGraphVerifiedDomain> verifiedDomains) Set the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.- Parameters:
verifiedDomains- the verifiedDomains value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
mobileDeviceManagementAuthority
Get the mobileDeviceManagementAuthority property: mdmAuthority.- Returns:
- the mobileDeviceManagementAuthority value.
-
withMobileDeviceManagementAuthority
public MicrosoftGraphOrganization withMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority) Set the mobileDeviceManagementAuthority property: mdmAuthority.- Parameters:
mobileDeviceManagementAuthority- the mobileDeviceManagementAuthority value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
certificateBasedAuthConfiguration
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:
- the certificateBasedAuthConfiguration value.
-
withCertificateBasedAuthConfiguration
public MicrosoftGraphOrganization withCertificateBasedAuthConfiguration(List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration) 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:
certificateBasedAuthConfiguration- the certificateBasedAuthConfiguration value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
extensions
Get the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.- Returns:
- the extensions value.
-
withExtensions
Set the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.- Parameters:
extensions- the extensions value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
additionalProperties
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:
additionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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:
withAdditionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOrganization object itself.
-
withDeletedDateTime
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTimein classMicrosoftGraphDirectoryObjectInner- Parameters:
deletedDateTime- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphDirectoryObjectInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphDirectoryObjectInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-