virtual_machines

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for virtual machines API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new virtual machines API client.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) VirtualMachinesCapture

VirtualMachinesCapture Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.

func (*Client) VirtualMachinesConvertToManagedDisks

VirtualMachinesConvertToManagedDisks Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.

func (*Client) VirtualMachinesCreateOrUpdate

VirtualMachinesCreateOrUpdate The operation to create or update a virtual machine.

func (*Client) VirtualMachinesDeallocate

VirtualMachinesDeallocate Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

func (*Client) VirtualMachinesDelete

VirtualMachinesDelete The operation to delete a virtual machine.

func (*Client) VirtualMachinesGeneralize

func (a *Client) VirtualMachinesGeneralize(params *VirtualMachinesGeneralizeParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesGeneralizeOK, error)

VirtualMachinesGeneralize Sets the state of the virtual machine to generalized.

func (*Client) VirtualMachinesGet

func (a *Client) VirtualMachinesGet(params *VirtualMachinesGetParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesGetOK, error)

VirtualMachinesGet Retrieves information about the model view or the instance view of a virtual machine.

func (*Client) VirtualMachinesList

func (a *Client) VirtualMachinesList(params *VirtualMachinesListParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesListOK, error)

VirtualMachinesList Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.

func (*Client) VirtualMachinesListAll

func (a *Client) VirtualMachinesListAll(params *VirtualMachinesListAllParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesListAllOK, error)

VirtualMachinesListAll Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.

func (*Client) VirtualMachinesListAvailableSizes

VirtualMachinesListAvailableSizes Lists all available virtual machine sizes to which the specified virtual machine can be resized.

func (*Client) VirtualMachinesPowerOff

VirtualMachinesPowerOff The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.

func (*Client) VirtualMachinesRedeploy

VirtualMachinesRedeploy The operation to redeploy a virtual machine.

func (*Client) VirtualMachinesRestart

VirtualMachinesRestart The operation to restart a virtual machine.

func (*Client) VirtualMachinesStart

VirtualMachinesStart The operation to start a virtual machine.

type VirtualMachinesCaptureAccepted

type VirtualMachinesCaptureAccepted struct {
}

VirtualMachinesCaptureAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesCaptureAccepted

func NewVirtualMachinesCaptureAccepted() *VirtualMachinesCaptureAccepted

NewVirtualMachinesCaptureAccepted creates a VirtualMachinesCaptureAccepted with default headers values

func (*VirtualMachinesCaptureAccepted) Error

type VirtualMachinesCaptureOK

type VirtualMachinesCaptureOK struct {
	Payload *models.VirtualMachineCaptureResult
}

VirtualMachinesCaptureOK handles this case with default header values.

OK

func NewVirtualMachinesCaptureOK

func NewVirtualMachinesCaptureOK() *VirtualMachinesCaptureOK

NewVirtualMachinesCaptureOK creates a VirtualMachinesCaptureOK with default headers values

func (*VirtualMachinesCaptureOK) Error

func (o *VirtualMachinesCaptureOK) Error() string

type VirtualMachinesCaptureParams

type VirtualMachinesCaptureParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*Parameters
	  Parameters supplied to the Capture Virtual Machine operation.

	*/
	Parameters *models.VirtualMachineCaptureParameters
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesCaptureParams contains all the parameters to send to the API endpoint for the virtual machines capture operation typically these are written to a http.Request

func NewVirtualMachinesCaptureParams

func NewVirtualMachinesCaptureParams() *VirtualMachinesCaptureParams

NewVirtualMachinesCaptureParams creates a new VirtualMachinesCaptureParams object with the default values initialized.

func NewVirtualMachinesCaptureParamsWithContext

func NewVirtualMachinesCaptureParamsWithContext(ctx context.Context) *VirtualMachinesCaptureParams

NewVirtualMachinesCaptureParamsWithContext creates a new VirtualMachinesCaptureParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesCaptureParamsWithTimeout

func NewVirtualMachinesCaptureParamsWithTimeout(timeout time.Duration) *VirtualMachinesCaptureParams

NewVirtualMachinesCaptureParamsWithTimeout creates a new VirtualMachinesCaptureParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesCaptureParams) SetAPIVersion

func (o *VirtualMachinesCaptureParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines capture params

func (*VirtualMachinesCaptureParams) SetContext

func (o *VirtualMachinesCaptureParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines capture params

func (*VirtualMachinesCaptureParams) SetParameters

SetParameters adds the parameters to the virtual machines capture params

func (*VirtualMachinesCaptureParams) SetResourceGroupName

func (o *VirtualMachinesCaptureParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines capture params

func (*VirtualMachinesCaptureParams) SetSubscriptionID

func (o *VirtualMachinesCaptureParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines capture params

func (*VirtualMachinesCaptureParams) SetTimeout

func (o *VirtualMachinesCaptureParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines capture params

func (*VirtualMachinesCaptureParams) SetVMName

func (o *VirtualMachinesCaptureParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WithAPIVersion

func (o *VirtualMachinesCaptureParams) WithAPIVersion(aPIVersion string) *VirtualMachinesCaptureParams

WithAPIVersion adds the aPIVersion to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WithContext

WithContext adds the context to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WithParameters

WithParameters adds the parameters to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WithResourceGroupName

func (o *VirtualMachinesCaptureParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesCaptureParams

WithResourceGroupName adds the resourceGroupName to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WithSubscriptionID

func (o *VirtualMachinesCaptureParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesCaptureParams

WithSubscriptionID adds the subscriptionID to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WithTimeout

WithTimeout adds the timeout to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WithVMName

WithVMName adds the vMName to the virtual machines capture params

func (*VirtualMachinesCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesCaptureReader

type VirtualMachinesCaptureReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesCaptureReader is a Reader for the VirtualMachinesCapture structure.

func (*VirtualMachinesCaptureReader) ReadResponse

func (o *VirtualMachinesCaptureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesConvertToManagedDisksAccepted

type VirtualMachinesConvertToManagedDisksAccepted struct {
}

VirtualMachinesConvertToManagedDisksAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesConvertToManagedDisksAccepted

func NewVirtualMachinesConvertToManagedDisksAccepted() *VirtualMachinesConvertToManagedDisksAccepted

NewVirtualMachinesConvertToManagedDisksAccepted creates a VirtualMachinesConvertToManagedDisksAccepted with default headers values

func (*VirtualMachinesConvertToManagedDisksAccepted) Error

type VirtualMachinesConvertToManagedDisksOK

type VirtualMachinesConvertToManagedDisksOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesConvertToManagedDisksOK handles this case with default header values.

OK

func NewVirtualMachinesConvertToManagedDisksOK

func NewVirtualMachinesConvertToManagedDisksOK() *VirtualMachinesConvertToManagedDisksOK

NewVirtualMachinesConvertToManagedDisksOK creates a VirtualMachinesConvertToManagedDisksOK with default headers values

func (*VirtualMachinesConvertToManagedDisksOK) Error

type VirtualMachinesConvertToManagedDisksParams

type VirtualMachinesConvertToManagedDisksParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesConvertToManagedDisksParams contains all the parameters to send to the API endpoint for the virtual machines convert to managed disks operation typically these are written to a http.Request

func NewVirtualMachinesConvertToManagedDisksParams

func NewVirtualMachinesConvertToManagedDisksParams() *VirtualMachinesConvertToManagedDisksParams

NewVirtualMachinesConvertToManagedDisksParams creates a new VirtualMachinesConvertToManagedDisksParams object with the default values initialized.

func NewVirtualMachinesConvertToManagedDisksParamsWithContext

func NewVirtualMachinesConvertToManagedDisksParamsWithContext(ctx context.Context) *VirtualMachinesConvertToManagedDisksParams

NewVirtualMachinesConvertToManagedDisksParamsWithContext creates a new VirtualMachinesConvertToManagedDisksParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesConvertToManagedDisksParamsWithTimeout

func NewVirtualMachinesConvertToManagedDisksParamsWithTimeout(timeout time.Duration) *VirtualMachinesConvertToManagedDisksParams

NewVirtualMachinesConvertToManagedDisksParamsWithTimeout creates a new VirtualMachinesConvertToManagedDisksParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesConvertToManagedDisksParams) SetAPIVersion

func (o *VirtualMachinesConvertToManagedDisksParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) SetContext

SetContext adds the context to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) SetResourceGroupName

func (o *VirtualMachinesConvertToManagedDisksParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) SetSubscriptionID

func (o *VirtualMachinesConvertToManagedDisksParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) SetTimeout

SetTimeout adds the timeout to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) SetVMName

SetVMName adds the vmName to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) WithContext

WithContext adds the context to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) WithResourceGroupName

WithResourceGroupName adds the resourceGroupName to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) WithTimeout

WithTimeout adds the timeout to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) WithVMName

WithVMName adds the vMName to the virtual machines convert to managed disks params

func (*VirtualMachinesConvertToManagedDisksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesConvertToManagedDisksReader

type VirtualMachinesConvertToManagedDisksReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesConvertToManagedDisksReader is a Reader for the VirtualMachinesConvertToManagedDisks structure.

func (*VirtualMachinesConvertToManagedDisksReader) ReadResponse

func (o *VirtualMachinesConvertToManagedDisksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesCreateOrUpdateCreated

type VirtualMachinesCreateOrUpdateCreated struct {
	Payload *models.VirtualMachine
}

VirtualMachinesCreateOrUpdateCreated handles this case with default header values.

Created

func NewVirtualMachinesCreateOrUpdateCreated

func NewVirtualMachinesCreateOrUpdateCreated() *VirtualMachinesCreateOrUpdateCreated

NewVirtualMachinesCreateOrUpdateCreated creates a VirtualMachinesCreateOrUpdateCreated with default headers values

func (*VirtualMachinesCreateOrUpdateCreated) Error

type VirtualMachinesCreateOrUpdateOK

type VirtualMachinesCreateOrUpdateOK struct {
	Payload *models.VirtualMachine
}

VirtualMachinesCreateOrUpdateOK handles this case with default header values.

OK

func NewVirtualMachinesCreateOrUpdateOK

func NewVirtualMachinesCreateOrUpdateOK() *VirtualMachinesCreateOrUpdateOK

NewVirtualMachinesCreateOrUpdateOK creates a VirtualMachinesCreateOrUpdateOK with default headers values

func (*VirtualMachinesCreateOrUpdateOK) Error

type VirtualMachinesCreateOrUpdateParams

type VirtualMachinesCreateOrUpdateParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*Parameters
	  Parameters supplied to the Create Virtual Machine operation.

	*/
	Parameters *models.VirtualMachine
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesCreateOrUpdateParams contains all the parameters to send to the API endpoint for the virtual machines create or update operation typically these are written to a http.Request

func NewVirtualMachinesCreateOrUpdateParams

func NewVirtualMachinesCreateOrUpdateParams() *VirtualMachinesCreateOrUpdateParams

NewVirtualMachinesCreateOrUpdateParams creates a new VirtualMachinesCreateOrUpdateParams object with the default values initialized.

func NewVirtualMachinesCreateOrUpdateParamsWithContext

func NewVirtualMachinesCreateOrUpdateParamsWithContext(ctx context.Context) *VirtualMachinesCreateOrUpdateParams

NewVirtualMachinesCreateOrUpdateParamsWithContext creates a new VirtualMachinesCreateOrUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesCreateOrUpdateParamsWithTimeout

func NewVirtualMachinesCreateOrUpdateParamsWithTimeout(timeout time.Duration) *VirtualMachinesCreateOrUpdateParams

NewVirtualMachinesCreateOrUpdateParamsWithTimeout creates a new VirtualMachinesCreateOrUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesCreateOrUpdateParams) SetAPIVersion

func (o *VirtualMachinesCreateOrUpdateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) SetContext

SetContext adds the context to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) SetParameters

func (o *VirtualMachinesCreateOrUpdateParams) SetParameters(parameters *models.VirtualMachine)

SetParameters adds the parameters to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) SetResourceGroupName

func (o *VirtualMachinesCreateOrUpdateParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) SetSubscriptionID

func (o *VirtualMachinesCreateOrUpdateParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) SetTimeout

func (o *VirtualMachinesCreateOrUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) SetVMName

func (o *VirtualMachinesCreateOrUpdateParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WithContext

WithContext adds the context to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WithParameters

WithParameters adds the parameters to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WithResourceGroupName

func (o *VirtualMachinesCreateOrUpdateParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesCreateOrUpdateParams

WithResourceGroupName adds the resourceGroupName to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WithTimeout

WithTimeout adds the timeout to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WithVMName

WithVMName adds the vMName to the virtual machines create or update params

func (*VirtualMachinesCreateOrUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesCreateOrUpdateReader

type VirtualMachinesCreateOrUpdateReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesCreateOrUpdateReader is a Reader for the VirtualMachinesCreateOrUpdate structure.

func (*VirtualMachinesCreateOrUpdateReader) ReadResponse

func (o *VirtualMachinesCreateOrUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesDeallocateAccepted

type VirtualMachinesDeallocateAccepted struct {
}

VirtualMachinesDeallocateAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesDeallocateAccepted

func NewVirtualMachinesDeallocateAccepted() *VirtualMachinesDeallocateAccepted

NewVirtualMachinesDeallocateAccepted creates a VirtualMachinesDeallocateAccepted with default headers values

func (*VirtualMachinesDeallocateAccepted) Error

type VirtualMachinesDeallocateOK

type VirtualMachinesDeallocateOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesDeallocateOK handles this case with default header values.

OK

func NewVirtualMachinesDeallocateOK

func NewVirtualMachinesDeallocateOK() *VirtualMachinesDeallocateOK

NewVirtualMachinesDeallocateOK creates a VirtualMachinesDeallocateOK with default headers values

func (*VirtualMachinesDeallocateOK) Error

type VirtualMachinesDeallocateParams

type VirtualMachinesDeallocateParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesDeallocateParams contains all the parameters to send to the API endpoint for the virtual machines deallocate operation typically these are written to a http.Request

func NewVirtualMachinesDeallocateParams

func NewVirtualMachinesDeallocateParams() *VirtualMachinesDeallocateParams

NewVirtualMachinesDeallocateParams creates a new VirtualMachinesDeallocateParams object with the default values initialized.

func NewVirtualMachinesDeallocateParamsWithContext

func NewVirtualMachinesDeallocateParamsWithContext(ctx context.Context) *VirtualMachinesDeallocateParams

NewVirtualMachinesDeallocateParamsWithContext creates a new VirtualMachinesDeallocateParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesDeallocateParamsWithTimeout

func NewVirtualMachinesDeallocateParamsWithTimeout(timeout time.Duration) *VirtualMachinesDeallocateParams

NewVirtualMachinesDeallocateParamsWithTimeout creates a new VirtualMachinesDeallocateParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesDeallocateParams) SetAPIVersion

func (o *VirtualMachinesDeallocateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) SetContext

func (o *VirtualMachinesDeallocateParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) SetResourceGroupName

func (o *VirtualMachinesDeallocateParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) SetSubscriptionID

func (o *VirtualMachinesDeallocateParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) SetTimeout

func (o *VirtualMachinesDeallocateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) SetVMName

func (o *VirtualMachinesDeallocateParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) WithContext

WithContext adds the context to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) WithResourceGroupName

func (o *VirtualMachinesDeallocateParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesDeallocateParams

WithResourceGroupName adds the resourceGroupName to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) WithSubscriptionID

func (o *VirtualMachinesDeallocateParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesDeallocateParams

WithSubscriptionID adds the subscriptionID to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) WithTimeout

WithTimeout adds the timeout to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) WithVMName

WithVMName adds the vMName to the virtual machines deallocate params

func (*VirtualMachinesDeallocateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesDeallocateReader

type VirtualMachinesDeallocateReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesDeallocateReader is a Reader for the VirtualMachinesDeallocate structure.

func (*VirtualMachinesDeallocateReader) ReadResponse

func (o *VirtualMachinesDeallocateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesDeleteAccepted

type VirtualMachinesDeleteAccepted struct {
}

VirtualMachinesDeleteAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesDeleteAccepted

func NewVirtualMachinesDeleteAccepted() *VirtualMachinesDeleteAccepted

NewVirtualMachinesDeleteAccepted creates a VirtualMachinesDeleteAccepted with default headers values

func (*VirtualMachinesDeleteAccepted) Error

type VirtualMachinesDeleteNoContent

type VirtualMachinesDeleteNoContent struct {
}

VirtualMachinesDeleteNoContent handles this case with default header values.

No Content

func NewVirtualMachinesDeleteNoContent

func NewVirtualMachinesDeleteNoContent() *VirtualMachinesDeleteNoContent

NewVirtualMachinesDeleteNoContent creates a VirtualMachinesDeleteNoContent with default headers values

func (*VirtualMachinesDeleteNoContent) Error

type VirtualMachinesDeleteOK

type VirtualMachinesDeleteOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesDeleteOK handles this case with default header values.

OK

func NewVirtualMachinesDeleteOK

func NewVirtualMachinesDeleteOK() *VirtualMachinesDeleteOK

NewVirtualMachinesDeleteOK creates a VirtualMachinesDeleteOK with default headers values

func (*VirtualMachinesDeleteOK) Error

func (o *VirtualMachinesDeleteOK) Error() string

type VirtualMachinesDeleteParams

type VirtualMachinesDeleteParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesDeleteParams contains all the parameters to send to the API endpoint for the virtual machines delete operation typically these are written to a http.Request

func NewVirtualMachinesDeleteParams

func NewVirtualMachinesDeleteParams() *VirtualMachinesDeleteParams

NewVirtualMachinesDeleteParams creates a new VirtualMachinesDeleteParams object with the default values initialized.

func NewVirtualMachinesDeleteParamsWithContext

func NewVirtualMachinesDeleteParamsWithContext(ctx context.Context) *VirtualMachinesDeleteParams

NewVirtualMachinesDeleteParamsWithContext creates a new VirtualMachinesDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesDeleteParamsWithTimeout

func NewVirtualMachinesDeleteParamsWithTimeout(timeout time.Duration) *VirtualMachinesDeleteParams

NewVirtualMachinesDeleteParamsWithTimeout creates a new VirtualMachinesDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesDeleteParams) SetAPIVersion

func (o *VirtualMachinesDeleteParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines delete params

func (*VirtualMachinesDeleteParams) SetContext

func (o *VirtualMachinesDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines delete params

func (*VirtualMachinesDeleteParams) SetResourceGroupName

func (o *VirtualMachinesDeleteParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines delete params

func (*VirtualMachinesDeleteParams) SetSubscriptionID

func (o *VirtualMachinesDeleteParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines delete params

func (*VirtualMachinesDeleteParams) SetTimeout

func (o *VirtualMachinesDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines delete params

func (*VirtualMachinesDeleteParams) SetVMName

func (o *VirtualMachinesDeleteParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines delete params

func (*VirtualMachinesDeleteParams) WithAPIVersion

func (o *VirtualMachinesDeleteParams) WithAPIVersion(aPIVersion string) *VirtualMachinesDeleteParams

WithAPIVersion adds the aPIVersion to the virtual machines delete params

func (*VirtualMachinesDeleteParams) WithContext

WithContext adds the context to the virtual machines delete params

func (*VirtualMachinesDeleteParams) WithResourceGroupName

func (o *VirtualMachinesDeleteParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesDeleteParams

WithResourceGroupName adds the resourceGroupName to the virtual machines delete params

func (*VirtualMachinesDeleteParams) WithSubscriptionID

func (o *VirtualMachinesDeleteParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesDeleteParams

WithSubscriptionID adds the subscriptionID to the virtual machines delete params

func (*VirtualMachinesDeleteParams) WithTimeout

WithTimeout adds the timeout to the virtual machines delete params

func (*VirtualMachinesDeleteParams) WithVMName

WithVMName adds the vMName to the virtual machines delete params

func (*VirtualMachinesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesDeleteReader

type VirtualMachinesDeleteReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesDeleteReader is a Reader for the VirtualMachinesDelete structure.

func (*VirtualMachinesDeleteReader) ReadResponse

func (o *VirtualMachinesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesGeneralizeOK

type VirtualMachinesGeneralizeOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesGeneralizeOK handles this case with default header values.

OK

func NewVirtualMachinesGeneralizeOK

func NewVirtualMachinesGeneralizeOK() *VirtualMachinesGeneralizeOK

NewVirtualMachinesGeneralizeOK creates a VirtualMachinesGeneralizeOK with default headers values

func (*VirtualMachinesGeneralizeOK) Error

type VirtualMachinesGeneralizeParams

type VirtualMachinesGeneralizeParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesGeneralizeParams contains all the parameters to send to the API endpoint for the virtual machines generalize operation typically these are written to a http.Request

func NewVirtualMachinesGeneralizeParams

func NewVirtualMachinesGeneralizeParams() *VirtualMachinesGeneralizeParams

NewVirtualMachinesGeneralizeParams creates a new VirtualMachinesGeneralizeParams object with the default values initialized.

func NewVirtualMachinesGeneralizeParamsWithContext

func NewVirtualMachinesGeneralizeParamsWithContext(ctx context.Context) *VirtualMachinesGeneralizeParams

NewVirtualMachinesGeneralizeParamsWithContext creates a new VirtualMachinesGeneralizeParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesGeneralizeParamsWithTimeout

func NewVirtualMachinesGeneralizeParamsWithTimeout(timeout time.Duration) *VirtualMachinesGeneralizeParams

NewVirtualMachinesGeneralizeParamsWithTimeout creates a new VirtualMachinesGeneralizeParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesGeneralizeParams) SetAPIVersion

func (o *VirtualMachinesGeneralizeParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) SetContext

func (o *VirtualMachinesGeneralizeParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) SetResourceGroupName

func (o *VirtualMachinesGeneralizeParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) SetSubscriptionID

func (o *VirtualMachinesGeneralizeParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) SetTimeout

func (o *VirtualMachinesGeneralizeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) SetVMName

func (o *VirtualMachinesGeneralizeParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) WithContext

WithContext adds the context to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) WithResourceGroupName

func (o *VirtualMachinesGeneralizeParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesGeneralizeParams

WithResourceGroupName adds the resourceGroupName to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) WithSubscriptionID

func (o *VirtualMachinesGeneralizeParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesGeneralizeParams

WithSubscriptionID adds the subscriptionID to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) WithTimeout

WithTimeout adds the timeout to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) WithVMName

WithVMName adds the vMName to the virtual machines generalize params

func (*VirtualMachinesGeneralizeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesGeneralizeReader

type VirtualMachinesGeneralizeReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesGeneralizeReader is a Reader for the VirtualMachinesGeneralize structure.

func (*VirtualMachinesGeneralizeReader) ReadResponse

func (o *VirtualMachinesGeneralizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesGetOK

type VirtualMachinesGetOK struct {
	Payload *models.VirtualMachine
}

VirtualMachinesGetOK handles this case with default header values.

OK

func NewVirtualMachinesGetOK

func NewVirtualMachinesGetOK() *VirtualMachinesGetOK

NewVirtualMachinesGetOK creates a VirtualMachinesGetOK with default headers values

func (*VirtualMachinesGetOK) Error

func (o *VirtualMachinesGetOK) Error() string

type VirtualMachinesGetParams

type VirtualMachinesGetParams struct {

	/*NrDollarExpand
	  The expand expression to apply on the operation.

	*/
	DollarExpand *string
	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesGetParams contains all the parameters to send to the API endpoint for the virtual machines get operation typically these are written to a http.Request

func NewVirtualMachinesGetParams

func NewVirtualMachinesGetParams() *VirtualMachinesGetParams

NewVirtualMachinesGetParams creates a new VirtualMachinesGetParams object with the default values initialized.

func NewVirtualMachinesGetParamsWithContext

func NewVirtualMachinesGetParamsWithContext(ctx context.Context) *VirtualMachinesGetParams

NewVirtualMachinesGetParamsWithContext creates a new VirtualMachinesGetParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesGetParamsWithTimeout

func NewVirtualMachinesGetParamsWithTimeout(timeout time.Duration) *VirtualMachinesGetParams

NewVirtualMachinesGetParamsWithTimeout creates a new VirtualMachinesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesGetParams) SetAPIVersion

func (o *VirtualMachinesGetParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines get params

func (*VirtualMachinesGetParams) SetContext

func (o *VirtualMachinesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines get params

func (*VirtualMachinesGetParams) SetDollarExpand

func (o *VirtualMachinesGetParams) SetDollarExpand(dollarExpand *string)

SetDollarExpand adds the dollarExpand to the virtual machines get params

func (*VirtualMachinesGetParams) SetResourceGroupName

func (o *VirtualMachinesGetParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines get params

func (*VirtualMachinesGetParams) SetSubscriptionID

func (o *VirtualMachinesGetParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines get params

func (*VirtualMachinesGetParams) SetTimeout

func (o *VirtualMachinesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines get params

func (*VirtualMachinesGetParams) SetVMName

func (o *VirtualMachinesGetParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines get params

func (*VirtualMachinesGetParams) WithAPIVersion

func (o *VirtualMachinesGetParams) WithAPIVersion(aPIVersion string) *VirtualMachinesGetParams

WithAPIVersion adds the aPIVersion to the virtual machines get params

func (*VirtualMachinesGetParams) WithContext

WithContext adds the context to the virtual machines get params

func (*VirtualMachinesGetParams) WithDollarExpand

func (o *VirtualMachinesGetParams) WithDollarExpand(dollarExpand *string) *VirtualMachinesGetParams

WithDollarExpand adds the dollarExpand to the virtual machines get params

func (*VirtualMachinesGetParams) WithResourceGroupName

func (o *VirtualMachinesGetParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesGetParams

WithResourceGroupName adds the resourceGroupName to the virtual machines get params

func (*VirtualMachinesGetParams) WithSubscriptionID

func (o *VirtualMachinesGetParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesGetParams

WithSubscriptionID adds the subscriptionID to the virtual machines get params

func (*VirtualMachinesGetParams) WithTimeout

WithTimeout adds the timeout to the virtual machines get params

func (*VirtualMachinesGetParams) WithVMName

WithVMName adds the vMName to the virtual machines get params

func (*VirtualMachinesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesGetReader

type VirtualMachinesGetReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesGetReader is a Reader for the VirtualMachinesGet structure.

func (*VirtualMachinesGetReader) ReadResponse

func (o *VirtualMachinesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesListAllOK

type VirtualMachinesListAllOK struct {
	Payload *models.VirtualMachineListResult
}

VirtualMachinesListAllOK handles this case with default header values.

OK

func NewVirtualMachinesListAllOK

func NewVirtualMachinesListAllOK() *VirtualMachinesListAllOK

NewVirtualMachinesListAllOK creates a VirtualMachinesListAllOK with default headers values

func (*VirtualMachinesListAllOK) Error

func (o *VirtualMachinesListAllOK) Error() string

type VirtualMachinesListAllParams

type VirtualMachinesListAllParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesListAllParams contains all the parameters to send to the API endpoint for the virtual machines list all operation typically these are written to a http.Request

func NewVirtualMachinesListAllParams

func NewVirtualMachinesListAllParams() *VirtualMachinesListAllParams

NewVirtualMachinesListAllParams creates a new VirtualMachinesListAllParams object with the default values initialized.

func NewVirtualMachinesListAllParamsWithContext

func NewVirtualMachinesListAllParamsWithContext(ctx context.Context) *VirtualMachinesListAllParams

NewVirtualMachinesListAllParamsWithContext creates a new VirtualMachinesListAllParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesListAllParamsWithTimeout

func NewVirtualMachinesListAllParamsWithTimeout(timeout time.Duration) *VirtualMachinesListAllParams

NewVirtualMachinesListAllParamsWithTimeout creates a new VirtualMachinesListAllParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesListAllParams) SetAPIVersion

func (o *VirtualMachinesListAllParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines list all params

func (*VirtualMachinesListAllParams) SetContext

func (o *VirtualMachinesListAllParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines list all params

func (*VirtualMachinesListAllParams) SetSubscriptionID

func (o *VirtualMachinesListAllParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines list all params

func (*VirtualMachinesListAllParams) SetTimeout

func (o *VirtualMachinesListAllParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines list all params

func (*VirtualMachinesListAllParams) WithAPIVersion

func (o *VirtualMachinesListAllParams) WithAPIVersion(aPIVersion string) *VirtualMachinesListAllParams

WithAPIVersion adds the aPIVersion to the virtual machines list all params

func (*VirtualMachinesListAllParams) WithContext

WithContext adds the context to the virtual machines list all params

func (*VirtualMachinesListAllParams) WithSubscriptionID

func (o *VirtualMachinesListAllParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesListAllParams

WithSubscriptionID adds the subscriptionID to the virtual machines list all params

func (*VirtualMachinesListAllParams) WithTimeout

WithTimeout adds the timeout to the virtual machines list all params

func (*VirtualMachinesListAllParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesListAllReader

type VirtualMachinesListAllReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesListAllReader is a Reader for the VirtualMachinesListAll structure.

func (*VirtualMachinesListAllReader) ReadResponse

func (o *VirtualMachinesListAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesListAvailableSizesOK

type VirtualMachinesListAvailableSizesOK struct {
	Payload *models.VirtualMachineSizeListResult
}

VirtualMachinesListAvailableSizesOK handles this case with default header values.

OK

func NewVirtualMachinesListAvailableSizesOK

func NewVirtualMachinesListAvailableSizesOK() *VirtualMachinesListAvailableSizesOK

NewVirtualMachinesListAvailableSizesOK creates a VirtualMachinesListAvailableSizesOK with default headers values

func (*VirtualMachinesListAvailableSizesOK) Error

type VirtualMachinesListAvailableSizesParams

type VirtualMachinesListAvailableSizesParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesListAvailableSizesParams contains all the parameters to send to the API endpoint for the virtual machines list available sizes operation typically these are written to a http.Request

func NewVirtualMachinesListAvailableSizesParams

func NewVirtualMachinesListAvailableSizesParams() *VirtualMachinesListAvailableSizesParams

NewVirtualMachinesListAvailableSizesParams creates a new VirtualMachinesListAvailableSizesParams object with the default values initialized.

func NewVirtualMachinesListAvailableSizesParamsWithContext

func NewVirtualMachinesListAvailableSizesParamsWithContext(ctx context.Context) *VirtualMachinesListAvailableSizesParams

NewVirtualMachinesListAvailableSizesParamsWithContext creates a new VirtualMachinesListAvailableSizesParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesListAvailableSizesParamsWithTimeout

func NewVirtualMachinesListAvailableSizesParamsWithTimeout(timeout time.Duration) *VirtualMachinesListAvailableSizesParams

NewVirtualMachinesListAvailableSizesParamsWithTimeout creates a new VirtualMachinesListAvailableSizesParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesListAvailableSizesParams) SetAPIVersion

func (o *VirtualMachinesListAvailableSizesParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) SetContext

SetContext adds the context to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) SetResourceGroupName

func (o *VirtualMachinesListAvailableSizesParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) SetSubscriptionID

func (o *VirtualMachinesListAvailableSizesParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) SetTimeout

func (o *VirtualMachinesListAvailableSizesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) SetVMName

func (o *VirtualMachinesListAvailableSizesParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) WithContext

WithContext adds the context to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) WithResourceGroupName

func (o *VirtualMachinesListAvailableSizesParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesListAvailableSizesParams

WithResourceGroupName adds the resourceGroupName to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) WithTimeout

WithTimeout adds the timeout to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) WithVMName

WithVMName adds the vMName to the virtual machines list available sizes params

func (*VirtualMachinesListAvailableSizesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesListAvailableSizesReader

type VirtualMachinesListAvailableSizesReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesListAvailableSizesReader is a Reader for the VirtualMachinesListAvailableSizes structure.

func (*VirtualMachinesListAvailableSizesReader) ReadResponse

func (o *VirtualMachinesListAvailableSizesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesListOK

type VirtualMachinesListOK struct {
	Payload *models.VirtualMachineListResult
}

VirtualMachinesListOK handles this case with default header values.

OK

func NewVirtualMachinesListOK

func NewVirtualMachinesListOK() *VirtualMachinesListOK

NewVirtualMachinesListOK creates a VirtualMachinesListOK with default headers values

func (*VirtualMachinesListOK) Error

func (o *VirtualMachinesListOK) Error() string

type VirtualMachinesListParams

type VirtualMachinesListParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesListParams contains all the parameters to send to the API endpoint for the virtual machines list operation typically these are written to a http.Request

func NewVirtualMachinesListParams

func NewVirtualMachinesListParams() *VirtualMachinesListParams

NewVirtualMachinesListParams creates a new VirtualMachinesListParams object with the default values initialized.

func NewVirtualMachinesListParamsWithContext

func NewVirtualMachinesListParamsWithContext(ctx context.Context) *VirtualMachinesListParams

NewVirtualMachinesListParamsWithContext creates a new VirtualMachinesListParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesListParamsWithTimeout

func NewVirtualMachinesListParamsWithTimeout(timeout time.Duration) *VirtualMachinesListParams

NewVirtualMachinesListParamsWithTimeout creates a new VirtualMachinesListParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesListParams) SetAPIVersion

func (o *VirtualMachinesListParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines list params

func (*VirtualMachinesListParams) SetContext

func (o *VirtualMachinesListParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines list params

func (*VirtualMachinesListParams) SetResourceGroupName

func (o *VirtualMachinesListParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines list params

func (*VirtualMachinesListParams) SetSubscriptionID

func (o *VirtualMachinesListParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines list params

func (*VirtualMachinesListParams) SetTimeout

func (o *VirtualMachinesListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines list params

func (*VirtualMachinesListParams) WithAPIVersion

func (o *VirtualMachinesListParams) WithAPIVersion(aPIVersion string) *VirtualMachinesListParams

WithAPIVersion adds the aPIVersion to the virtual machines list params

func (*VirtualMachinesListParams) WithContext

WithContext adds the context to the virtual machines list params

func (*VirtualMachinesListParams) WithResourceGroupName

func (o *VirtualMachinesListParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesListParams

WithResourceGroupName adds the resourceGroupName to the virtual machines list params

func (*VirtualMachinesListParams) WithSubscriptionID

func (o *VirtualMachinesListParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesListParams

WithSubscriptionID adds the subscriptionID to the virtual machines list params

func (*VirtualMachinesListParams) WithTimeout

WithTimeout adds the timeout to the virtual machines list params

func (*VirtualMachinesListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesListReader

type VirtualMachinesListReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesListReader is a Reader for the VirtualMachinesList structure.

func (*VirtualMachinesListReader) ReadResponse

func (o *VirtualMachinesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesPowerOffAccepted

type VirtualMachinesPowerOffAccepted struct {
}

VirtualMachinesPowerOffAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesPowerOffAccepted

func NewVirtualMachinesPowerOffAccepted() *VirtualMachinesPowerOffAccepted

NewVirtualMachinesPowerOffAccepted creates a VirtualMachinesPowerOffAccepted with default headers values

func (*VirtualMachinesPowerOffAccepted) Error

type VirtualMachinesPowerOffOK

type VirtualMachinesPowerOffOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesPowerOffOK handles this case with default header values.

OK

func NewVirtualMachinesPowerOffOK

func NewVirtualMachinesPowerOffOK() *VirtualMachinesPowerOffOK

NewVirtualMachinesPowerOffOK creates a VirtualMachinesPowerOffOK with default headers values

func (*VirtualMachinesPowerOffOK) Error

func (o *VirtualMachinesPowerOffOK) Error() string

type VirtualMachinesPowerOffParams

type VirtualMachinesPowerOffParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesPowerOffParams contains all the parameters to send to the API endpoint for the virtual machines power off operation typically these are written to a http.Request

func NewVirtualMachinesPowerOffParams

func NewVirtualMachinesPowerOffParams() *VirtualMachinesPowerOffParams

NewVirtualMachinesPowerOffParams creates a new VirtualMachinesPowerOffParams object with the default values initialized.

func NewVirtualMachinesPowerOffParamsWithContext

func NewVirtualMachinesPowerOffParamsWithContext(ctx context.Context) *VirtualMachinesPowerOffParams

NewVirtualMachinesPowerOffParamsWithContext creates a new VirtualMachinesPowerOffParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesPowerOffParamsWithTimeout

func NewVirtualMachinesPowerOffParamsWithTimeout(timeout time.Duration) *VirtualMachinesPowerOffParams

NewVirtualMachinesPowerOffParamsWithTimeout creates a new VirtualMachinesPowerOffParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesPowerOffParams) SetAPIVersion

func (o *VirtualMachinesPowerOffParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) SetContext

func (o *VirtualMachinesPowerOffParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) SetResourceGroupName

func (o *VirtualMachinesPowerOffParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) SetSubscriptionID

func (o *VirtualMachinesPowerOffParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) SetTimeout

func (o *VirtualMachinesPowerOffParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) SetVMName

func (o *VirtualMachinesPowerOffParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) WithContext

WithContext adds the context to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) WithResourceGroupName

func (o *VirtualMachinesPowerOffParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesPowerOffParams

WithResourceGroupName adds the resourceGroupName to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) WithSubscriptionID

func (o *VirtualMachinesPowerOffParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesPowerOffParams

WithSubscriptionID adds the subscriptionID to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) WithTimeout

WithTimeout adds the timeout to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) WithVMName

WithVMName adds the vMName to the virtual machines power off params

func (*VirtualMachinesPowerOffParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesPowerOffReader

type VirtualMachinesPowerOffReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesPowerOffReader is a Reader for the VirtualMachinesPowerOff structure.

func (*VirtualMachinesPowerOffReader) ReadResponse

func (o *VirtualMachinesPowerOffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesRedeployAccepted

type VirtualMachinesRedeployAccepted struct {
}

VirtualMachinesRedeployAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesRedeployAccepted

func NewVirtualMachinesRedeployAccepted() *VirtualMachinesRedeployAccepted

NewVirtualMachinesRedeployAccepted creates a VirtualMachinesRedeployAccepted with default headers values

func (*VirtualMachinesRedeployAccepted) Error

type VirtualMachinesRedeployOK

type VirtualMachinesRedeployOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesRedeployOK handles this case with default header values.

OK

func NewVirtualMachinesRedeployOK

func NewVirtualMachinesRedeployOK() *VirtualMachinesRedeployOK

NewVirtualMachinesRedeployOK creates a VirtualMachinesRedeployOK with default headers values

func (*VirtualMachinesRedeployOK) Error

func (o *VirtualMachinesRedeployOK) Error() string

type VirtualMachinesRedeployParams

type VirtualMachinesRedeployParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesRedeployParams contains all the parameters to send to the API endpoint for the virtual machines redeploy operation typically these are written to a http.Request

func NewVirtualMachinesRedeployParams

func NewVirtualMachinesRedeployParams() *VirtualMachinesRedeployParams

NewVirtualMachinesRedeployParams creates a new VirtualMachinesRedeployParams object with the default values initialized.

func NewVirtualMachinesRedeployParamsWithContext

func NewVirtualMachinesRedeployParamsWithContext(ctx context.Context) *VirtualMachinesRedeployParams

NewVirtualMachinesRedeployParamsWithContext creates a new VirtualMachinesRedeployParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesRedeployParamsWithTimeout

func NewVirtualMachinesRedeployParamsWithTimeout(timeout time.Duration) *VirtualMachinesRedeployParams

NewVirtualMachinesRedeployParamsWithTimeout creates a new VirtualMachinesRedeployParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesRedeployParams) SetAPIVersion

func (o *VirtualMachinesRedeployParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) SetContext

func (o *VirtualMachinesRedeployParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) SetResourceGroupName

func (o *VirtualMachinesRedeployParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) SetSubscriptionID

func (o *VirtualMachinesRedeployParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) SetTimeout

func (o *VirtualMachinesRedeployParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) SetVMName

func (o *VirtualMachinesRedeployParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) WithContext

WithContext adds the context to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) WithResourceGroupName

func (o *VirtualMachinesRedeployParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesRedeployParams

WithResourceGroupName adds the resourceGroupName to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) WithSubscriptionID

func (o *VirtualMachinesRedeployParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesRedeployParams

WithSubscriptionID adds the subscriptionID to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) WithTimeout

WithTimeout adds the timeout to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) WithVMName

WithVMName adds the vMName to the virtual machines redeploy params

func (*VirtualMachinesRedeployParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesRedeployReader

type VirtualMachinesRedeployReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesRedeployReader is a Reader for the VirtualMachinesRedeploy structure.

func (*VirtualMachinesRedeployReader) ReadResponse

func (o *VirtualMachinesRedeployReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesRestartAccepted

type VirtualMachinesRestartAccepted struct {
}

VirtualMachinesRestartAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesRestartAccepted

func NewVirtualMachinesRestartAccepted() *VirtualMachinesRestartAccepted

NewVirtualMachinesRestartAccepted creates a VirtualMachinesRestartAccepted with default headers values

func (*VirtualMachinesRestartAccepted) Error

type VirtualMachinesRestartOK

type VirtualMachinesRestartOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesRestartOK handles this case with default header values.

OK

func NewVirtualMachinesRestartOK

func NewVirtualMachinesRestartOK() *VirtualMachinesRestartOK

NewVirtualMachinesRestartOK creates a VirtualMachinesRestartOK with default headers values

func (*VirtualMachinesRestartOK) Error

func (o *VirtualMachinesRestartOK) Error() string

type VirtualMachinesRestartParams

type VirtualMachinesRestartParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesRestartParams contains all the parameters to send to the API endpoint for the virtual machines restart operation typically these are written to a http.Request

func NewVirtualMachinesRestartParams

func NewVirtualMachinesRestartParams() *VirtualMachinesRestartParams

NewVirtualMachinesRestartParams creates a new VirtualMachinesRestartParams object with the default values initialized.

func NewVirtualMachinesRestartParamsWithContext

func NewVirtualMachinesRestartParamsWithContext(ctx context.Context) *VirtualMachinesRestartParams

NewVirtualMachinesRestartParamsWithContext creates a new VirtualMachinesRestartParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesRestartParamsWithTimeout

func NewVirtualMachinesRestartParamsWithTimeout(timeout time.Duration) *VirtualMachinesRestartParams

NewVirtualMachinesRestartParamsWithTimeout creates a new VirtualMachinesRestartParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesRestartParams) SetAPIVersion

func (o *VirtualMachinesRestartParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines restart params

func (*VirtualMachinesRestartParams) SetContext

func (o *VirtualMachinesRestartParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines restart params

func (*VirtualMachinesRestartParams) SetResourceGroupName

func (o *VirtualMachinesRestartParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines restart params

func (*VirtualMachinesRestartParams) SetSubscriptionID

func (o *VirtualMachinesRestartParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines restart params

func (*VirtualMachinesRestartParams) SetTimeout

func (o *VirtualMachinesRestartParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines restart params

func (*VirtualMachinesRestartParams) SetVMName

func (o *VirtualMachinesRestartParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines restart params

func (*VirtualMachinesRestartParams) WithAPIVersion

func (o *VirtualMachinesRestartParams) WithAPIVersion(aPIVersion string) *VirtualMachinesRestartParams

WithAPIVersion adds the aPIVersion to the virtual machines restart params

func (*VirtualMachinesRestartParams) WithContext

WithContext adds the context to the virtual machines restart params

func (*VirtualMachinesRestartParams) WithResourceGroupName

func (o *VirtualMachinesRestartParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesRestartParams

WithResourceGroupName adds the resourceGroupName to the virtual machines restart params

func (*VirtualMachinesRestartParams) WithSubscriptionID

func (o *VirtualMachinesRestartParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesRestartParams

WithSubscriptionID adds the subscriptionID to the virtual machines restart params

func (*VirtualMachinesRestartParams) WithTimeout

WithTimeout adds the timeout to the virtual machines restart params

func (*VirtualMachinesRestartParams) WithVMName

WithVMName adds the vMName to the virtual machines restart params

func (*VirtualMachinesRestartParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesRestartReader

type VirtualMachinesRestartReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesRestartReader is a Reader for the VirtualMachinesRestart structure.

func (*VirtualMachinesRestartReader) ReadResponse

func (o *VirtualMachinesRestartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VirtualMachinesStartAccepted

type VirtualMachinesStartAccepted struct {
}

VirtualMachinesStartAccepted handles this case with default header values.

Accepted

func NewVirtualMachinesStartAccepted

func NewVirtualMachinesStartAccepted() *VirtualMachinesStartAccepted

NewVirtualMachinesStartAccepted creates a VirtualMachinesStartAccepted with default headers values

func (*VirtualMachinesStartAccepted) Error

type VirtualMachinesStartOK

type VirtualMachinesStartOK struct {
	Payload *models.OperationStatusResponse
}

VirtualMachinesStartOK handles this case with default header values.

OK

func NewVirtualMachinesStartOK

func NewVirtualMachinesStartOK() *VirtualMachinesStartOK

NewVirtualMachinesStartOK creates a VirtualMachinesStartOK with default headers values

func (*VirtualMachinesStartOK) Error

func (o *VirtualMachinesStartOK) Error() string

type VirtualMachinesStartParams

type VirtualMachinesStartParams struct {

	/*APIVersion
	  Client Api Version.

	*/
	APIVersion string
	/*ResourceGroupName
	  The name of the resource group.

	*/
	ResourceGroupName string
	/*SubscriptionID
	  Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

	*/
	SubscriptionID string
	/*VMName
	  The name of the virtual machine.

	*/
	VMName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VirtualMachinesStartParams contains all the parameters to send to the API endpoint for the virtual machines start operation typically these are written to a http.Request

func NewVirtualMachinesStartParams

func NewVirtualMachinesStartParams() *VirtualMachinesStartParams

NewVirtualMachinesStartParams creates a new VirtualMachinesStartParams object with the default values initialized.

func NewVirtualMachinesStartParamsWithContext

func NewVirtualMachinesStartParamsWithContext(ctx context.Context) *VirtualMachinesStartParams

NewVirtualMachinesStartParamsWithContext creates a new VirtualMachinesStartParams object with the default values initialized, and the ability to set a context for a request

func NewVirtualMachinesStartParamsWithTimeout

func NewVirtualMachinesStartParamsWithTimeout(timeout time.Duration) *VirtualMachinesStartParams

NewVirtualMachinesStartParamsWithTimeout creates a new VirtualMachinesStartParams object with the default values initialized, and the ability to set a timeout on a request

func (*VirtualMachinesStartParams) SetAPIVersion

func (o *VirtualMachinesStartParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the virtual machines start params

func (*VirtualMachinesStartParams) SetContext

func (o *VirtualMachinesStartParams) SetContext(ctx context.Context)

SetContext adds the context to the virtual machines start params

func (*VirtualMachinesStartParams) SetResourceGroupName

func (o *VirtualMachinesStartParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the virtual machines start params

func (*VirtualMachinesStartParams) SetSubscriptionID

func (o *VirtualMachinesStartParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the virtual machines start params

func (*VirtualMachinesStartParams) SetTimeout

func (o *VirtualMachinesStartParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the virtual machines start params

func (*VirtualMachinesStartParams) SetVMName

func (o *VirtualMachinesStartParams) SetVMName(vMName string)

SetVMName adds the vmName to the virtual machines start params

func (*VirtualMachinesStartParams) WithAPIVersion

func (o *VirtualMachinesStartParams) WithAPIVersion(aPIVersion string) *VirtualMachinesStartParams

WithAPIVersion adds the aPIVersion to the virtual machines start params

func (*VirtualMachinesStartParams) WithContext

WithContext adds the context to the virtual machines start params

func (*VirtualMachinesStartParams) WithResourceGroupName

func (o *VirtualMachinesStartParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesStartParams

WithResourceGroupName adds the resourceGroupName to the virtual machines start params

func (*VirtualMachinesStartParams) WithSubscriptionID

func (o *VirtualMachinesStartParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesStartParams

WithSubscriptionID adds the subscriptionID to the virtual machines start params

func (*VirtualMachinesStartParams) WithTimeout

WithTimeout adds the timeout to the virtual machines start params

func (*VirtualMachinesStartParams) WithVMName

WithVMName adds the vMName to the virtual machines start params

func (*VirtualMachinesStartParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VirtualMachinesStartReader

type VirtualMachinesStartReader struct {
	// contains filtered or unexported fields
}

VirtualMachinesStartReader is a Reader for the VirtualMachinesStart structure.

func (*VirtualMachinesStartReader) ReadResponse

func (o *VirtualMachinesStartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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