cloudpc

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: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/cloudpc Documentation

The cloudpc SDK allows for interaction with Microsoft Graph me (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/me/beta/cloudpc"

Client Initialization

client := cloudpc.NewCloudPCClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: CloudPCClient.ChangeCloudPCUserAccountType

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

payload := cloudpc.ChangeCloudPCUserAccountTypeRequest{
	// ...
}


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

Example Usage: CloudPCClient.CreateCloudPC

ctx := context.TODO()

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


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

Example Usage: CloudPCClient.CreateCloudPCSnapshot

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.DeleteCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.EndCloudPCGracePeriod

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.GetCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.GetCloudPCsCount

ctx := context.TODO()


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

Example Usage: CloudPCClient.ListCloudPCBulkResizes

ctx := context.TODO()

payload := cloudpc.ListCloudPCBulkResizesRequest{
	// ...
}


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

Example Usage: CloudPCClient.ListCloudPCS

ctx := context.TODO()


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

Example Usage: CloudPCClient.PowerOffCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.PowerOnCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.RebootCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.RenameCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

payload := cloudpc.RenameCloudPCRequest{
	// ...
}


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

Example Usage: CloudPCClient.ReprovisionCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

payload := cloudpc.ReprovisionCloudPCRequest{
	// ...
}


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

Example Usage: CloudPCClient.ResizeCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

payload := cloudpc.ResizeCloudPCRequest{
	// ...
}


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

Example Usage: CloudPCClient.RestoreCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

payload := cloudpc.RestoreCloudPCRequest{
	// ...
}


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

Example Usage: CloudPCClient.RetryCloudPCPartnerAgentInstallation

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.SetCloudPCReviewStatus

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

payload := cloudpc.SetCloudPCReviewStatusRequest{
	// ...
}


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

Example Usage: CloudPCClient.StartCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.StopCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.TroubleshootCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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

Example Usage: CloudPCClient.UpdateCloudPC

ctx := context.TODO()
id := cloudpc.NewMeCloudPCID("cloudPCId")

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


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

Example Usage: CloudPCClient.ValidateCloudPCsBulkResizes

ctx := context.TODO()

payload := cloudpc.ValidateCloudPCsBulkResizesRequest{
	// ...
}


// alternatively `client.ValidateCloudPCsBulkResizes(ctx, payload, cloudpc.DefaultValidateCloudPCsBulkResizesOperationOptions())` can be used to do batched pagination
items, err := client.ValidateCloudPCsBulkResizesComplete(ctx, payload, cloudpc.DefaultValidateCloudPCsBulkResizesOperationOptions())
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 ChangeCloudPCUserAccountTypeOperationOptions

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

func DefaultChangeCloudPCUserAccountTypeOperationOptions

func DefaultChangeCloudPCUserAccountTypeOperationOptions() ChangeCloudPCUserAccountTypeOperationOptions

func (ChangeCloudPCUserAccountTypeOperationOptions) ToHeaders

func (ChangeCloudPCUserAccountTypeOperationOptions) ToOData

func (ChangeCloudPCUserAccountTypeOperationOptions) ToQuery

type ChangeCloudPCUserAccountTypeOperationResponse

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

type ChangeCloudPCUserAccountTypeRequest

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

type CloudPCClient

type CloudPCClient struct {
	Client *msgraph.Client
}

func NewCloudPCClientWithBaseURI

func NewCloudPCClientWithBaseURI(sdkApi sdkEnv.Api) (*CloudPCClient, error)

func (CloudPCClient) ChangeCloudPCUserAccountType

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

func (CloudPCClient) CreateCloudPC

CreateCloudPC - Create new navigation property to cloudPCs for me

func (CloudPCClient) CreateCloudPCSnapshot

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

func (CloudPCClient) DeleteCloudPC

DeleteCloudPC - Delete navigation property cloudPCs for me

func (CloudPCClient) EndCloudPCGracePeriod

EndCloudPCGracePeriod - 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 (CloudPCClient) GetCloudPC

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

func (CloudPCClient) GetCloudPCsCount

GetCloudPCsCount - Get the number of the resource

func (CloudPCClient) ListCloudPCBulkResizes

ListCloudPCBulkResizes - 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 (CloudPCClient) ListCloudPCBulkResizesComplete

ListCloudPCBulkResizesComplete retrieves all the results into a single object

func (CloudPCClient) ListCloudPCBulkResizesCompleteMatchingPredicate

ListCloudPCBulkResizesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CloudPCClient) ListCloudPCS

