cloudPcOnPremisesConnection resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a defined collection of Azure resource information that can be used to establish Azure network connectivity for Cloud PCs.

Important

On-premises network connection has been renamed as Azure network connection. cloudPcOnPremisesConnection objects here are equivalent to Azure network connection for the Cloud PC product.

Methods

Method Return type Description
List onPremisesConnections cloudPcOnPremisesConnection collection List properties and relationships of the cloudPcOnPremisesConnection objects.
Get cloudPcOnPremisesConnection cloudPcOnPremisesConnection Read the properties and relationships of the cloudPcOnPremisesConnection object.
Create cloudPcOnPremisesConnection cloudPcOnPremisesConnection Create a new cloudPcOnPremisesConnection object.
Update cloudPcOnPremisesConnection cloudPcOnPremisesConnection Update the properties of a cloudPcOnPremisesConnection object.
Delete cloudPcOnPremisesConnection None Delete a cloudPcOnPremisesConnection object. You can’t delete a connection that’s in use.
RunHealthChecks of a cloudPcOnPremisesConnection None Run health checks on the cloudPcOnPremisesConnection.
updateAdDomainPassword None Update Active Directory domain password for a successful cloudPcOnPremisesConnection. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin.

Properties

Property Type Description
adDomainName String The fully qualified domain name (FQDN) of the Active Directory domain you want to join. Optional.
adDomainPassword String The password associated with adDomainUsername.
adDomainUsername String The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. Optional.
alternateResourceUrl String The interface URL of the partner service's resource that links to this Azure network connection. Returned only on $select.
connectionType cloudPcOnPremisesConnectionType Specifies the method by which a provisioned Cloud PC is joined to Microsoft Entra. The azureADJoin option indicates the absence of an on-premises Active Directory (AD) in the current tenant that results in the Cloud PC device only joining to Microsoft Entra. The hybridAzureADJoin option indicates the presence of an on-premises AD in the current tenant and that the Cloud PC joins both the on-premises AD and Microsoft Entra. The selected option also determines the types of users who can be assigned and can sign into a Cloud PC. The azureADJoin option allows both cloud-only and hybrid users to be assigned and sign in, whereas hybridAzureADJoin is restricted to hybrid users only. The default value is hybridAzureADJoin. The possible values are: hybridAzureADJoin, azureADJoin, unknownFutureValue.
displayName String The display name for the Azure network connection.
healthCheckStatus cloudPcOnPremisesConnectionStatus The status of the most recent health check done on the Azure network connection. For example, if the status is passed, the Azure network connection passed all checks run by the service. Possible values are: pending, running, passed, failed, warning, informational, unknownFutureValue. Read-only.
healthCheckStatusDetails cloudPcOnPremisesConnectionStatusDetails The details of the connection's health checks and the corresponding results. 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 healthCheckStatusDetails. Read-only.
healthCheckStatusDetails (deprecated) cloudPcOnPremisesConnectionStatusDetails Indicates the health checks for the connection and their respective results. 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 healthCheckStatusDetails. Read-only. The healthCheckStatusDetails property is deprecated and stopped returning data on January 31, 2024. Goind forward, use the healthCheckStatusDetail property.
healthCheckStatusDetail cloudPcOnPremisesConnectionStatusDetail Indicates the results of health checks performed on the on-premises connection. 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 healthCheckStatusDetails. Read-only.
id String Unique identifier for the Azure network connection. Read-only.
inUse Boolean When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s 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 healthCheckStatusDetails. Read-only.
managedBy cloudPcManagementService Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue, rpaBox. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: rpaBox. Read-only.
organizationalUnit String The organizational unit (OU) in which the computer account is created. If left null, the OU that’s configured as the default (a well-known computer object container) in your Active Directory domain (OU) is used. Optional.
organizationalUnit String 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 your Active Directory domain (OU) is used. Optional.
virtualNetworkId String The ID of the target virtual network. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}.
virtualNetworkLocation String Indicates the resource location of the virtual target network. Read-only, computed value.
resourceGroupId String The ID of the target resource group. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}.
subnetId String The ID of the target subnet. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}.
subscriptionId String The ID of the target Azure subscription associated with your tenant.
subscriptionName String The name of the target Azure subscription. Read-only.
type (deprecated) cloudPcOnPremisesConnectionType Specifies the method by which a provisioned Cloud PC is joined to Microsoft Entra. The azureADJoin option indicates the absence of an on-premises Active Directory (AD) in the current tenant that results in the Cloud PC device only joining to Microsoft Entra. The hybridAzureADJoin option indicates the presence of an on-premises AD in the current tenant and that the Cloud PC joins both the on-premises AD and Microsoft Entra. The selected option also determines the types of users who can be assigned and can sign into a Cloud PC. The azureADJoin option allows both cloud-only and hybrid users to be assigned and sign in, whereas hybridAzureADJoin is restricted to hybrid users only. The default value is hybridAzureADJoin. The possible values are: hybridAzureADJoin, azureADJoin, unknownFutureValue. The type property is deprecated and stopped returning data on January 31, 2024. Goind forward, use the connectionType property.

cloudPcManagementService values

Member Description
devBox Azure network connection was successfully created through Project Fidalgo.
rpaBox The Azure network connection was successfully created through the Power Automate project.
unknownFutureValue Evolvable enumeration sentinel value. Don't use.
windows365 Azure network connection was successfully created through Windows 365.

cloudPcOnPremisesConnectionType values

Member Description
azureADJoin Joined only to Microsoft Entra ID. Cloud-only and hybrid users can be assigned and sign into the Cloud PC.
hybridAzureADJoin Joined to on-premises Active Directory and Microsoft Entra ID. Only hybrid users can be assigned and sign into the Cloud PC.
unknownFutureValue Evolvable enumeration sentinel value. Don't use.

cloudPcOnPremisesConnectionStatus values

Member Description
failed Health checks notify the customer that the Azure network connection isn't properly configured or functioning. Provisioning fails. The customer needs to identify the issue and resolve it using the guidance provided by Azure network connection for provisioning to be successful.
informational Health checks provide information to the customer about current or associated prerequisite checks on Cloud PC add-on features such as Single Sign-On. This won't affect the provisioning of the customer's Cloud PC, but the information is intended to optimize the user experience.
passed Health checks notify the customer that the Azure network connection is operating as intended. Customer can provision their Cloud PC without any issue.
pending Created and waiting for health checks.
running Health checks are running.
unknownFutureValue Evolvable enumeration sentinel value. Don't use.
warning Health checks notify the customer that the Azure network connection isn't configured as per the Microsoft best practice guidance, such as endpoint connectivity. The customer should configure Cloud PC required endpoints before provisioning a Cloud PC. It doesn't affect the provisioning of the customer's Cloud PC but might affect the customer's experience.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.cloudPcOnPremisesConnection",
  "adDomainName": "String",
  "adDomainPassword": "String",
  "adDomainUsername": "String",
  "alternateResourceUrl": "String",
  "connectionType": "String",
  "displayName": "String",
  "healthCheckStatus": "String",
  "healthCheckStatusDetail": { "@odata.type": "microsoft.graph.cloudPcOnPremisesConnectionStatusDetail" },
  "healthCheckStatusDetails": { "@odata.type": "microsoft.graph.cloudPcOnPremisesConnectionStatusDetails" },
  "id": "String (identifier)",
  "inUse": "Boolean",
  "managedBy": "String",
  "organizationalUnit": "String",
  "resourceGroupId": "String",
  "subnetId": "String",
  "subscriptionId": "String",
  "subscriptionName": "String",
  "type": "String",
  "virtualNetworkId": "String",
  "virtualNetworkLocation": "String"
}