@ -108,9 +108,8 @@ func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourc
// CaptureSender sends the Capture request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) CaptureSender ( req * http . Request ) ( future VirtualMachinesCaptureFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -186,9 +185,8 @@ func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Co
// ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) ConvertToManagedDisksSender ( req * http . Request ) ( future VirtualMachinesConvertToManagedDisksFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -287,9 +285,8 @@ func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context,
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) CreateOrUpdateSender ( req * http . Request ) ( future VirtualMachinesCreateOrUpdateFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -365,9 +362,8 @@ func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, reso
// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) DeallocateSender ( req * http . Request ) ( future VirtualMachinesDeallocateFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -441,9 +437,8 @@ func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resource
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) DeleteSender ( req * http . Request ) ( future VirtualMachinesDeleteFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -523,8 +518,7 @@ func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, reso
// GeneralizeSender sends the Generalize request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) GeneralizeSender ( req * http . Request ) ( * http . Response , error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
return autorest . SendWithSender ( client , req , sd ... )
return client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
}
// GeneralizeResponder handles the response to the Generalize request. The method always
@ -603,8 +597,7 @@ func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGro
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) GetSender ( req * http . Request ) ( * http . Response , error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
return autorest . SendWithSender ( client , req , sd ... )
return client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
}
// GetResponder handles the response to the Get request. The method always
@ -680,8 +673,7 @@ func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, re
// InstanceViewSender sends the InstanceView request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) InstanceViewSender ( req * http . Request ) ( * http . Response , error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
return autorest . SendWithSender ( client , req , sd ... )
return client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
}
// InstanceViewResponder handles the response to the InstanceView request. The method always
@ -757,8 +749,7 @@ func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGr
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) ListSender ( req * http . Request ) ( * http . Response , error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
return autorest . SendWithSender ( client , req , sd ... )
return client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
}
// ListResponder handles the response to the List request. The method always
@ -868,8 +859,7 @@ func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.
// ListAllSender sends the ListAll request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) ListAllSender ( req * http . Request ) ( * http . Response , error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
return autorest . SendWithSender ( client , req , sd ... )
return client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
}
// ListAllResponder handles the response to the ListAll request. The method always
@ -982,8 +972,7 @@ func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Conte
// ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) ListAvailableSizesSender ( req * http . Request ) ( * http . Response , error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
return autorest . SendWithSender ( client , req , sd ... )
return client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
}
// ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always
@ -1064,8 +1053,7 @@ func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context,
// ListByLocationSender sends the ListByLocation request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) ListByLocationSender ( req * http . Request ) ( * http . Response , error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
return autorest . SendWithSender ( client , req , sd ... )
return client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
}
// ListByLocationResponder handles the response to the ListByLocation request. The method always
@ -1172,9 +1160,8 @@ func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Conte
// PerformMaintenanceSender sends the PerformMaintenance request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) PerformMaintenanceSender ( req * http . Request ) ( future VirtualMachinesPerformMaintenanceFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -1249,9 +1236,8 @@ func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resour
// PowerOffSender sends the PowerOff request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) PowerOffSender ( req * http . Request ) ( future VirtualMachinesPowerOffFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -1325,9 +1311,8 @@ func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resour
// RedeploySender sends the Redeploy request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) RedeploySender ( req * http . Request ) ( future VirtualMachinesRedeployFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -1407,9 +1392,8 @@ func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourc
// ReimageSender sends the Reimage request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) ReimageSender ( req * http . Request ) ( future VirtualMachinesReimageFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -1483,9 +1467,8 @@ func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourc
// RestartSender sends the Restart request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) RestartSender ( req * http . Request ) ( future VirtualMachinesRestartFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -1568,9 +1551,8 @@ func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, reso
// RunCommandSender sends the RunCommand request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) RunCommandSender ( req * http . Request ) ( future VirtualMachinesRunCommandFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -1645,9 +1627,8 @@ func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceG
// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) StartSender ( req * http . Request ) ( future VirtualMachinesStartFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}
@ -1724,9 +1705,8 @@ func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resource
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func ( client VirtualMachinesClient ) UpdateSender ( req * http . Request ) ( future VirtualMachinesUpdateFuture , err error ) {
sd := autorest . GetSendDecorators ( req . Context ( ) , azure . DoRetryWithRegistration ( client . Client ) )
var resp * http . Response
resp , err = autorest . SendWithSender ( client , req , sd ... )
resp , err = client . Send ( req , azure . DoRetryWithRegistration ( client . Client ) )
if err != nil {
return
}