你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphServicePlanInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphServicePlanInfo

Implements

public final class MicrosoftGraphServicePlanInfo
implements JsonSerializable<MicrosoftGraphServicePlanInfo>

servicePlanInfo.

Constructor Summary

Constructor Description
MicrosoftGraphServicePlanInfo()

Creates an instance of MicrosoftGraphServicePlanInfo class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: servicePlanInfo.

String appliesTo()

Get the appliesTo property: The object the service plan can be assigned to.

static MicrosoftGraphServicePlanInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphServicePlanInfo from the JsonReader.

String provisioningStatus()

Get the provisioningStatus property: The provisioning status of the service plan.

UUID servicePlanId()

Get the servicePlanId property: The unique identifier of the service plan.

String servicePlanName()

Get the servicePlanName property: The name of the service plan.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphServicePlanInfo withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: servicePlanInfo.

MicrosoftGraphServicePlanInfo withAppliesTo(String appliesTo)

Set the appliesTo property: The object the service plan can be assigned to.

MicrosoftGraphServicePlanInfo withProvisioningStatus(String provisioningStatus)

Set the provisioningStatus property: The provisioning status of the service plan.

MicrosoftGraphServicePlanInfo withServicePlanId(UUID servicePlanId)

Set the servicePlanId property: The unique identifier of the service plan.

MicrosoftGraphServicePlanInfo withServicePlanName(String servicePlanName)

Set the servicePlanName property: The name of the service plan.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphServicePlanInfo

public MicrosoftGraphServicePlanInfo()

Creates an instance of MicrosoftGraphServicePlanInfo class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: servicePlanInfo.

Returns:

the additionalProperties value.

appliesTo

public String appliesTo()

Get the appliesTo property: The object the service plan can be assigned to. Possible values:'User' - service plan can be assigned to individual users.'Company' - service plan can be assigned to the entire tenant.

Returns:

the appliesTo value.

fromJson

public static MicrosoftGraphServicePlanInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphServicePlanInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphServicePlanInfo.

provisioningStatus

public String provisioningStatus()

Get the provisioningStatus property: The provisioning status of the service plan. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'PendingInput' - Service is not yet provisioned; awaiting service confirmation.'PendingActivation' - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)'PendingProvisioning' - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet.

Returns:

the provisioningStatus value.

servicePlanId

public UUID servicePlanId()

Get the servicePlanId property: The unique identifier of the service plan.

Returns:

the servicePlanId value.

servicePlanName

public String servicePlanName()

Get the servicePlanName property: The name of the service plan.

Returns:

the servicePlanName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphServicePlanInfo withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: servicePlanInfo.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphServicePlanInfo object itself.

withAppliesTo

public MicrosoftGraphServicePlanInfo withAppliesTo(String appliesTo)

Set the appliesTo property: The object the service plan can be assigned to. Possible values:'User' - service plan can be assigned to individual users.'Company' - service plan can be assigned to the entire tenant.

Parameters:

appliesTo - the appliesTo value to set.

Returns:

the MicrosoftGraphServicePlanInfo object itself.

withProvisioningStatus

public MicrosoftGraphServicePlanInfo withProvisioningStatus(String provisioningStatus)

Set the provisioningStatus property: The provisioning status of the service plan. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'PendingInput' - Service is not yet provisioned; awaiting service confirmation.'PendingActivation' - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)'PendingProvisioning' - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet.

Parameters:

provisioningStatus - the provisioningStatus value to set.

Returns:

the MicrosoftGraphServicePlanInfo object itself.

withServicePlanId

public MicrosoftGraphServicePlanInfo withServicePlanId(UUID servicePlanId)

Set the servicePlanId property: The unique identifier of the service plan.

Parameters:

servicePlanId - the servicePlanId value to set.

Returns:

the MicrosoftGraphServicePlanInfo object itself.

withServicePlanName

public MicrosoftGraphServicePlanInfo withServicePlanName(String servicePlanName)

Set the servicePlanName property: The name of the service plan.

Parameters:

servicePlanName - the servicePlanName value to set.

Returns:

the MicrosoftGraphServicePlanInfo object itself.

Applies to