Package com.microsoft.graph.models
Class CloudPcOnPremisesConnection
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CloudPcOnPremisesConnection
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CloudPcOnPremisesConnection
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 CloudPcOnPremisesConnection
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the adDomainName property value.Gets the adDomainPassword property value.Gets the adDomainUsername property value.Gets the alternateResourceUrl property value.Gets the connectionType property value.Gets the displayName property value.The deserialization information for the current modelGets the healthCheckStatus property value.Gets the healthCheckStatusDetail property value.getInUse()
Gets the inUse property value.Gets the organizationalUnit property value.Gets the resourceGroupId property value.Gets the subnetId property value.Gets the subscriptionId property value.Gets the subscriptionName property value.Gets the virtualNetworkId property value.Gets the virtualNetworkLocation property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAdDomainName
(String value) Sets the adDomainName property value.void
setAdDomainPassword
(String value) Sets the adDomainPassword property value.void
setAdDomainUsername
(String value) Sets the adDomainUsername property value.void
setAlternateResourceUrl
(String value) Sets the alternateResourceUrl property value.void
Sets the connectionType property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the healthCheckStatus property value.void
Sets the healthCheckStatusDetail property value.void
Sets the inUse property value.void
setOrganizationalUnit
(String value) Sets the organizationalUnit property value.void
setResourceGroupId
(String value) Sets the resourceGroupId property value.void
setSubnetId
(String value) Sets the subnetId property value.void
setSubscriptionId
(String value) Sets the subscriptionId property value.void
setSubscriptionName
(String value) Sets the subscriptionName property value.void
setVirtualNetworkId
(String value) Sets the virtualNetworkId property value.void
setVirtualNetworkLocation
(String value) Sets the virtualNetworkLocation property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
CloudPcOnPremisesConnection
public CloudPcOnPremisesConnection()Instantiates a newCloudPcOnPremisesConnection
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CloudPcOnPremisesConnection 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
CloudPcOnPremisesConnection
-
getAdDomainName
Gets the adDomainName property value. The fully qualified domain name (FQDN) of the Active Directory domain you want to join. Maximum length is 255. Optional.- Returns:
- a
String
-
getAdDomainPassword
Gets the adDomainPassword property value. The password associated with the username of an Active Directory account (adDomainUsername).- Returns:
- a
String
-
getAdDomainUsername
Gets the adDomainUsername property value. The username of an Active Directory account (user or service account) that has permission to create computer objects in Active Directory. Required format: [email protected]. Optional.- Returns:
- a
String
-
getAlternateResourceUrl
Gets the alternateResourceUrl property value. The interface URL of the partner service's resource that links to this Azure network connection. Returned only on $select.- Returns:
- a
String
-
getConnectionType
Gets the connectionType property value. Specifies how the provisioned Cloud PC joins to Microsoft Entra. It includes different types, one is Microsoft Entra ID join, which means there's no on-premises Active Directory (AD) in the current tenant, and the Cloud PC device is joined by Microsoft Entra. Another one is hybridAzureADJoin, which means there's also an on-premises Active Directory (AD) in the current tenant and the Cloud PC device joins to on-premises Active Directory (AD) and Microsoft Entra. The type also determines which types of users can be assigned and can sign into a Cloud PC. The azureADJoin type indicates that cloud-only and hybrid users can be assigned and signed into the Cloud PC. hybridAzureADJoin indicates only hybrid users can be assigned and signed into the Cloud PC. The default value is hybridAzureADJoin.- Returns:
- a
CloudPcOnPremisesConnectionType
-
getDisplayName
Gets the displayName property value. The display name for the Azure network connection.- 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>>
-
getHealthCheckStatus
Gets the healthCheckStatus property value. The healthCheckStatus property- Returns:
- a
CloudPcOnPremisesConnectionStatus
-
getHealthCheckStatusDetail
Gets the healthCheckStatusDetail property value. Indicates the results of health checks performed on the on-premises connection. Read-only. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only.- Returns:
- a
CloudPcOnPremisesConnectionStatusDetail
-
getInUse
Gets the inUse property value. When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection thats in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only.- Returns:
- a
Boolean
-
getOrganizationalUnit
Gets the organizationalUnit property value. The organizational unit (OU) in which the computer account is created. If left null, the OU configured as the default (a well-known computer object container) in the tenant's Active Directory domain (OU) is used. Optional.- Returns:
- a
String
-
getResourceGroupId
Gets the resourceGroupId property value. The unique identifier of the target resource group used associated with the on-premises network connectivity for Cloud PCs. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}'- Returns:
- a
String
-
getSubnetId
Gets the subnetId property value. The unique identifier of the target subnet used associated with the on-premises network connectivity for Cloud PCs. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}'- Returns:
- a
String
-
getSubscriptionId
Gets the subscriptionId property value. The unique identifier of the Azure subscription associated with the tenant.- Returns:
- a
String
-
getSubscriptionName
Gets the subscriptionName property value. The name of the Azure subscription is used to create an Azure network connection. Read-only.- Returns:
- a
String
-
getVirtualNetworkId
Gets the virtualNetworkId property value. The unique identifier of the target virtual network used associated with the on-premises network connectivity for Cloud PCs. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'- Returns:
- a
String
-
getVirtualNetworkLocation
Gets the virtualNetworkLocation property value. Indicates the resource location of the target virtual network. For example, the location can be eastus2, westeurope, etc. Read-only (computed value).- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAdDomainName
Sets the adDomainName property value. The fully qualified domain name (FQDN) of the Active Directory domain you want to join. Maximum length is 255. Optional.- Parameters:
value
- Value to set for the adDomainName property.
-
setAdDomainPassword
Sets the adDomainPassword property value. The password associated with the username of an Active Directory account (adDomainUsername).- Parameters:
value
- Value to set for the adDomainPassword property.
-
setAdDomainUsername
Sets the adDomainUsername property value. The username of an Active Directory account (user or service account) that has permission to create computer objects in Active Directory. Required format: [email protected]. Optional.- Parameters:
value
- Value to set for the adDomainUsername property.
-
setAlternateResourceUrl
Sets the alternateResourceUrl property value. The interface URL of the partner service's resource that links to this Azure network connection. Returned only on $select.- Parameters:
value
- Value to set for the alternateResourceUrl property.
-
setConnectionType
Sets the connectionType property value. Specifies how the provisioned Cloud PC joins to Microsoft Entra. It includes different types, one is Microsoft Entra ID join, which means there's no on-premises Active Directory (AD) in the current tenant, and the Cloud PC device is joined by Microsoft Entra. Another one is hybridAzureADJoin, which means there's also an on-premises Active Directory (AD) in the current tenant and the Cloud PC device joins to on-premises Active Directory (AD) and Microsoft Entra. The type also determines which types of users can be assigned and can sign into a Cloud PC. The azureADJoin type indicates that cloud-only and hybrid users can be assigned and signed into the Cloud PC. hybridAzureADJoin indicates only hybrid users can be assigned and signed into the Cloud PC. The default value is hybridAzureADJoin.- Parameters:
value
- Value to set for the connectionType property.
-
setDisplayName
Sets the displayName property value. The display name for the Azure network connection.- Parameters:
value
- Value to set for the displayName property.
-
setHealthCheckStatus
Sets the healthCheckStatus property value. The healthCheckStatus property- Parameters:
value
- Value to set for the healthCheckStatus property.
-
setHealthCheckStatusDetail
Sets the healthCheckStatusDetail property value. Indicates the results of health checks performed on the on-premises connection. Read-only. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only.- Parameters:
value
- Value to set for the healthCheckStatusDetail property.
-
setInUse
Sets the inUse property value. When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection thats in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only.- Parameters:
value
- Value to set for the inUse property.
-
setOrganizationalUnit
Sets the organizationalUnit property value. The organizational unit (OU) in which the computer account is created. If left null, the OU configured as the default (a well-known computer object container) in the tenant's Active Directory domain (OU) is used. Optional.- Parameters:
value
- Value to set for the organizationalUnit property.
-
setResourceGroupId
Sets the resourceGroupId property value. The unique identifier of the target resource group used associated with the on-premises network connectivity for Cloud PCs. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}'- Parameters:
value
- Value to set for the resourceGroupId property.
-
setSubnetId
Sets the subnetId property value. The unique identifier of the target subnet used associated with the on-premises network connectivity for Cloud PCs. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}'- Parameters:
value
- Value to set for the subnetId property.
-
setSubscriptionId
Sets the subscriptionId property value. The unique identifier of the Azure subscription associated with the tenant.- Parameters:
value
- Value to set for the subscriptionId property.
-
setSubscriptionName
Sets the subscriptionName property value. The name of the Azure subscription is used to create an Azure network connection. Read-only.- Parameters:
value
- Value to set for the subscriptionName property.
-
setVirtualNetworkId
Sets the virtualNetworkId property value. The unique identifier of the target virtual network used associated with the on-premises network connectivity for Cloud PCs. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'- Parameters:
value
- Value to set for the virtualNetworkId property.
-
setVirtualNetworkLocation
Sets the virtualNetworkLocation property value. Indicates the resource location of the target virtual network. For example, the location can be eastus2, westeurope, etc. Read-only (computed value).- Parameters:
value
- Value to set for the virtualNetworkLocation property.
-