ListCloudPCS - List cloudPCs for user. List the cloudPC devices that are attributed to the signed-in user.

func (CloudPCClient) ListCloudPCSComplete

ListCloudPCSComplete retrieves all the results into a single object

func (CloudPCClient) ListCloudPCSCompleteMatchingPredicate

func (c CloudPCClient) ListCloudPCSCompleteMatchingPredicate(ctx context.Context, options ListCloudPCSOperationOptions, predicate CloudPCOperationPredicate) (result ListCloudPCSCompleteResult, err error)

ListCloudPCSCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CloudPCClient) PowerOffCloudPC

PowerOffCloudPC - 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 (CloudPCClient) PowerOnCloudPC

PowerOnCloudPC - 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 (CloudPCClient) RebootCloudPC

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

func (CloudPCClient) RenameCloudPC

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

func (CloudPCClient) ReprovisionCloudPC

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

func (CloudPCClient) ResizeCloudPC

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

func (CloudPCClient) RestoreCloudPC

RestoreCloudPC - 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 (CloudPCClient) RetryCloudPCPartnerAgentInstallation

RetryCloudPCPartnerAgentInstallation - 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 (CloudPCClient) SetCloudPCReviewStatus

SetCloudPCReviewStatus - Invoke action setReviewStatus

func (CloudPCClient) StartCloudPC

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

func (CloudPCClient) StopCloudPC

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

func (CloudPCClient) TroubleshootCloudPC

TroubleshootCloudPC - 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 (CloudPCClient) UpdateCloudPC

UpdateCloudPC - Update the navigation property cloudPCs in me

func (CloudPCClient) ValidateCloudPCsBulkResizes

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

func (CloudPCClient) ValidateCloudPCsBulkResizesComplete

ValidateCloudPCsBulkResizesComplete retrieves all the results into a single object

func (CloudPCClient) ValidateCloudPCsBulkResizesCompleteMatchingPredicate

ValidateCloudPCsBulkResizesCompleteMatchingPredicate retrieves all the results and then applies the predicate

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 CreateCloudPCOperationOptions

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

func DefaultCreateCloudPCOperationOptions

func DefaultCreateCloudPCOperationOptions() CreateCloudPCOperationOptions

func (CreateCloudPCOperationOptions) ToHeaders

func (CreateCloudPCOperationOptions) ToOData

func (CreateCloudPCOperationOptions) ToQuery

type CreateCloudPCOperationResponse

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

type CreateCloudPCSnapshotOperationOptions

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

func DefaultCreateCloudPCSnapshotOperationOptions

func DefaultCreateCloudPCSnapshotOperationOptions() CreateCloudPCSnapshotOperationOptions

func (CreateCloudPCSnapshotOperationOptions) ToHeaders

func (CreateCloudPCSnapshotOperationOptions) ToOData

func (CreateCloudPCSnapshotOperationOptions) ToQuery

type CreateCloudPCSnapshotOperationResponse

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

type DeleteCloudPCOperationOptions

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

func DefaultDeleteCloudPCOperationOptions

func DefaultDeleteCloudPCOperationOptions() DeleteCloudPCOperationOptions

func (DeleteCloudPCOperationOptions) ToHeaders

func (DeleteCloudPCOperationOptions) ToOData

func (DeleteCloudPCOperationOptions) ToQuery

type DeleteCloudPCOperationResponse

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

type EndCloudPCGracePeriodOperationOptions

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

func DefaultEndCloudPCGracePeriodOperationOptions

func DefaultEndCloudPCGracePeriodOperationOptions() EndCloudPCGracePeriodOperationOptions

func (EndCloudPCGracePeriodOperationOptions) ToHeaders

func (EndCloudPCGracePeriodOperationOptions) ToOData

func (EndCloudPCGracePeriodOperationOptions) ToQuery

type EndCloudPCGracePeriodOperationResponse

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

type GetCloudPCOperationOptions

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

func DefaultGetCloudPCOperationOptions

func DefaultGetCloudPCOperationOptions() GetCloudPCOperationOptions

func (GetCloudPCOperationOptions) ToHeaders

func (o GetCloudPCOperationOptions) ToHeaders() *client.Headers

func (GetCloudPCOperationOptions) ToOData

