virtualendpointcloudpc

package
v0.20241118.1115603 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/devicemanagement/beta/virtualendpointcloudpc Documentation

The virtualendpointcloudpc SDK allows for interaction with Microsoft Graph devicemanagement (API Version beta).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/devicemanagement/beta/virtualendpointcloudpc"

Client Initialization

client := virtualendpointcloudpc.NewVirtualEndpointCloudPCClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualEndpointCloudPCClient.ChangeVirtualEndpointCloudPCUserAccountType

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

payload := virtualendpointcloudpc.ChangeVirtualEndpointCloudPCUserAccountTypeRequest{
	// ...
}


read, err := client.ChangeVirtualEndpointCloudPCUserAccountType(ctx, id, payload, virtualendpointcloudpc.DefaultChangeVirtualEndpointCloudPCUserAccountTypeOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.CreateVirtualEndpointCloudPC

ctx := context.TODO()

payload := virtualendpointcloudpc.CloudPC{
	// ...
}


read, err := client.CreateVirtualEndpointCloudPC(ctx, payload, virtualendpointcloudpc.DefaultCreateVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.CreateVirtualEndpointCloudPCSnapshot

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.CreateVirtualEndpointCloudPCSnapshot(ctx, id, virtualendpointcloudpc.DefaultCreateVirtualEndpointCloudPCSnapshotOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.DeleteVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.DeleteVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultDeleteVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.EndVirtualEndpointCloudPCGracePeriod

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.EndVirtualEndpointCloudPCGracePeriod(ctx, id, virtualendpointcloudpc.DefaultEndVirtualEndpointCloudPCGracePeriodOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.GetVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.GetVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultGetVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.GetVirtualEndpointCloudPCsCount

ctx := context.TODO()


read, err := client.GetVirtualEndpointCloudPCsCount(ctx, virtualendpointcloudpc.DefaultGetVirtualEndpointCloudPCsCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.ListVirtualEndpointCloudPCBulkResizes

ctx := context.TODO()

payload := virtualendpointcloudpc.ListVirtualEndpointCloudPCBulkResizesRequest{
	// ...
}


// alternatively `client.ListVirtualEndpointCloudPCBulkResizes(ctx, payload, virtualendpointcloudpc.DefaultListVirtualEndpointCloudPCBulkResizesOperationOptions())` can be used to do batched pagination
items, err := client.ListVirtualEndpointCloudPCBulkResizesComplete(ctx, payload, virtualendpointcloudpc.DefaultListVirtualEndpointCloudPCBulkResizesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualEndpointCloudPCClient.ListVirtualEndpointCloudPCS

ctx := context.TODO()


// alternatively `client.ListVirtualEndpointCloudPCS(ctx, virtualendpointcloudpc.DefaultListVirtualEndpointCloudPCSOperationOptions())` can be used to do batched pagination
items, err := client.ListVirtualEndpointCloudPCSComplete(ctx, virtualendpointcloudpc.DefaultListVirtualEndpointCloudPCSOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualEndpointCloudPCClient.PowerOffVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.PowerOffVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultPowerOffVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.PowerOnVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.PowerOnVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultPowerOnVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.RebootVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.RebootVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultRebootVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.RenameVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

payload := virtualendpointcloudpc.RenameVirtualEndpointCloudPCRequest{
	// ...
}


read, err := client.RenameVirtualEndpointCloudPC(ctx, id, payload, virtualendpointcloudpc.DefaultRenameVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.ReprovisionVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

payload := virtualendpointcloudpc.ReprovisionVirtualEndpointCloudPCRequest{
	// ...
}


read, err := client.ReprovisionVirtualEndpointCloudPC(ctx, id, payload, virtualendpointcloudpc.DefaultReprovisionVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.ResizeVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

payload := virtualendpointcloudpc.ResizeVirtualEndpointCloudPCRequest{
	// ...
}


read, err := client.ResizeVirtualEndpointCloudPC(ctx, id, payload, virtualendpointcloudpc.DefaultResizeVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.RestoreVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

payload := virtualendpointcloudpc.RestoreVirtualEndpointCloudPCRequest{
	// ...
}


read, err := client.RestoreVirtualEndpointCloudPC(ctx, id, payload, virtualendpointcloudpc.DefaultRestoreVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.RetryVirtualEndpointCloudPCPartnerAgentInstallation

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.RetryVirtualEndpointCloudPCPartnerAgentInstallation(ctx, id, virtualendpointcloudpc.DefaultRetryVirtualEndpointCloudPCPartnerAgentInstallationOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.SetVirtualEndpointCloudPCReviewStatus

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

payload := virtualendpointcloudpc.SetVirtualEndpointCloudPCReviewStatusRequest{
	// ...
}


read, err := client.SetVirtualEndpointCloudPCReviewStatus(ctx, id, payload, virtualendpointcloudpc.DefaultSetVirtualEndpointCloudPCReviewStatusOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.StartVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.StartVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultStartVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.StopVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.StopVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultStopVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.TroubleshootVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

read, err := client.TroubleshootVirtualEndpointCloudPC(ctx, id, virtualendpointcloudpc.DefaultTroubleshootVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.UpdateVirtualEndpointCloudPC

ctx := context.TODO()
id := virtualendpointcloudpc.NewDeviceManagementVirtualEndpointCloudPCID("cloudPCId")

payload := virtualendpointcloudpc.CloudPC{
	// ...
}


read, err := client.UpdateVirtualEndpointCloudPC(ctx, id, payload, virtualendpointcloudpc.DefaultUpdateVirtualEndpointCloudPCOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualEndpointCloudPCClient.ValidateVirtualEndpointCloudPCsBulkResizes

ctx := context.TODO()

payload := virtualendpointcloudpc.ValidateVirtualEndpointCloudPCsBulkResizesRequest{
	// ...
}


// alternatively `client.ValidateVirtualEndpointCloudPCsBulkResizes(ctx, payload, virtualendpointcloudpc.DefaultValidateVirtualEndpointCloudPCsBulkResizesOperationOptions())` can be used to do batched pagination
items, err := client.ValidateVirtualEndpointCloudPCsBulkResizesComplete(ctx, payload, virtualendpointcloudpc.DefaultValidateVirtualEndpointCloudPCsBulkResizesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeVirtualEndpointCloudPCUserAccountTypeOperationOptions

type ChangeVirtualEndpointCloudPCUserAccountTypeOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (ChangeVirtualEndpointCloudPCUserAccountTypeOperationOptions) ToHeaders

func (ChangeVirtualEndpointCloudPCUserAccountTypeOperationOptions) ToOData

func (ChangeVirtualEndpointCloudPCUserAccountTypeOperationOptions) ToQuery

type ChangeVirtualEndpointCloudPCUserAccountTypeOperationResponse

type ChangeVirtualEndpointCloudPCUserAccountTypeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ChangeVirtualEndpointCloudPCUserAccountTypeRequest

type ChangeVirtualEndpointCloudPCUserAccountTypeRequest struct {
	UserAccountType *beta.CloudPCUserAccountType `json:"userAccountType,omitempty"`
}

type CloudPCOperationPredicate

type CloudPCOperationPredicate struct {
}

func (CloudPCOperationPredicate) Matches

func (p CloudPCOperationPredicate) Matches(input beta.CloudPC) bool

type CloudPCRemoteActionResultOperationPredicate

type CloudPCRemoteActionResultOperationPredicate struct {
}

func (CloudPCRemoteActionResultOperationPredicate) Matches

type CloudPCResizeValidationResultOperationPredicate

type CloudPCResizeValidationResultOperationPredicate struct {
}

func (CloudPCResizeValidationResultOperationPredicate) Matches

type CreateVirtualEndpointCloudPCOperationOptions

type CreateVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateVirtualEndpointCloudPCOperationOptions

func DefaultCreateVirtualEndpointCloudPCOperationOptions() CreateVirtualEndpointCloudPCOperationOptions

func (CreateVirtualEndpointCloudPCOperationOptions) ToHeaders

func (CreateVirtualEndpointCloudPCOperationOptions) ToOData

func (CreateVirtualEndpointCloudPCOperationOptions) ToQuery

type CreateVirtualEndpointCloudPCOperationResponse

type CreateVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CloudPC
}

type CreateVirtualEndpointCloudPCSnapshotOperationOptions

type CreateVirtualEndpointCloudPCSnapshotOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateVirtualEndpointCloudPCSnapshotOperationOptions

func DefaultCreateVirtualEndpointCloudPCSnapshotOperationOptions() CreateVirtualEndpointCloudPCSnapshotOperationOptions

func (CreateVirtualEndpointCloudPCSnapshotOperationOptions) ToHeaders

func (CreateVirtualEndpointCloudPCSnapshotOperationOptions) ToOData

func (CreateVirtualEndpointCloudPCSnapshotOperationOptions) ToQuery

type CreateVirtualEndpointCloudPCSnapshotOperationResponse

type CreateVirtualEndpointCloudPCSnapshotOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteVirtualEndpointCloudPCOperationOptions

type DeleteVirtualEndpointCloudPCOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteVirtualEndpointCloudPCOperationOptions

func DefaultDeleteVirtualEndpointCloudPCOperationOptions() DeleteVirtualEndpointCloudPCOperationOptions

func (DeleteVirtualEndpointCloudPCOperationOptions) ToHeaders

func (DeleteVirtualEndpointCloudPCOperationOptions) ToOData

func (DeleteVirtualEndpointCloudPCOperationOptions) ToQuery

type DeleteVirtualEndpointCloudPCOperationResponse

type DeleteVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type EndVirtualEndpointCloudPCGracePeriodOperationOptions

type EndVirtualEndpointCloudPCGracePeriodOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultEndVirtualEndpointCloudPCGracePeriodOperationOptions

func DefaultEndVirtualEndpointCloudPCGracePeriodOperationOptions() EndVirtualEndpointCloudPCGracePeriodOperationOptions

func (EndVirtualEndpointCloudPCGracePeriodOperationOptions) ToHeaders

func (EndVirtualEndpointCloudPCGracePeriodOperationOptions) ToOData

func (EndVirtualEndpointCloudPCGracePeriodOperationOptions) ToQuery

type EndVirtualEndpointCloudPCGracePeriodOperationResponse

type EndVirtualEndpointCloudPCGracePeriodOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetVirtualEndpointCloudPCOperationOptions

type GetVirtualEndpointCloudPCOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetVirtualEndpointCloudPCOperationOptions

func DefaultGetVirtualEndpointCloudPCOperationOptions() GetVirtualEndpointCloudPCOperationOptions

func (GetVirtualEndpointCloudPCOperationOptions) ToHeaders

func (GetVirtualEndpointCloudPCOperationOptions) ToOData

func (GetVirtualEndpointCloudPCOperationOptions) ToQuery

type GetVirtualEndpointCloudPCOperationResponse

type GetVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CloudPC
}

type GetVirtualEndpointCloudPCsCountOperationOptions

type GetVirtualEndpointCloudPCsCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetVirtualEndpointCloudPCsCountOperationOptions

func DefaultGetVirtualEndpointCloudPCsCountOperationOptions() GetVirtualEndpointCloudPCsCountOperationOptions

func (GetVirtualEndpointCloudPCsCountOperationOptions) ToHeaders

func (GetVirtualEndpointCloudPCsCountOperationOptions) ToOData

func (GetVirtualEndpointCloudPCsCountOperationOptions) ToQuery

type GetVirtualEndpointCloudPCsCountOperationResponse

type GetVirtualEndpointCloudPCsCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListVirtualEndpointCloudPCBulkResizesCompleteResult

type ListVirtualEndpointCloudPCBulkResizesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.CloudPCRemoteActionResult
}

type ListVirtualEndpointCloudPCBulkResizesCustomPager

type ListVirtualEndpointCloudPCBulkResizesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListVirtualEndpointCloudPCBulkResizesOperationOptions

type ListVirtualEndpointCloudPCBulkResizesOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultListVirtualEndpointCloudPCBulkResizesOperationOptions

func DefaultListVirtualEndpointCloudPCBulkResizesOperationOptions() ListVirtualEndpointCloudPCBulkResizesOperationOptions

func (ListVirtualEndpointCloudPCBulkResizesOperationOptions) ToHeaders

func (ListVirtualEndpointCloudPCBulkResizesOperationOptions) ToOData

func (ListVirtualEndpointCloudPCBulkResizesOperationOptions) ToQuery

type ListVirtualEndpointCloudPCBulkResizesOperationResponse

type ListVirtualEndpointCloudPCBulkResizesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.CloudPCRemoteActionResult
}

type ListVirtualEndpointCloudPCBulkResizesRequest

type ListVirtualEndpointCloudPCBulkResizesRequest struct {
	CloudPCIds          *[]string             `json:"cloudPcIds,omitempty"`
	TargetServicePlanId nullable.Type[string] `json:"targetServicePlanId,omitempty"`
}

type ListVirtualEndpointCloudPCSCompleteResult

type ListVirtualEndpointCloudPCSCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.CloudPC
}

type ListVirtualEndpointCloudPCSCustomPager

type ListVirtualEndpointCloudPCSCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListVirtualEndpointCloudPCSOperationOptions

type ListVirtualEndpointCloudPCSOperationOptions struct {
	Count     *bool
	Expand    *odata.Expand
	Filter    *string
	Metadata  *odata.Metadata
	OrderBy   *odata.OrderBy
	RetryFunc client.RequestRetryFunc
	Search    *string
	Select    *[]string
	Skip      *int64
	Top       *int64
}

func DefaultListVirtualEndpointCloudPCSOperationOptions

func DefaultListVirtualEndpointCloudPCSOperationOptions() ListVirtualEndpointCloudPCSOperationOptions

func (ListVirtualEndpointCloudPCSOperationOptions) ToHeaders

func (ListVirtualEndpointCloudPCSOperationOptions) ToOData

func (ListVirtualEndpointCloudPCSOperationOptions) ToQuery

type ListVirtualEndpointCloudPCSOperationResponse

type ListVirtualEndpointCloudPCSOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.CloudPC
}

type PowerOffVirtualEndpointCloudPCOperationOptions

type PowerOffVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultPowerOffVirtualEndpointCloudPCOperationOptions

func DefaultPowerOffVirtualEndpointCloudPCOperationOptions() PowerOffVirtualEndpointCloudPCOperationOptions

func (PowerOffVirtualEndpointCloudPCOperationOptions) ToHeaders

func (PowerOffVirtualEndpointCloudPCOperationOptions) ToOData

func (PowerOffVirtualEndpointCloudPCOperationOptions) ToQuery

type PowerOffVirtualEndpointCloudPCOperationResponse

type PowerOffVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type PowerOnVirtualEndpointCloudPCOperationOptions

type PowerOnVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultPowerOnVirtualEndpointCloudPCOperationOptions

func DefaultPowerOnVirtualEndpointCloudPCOperationOptions() PowerOnVirtualEndpointCloudPCOperationOptions

func (PowerOnVirtualEndpointCloudPCOperationOptions) ToHeaders

func (PowerOnVirtualEndpointCloudPCOperationOptions) ToOData

func (PowerOnVirtualEndpointCloudPCOperationOptions) ToQuery

type PowerOnVirtualEndpointCloudPCOperationResponse

type PowerOnVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RebootVirtualEndpointCloudPCOperationOptions

type RebootVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRebootVirtualEndpointCloudPCOperationOptions

func DefaultRebootVirtualEndpointCloudPCOperationOptions() RebootVirtualEndpointCloudPCOperationOptions

func (RebootVirtualEndpointCloudPCOperationOptions) ToHeaders

func (RebootVirtualEndpointCloudPCOperationOptions) ToOData

func (RebootVirtualEndpointCloudPCOperationOptions) ToQuery

type RebootVirtualEndpointCloudPCOperationResponse

type RebootVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RenameVirtualEndpointCloudPCOperationOptions

type RenameVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRenameVirtualEndpointCloudPCOperationOptions

func DefaultRenameVirtualEndpointCloudPCOperationOptions() RenameVirtualEndpointCloudPCOperationOptions

func (RenameVirtualEndpointCloudPCOperationOptions) ToHeaders

func (RenameVirtualEndpointCloudPCOperationOptions) ToOData

func (RenameVirtualEndpointCloudPCOperationOptions) ToQuery

type RenameVirtualEndpointCloudPCOperationResponse

type RenameVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RenameVirtualEndpointCloudPCRequest

type RenameVirtualEndpointCloudPCRequest struct {
	DisplayName nullable.Type[string] `json:"displayName,omitempty"`
}

type ReprovisionVirtualEndpointCloudPCOperationOptions

type ReprovisionVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultReprovisionVirtualEndpointCloudPCOperationOptions

func DefaultReprovisionVirtualEndpointCloudPCOperationOptions() ReprovisionVirtualEndpointCloudPCOperationOptions

func (ReprovisionVirtualEndpointCloudPCOperationOptions) ToHeaders

func (ReprovisionVirtualEndpointCloudPCOperationOptions) ToOData

func (ReprovisionVirtualEndpointCloudPCOperationOptions) ToQuery

type ReprovisionVirtualEndpointCloudPCOperationResponse

type ReprovisionVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ReprovisionVirtualEndpointCloudPCRequest

type ReprovisionVirtualEndpointCloudPCRequest struct {
	OsVersion       *beta.CloudPCOperatingSystem `json:"osVersion,omitempty"`
	UserAccountType *beta.CloudPCUserAccountType `json:"userAccountType,omitempty"`
}

type ResizeVirtualEndpointCloudPCOperationOptions

type ResizeVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultResizeVirtualEndpointCloudPCOperationOptions

func DefaultResizeVirtualEndpointCloudPCOperationOptions() ResizeVirtualEndpointCloudPCOperationOptions

func (ResizeVirtualEndpointCloudPCOperationOptions) ToHeaders

func (ResizeVirtualEndpointCloudPCOperationOptions) ToOData

func (ResizeVirtualEndpointCloudPCOperationOptions) ToQuery

type ResizeVirtualEndpointCloudPCOperationResponse

type ResizeVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ResizeVirtualEndpointCloudPCRequest

type ResizeVirtualEndpointCloudPCRequest struct {
	TargetServicePlanId nullable.Type[string] `json:"targetServicePlanId,omitempty"`
}

type RestoreVirtualEndpointCloudPCOperationOptions

type RestoreVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRestoreVirtualEndpointCloudPCOperationOptions

func DefaultRestoreVirtualEndpointCloudPCOperationOptions() RestoreVirtualEndpointCloudPCOperationOptions

func (RestoreVirtualEndpointCloudPCOperationOptions) ToHeaders

func (RestoreVirtualEndpointCloudPCOperationOptions) ToOData

func (RestoreVirtualEndpointCloudPCOperationOptions) ToQuery

type RestoreVirtualEndpointCloudPCOperationResponse

type RestoreVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RestoreVirtualEndpointCloudPCRequest

type RestoreVirtualEndpointCloudPCRequest struct {
	CloudPCSnapshotId nullable.Type[string] `json:"cloudPcSnapshotId,omitempty"`
}

type RetryVirtualEndpointCloudPCPartnerAgentInstallationOperationOptions

type RetryVirtualEndpointCloudPCPartnerAgentInstallationOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (RetryVirtualEndpointCloudPCPartnerAgentInstallationOperationOptions) ToHeaders

func (RetryVirtualEndpointCloudPCPartnerAgentInstallationOperationOptions) ToOData

func (RetryVirtualEndpointCloudPCPartnerAgentInstallationOperationOptions) ToQuery

type RetryVirtualEndpointCloudPCPartnerAgentInstallationOperationResponse

type RetryVirtualEndpointCloudPCPartnerAgentInstallationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SetVirtualEndpointCloudPCReviewStatusOperationOptions

type SetVirtualEndpointCloudPCReviewStatusOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultSetVirtualEndpointCloudPCReviewStatusOperationOptions

func DefaultSetVirtualEndpointCloudPCReviewStatusOperationOptions() SetVirtualEndpointCloudPCReviewStatusOperationOptions

func (SetVirtualEndpointCloudPCReviewStatusOperationOptions) ToHeaders

func (SetVirtualEndpointCloudPCReviewStatusOperationOptions) ToOData

func (SetVirtualEndpointCloudPCReviewStatusOperationOptions) ToQuery

type SetVirtualEndpointCloudPCReviewStatusOperationResponse

type SetVirtualEndpointCloudPCReviewStatusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SetVirtualEndpointCloudPCReviewStatusRequest

type SetVirtualEndpointCloudPCReviewStatusRequest struct {
	ReviewStatus *beta.CloudPCReviewStatus `json:"reviewStatus,omitempty"`
}

type StartVirtualEndpointCloudPCOperationOptions

type StartVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultStartVirtualEndpointCloudPCOperationOptions

func DefaultStartVirtualEndpointCloudPCOperationOptions() StartVirtualEndpointCloudPCOperationOptions

func (StartVirtualEndpointCloudPCOperationOptions) ToHeaders

func (StartVirtualEndpointCloudPCOperationOptions) ToOData

func (StartVirtualEndpointCloudPCOperationOptions) ToQuery

type StartVirtualEndpointCloudPCOperationResponse

type StartVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type StopVirtualEndpointCloudPCOperationOptions

type StopVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultStopVirtualEndpointCloudPCOperationOptions

func DefaultStopVirtualEndpointCloudPCOperationOptions() StopVirtualEndpointCloudPCOperationOptions

func (StopVirtualEndpointCloudPCOperationOptions) ToHeaders

func (StopVirtualEndpointCloudPCOperationOptions) ToOData

func (StopVirtualEndpointCloudPCOperationOptions) ToQuery

type StopVirtualEndpointCloudPCOperationResponse

type StopVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type TroubleshootVirtualEndpointCloudPCOperationOptions

type TroubleshootVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultTroubleshootVirtualEndpointCloudPCOperationOptions

func DefaultTroubleshootVirtualEndpointCloudPCOperationOptions() TroubleshootVirtualEndpointCloudPCOperationOptions

func (TroubleshootVirtualEndpointCloudPCOperationOptions) ToHeaders

func (TroubleshootVirtualEndpointCloudPCOperationOptions) ToOData

func (TroubleshootVirtualEndpointCloudPCOperationOptions) ToQuery

type TroubleshootVirtualEndpointCloudPCOperationResponse

type TroubleshootVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateVirtualEndpointCloudPCOperationOptions

type UpdateVirtualEndpointCloudPCOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateVirtualEndpointCloudPCOperationOptions

func DefaultUpdateVirtualEndpointCloudPCOperationOptions() UpdateVirtualEndpointCloudPCOperationOptions

func (UpdateVirtualEndpointCloudPCOperationOptions) ToHeaders

func (UpdateVirtualEndpointCloudPCOperationOptions) ToOData

func (UpdateVirtualEndpointCloudPCOperationOptions) ToQuery

type UpdateVirtualEndpointCloudPCOperationResponse

type UpdateVirtualEndpointCloudPCOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ValidateVirtualEndpointCloudPCsBulkResizesCompleteResult

type ValidateVirtualEndpointCloudPCsBulkResizesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.CloudPCResizeValidationResult
}

type ValidateVirtualEndpointCloudPCsBulkResizesCustomPager

type ValidateVirtualEndpointCloudPCsBulkResizesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ValidateVirtualEndpointCloudPCsBulkResizesOperationOptions

type ValidateVirtualEndpointCloudPCsBulkResizesOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func (ValidateVirtualEndpointCloudPCsBulkResizesOperationOptions) ToHeaders

func (ValidateVirtualEndpointCloudPCsBulkResizesOperationOptions) ToOData

func (ValidateVirtualEndpointCloudPCsBulkResizesOperationOptions) ToQuery

type ValidateVirtualEndpointCloudPCsBulkResizesOperationResponse

type ValidateVirtualEndpointCloudPCsBulkResizesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.CloudPCResizeValidationResult
}

type ValidateVirtualEndpointCloudPCsBulkResizesRequest

type ValidateVirtualEndpointCloudPCsBulkResizesRequest struct {
	CloudPCIds          *[]string             `json:"cloudPcIds,omitempty"`
	TargetServicePlanId nullable.Type[string] `json:"targetServicePlanId,omitempty"`
}

type VirtualEndpointCloudPCClient

type VirtualEndpointCloudPCClient struct {
	Client *msgraph.Client
}

func NewVirtualEndpointCloudPCClientWithBaseURI

func NewVirtualEndpointCloudPCClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualEndpointCloudPCClient, error)

func (VirtualEndpointCloudPCClient) ChangeVirtualEndpointCloudPCUserAccountType

ChangeVirtualEndpointCloudPCUserAccountType - Invoke action changeUserAccountType. Change the account type of the user on a specific Cloud PC.

func (VirtualEndpointCloudPCClient) CreateVirtualEndpointCloudPC

CreateVirtualEndpointCloudPC - Create new navigation property to cloudPCs for deviceManagement

func (VirtualEndpointCloudPCClient) CreateVirtualEndpointCloudPCSnapshot

CreateVirtualEndpointCloudPCSnapshot - Invoke action createSnapshot. Create a snapshot for a specific Cloud PC device.

func (VirtualEndpointCloudPCClient) DeleteVirtualEndpointCloudPC

DeleteVirtualEndpointCloudPC - Delete navigation property cloudPCs for deviceManagement

func (VirtualEndpointCloudPCClient) EndVirtualEndpointCloudPCGracePeriod

EndVirtualEndpointCloudPCGracePeriod - Invoke action endGracePeriod. End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.

func (VirtualEndpointCloudPCClient) GetVirtualEndpointCloudPC

GetVirtualEndpointCloudPC - Get cloudPC. Read the properties and relationships of a specific cloudPC object.

func (VirtualEndpointCloudPCClient) GetVirtualEndpointCloudPCsCount

GetVirtualEndpointCloudPCsCount - Get the number of the resource

func (VirtualEndpointCloudPCClient) ListVirtualEndpointCloudPCBulkResizes

ListVirtualEndpointCloudPCBulkResizes - Invoke action bulkResize. Perform a bulk resize action to resize a group of cloudPCs that successfully pass validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process.

func (VirtualEndpointCloudPCClient) ListVirtualEndpointCloudPCBulkResizesComplete

ListVirtualEndpointCloudPCBulkResizesComplete retrieves all the results into a single object

func (VirtualEndpointCloudPCClient) ListVirtualEndpointCloudPCBulkResizesCompleteMatchingPredicate

ListVirtualEndpointCloudPCBulkResizesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualEndpointCloudPCClient) ListVirtualEndpointCloudPCS

ListVirtualEndpointCloudPCS - Get cloudPC. Read the properties and relationships of a specific cloudPC object.

func (VirtualEndpointCloudPCClient) ListVirtualEndpointCloudPCSComplete

ListVirtualEndpointCloudPCSComplete retrieves all the results into a single object

func (VirtualEndpointCloudPCClient) ListVirtualEndpointCloudPCSCompleteMatchingPredicate

func (c VirtualEndpointCloudPCClient) ListVirtualEndpointCloudPCSCompleteMatchingPredicate(ctx context.Context, options ListVirtualEndpointCloudPCSOperationOptions, predicate CloudPCOperationPredicate) (result ListVirtualEndpointCloudPCSCompleteResult, err error)

ListVirtualEndpointCloudPCSCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualEndpointCloudPCClient) PowerOffVirtualEndpointCloudPC

PowerOffVirtualEndpointCloudPC - Invoke action powerOff. Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action.

func (VirtualEndpointCloudPCClient) PowerOnVirtualEndpointCloudPC

PowerOnVirtualEndpointCloudPC - Invoke action powerOn. Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action.

func (VirtualEndpointCloudPCClient) RebootVirtualEndpointCloudPC

RebootVirtualEndpointCloudPC - Invoke action reboot. Reboot a specific Cloud PC.

func (VirtualEndpointCloudPCClient) RenameVirtualEndpointCloudPC

RenameVirtualEndpointCloudPC - Invoke action rename. Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity.

func (VirtualEndpointCloudPCClient) ReprovisionVirtualEndpointCloudPC

ReprovisionVirtualEndpointCloudPC - Invoke action reprovision. Reprovision a specific Cloud PC.

func (VirtualEndpointCloudPCClient) ResizeVirtualEndpointCloudPC

ResizeVirtualEndpointCloudPC - Invoke action resize. Upgrade or downgrade an existing Cloud PC to a configuration with a new virtual CPU (vCPU) and storage size.

func (VirtualEndpointCloudPCClient) RestoreVirtualEndpointCloudPC

RestoreVirtualEndpointCloudPC - Invoke action restore. Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state.

func (VirtualEndpointCloudPCClient) RetryVirtualEndpointCloudPCPartnerAgentInstallation

RetryVirtualEndpointCloudPCPartnerAgentInstallation - Invoke action retryPartnerAgentInstallation. Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry.

func (VirtualEndpointCloudPCClient) SetVirtualEndpointCloudPCReviewStatus

SetVirtualEndpointCloudPCReviewStatus - Invoke action setReviewStatus

func (VirtualEndpointCloudPCClient) StartVirtualEndpointCloudPC

StartVirtualEndpointCloudPC - Invoke action start. Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported.

func (VirtualEndpointCloudPCClient) StopVirtualEndpointCloudPC

StopVirtualEndpointCloudPC - Invoke action stop. Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported.

func (VirtualEndpointCloudPCClient) TroubleshootVirtualEndpointCloudPC

TroubleshootVirtualEndpointCloudPC - Invoke action troubleshoot. Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host.

func (VirtualEndpointCloudPCClient) UpdateVirtualEndpointCloudPC

UpdateVirtualEndpointCloudPC - Update the navigation property cloudPCs in deviceManagement

func (VirtualEndpointCloudPCClient) ValidateVirtualEndpointCloudPCsBulkResizes

ValidateVirtualEndpointCloudPCsBulkResizes - Invoke action validateBulkResize. Validate that a set of cloudPC devices meet the requirements to be bulk resized.

func (VirtualEndpointCloudPCClient) ValidateVirtualEndpointCloudPCsBulkResizesComplete

ValidateVirtualEndpointCloudPCsBulkResizesComplete retrieves all the results into a single object

func (VirtualEndpointCloudPCClient) ValidateVirtualEndpointCloudPCsBulkResizesCompleteMatchingPredicate

ValidateVirtualEndpointCloudPCsBulkResizesCompleteMatchingPredicate retrieves all the results and then applies the predicate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL