Package com.microsoft.graph.models
Class CloudPC
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CloudPC
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CloudPC
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudPC
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the aadDeviceId property value.Gets the displayName property value.The deserialization information for the current modelGets the gracePeriodEndDateTime property value.Gets the imageDisplayName property value.Gets the lastModifiedDateTime property value.Gets the managedDeviceId property value.Gets the managedDeviceName property value.Gets the onPremisesConnectionName property value.Gets the provisioningPolicyId property value.Gets the provisioningPolicyName property value.Gets the provisioningType property value.Gets the servicePlanId property value.Gets the servicePlanName property value.Gets the userPrincipalName property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAadDeviceId
(String value) Sets the aadDeviceId property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the gracePeriodEndDateTime property value.void
setImageDisplayName
(String value) Sets the imageDisplayName property value.void
Sets the lastModifiedDateTime property value.void
setManagedDeviceId
(String value) Sets the managedDeviceId property value.void
setManagedDeviceName
(String value) Sets the managedDeviceName property value.void
Sets the onPremisesConnectionName property value.void
setProvisioningPolicyId
(String value) Sets the provisioningPolicyId property value.void
setProvisioningPolicyName
(String value) Sets the provisioningPolicyName property value.void
Sets the provisioningType property value.void
setServicePlanId
(String value) Sets the servicePlanId property value.void
setServicePlanName
(String value) Sets the servicePlanName property value.void
setUserPrincipalName
(String value) Sets the userPrincipalName property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
CloudPC
public CloudPC()Instantiates a newCloudPC
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CloudPC createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
CloudPC
-
getAadDeviceId
Gets the aadDeviceId property value. The Microsoft Entra device ID for the Cloud PC, also known as the Azure Active Directory (Azure AD) device ID, that consists of 32 characters in a GUID format. Generated on a VM joined to Microsoft Entra ID. Read-only.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name for the Cloud PC. Maximum length is 64 characters. Read-only. You can use the cloudPC: rename API to modify the Cloud PC name.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGracePeriodEndDateTime
Gets the gracePeriodEndDateTime property value. The date and time when the grace period ends and reprovisioning or deprovisioning happen. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getImageDisplayName
Gets the imageDisplayName property value. The name of the operating system image used for the Cloud PC. Maximum length is 50 characters. Only letters (A-Z, a-z), numbers (0-9), and special characters (-,,.) are allowed for this property. The property value can't begin or end with an underscore. Read-only.- Returns:
- a
String
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The last modified date and time of the Cloud PC. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getManagedDeviceId
Gets the managedDeviceId property value. The Intune enrolled device ID for the Cloud PC that consists of 32 characters in a GUID format. The managedDeviceId property of Windows 365 Business Cloud PCs is always null as Windows 365 Business Cloud PCs aren't Intune-enrolled automatically by Windows 365. Read-only.- Returns:
- a
String
-
getManagedDeviceName
Gets the managedDeviceName property value. The Intune enrolled device name for the Cloud PC. The managedDeviceName property of Windows 365 Business Cloud PCs is always null as Windows 365 Business Cloud PCs aren't Intune-enrolled automatically by Windows 365. Read-only.- Returns:
- a
String
-
getOnPremisesConnectionName
Gets the onPremisesConnectionName property value. The on-premises connection that applied during the provisioning of Cloud PCs. Read-only.- Returns:
- a
String
-
getProvisioningPolicyId
Gets the provisioningPolicyId property value. The provisioning policy ID for the Cloud PC that consists of 32 characters in a GUID format. A policy defines the type of Cloud PC the user wants to create. Read-only.- Returns:
- a
String
-
getProvisioningPolicyName
Gets the provisioningPolicyName property value. The provisioning policy that applied during the provisioning of Cloud PCs. Maximum length is 120 characters. Read-only.- Returns:
- a
String
-
getProvisioningType
Gets the provisioningType property value. The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated.- Returns:
- a
CloudPcProvisioningType
-
getServicePlanId
Gets the servicePlanId property value. The service plan ID for the Cloud PC that consists of 32 characters in a GUID format. For more information about service plans, see Product names and service plan identifiers for licensing. Read-only.- Returns:
- a
String
-
getServicePlanName
Gets the servicePlanName property value. The service plan name for the customer-facing Cloud PC entity. Read-only.- Returns:
- a
String
-
getUserPrincipalName
Gets the userPrincipalName property value. The user principal name (UPN) of the user assigned to the Cloud PC. Maximum length is 113 characters. For more information on username policies, see Password policies and account restrictions in Microsoft Entra ID. Read-only.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAadDeviceId
Sets the aadDeviceId property value. The Microsoft Entra device ID for the Cloud PC, also known as the Azure Active Directory (Azure AD) device ID, that consists of 32 characters in a GUID format. Generated on a VM joined to Microsoft Entra ID. Read-only.- Parameters:
value
- Value to set for the aadDeviceId property.
-
setDisplayName
Sets the displayName property value. The display name for the Cloud PC. Maximum length is 64 characters. Read-only. You can use the cloudPC: rename API to modify the Cloud PC name.- Parameters:
value
- Value to set for the displayName property.
-
setGracePeriodEndDateTime
Sets the gracePeriodEndDateTime property value. The date and time when the grace period ends and reprovisioning or deprovisioning happen. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the gracePeriodEndDateTime property.
-
setImageDisplayName
Sets the imageDisplayName property value. The name of the operating system image used for the Cloud PC. Maximum length is 50 characters. Only letters (A-Z, a-z), numbers (0-9), and special characters (-,,.) are allowed for this property. The property value can't begin or end with an underscore. Read-only.- Parameters:
value
- Value to set for the imageDisplayName property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The last modified date and time of the Cloud PC. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setManagedDeviceId
Sets the managedDeviceId property value. The Intune enrolled device ID for the Cloud PC that consists of 32 characters in a GUID format. The managedDeviceId property of Windows 365 Business Cloud PCs is always null as Windows 365 Business Cloud PCs aren't Intune-enrolled automatically by Windows 365. Read-only.- Parameters:
value
- Value to set for the managedDeviceId property.
-
setManagedDeviceName
Sets the managedDeviceName property value. The Intune enrolled device name for the Cloud PC. The managedDeviceName property of Windows 365 Business Cloud PCs is always null as Windows 365 Business Cloud PCs aren't Intune-enrolled automatically by Windows 365. Read-only.- Parameters:
value
- Value to set for the managedDeviceName property.
-
setOnPremisesConnectionName
Sets the onPremisesConnectionName property value. The on-premises connection that applied during the provisioning of Cloud PCs. Read-only.- Parameters:
value
- Value to set for the onPremisesConnectionName property.
-
setProvisioningPolicyId
Sets the provisioningPolicyId property value. The provisioning policy ID for the Cloud PC that consists of 32 characters in a GUID format. A policy defines the type of Cloud PC the user wants to create. Read-only.- Parameters:
value
- Value to set for the provisioningPolicyId property.
-
setProvisioningPolicyName
Sets the provisioningPolicyName property value. The provisioning policy that applied during the provisioning of Cloud PCs. Maximum length is 120 characters. Read-only.- Parameters:
value
- Value to set for the provisioningPolicyName property.
-
setProvisioningType
Sets the provisioningType property value. The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. The default value is dedicated.- Parameters:
value
- Value to set for the provisioningType property.
-
setServicePlanId
Sets the servicePlanId property value. The service plan ID for the Cloud PC that consists of 32 characters in a GUID format. For more information about service plans, see Product names and service plan identifiers for licensing. Read-only.- Parameters:
value
- Value to set for the servicePlanId property.
-
setServicePlanName
Sets the servicePlanName property value. The service plan name for the customer-facing Cloud PC entity. Read-only.- Parameters:
value
- Value to set for the servicePlanName property.
-
setUserPrincipalName
Sets the userPrincipalName property value. The user principal name (UPN) of the user assigned to the Cloud PC. Maximum length is 113 characters. For more information on username policies, see Password policies and account restrictions in Microsoft Entra ID. Read-only.- Parameters:
value
- Value to set for the userPrincipalName property.
-