func (o GetCloudPCOperationOptions) ToOData() *odata.Query

func (GetCloudPCOperationOptions) ToQuery

type GetCloudPCOperationResponse

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

type GetCloudPCsCountOperationOptions

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

func DefaultGetCloudPCsCountOperationOptions

func DefaultGetCloudPCsCountOperationOptions() GetCloudPCsCountOperationOptions

func (GetCloudPCsCountOperationOptions) ToHeaders

func (GetCloudPCsCountOperationOptions) ToOData

func (GetCloudPCsCountOperationOptions) ToQuery

type GetCloudPCsCountOperationResponse

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

type ListCloudPCBulkResizesCompleteResult

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

type ListCloudPCBulkResizesCustomPager

type ListCloudPCBulkResizesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListCloudPCBulkResizesCustomPager) NextPageLink() *odata.Link

type ListCloudPCBulkResizesOperationOptions

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

func DefaultListCloudPCBulkResizesOperationOptions

func DefaultListCloudPCBulkResizesOperationOptions() ListCloudPCBulkResizesOperationOptions

func (ListCloudPCBulkResizesOperationOptions) ToHeaders

func (ListCloudPCBulkResizesOperationOptions) ToOData

func (ListCloudPCBulkResizesOperationOptions) ToQuery

type ListCloudPCBulkResizesOperationResponse

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

type ListCloudPCBulkResizesRequest

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

type ListCloudPCSCompleteResult

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

type ListCloudPCSCustomPager

type ListCloudPCSCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListCloudPCSCustomPager) NextPageLink() *odata.Link

type ListCloudPCSOperationOptions

type ListCloudPCSOperationOptions 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 DefaultListCloudPCSOperationOptions

func DefaultListCloudPCSOperationOptions() ListCloudPCSOperationOptions

func (ListCloudPCSOperationOptions) ToHeaders

func (ListCloudPCSOperationOptions) ToOData

func (ListCloudPCSOperationOptions) ToQuery

type ListCloudPCSOperationResponse

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

type PowerOffCloudPCOperationOptions

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

func DefaultPowerOffCloudPCOperationOptions

func DefaultPowerOffCloudPCOperationOptions() PowerOffCloudPCOperationOptions

func (PowerOffCloudPCOperationOptions) ToHeaders

func (PowerOffCloudPCOperationOptions) ToOData

func (PowerOffCloudPCOperationOptions) ToQuery

type PowerOffCloudPCOperationResponse

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

type PowerOnCloudPCOperationOptions

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

func DefaultPowerOnCloudPCOperationOptions

func DefaultPowerOnCloudPCOperationOptions() PowerOnCloudPCOperationOptions

func (PowerOnCloudPCOperationOptions) ToHeaders

func (PowerOnCloudPCOperationOptions) ToOData

func (PowerOnCloudPCOperationOptions) ToQuery

type PowerOnCloudPCOperationResponse

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

type RebootCloudPCOperationOptions

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

func DefaultRebootCloudPCOperationOptions

func DefaultRebootCloudPCOperationOptions() RebootCloudPCOperationOptions

func (RebootCloudPCOperationOptions) ToHeaders

func (RebootCloudPCOperationOptions) ToOData

func (RebootCloudPCOperationOptions) ToQuery

type RebootCloudPCOperationResponse

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

type RenameCloudPCOperationOptions

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

func DefaultRenameCloudPCOperationOptions

func DefaultRenameCloudPCOperationOptions() RenameCloudPCOperationOptions

func (RenameCloudPCOperationOptions) ToHeaders

func (RenameCloudPCOperationOptions) ToOData

func (RenameCloudPCOperationOptions) ToQuery

type RenameCloudPCOperationResponse

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

type RenameCloudPCRequest

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

type ReprovisionCloudPCOperationOptions

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

func DefaultReprovisionCloudPCOperationOptions

func DefaultReprovisionCloudPCOperationOptions() ReprovisionCloudPCOperationOptions

func (ReprovisionCloudPCOperationOptions) ToHeaders

func (ReprovisionCloudPCOperationOptions) ToOData

func (ReprovisionCloudPCOperationOptions) ToQuery

type ReprovisionCloudPCOperationResponse

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

type ReprovisionCloudPCRequest

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

type ResizeCloudPCOperationOptions

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

func DefaultResizeCloudPCOperationOptions

func DefaultResizeCloudPCOperationOptions() ResizeCloudPCOperationOptions

