你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphContract Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphContract
- com.
- com.
- com.
public final class MicrosoftGraphContract
extends MicrosoftGraphDirectoryObjectInner
contract Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphContract() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
contractType()
Get the contract |
UUID |
customerId()
Get the customer |
String |
defaultDomainName()
Get the default |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withContractType(String contractType)
Set the contract |
Microsoft |
withCustomerId(UUID customerId)
Set the customer |
Microsoft |
withDefaultDomainName(String defaultDomainName)
Set the default |
Microsoft |
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deleted |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Methods inherited from MicrosoftGraphDirectoryObjectInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphContract
public MicrosoftGraphContract()
Creates an instance of MicrosoftGraphContract 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:
MicrosoftGraphContract.additionalProperties()Returns:
contractType
public String contractType()
Get the contractType property: Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn\u2019t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.
Returns:
customerId
public UUID customerId()
Get the customerId property: The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
Returns:
defaultDomainName
public String defaultDomainName()
Get the defaultDomainName property: A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
Returns:
displayName
public String displayName()
Get the displayName property: A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
Returns:
fromJson
public static MicrosoftGraphContract fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphContract from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphContract.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphContract.validate()withAdditionalProperties
public MicrosoftGraphContract 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:
MicrosoftGraphContract.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withContractType
public MicrosoftGraphContract withContractType(String contractType)
Set the contractType property: Type of contract.Possible values are: SyndicationPartner - Partner that exclusively resells and manages O365 and Intune for this customer. They resell and support their customers. BreadthPartner - Partner has the ability to provide administrative support for this customer. However, the partner is not allowed to resell to the customer.ResellerPartner - Partner that is similar to a syndication partner, except that the partner doesn\u2019t have exclusive access to a tenant. In the syndication case, the customer cannot buy additional direct subscriptions from Microsoft or from other partners.
Parameters:
Returns:
withCustomerId
public MicrosoftGraphContract withCustomerId(UUID customerId)
Set the customerId property: The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
Parameters:
Returns:
withDefaultDomainName
public MicrosoftGraphContract withDefaultDomainName(String defaultDomainName)
Set the defaultDomainName property: A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
Parameters:
Returns:
withDeletedDateTime
public MicrosoftGraphContract withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphContract.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withDisplayName
public MicrosoftGraphContract withDisplayName(String displayName)
Set the displayName property: A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
Parameters:
Returns:
withId
public MicrosoftGraphContract withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphContract.withId(String id)Parameters: