Class MicrosoftGraphServicePlanInfo
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphServicePlanInfo
servicePlanInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphServicePlanInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: servicePlanInfo.Get the appliesTo property: The object the service plan can be assigned to.Get the provisioningStatus property: The provisioning status of the service plan.Get the servicePlanId property: The unique identifier of the service plan.Get the servicePlanName property: The name of the service plan.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: servicePlanInfo.withAppliesTo(String appliesTo) Set the appliesTo property: The object the service plan can be assigned to.withProvisioningStatus(String provisioningStatus) Set the provisioningStatus property: The provisioning status of the service plan.withServicePlanId(UUID servicePlanId) Set the servicePlanId property: The unique identifier of the service plan.withServicePlanName(String servicePlanName) Set the servicePlanName property: The name of the service plan.
-
Constructor Details
-
MicrosoftGraphServicePlanInfo
public MicrosoftGraphServicePlanInfo()Creates an instance of MicrosoftGraphServicePlanInfo class.
-
-
Method Details
-
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.
-
withAppliesTo
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.
-
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.
-
withProvisioningStatus
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.
-
servicePlanId
Get the servicePlanId property: The unique identifier of the service plan.- Returns:
- the servicePlanId value.
-
withServicePlanId
Set the servicePlanId property: The unique identifier of the service plan.- Parameters:
servicePlanId- the servicePlanId value to set.- Returns:
- the MicrosoftGraphServicePlanInfo object itself.
-
servicePlanName
Get the servicePlanName property: The name of the service plan.- Returns:
- the servicePlanName value.
-
withServicePlanName
Set the servicePlanName property: The name of the service plan.- Parameters:
servicePlanName- the servicePlanName value to set.- Returns:
- the MicrosoftGraphServicePlanInfo object itself.
-
additionalProperties
Get the additionalProperties property: servicePlanInfo.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphServicePlanInfo withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: servicePlanInfo.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphServicePlanInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-