func (ResizeCloudPCOperationOptions) ToHeaders

func (ResizeCloudPCOperationOptions) ToOData

func (ResizeCloudPCOperationOptions) ToQuery

type ResizeCloudPCOperationResponse

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

type ResizeCloudPCRequest

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

type RestoreCloudPCOperationOptions

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

func DefaultRestoreCloudPCOperationOptions

func DefaultRestoreCloudPCOperationOptions() RestoreCloudPCOperationOptions

func (RestoreCloudPCOperationOptions) ToHeaders

func (RestoreCloudPCOperationOptions) ToOData

func (RestoreCloudPCOperationOptions) ToQuery

type RestoreCloudPCOperationResponse

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

type RestoreCloudPCRequest

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

type RetryCloudPCPartnerAgentInstallationOperationOptions

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

func DefaultRetryCloudPCPartnerAgentInstallationOperationOptions

func DefaultRetryCloudPCPartnerAgentInstallationOperationOptions() RetryCloudPCPartnerAgentInstallationOperationOptions

func (RetryCloudPCPartnerAgentInstallationOperationOptions) ToHeaders

func (RetryCloudPCPartnerAgentInstallationOperationOptions) ToOData

func (RetryCloudPCPartnerAgentInstallationOperationOptions) ToQuery

type RetryCloudPCPartnerAgentInstallationOperationResponse

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

type SetCloudPCReviewStatusOperationOptions

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

func DefaultSetCloudPCReviewStatusOperationOptions

func DefaultSetCloudPCReviewStatusOperationOptions() SetCloudPCReviewStatusOperationOptions

func (SetCloudPCReviewStatusOperationOptions) ToHeaders

func (SetCloudPCReviewStatusOperationOptions) ToOData

func (SetCloudPCReviewStatusOperationOptions) ToQuery

type SetCloudPCReviewStatusOperationResponse

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

type SetCloudPCReviewStatusRequest

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

type StartCloudPCOperationOptions

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

func DefaultStartCloudPCOperationOptions

func DefaultStartCloudPCOperationOptions() StartCloudPCOperationOptions

func (StartCloudPCOperationOptions) ToHeaders

func (StartCloudPCOperationOptions) ToOData

func (StartCloudPCOperationOptions) ToQuery

type StartCloudPCOperationResponse

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

type StopCloudPCOperationOptions

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

func DefaultStopCloudPCOperationOptions

func DefaultStopCloudPCOperationOptions() StopCloudPCOperationOptions

func (StopCloudPCOperationOptions) ToHeaders

func (StopCloudPCOperationOptions) ToOData

func (StopCloudPCOperationOptions) ToQuery

type StopCloudPCOperationResponse

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

type TroubleshootCloudPCOperationOptions

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

func DefaultTroubleshootCloudPCOperationOptions

func DefaultTroubleshootCloudPCOperationOptions() TroubleshootCloudPCOperationOptions

func (TroubleshootCloudPCOperationOptions) ToHeaders

func (TroubleshootCloudPCOperationOptions) ToOData

func (TroubleshootCloudPCOperationOptions) ToQuery

type TroubleshootCloudPCOperationResponse

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

type UpdateCloudPCOperationOptions

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

func DefaultUpdateCloudPCOperationOptions

func DefaultUpdateCloudPCOperationOptions() UpdateCloudPCOperationOptions

func (UpdateCloudPCOperationOptions) ToHeaders

func (UpdateCloudPCOperationOptions) ToOData

func (UpdateCloudPCOperationOptions) ToQuery

type UpdateCloudPCOperationResponse

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

type ValidateCloudPCsBulkResizesCompleteResult

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

type ValidateCloudPCsBulkResizesCustomPager

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

type ValidateCloudPCsBulkResizesOperationOptions

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

func DefaultValidateCloudPCsBulkResizesOperationOptions

func DefaultValidateCloudPCsBulkResizesOperationOptions() ValidateCloudPCsBulkResizesOperationOptions

func (ValidateCloudPCsBulkResizesOperationOptions) ToHeaders

func (ValidateCloudPCsBulkResizesOperationOptions) ToOData

func (ValidateCloudPCsBulkResizesOperationOptions) ToQuery

type ValidateCloudPCsBulkResizesOperationResponse

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

type ValidateCloudPCsBulkResizesRequest

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

Jump to

Keyboard shortcuts

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