GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/sharedUseServicePlans/613a8d85-6c33-1268-9f55-b96a6540017c
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.DeviceManagement.VirtualEndpoint.SharedUseServicePlans["{cloudPcSharedUseServicePlan-id}"].GetAsync();
// THE CLI IS IN PREVIEW. NON-PRODUCTION USE ONLY
mgc-beta device-management virtual-endpoint shared-use-service-plans get --cloud-pc-shared-use-service-plan-id {cloudPcSharedUseServicePlan-id}
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
CloudPcSharedUseServicePlan result = graphClient.deviceManagement().virtualEndpoint().sharedUseServicePlans().byCloudPcSharedUseServicePlanId("{cloudPcSharedUseServicePlan-id}").get();