Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VirtualMachinesCapture(params *VirtualMachinesCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesCaptureOK, *VirtualMachinesCaptureAccepted, error)
- func (a *Client) VirtualMachinesConvertToManagedDisks(params *VirtualMachinesConvertToManagedDisksParams, ...) (*VirtualMachinesConvertToManagedDisksOK, ...)
- func (a *Client) VirtualMachinesCreateOrUpdate(params *VirtualMachinesCreateOrUpdateParams, ...) (*VirtualMachinesCreateOrUpdateOK, *VirtualMachinesCreateOrUpdateCreated, error)
- func (a *Client) VirtualMachinesDeallocate(params *VirtualMachinesDeallocateParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesDeallocateOK, *VirtualMachinesDeallocateAccepted, error)
- func (a *Client) VirtualMachinesDelete(params *VirtualMachinesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesDeleteOK, *VirtualMachinesDeleteAccepted, ...)
- func (a *Client) VirtualMachinesGeneralize(params *VirtualMachinesGeneralizeParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesGeneralizeOK, error)
- func (a *Client) VirtualMachinesGet(params *VirtualMachinesGetParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesGetOK, error)
- func (a *Client) VirtualMachinesList(params *VirtualMachinesListParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesListOK, error)
- func (a *Client) VirtualMachinesListAll(params *VirtualMachinesListAllParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesListAllOK, error)
- func (a *Client) VirtualMachinesListAvailableSizes(params *VirtualMachinesListAvailableSizesParams, ...) (*VirtualMachinesListAvailableSizesOK, error)
- func (a *Client) VirtualMachinesPowerOff(params *VirtualMachinesPowerOffParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesPowerOffOK, *VirtualMachinesPowerOffAccepted, error)
- func (a *Client) VirtualMachinesRedeploy(params *VirtualMachinesRedeployParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesRedeployOK, *VirtualMachinesRedeployAccepted, error)
- func (a *Client) VirtualMachinesRestart(params *VirtualMachinesRestartParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesRestartOK, *VirtualMachinesRestartAccepted, error)
- func (a *Client) VirtualMachinesStart(params *VirtualMachinesStartParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesStartOK, *VirtualMachinesStartAccepted, error)
- type VirtualMachinesCaptureAccepted
- type VirtualMachinesCaptureOK
- type VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesCaptureParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesCaptureParams) SetParameters(parameters *models.VirtualMachineCaptureParameters)
- func (o *VirtualMachinesCaptureParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesCaptureParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesCaptureParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesCaptureParams) SetVMName(vMName string)
- func (o *VirtualMachinesCaptureParams) WithAPIVersion(aPIVersion string) *VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) WithContext(ctx context.Context) *VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) WithParameters(parameters *models.VirtualMachineCaptureParameters) *VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) WithTimeout(timeout time.Duration) *VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) WithVMName(vMName string) *VirtualMachinesCaptureParams
- func (o *VirtualMachinesCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesCaptureReader
- type VirtualMachinesConvertToManagedDisksAccepted
- type VirtualMachinesConvertToManagedDisksOK
- type VirtualMachinesConvertToManagedDisksParams
- func NewVirtualMachinesConvertToManagedDisksParams() *VirtualMachinesConvertToManagedDisksParams
- func NewVirtualMachinesConvertToManagedDisksParamsWithContext(ctx context.Context) *VirtualMachinesConvertToManagedDisksParams
- func NewVirtualMachinesConvertToManagedDisksParamsWithTimeout(timeout time.Duration) *VirtualMachinesConvertToManagedDisksParams
- func (o *VirtualMachinesConvertToManagedDisksParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesConvertToManagedDisksParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesConvertToManagedDisksParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesConvertToManagedDisksParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesConvertToManagedDisksParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesConvertToManagedDisksParams) SetVMName(vMName string)
- func (o *VirtualMachinesConvertToManagedDisksParams) WithAPIVersion(aPIVersion string) *VirtualMachinesConvertToManagedDisksParams
- func (o *VirtualMachinesConvertToManagedDisksParams) WithContext(ctx context.Context) *VirtualMachinesConvertToManagedDisksParams
- func (o *VirtualMachinesConvertToManagedDisksParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesConvertToManagedDisksParams
- func (o *VirtualMachinesConvertToManagedDisksParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesConvertToManagedDisksParams
- func (o *VirtualMachinesConvertToManagedDisksParams) WithTimeout(timeout time.Duration) *VirtualMachinesConvertToManagedDisksParams
- func (o *VirtualMachinesConvertToManagedDisksParams) WithVMName(vMName string) *VirtualMachinesConvertToManagedDisksParams
- func (o *VirtualMachinesConvertToManagedDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesConvertToManagedDisksReader
- type VirtualMachinesCreateOrUpdateCreated
- type VirtualMachinesCreateOrUpdateOK
- type VirtualMachinesCreateOrUpdateParams
- func NewVirtualMachinesCreateOrUpdateParams() *VirtualMachinesCreateOrUpdateParams
- func NewVirtualMachinesCreateOrUpdateParamsWithContext(ctx context.Context) *VirtualMachinesCreateOrUpdateParams
- func NewVirtualMachinesCreateOrUpdateParamsWithTimeout(timeout time.Duration) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesCreateOrUpdateParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesCreateOrUpdateParams) SetParameters(parameters *models.VirtualMachine)
- func (o *VirtualMachinesCreateOrUpdateParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesCreateOrUpdateParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesCreateOrUpdateParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesCreateOrUpdateParams) SetVMName(vMName string)
- func (o *VirtualMachinesCreateOrUpdateParams) WithAPIVersion(aPIVersion string) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) WithContext(ctx context.Context) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) WithParameters(parameters *models.VirtualMachine) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) WithTimeout(timeout time.Duration) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) WithVMName(vMName string) *VirtualMachinesCreateOrUpdateParams
- func (o *VirtualMachinesCreateOrUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesCreateOrUpdateReader
- type VirtualMachinesDeallocateAccepted
- type VirtualMachinesDeallocateOK
- type VirtualMachinesDeallocateParams
- func (o *VirtualMachinesDeallocateParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesDeallocateParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesDeallocateParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesDeallocateParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesDeallocateParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesDeallocateParams) SetVMName(vMName string)
- func (o *VirtualMachinesDeallocateParams) WithAPIVersion(aPIVersion string) *VirtualMachinesDeallocateParams
- func (o *VirtualMachinesDeallocateParams) WithContext(ctx context.Context) *VirtualMachinesDeallocateParams
- func (o *VirtualMachinesDeallocateParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesDeallocateParams
- func (o *VirtualMachinesDeallocateParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesDeallocateParams
- func (o *VirtualMachinesDeallocateParams) WithTimeout(timeout time.Duration) *VirtualMachinesDeallocateParams
- func (o *VirtualMachinesDeallocateParams) WithVMName(vMName string) *VirtualMachinesDeallocateParams
- func (o *VirtualMachinesDeallocateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesDeallocateReader
- type VirtualMachinesDeleteAccepted
- type VirtualMachinesDeleteNoContent
- type VirtualMachinesDeleteOK
- type VirtualMachinesDeleteParams
- func (o *VirtualMachinesDeleteParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesDeleteParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesDeleteParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesDeleteParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesDeleteParams) SetVMName(vMName string)
- func (o *VirtualMachinesDeleteParams) WithAPIVersion(aPIVersion string) *VirtualMachinesDeleteParams
- func (o *VirtualMachinesDeleteParams) WithContext(ctx context.Context) *VirtualMachinesDeleteParams
- func (o *VirtualMachinesDeleteParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesDeleteParams
- func (o *VirtualMachinesDeleteParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesDeleteParams
- func (o *VirtualMachinesDeleteParams) WithTimeout(timeout time.Duration) *VirtualMachinesDeleteParams
- func (o *VirtualMachinesDeleteParams) WithVMName(vMName string) *VirtualMachinesDeleteParams
- func (o *VirtualMachinesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesDeleteReader
- type VirtualMachinesGeneralizeOK
- type VirtualMachinesGeneralizeParams
- func (o *VirtualMachinesGeneralizeParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesGeneralizeParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesGeneralizeParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesGeneralizeParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesGeneralizeParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesGeneralizeParams) SetVMName(vMName string)
- func (o *VirtualMachinesGeneralizeParams) WithAPIVersion(aPIVersion string) *VirtualMachinesGeneralizeParams
- func (o *VirtualMachinesGeneralizeParams) WithContext(ctx context.Context) *VirtualMachinesGeneralizeParams
- func (o *VirtualMachinesGeneralizeParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesGeneralizeParams
- func (o *VirtualMachinesGeneralizeParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesGeneralizeParams
- func (o *VirtualMachinesGeneralizeParams) WithTimeout(timeout time.Duration) *VirtualMachinesGeneralizeParams
- func (o *VirtualMachinesGeneralizeParams) WithVMName(vMName string) *VirtualMachinesGeneralizeParams
- func (o *VirtualMachinesGeneralizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesGeneralizeReader
- type VirtualMachinesGetOK
- type VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesGetParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesGetParams) SetDollarExpand(dollarExpand *string)
- func (o *VirtualMachinesGetParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesGetParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesGetParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesGetParams) SetVMName(vMName string)
- func (o *VirtualMachinesGetParams) WithAPIVersion(aPIVersion string) *VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) WithContext(ctx context.Context) *VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) WithDollarExpand(dollarExpand *string) *VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) WithTimeout(timeout time.Duration) *VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) WithVMName(vMName string) *VirtualMachinesGetParams
- func (o *VirtualMachinesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesGetReader
- type VirtualMachinesListAllOK
- type VirtualMachinesListAllParams
- func (o *VirtualMachinesListAllParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesListAllParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesListAllParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesListAllParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesListAllParams) WithAPIVersion(aPIVersion string) *VirtualMachinesListAllParams
- func (o *VirtualMachinesListAllParams) WithContext(ctx context.Context) *VirtualMachinesListAllParams
- func (o *VirtualMachinesListAllParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesListAllParams
- func (o *VirtualMachinesListAllParams) WithTimeout(timeout time.Duration) *VirtualMachinesListAllParams
- func (o *VirtualMachinesListAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesListAllReader
- type VirtualMachinesListAvailableSizesOK
- type VirtualMachinesListAvailableSizesParams
- func NewVirtualMachinesListAvailableSizesParams() *VirtualMachinesListAvailableSizesParams
- func NewVirtualMachinesListAvailableSizesParamsWithContext(ctx context.Context) *VirtualMachinesListAvailableSizesParams
- func NewVirtualMachinesListAvailableSizesParamsWithTimeout(timeout time.Duration) *VirtualMachinesListAvailableSizesParams
- func (o *VirtualMachinesListAvailableSizesParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesListAvailableSizesParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesListAvailableSizesParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesListAvailableSizesParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesListAvailableSizesParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesListAvailableSizesParams) SetVMName(vMName string)
- func (o *VirtualMachinesListAvailableSizesParams) WithAPIVersion(aPIVersion string) *VirtualMachinesListAvailableSizesParams
- func (o *VirtualMachinesListAvailableSizesParams) WithContext(ctx context.Context) *VirtualMachinesListAvailableSizesParams
- func (o *VirtualMachinesListAvailableSizesParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesListAvailableSizesParams
- func (o *VirtualMachinesListAvailableSizesParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesListAvailableSizesParams
- func (o *VirtualMachinesListAvailableSizesParams) WithTimeout(timeout time.Duration) *VirtualMachinesListAvailableSizesParams
- func (o *VirtualMachinesListAvailableSizesParams) WithVMName(vMName string) *VirtualMachinesListAvailableSizesParams
- func (o *VirtualMachinesListAvailableSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesListAvailableSizesReader
- type VirtualMachinesListOK
- type VirtualMachinesListParams
- func (o *VirtualMachinesListParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesListParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesListParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesListParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesListParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesListParams) WithAPIVersion(aPIVersion string) *VirtualMachinesListParams
- func (o *VirtualMachinesListParams) WithContext(ctx context.Context) *VirtualMachinesListParams
- func (o *VirtualMachinesListParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesListParams
- func (o *VirtualMachinesListParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesListParams
- func (o *VirtualMachinesListParams) WithTimeout(timeout time.Duration) *VirtualMachinesListParams
- func (o *VirtualMachinesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesListReader
- type VirtualMachinesPowerOffAccepted
- type VirtualMachinesPowerOffOK
- type VirtualMachinesPowerOffParams
- func (o *VirtualMachinesPowerOffParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesPowerOffParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesPowerOffParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesPowerOffParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesPowerOffParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesPowerOffParams) SetVMName(vMName string)
- func (o *VirtualMachinesPowerOffParams) WithAPIVersion(aPIVersion string) *VirtualMachinesPowerOffParams
- func (o *VirtualMachinesPowerOffParams) WithContext(ctx context.Context) *VirtualMachinesPowerOffParams
- func (o *VirtualMachinesPowerOffParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesPowerOffParams
- func (o *VirtualMachinesPowerOffParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesPowerOffParams
- func (o *VirtualMachinesPowerOffParams) WithTimeout(timeout time.Duration) *VirtualMachinesPowerOffParams
- func (o *VirtualMachinesPowerOffParams) WithVMName(vMName string) *VirtualMachinesPowerOffParams
- func (o *VirtualMachinesPowerOffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesPowerOffReader
- type VirtualMachinesRedeployAccepted
- type VirtualMachinesRedeployOK
- type VirtualMachinesRedeployParams
- func (o *VirtualMachinesRedeployParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesRedeployParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesRedeployParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesRedeployParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesRedeployParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesRedeployParams) SetVMName(vMName string)
- func (o *VirtualMachinesRedeployParams) WithAPIVersion(aPIVersion string) *VirtualMachinesRedeployParams
- func (o *VirtualMachinesRedeployParams) WithContext(ctx context.Context) *VirtualMachinesRedeployParams
- func (o *VirtualMachinesRedeployParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesRedeployParams
- func (o *VirtualMachinesRedeployParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesRedeployParams
- func (o *VirtualMachinesRedeployParams) WithTimeout(timeout time.Duration) *VirtualMachinesRedeployParams
- func (o *VirtualMachinesRedeployParams) WithVMName(vMName string) *VirtualMachinesRedeployParams
- func (o *VirtualMachinesRedeployParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesRedeployReader
- type VirtualMachinesRestartAccepted
- type VirtualMachinesRestartOK
- type VirtualMachinesRestartParams
- func (o *VirtualMachinesRestartParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesRestartParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesRestartParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesRestartParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesRestartParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesRestartParams) SetVMName(vMName string)
- func (o *VirtualMachinesRestartParams) WithAPIVersion(aPIVersion string) *VirtualMachinesRestartParams
- func (o *VirtualMachinesRestartParams) WithContext(ctx context.Context) *VirtualMachinesRestartParams
- func (o *VirtualMachinesRestartParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesRestartParams
- func (o *VirtualMachinesRestartParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesRestartParams
- func (o *VirtualMachinesRestartParams) WithTimeout(timeout time.Duration) *VirtualMachinesRestartParams
- func (o *VirtualMachinesRestartParams) WithVMName(vMName string) *VirtualMachinesRestartParams
- func (o *VirtualMachinesRestartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesRestartReader
- type VirtualMachinesStartAccepted
- type VirtualMachinesStartOK
- type VirtualMachinesStartParams
- func (o *VirtualMachinesStartParams) SetAPIVersion(aPIVersion string)
- func (o *VirtualMachinesStartParams) SetContext(ctx context.Context)
- func (o *VirtualMachinesStartParams) SetResourceGroupName(resourceGroupName string)
- func (o *VirtualMachinesStartParams) SetSubscriptionID(subscriptionID string)
- func (o *VirtualMachinesStartParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinesStartParams) SetVMName(vMName string)
- func (o *VirtualMachinesStartParams) WithAPIVersion(aPIVersion string) *VirtualMachinesStartParams
- func (o *VirtualMachinesStartParams) WithContext(ctx context.Context) *VirtualMachinesStartParams
- func (o *VirtualMachinesStartParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesStartParams
- func (o *VirtualMachinesStartParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesStartParams
- func (o *VirtualMachinesStartParams) WithTimeout(timeout time.Duration) *VirtualMachinesStartParams
- func (o *VirtualMachinesStartParams) WithVMName(vMName string) *VirtualMachinesStartParams
- func (o *VirtualMachinesStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinesStartReader
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 ¶
func (a *Client) VirtualMachinesCapture(params *VirtualMachinesCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesCaptureOK, *VirtualMachinesCaptureAccepted, error)
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 ¶
func (a *Client) VirtualMachinesConvertToManagedDisks(params *VirtualMachinesConvertToManagedDisksParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesConvertToManagedDisksOK, *VirtualMachinesConvertToManagedDisksAccepted, error)
VirtualMachinesConvertToManagedDisks Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
func (*Client) VirtualMachinesCreateOrUpdate ¶
func (a *Client) VirtualMachinesCreateOrUpdate(params *VirtualMachinesCreateOrUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesCreateOrUpdateOK, *VirtualMachinesCreateOrUpdateCreated, error)
VirtualMachinesCreateOrUpdate The operation to create or update a virtual machine.
func (*Client) VirtualMachinesDeallocate ¶
func (a *Client) VirtualMachinesDeallocate(params *VirtualMachinesDeallocateParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesDeallocateOK, *VirtualMachinesDeallocateAccepted, error)
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 ¶
func (a *Client) VirtualMachinesDelete(params *VirtualMachinesDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesDeleteOK, *VirtualMachinesDeleteAccepted, *VirtualMachinesDeleteNoContent, error)
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 ¶
func (a *Client) VirtualMachinesListAvailableSizes(params *VirtualMachinesListAvailableSizesParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesListAvailableSizesOK, error)
VirtualMachinesListAvailableSizes Lists all available virtual machine sizes to which the specified virtual machine can be resized.
func (*Client) VirtualMachinesPowerOff ¶
func (a *Client) VirtualMachinesPowerOff(params *VirtualMachinesPowerOffParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesPowerOffOK, *VirtualMachinesPowerOffAccepted, error)
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 ¶
func (a *Client) VirtualMachinesRedeploy(params *VirtualMachinesRedeployParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesRedeployOK, *VirtualMachinesRedeployAccepted, error)
VirtualMachinesRedeploy The operation to redeploy a virtual machine.
func (*Client) VirtualMachinesRestart ¶
func (a *Client) VirtualMachinesRestart(params *VirtualMachinesRestartParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesRestartOK, *VirtualMachinesRestartAccepted, error)
VirtualMachinesRestart The operation to restart a virtual machine.
func (*Client) VirtualMachinesStart ¶
func (a *Client) VirtualMachinesStart(params *VirtualMachinesStartParams, authInfo runtime.ClientAuthInfoWriter) (*VirtualMachinesStartOK, *VirtualMachinesStartAccepted, error)
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 ¶
func (o *VirtualMachinesCaptureAccepted) Error() string
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 ¶
func (o *VirtualMachinesCaptureParams) SetParameters(parameters *models.VirtualMachineCaptureParameters)
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 ¶
func (o *VirtualMachinesCaptureParams) WithContext(ctx context.Context) *VirtualMachinesCaptureParams
WithContext adds the context to the virtual machines capture params
func (*VirtualMachinesCaptureParams) WithParameters ¶
func (o *VirtualMachinesCaptureParams) WithParameters(parameters *models.VirtualMachineCaptureParameters) *VirtualMachinesCaptureParams
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 ¶
func (o *VirtualMachinesCaptureParams) WithTimeout(timeout time.Duration) *VirtualMachinesCaptureParams
WithTimeout adds the timeout to the virtual machines capture params
func (*VirtualMachinesCaptureParams) WithVMName ¶
func (o *VirtualMachinesCaptureParams) WithVMName(vMName string) *VirtualMachinesCaptureParams
WithVMName adds the vMName to the virtual machines capture params
func (*VirtualMachinesCaptureParams) WriteToRequest ¶
func (o *VirtualMachinesCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesConvertToManagedDisksAccepted) Error() string
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 ¶
func (o *VirtualMachinesConvertToManagedDisksOK) Error() string
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 ¶
func (o *VirtualMachinesConvertToManagedDisksParams) SetContext(ctx context.Context)
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 ¶
func (o *VirtualMachinesConvertToManagedDisksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) SetVMName ¶
func (o *VirtualMachinesConvertToManagedDisksParams) SetVMName(vMName string)
SetVMName adds the vmName to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) WithAPIVersion ¶
func (o *VirtualMachinesConvertToManagedDisksParams) WithAPIVersion(aPIVersion string) *VirtualMachinesConvertToManagedDisksParams
WithAPIVersion adds the aPIVersion to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) WithContext ¶
func (o *VirtualMachinesConvertToManagedDisksParams) WithContext(ctx context.Context) *VirtualMachinesConvertToManagedDisksParams
WithContext adds the context to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) WithResourceGroupName ¶
func (o *VirtualMachinesConvertToManagedDisksParams) WithResourceGroupName(resourceGroupName string) *VirtualMachinesConvertToManagedDisksParams
WithResourceGroupName adds the resourceGroupName to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) WithSubscriptionID ¶
func (o *VirtualMachinesConvertToManagedDisksParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesConvertToManagedDisksParams
WithSubscriptionID adds the subscriptionID to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) WithTimeout ¶
func (o *VirtualMachinesConvertToManagedDisksParams) WithTimeout(timeout time.Duration) *VirtualMachinesConvertToManagedDisksParams
WithTimeout adds the timeout to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) WithVMName ¶
func (o *VirtualMachinesConvertToManagedDisksParams) WithVMName(vMName string) *VirtualMachinesConvertToManagedDisksParams
WithVMName adds the vMName to the virtual machines convert to managed disks params
func (*VirtualMachinesConvertToManagedDisksParams) WriteToRequest ¶
func (o *VirtualMachinesConvertToManagedDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesCreateOrUpdateCreated) Error() string
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 ¶
func (o *VirtualMachinesCreateOrUpdateOK) Error() string
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 ¶
func (o *VirtualMachinesCreateOrUpdateParams) SetContext(ctx context.Context)
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 ¶
func (o *VirtualMachinesCreateOrUpdateParams) WithAPIVersion(aPIVersion string) *VirtualMachinesCreateOrUpdateParams
WithAPIVersion adds the aPIVersion to the virtual machines create or update params
func (*VirtualMachinesCreateOrUpdateParams) WithContext ¶
func (o *VirtualMachinesCreateOrUpdateParams) WithContext(ctx context.Context) *VirtualMachinesCreateOrUpdateParams
WithContext adds the context to the virtual machines create or update params
func (*VirtualMachinesCreateOrUpdateParams) WithParameters ¶
func (o *VirtualMachinesCreateOrUpdateParams) WithParameters(parameters *models.VirtualMachine) *VirtualMachinesCreateOrUpdateParams
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 ¶
func (o *VirtualMachinesCreateOrUpdateParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesCreateOrUpdateParams
WithSubscriptionID adds the subscriptionID to the virtual machines create or update params
func (*VirtualMachinesCreateOrUpdateParams) WithTimeout ¶
func (o *VirtualMachinesCreateOrUpdateParams) WithTimeout(timeout time.Duration) *VirtualMachinesCreateOrUpdateParams
WithTimeout adds the timeout to the virtual machines create or update params
func (*VirtualMachinesCreateOrUpdateParams) WithVMName ¶
func (o *VirtualMachinesCreateOrUpdateParams) WithVMName(vMName string) *VirtualMachinesCreateOrUpdateParams
WithVMName adds the vMName to the virtual machines create or update params
func (*VirtualMachinesCreateOrUpdateParams) WriteToRequest ¶
func (o *VirtualMachinesCreateOrUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesDeallocateAccepted) Error() string
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 ¶
func (o *VirtualMachinesDeallocateOK) Error() string
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 ¶
func (o *VirtualMachinesDeallocateParams) WithAPIVersion(aPIVersion string) *VirtualMachinesDeallocateParams
WithAPIVersion adds the aPIVersion to the virtual machines deallocate params
func (*VirtualMachinesDeallocateParams) WithContext ¶
func (o *VirtualMachinesDeallocateParams) WithContext(ctx context.Context) *VirtualMachinesDeallocateParams
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 ¶
func (o *VirtualMachinesDeallocateParams) WithTimeout(timeout time.Duration) *VirtualMachinesDeallocateParams
WithTimeout adds the timeout to the virtual machines deallocate params
func (*VirtualMachinesDeallocateParams) WithVMName ¶
func (o *VirtualMachinesDeallocateParams) WithVMName(vMName string) *VirtualMachinesDeallocateParams
WithVMName adds the vMName to the virtual machines deallocate params
func (*VirtualMachinesDeallocateParams) WriteToRequest ¶
func (o *VirtualMachinesDeallocateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesDeleteAccepted) Error() string
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 ¶
func (o *VirtualMachinesDeleteNoContent) Error() string
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 ¶
func (o *VirtualMachinesDeleteParams) WithContext(ctx context.Context) *VirtualMachinesDeleteParams
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 ¶
func (o *VirtualMachinesDeleteParams) WithTimeout(timeout time.Duration) *VirtualMachinesDeleteParams
WithTimeout adds the timeout to the virtual machines delete params
func (*VirtualMachinesDeleteParams) WithVMName ¶
func (o *VirtualMachinesDeleteParams) WithVMName(vMName string) *VirtualMachinesDeleteParams
WithVMName adds the vMName to the virtual machines delete params
func (*VirtualMachinesDeleteParams) WriteToRequest ¶
func (o *VirtualMachinesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesGeneralizeOK) Error() string
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 ¶
func (o *VirtualMachinesGeneralizeParams) WithAPIVersion(aPIVersion string) *VirtualMachinesGeneralizeParams
WithAPIVersion adds the aPIVersion to the virtual machines generalize params
func (*VirtualMachinesGeneralizeParams) WithContext ¶
func (o *VirtualMachinesGeneralizeParams) WithContext(ctx context.Context) *VirtualMachinesGeneralizeParams
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 ¶
func (o *VirtualMachinesGeneralizeParams) WithTimeout(timeout time.Duration) *VirtualMachinesGeneralizeParams
WithTimeout adds the timeout to the virtual machines generalize params
func (*VirtualMachinesGeneralizeParams) WithVMName ¶
func (o *VirtualMachinesGeneralizeParams) WithVMName(vMName string) *VirtualMachinesGeneralizeParams
WithVMName adds the vMName to the virtual machines generalize params
func (*VirtualMachinesGeneralizeParams) WriteToRequest ¶
func (o *VirtualMachinesGeneralizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesGetParams) WithContext(ctx context.Context) *VirtualMachinesGetParams
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 ¶
func (o *VirtualMachinesGetParams) WithTimeout(timeout time.Duration) *VirtualMachinesGetParams
WithTimeout adds the timeout to the virtual machines get params
func (*VirtualMachinesGetParams) WithVMName ¶
func (o *VirtualMachinesGetParams) WithVMName(vMName string) *VirtualMachinesGetParams
WithVMName adds the vMName to the virtual machines get params
func (*VirtualMachinesGetParams) WriteToRequest ¶
func (o *VirtualMachinesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesListAllParams) WithContext(ctx context.Context) *VirtualMachinesListAllParams
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 ¶
func (o *VirtualMachinesListAllParams) WithTimeout(timeout time.Duration) *VirtualMachinesListAllParams
WithTimeout adds the timeout to the virtual machines list all params
func (*VirtualMachinesListAllParams) WriteToRequest ¶
func (o *VirtualMachinesListAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesListAvailableSizesOK) Error() string
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 ¶
func (o *VirtualMachinesListAvailableSizesParams) SetContext(ctx context.Context)
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 ¶
func (o *VirtualMachinesListAvailableSizesParams) WithAPIVersion(aPIVersion string) *VirtualMachinesListAvailableSizesParams
WithAPIVersion adds the aPIVersion to the virtual machines list available sizes params
func (*VirtualMachinesListAvailableSizesParams) WithContext ¶
func (o *VirtualMachinesListAvailableSizesParams) WithContext(ctx context.Context) *VirtualMachinesListAvailableSizesParams
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 ¶
func (o *VirtualMachinesListAvailableSizesParams) WithSubscriptionID(subscriptionID string) *VirtualMachinesListAvailableSizesParams
WithSubscriptionID adds the subscriptionID to the virtual machines list available sizes params
func (*VirtualMachinesListAvailableSizesParams) WithTimeout ¶
func (o *VirtualMachinesListAvailableSizesParams) WithTimeout(timeout time.Duration) *VirtualMachinesListAvailableSizesParams
WithTimeout adds the timeout to the virtual machines list available sizes params
func (*VirtualMachinesListAvailableSizesParams) WithVMName ¶
func (o *VirtualMachinesListAvailableSizesParams) WithVMName(vMName string) *VirtualMachinesListAvailableSizesParams
WithVMName adds the vMName to the virtual machines list available sizes params
func (*VirtualMachinesListAvailableSizesParams) WriteToRequest ¶
func (o *VirtualMachinesListAvailableSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesListParams) WithContext(ctx context.Context) *VirtualMachinesListParams
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 ¶
func (o *VirtualMachinesListParams) WithTimeout(timeout time.Duration) *VirtualMachinesListParams
WithTimeout adds the timeout to the virtual machines list params
func (*VirtualMachinesListParams) WriteToRequest ¶
func (o *VirtualMachinesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesPowerOffAccepted) Error() string
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 ¶
func (o *VirtualMachinesPowerOffParams) WithAPIVersion(aPIVersion string) *VirtualMachinesPowerOffParams
WithAPIVersion adds the aPIVersion to the virtual machines power off params
func (*VirtualMachinesPowerOffParams) WithContext ¶
func (o *VirtualMachinesPowerOffParams) WithContext(ctx context.Context) *VirtualMachinesPowerOffParams
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 ¶
func (o *VirtualMachinesPowerOffParams) WithTimeout(timeout time.Duration) *VirtualMachinesPowerOffParams
WithTimeout adds the timeout to the virtual machines power off params
func (*VirtualMachinesPowerOffParams) WithVMName ¶
func (o *VirtualMachinesPowerOffParams) WithVMName(vMName string) *VirtualMachinesPowerOffParams
WithVMName adds the vMName to the virtual machines power off params
func (*VirtualMachinesPowerOffParams) WriteToRequest ¶
func (o *VirtualMachinesPowerOffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesRedeployAccepted) Error() string
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 ¶
func (o *VirtualMachinesRedeployParams) WithAPIVersion(aPIVersion string) *VirtualMachinesRedeployParams
WithAPIVersion adds the aPIVersion to the virtual machines redeploy params
func (*VirtualMachinesRedeployParams) WithContext ¶
func (o *VirtualMachinesRedeployParams) WithContext(ctx context.Context) *VirtualMachinesRedeployParams
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 ¶
func (o *VirtualMachinesRedeployParams) WithTimeout(timeout time.Duration) *VirtualMachinesRedeployParams
WithTimeout adds the timeout to the virtual machines redeploy params
func (*VirtualMachinesRedeployParams) WithVMName ¶
func (o *VirtualMachinesRedeployParams) WithVMName(vMName string) *VirtualMachinesRedeployParams
WithVMName adds the vMName to the virtual machines redeploy params
func (*VirtualMachinesRedeployParams) WriteToRequest ¶
func (o *VirtualMachinesRedeployParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesRestartAccepted) Error() string
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 ¶
func (o *VirtualMachinesRestartParams) WithContext(ctx context.Context) *VirtualMachinesRestartParams
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 ¶
func (o *VirtualMachinesRestartParams) WithTimeout(timeout time.Duration) *VirtualMachinesRestartParams
WithTimeout adds the timeout to the virtual machines restart params
func (*VirtualMachinesRestartParams) WithVMName ¶
func (o *VirtualMachinesRestartParams) WithVMName(vMName string) *VirtualMachinesRestartParams
WithVMName adds the vMName to the virtual machines restart params
func (*VirtualMachinesRestartParams) WriteToRequest ¶
func (o *VirtualMachinesRestartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *VirtualMachinesStartAccepted) Error() string
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 ¶
func (o *VirtualMachinesStartParams) WithContext(ctx context.Context) *VirtualMachinesStartParams
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 ¶
func (o *VirtualMachinesStartParams) WithTimeout(timeout time.Duration) *VirtualMachinesStartParams
WithTimeout adds the timeout to the virtual machines start params
func (*VirtualMachinesStartParams) WithVMName ¶
func (o *VirtualMachinesStartParams) WithVMName(vMName string) *VirtualMachinesStartParams
WithVMName adds the vMName to the virtual machines start params
func (*VirtualMachinesStartParams) WriteToRequest ¶
func (o *VirtualMachinesStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- virtual_machines_capture_parameters.go
- virtual_machines_capture_responses.go
- virtual_machines_client.go
- virtual_machines_convert_to_managed_disks_parameters.go
- virtual_machines_convert_to_managed_disks_responses.go
- virtual_machines_create_or_update_parameters.go
- virtual_machines_create_or_update_responses.go
- virtual_machines_deallocate_parameters.go
- virtual_machines_deallocate_responses.go
- virtual_machines_delete_parameters.go
- virtual_machines_delete_responses.go
- virtual_machines_generalize_parameters.go
- virtual_machines_generalize_responses.go
- virtual_machines_get_parameters.go
- virtual_machines_get_responses.go
- virtual_machines_list_all_parameters.go
- virtual_machines_list_all_responses.go
- virtual_machines_list_available_sizes_parameters.go
- virtual_machines_list_available_sizes_responses.go
- virtual_machines_list_parameters.go
- virtual_machines_list_responses.go
- virtual_machines_power_off_parameters.go
- virtual_machines_power_off_responses.go
- virtual_machines_redeploy_parameters.go
- virtual_machines_redeploy_responses.go
- virtual_machines_restart_parameters.go
- virtual_machines_restart_responses.go
- virtual_machines_start_parameters.go
- virtual_machines_start_responses.go