provider/azurerm: update SDK to v8.1.0-beta (#12362)
This commit is contained in:
parent
a0a26748f8
commit
d42890ca95
|
@ -14,7 +14,7 @@ package cdn
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Package compute implements the Azure ARM Compute service API version
|
||||
// 2016-03-30.
|
||||
// 2016-04-30-preview.
|
||||
//
|
||||
// The Compute Management Client.
|
||||
package compute
|
||||
|
@ -18,7 +18,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -28,7 +28,7 @@ import (
|
|||
|
||||
const (
|
||||
// APIVersion is the version of the Compute
|
||||
APIVersion = "2016-03-30"
|
||||
APIVersion = "2016-04-30-preview"
|
||||
|
||||
// DefaultBaseURI is the default URI used for the service Compute
|
||||
DefaultBaseURI = "https://management.azure.com"
|
||||
|
|
|
@ -0,0 +1,421 @@
|
|||
package compute
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
//
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
"github.com/Azure/go-autorest/autorest/azure"
|
||||
"github.com/Azure/go-autorest/autorest/validation"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// ImagesClient is the the Compute Management Client.
|
||||
type ImagesClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
|
||||
// NewImagesClient creates an instance of the ImagesClient client.
|
||||
func NewImagesClient(subscriptionID string) ImagesClient {
|
||||
return NewImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewImagesClientWithBaseURI creates an instance of the ImagesClient client.
|
||||
func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient {
|
||||
return ImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// CreateOrUpdate create or update an image. This method may poll for
|
||||
// completion. Polling can be canceled by passing the cancel channel argument.
|
||||
// The channel will be used to cancel polling and any outstanding HTTP
|
||||
// requests.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group. imageName is the name
|
||||
// of the image. parameters is parameters supplied to the Create Image
|
||||
// operation.
|
||||
func (client ImagesClient) CreateOrUpdate(resourceGroupName string, imageName string, parameters Image, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: parameters,
|
||||
Constraints: []validation.Constraint{{Target: "parameters.ImageProperties", Name: validation.Null, Rule: false,
|
||||
Chain: []validation.Constraint{{Target: "parameters.ImageProperties.StorageProfile", Name: validation.Null, Rule: false,
|
||||
Chain: []validation.Constraint{{Target: "parameters.ImageProperties.StorageProfile.OsDisk", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||
}}}}}); err != nil {
|
||||
return result, validation.NewErrorWithValidationError(err, "compute.ImagesClient", "CreateOrUpdate")
|
||||
}
|
||||
|
||||
req, err := client.CreateOrUpdatePreparer(resourceGroupName, imageName, parameters, cancel)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "CreateOrUpdate", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.CreateOrUpdateSender(req)
|
||||
if err != nil {
|
||||
result.Response = resp
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "CreateOrUpdate", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.CreateOrUpdateResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "CreateOrUpdate", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
|
||||
func (client ImagesClient) CreateOrUpdatePreparer(resourceGroupName string, imageName string, parameters Image, cancel <-chan struct{}) (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"imageName": autorest.Encode("path", imageName),
|
||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsJSON(),
|
||||
autorest.AsPut(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", pathParameters),
|
||||
autorest.WithJSON(parameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{Cancel: cancel})
|
||||
}
|
||||
|
||||
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
|
||||
autorest.ByClosing())
|
||||
result.Response = resp
|
||||
return
|
||||
}
|
||||
|
||||
// Delete deletes an Image. This method may poll for completion. Polling can be
|
||||
// canceled by passing the cancel channel argument. The channel will be used to
|
||||
// cancel polling and any outstanding HTTP requests.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group. imageName is the name
|
||||
// of the image.
|
||||
func (client ImagesClient) Delete(resourceGroupName string, imageName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||
req, err := client.DeletePreparer(resourceGroupName, imageName, cancel)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "Delete", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.DeleteSender(req)
|
||||
if err != nil {
|
||||
result.Response = resp
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "Delete", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.DeleteResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Delete", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// DeletePreparer prepares the Delete request.
|
||||
func (client ImagesClient) DeletePreparer(resourceGroupName string, imageName string, cancel <-chan struct{}) (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"imageName": autorest.Encode("path", imageName),
|
||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsDelete(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", pathParameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{Cancel: cancel})
|
||||
}
|
||||
|
||||
// DeleteSender sends the Delete request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ImagesClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
// DeleteResponder handles the response to the Delete request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client ImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
|
||||
autorest.ByClosing())
|
||||
result.Response = resp
|
||||
return
|
||||
}
|
||||
|
||||
// Get gets an image.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group. imageName is the name
|
||||
// of the image. expand is the expand expression to apply on the operation.
|
||||
func (client ImagesClient) Get(resourceGroupName string, imageName string, expand string) (result Image, err error) {
|
||||
req, err := client.GetPreparer(resourceGroupName, imageName, expand)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "Get", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.GetSender(req)
|
||||
if err != nil {
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "Get", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.GetResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "Get", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// GetPreparer prepares the Get request.
|
||||
func (client ImagesClient) GetPreparer(resourceGroupName string, imageName string, expand string) (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"imageName": autorest.Encode("path", imageName),
|
||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
if len(expand) > 0 {
|
||||
queryParameters["$expand"] = autorest.Encode("query", expand)
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsGet(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", pathParameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{})
|
||||
}
|
||||
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK),
|
||||
autorest.ByUnmarshallingJSON(&result),
|
||||
autorest.ByClosing())
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return
|
||||
}
|
||||
|
||||
// List gets the list of Images in the subscription. Use nextLink property in
|
||||
// the response to get the next page of Images. Do this till nextLink is not
|
||||
// null to fetch all the Images.
|
||||
func (client ImagesClient) List() (result ImageListResult, err error) {
|
||||
req, err := client.ListPreparer()
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "List", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.ListSender(req)
|
||||
if err != nil {
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "List", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.ListResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "List", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// ListPreparer prepares the List request.
|
||||
func (client ImagesClient) ListPreparer() (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsGet(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", pathParameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{})
|
||||
}
|
||||
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
}
|
||||
|
||||
// ListResponder handles the response to the List request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK),
|
||||
autorest.ByUnmarshallingJSON(&result),
|
||||
autorest.ByClosing())
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return
|
||||
}
|
||||
|
||||
// ListNextResults retrieves the next set of results, if any.
|
||||
func (client ImagesClient) ListNextResults(lastResults ImageListResult) (result ImageListResult, err error) {
|
||||
req, err := lastResults.ImageListResultPreparer()
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "List", nil, "Failure preparing next results request")
|
||||
}
|
||||
if req == nil {
|
||||
return
|
||||
}
|
||||
|
||||
resp, err := client.ListSender(req)
|
||||
if err != nil {
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "List", resp, "Failure sending next results request")
|
||||
}
|
||||
|
||||
result, err = client.ListResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "List", resp, "Failure responding to next results request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// ListByResourceGroup gets the list of images under a resource group.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group.
|
||||
func (client ImagesClient) ListByResourceGroup(resourceGroupName string) (result ImageListResult, err error) {
|
||||
req, err := client.ListByResourceGroupPreparer(resourceGroupName)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.ListByResourceGroupSender(req)
|
||||
if err != nil {
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.ListByResourceGroupResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
|
||||
func (client ImagesClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsGet(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", pathParameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{})
|
||||
}
|
||||
|
||||
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
}
|
||||
|
||||
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK),
|
||||
autorest.ByUnmarshallingJSON(&result),
|
||||
autorest.ByClosing())
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return
|
||||
}
|
||||
|
||||
// ListByResourceGroupNextResults retrieves the next set of results, if any.
|
||||
func (client ImagesClient) ListByResourceGroupNextResults(lastResults ImageListResult) (result ImageListResult, err error) {
|
||||
req, err := lastResults.ImageListResultPreparer()
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", nil, "Failure preparing next results request")
|
||||
}
|
||||
if req == nil {
|
||||
return
|
||||
}
|
||||
|
||||
resp, err := client.ListByResourceGroupSender(req)
|
||||
if err != nil {
|
||||
result.Response = autorest.Response{Response: resp}
|
||||
return result, autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", resp, "Failure sending next results request")
|
||||
}
|
||||
|
||||
result, err = client.ListByResourceGroupResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.ImagesClient", "ListByResourceGroup", resp, "Failure responding to next results request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -66,6 +66,19 @@ const (
|
|||
InstanceView InstanceViewTypes = "instanceView"
|
||||
)
|
||||
|
||||
// OperatingSystemStateTypes enumerates the values for operating system state
|
||||
// types.
|
||||
type OperatingSystemStateTypes string
|
||||
|
||||
const (
|
||||
// Generalized specifies the generalized state for operating system state
|
||||
// types.
|
||||
Generalized OperatingSystemStateTypes = "Generalized"
|
||||
// Specialized specifies the specialized state for operating system state
|
||||
// types.
|
||||
Specialized OperatingSystemStateTypes = "Specialized"
|
||||
)
|
||||
|
||||
// OperatingSystemTypes enumerates the values for operating system types.
|
||||
type OperatingSystemTypes string
|
||||
|
||||
|
@ -117,6 +130,16 @@ const (
|
|||
Warning StatusLevelTypes = "Warning"
|
||||
)
|
||||
|
||||
// StorageAccountTypes enumerates the values for storage account types.
|
||||
type StorageAccountTypes string
|
||||
|
||||
const (
|
||||
// PremiumLRS specifies the premium lrs state for storage account types.
|
||||
PremiumLRS StorageAccountTypes = "Premium_LRS"
|
||||
// StandardLRS specifies the standard lrs state for storage account types.
|
||||
StandardLRS StorageAccountTypes = "Standard_LRS"
|
||||
)
|
||||
|
||||
// UpgradeMode enumerates the values for upgrade mode.
|
||||
type UpgradeMode string
|
||||
|
||||
|
@ -374,6 +397,7 @@ type AvailabilitySet struct {
|
|||
Location *string `json:"location,omitempty"`
|
||||
Tags *map[string]*string `json:"tags,omitempty"`
|
||||
*AvailabilitySetProperties `json:"properties,omitempty"`
|
||||
Sku *Sku `json:"sku,omitempty"`
|
||||
}
|
||||
|
||||
// AvailabilitySetListResult is the List Availability Set operation response.
|
||||
|
@ -388,6 +412,7 @@ type AvailabilitySetProperties struct {
|
|||
PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
|
||||
VirtualMachines *[]SubResource `json:"virtualMachines,omitempty"`
|
||||
Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
|
||||
Managed *bool `json:"managed,omitempty"`
|
||||
}
|
||||
|
||||
// BootDiagnostics is describes Boot Diagnostics.
|
||||
|
@ -405,13 +430,14 @@ type BootDiagnosticsInstanceView struct {
|
|||
|
||||
// DataDisk is describes a data disk.
|
||||
type DataDisk struct {
|
||||
Lun *int32 `json:"lun,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
Vhd *VirtualHardDisk `json:"vhd,omitempty"`
|
||||
Image *VirtualHardDisk `json:"image,omitempty"`
|
||||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
|
||||
DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
|
||||
Lun *int32 `json:"lun,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
Vhd *VirtualHardDisk `json:"vhd,omitempty"`
|
||||
Image *VirtualHardDisk `json:"image,omitempty"`
|
||||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
|
||||
DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
|
||||
ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
|
||||
}
|
||||
|
||||
// DataDiskImage is contains the data disk images information.
|
||||
|
@ -442,14 +468,79 @@ type HardwareProfile struct {
|
|||
VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"`
|
||||
}
|
||||
|
||||
// Image is describes an Image.
|
||||
type Image struct {
|
||||
autorest.Response `json:"-"`
|
||||
ID *string `json:"id,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
Type *string `json:"type,omitempty"`
|
||||
Location *string `json:"location,omitempty"`
|
||||
Tags *map[string]*string `json:"tags,omitempty"`
|
||||
*ImageProperties `json:"properties,omitempty"`
|
||||
}
|
||||
|
||||
// ImageDataDisk is describes a data disk.
|
||||
type ImageDataDisk struct {
|
||||
Lun *int32 `json:"lun,omitempty"`
|
||||
Snapshot *SubResource `json:"snapshot,omitempty"`
|
||||
ManagedDisk *SubResource `json:"managedDisk,omitempty"`
|
||||
BlobURI *string `json:"blobUri,omitempty"`
|
||||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
|
||||
}
|
||||
|
||||
// ImageListResult is the List Image operation response.
|
||||
type ImageListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]Image `json:"value,omitempty"`
|
||||
NextLink *string `json:"nextLink,omitempty"`
|
||||
}
|
||||
|
||||
// ImageListResultPreparer prepares a request to retrieve the next set of results. It returns
|
||||
// nil if no more results exist.
|
||||
func (client ImageListResult) ImageListResultPreparer() (*http.Request, error) {
|
||||
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
|
||||
return nil, nil
|
||||
}
|
||||
return autorest.Prepare(&http.Request{},
|
||||
autorest.AsJSON(),
|
||||
autorest.AsGet(),
|
||||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// ImageOSDisk is describes an Operating System disk.
|
||||
type ImageOSDisk struct {
|
||||
OsType OperatingSystemTypes `json:"osType,omitempty"`
|
||||
OsState OperatingSystemStateTypes `json:"osState,omitempty"`
|
||||
Snapshot *SubResource `json:"snapshot,omitempty"`
|
||||
ManagedDisk *SubResource `json:"managedDisk,omitempty"`
|
||||
BlobURI *string `json:"blobUri,omitempty"`
|
||||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
|
||||
}
|
||||
|
||||
// ImageProperties is describes the properties of an Image.
|
||||
type ImageProperties struct {
|
||||
SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"`
|
||||
StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"`
|
||||
ProvisioningState *string `json:"provisioningState,omitempty"`
|
||||
}
|
||||
|
||||
// ImageReference is the image reference.
|
||||
type ImageReference struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
Publisher *string `json:"publisher,omitempty"`
|
||||
Offer *string `json:"offer,omitempty"`
|
||||
Sku *string `json:"sku,omitempty"`
|
||||
Version *string `json:"version,omitempty"`
|
||||
}
|
||||
|
||||
// ImageStorageProfile is describes a storage profile.
|
||||
type ImageStorageProfile struct {
|
||||
OsDisk *ImageOSDisk `json:"osDisk,omitempty"`
|
||||
DataDisks *[]ImageDataDisk `json:"dataDisks,omitempty"`
|
||||
}
|
||||
|
||||
// InnerError is inner error details.
|
||||
type InnerError struct {
|
||||
Exceptiontype *string `json:"exceptiontype,omitempty"`
|
||||
|
@ -520,6 +611,12 @@ type LongRunningOperationProperties struct {
|
|||
Output *map[string]interface{} `json:"output,omitempty"`
|
||||
}
|
||||
|
||||
// ManagedDiskParameters is the parameters of a managed disk.
|
||||
type ManagedDiskParameters struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
|
||||
}
|
||||
|
||||
// NetworkInterfaceReference is describes a network interface reference.
|
||||
type NetworkInterfaceReference struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
|
@ -557,6 +654,7 @@ type OSDisk struct {
|
|||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
|
||||
DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
|
||||
ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
|
||||
}
|
||||
|
||||
// OSDiskImage is contains the os disk image information.
|
||||
|
@ -631,6 +729,11 @@ type SubResource struct {
|
|||
ID *string `json:"id,omitempty"`
|
||||
}
|
||||
|
||||
// SubResourceReadOnly is
|
||||
type SubResourceReadOnly struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
}
|
||||
|
||||
// UpgradePolicy is describes an upgrade policy - automatic or manual.
|
||||
type UpgradePolicy struct {
|
||||
Mode UpgradeMode `json:"mode,omitempty"`
|
||||
|
@ -854,9 +957,21 @@ type VirtualMachineScaleSet struct {
|
|||
Location *string `json:"location,omitempty"`
|
||||
Tags *map[string]*string `json:"tags,omitempty"`
|
||||
Sku *Sku `json:"sku,omitempty"`
|
||||
Plan *Plan `json:"plan,omitempty"`
|
||||
*VirtualMachineScaleSetProperties `json:"properties,omitempty"`
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetDataDisk is describes a virtual machine scale set data
|
||||
// disk.
|
||||
type VirtualMachineScaleSetDataDisk struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Lun *int32 `json:"lun,omitempty"`
|
||||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
|
||||
DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
|
||||
ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetExtension is describes a Virtual Machine Scale Set
|
||||
// Extension.
|
||||
type VirtualMachineScaleSetExtension struct {
|
||||
|
@ -975,6 +1090,12 @@ func (client VirtualMachineScaleSetListWithLinkResult) VirtualMachineScaleSetLis
|
|||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetManagedDiskParameters is describes the parameters of a
|
||||
// ScaleSet managed disk.
|
||||
type VirtualMachineScaleSetManagedDiskParameters struct {
|
||||
StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetNetworkConfiguration is describes a virtual machine
|
||||
// scale set network profile's network configurations.
|
||||
type VirtualMachineScaleSetNetworkConfiguration struct {
|
||||
|
@ -999,12 +1120,13 @@ type VirtualMachineScaleSetNetworkProfile struct {
|
|||
// VirtualMachineScaleSetOSDisk is describes a virtual machine scale set
|
||||
// operating system disk.
|
||||
type VirtualMachineScaleSetOSDisk struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
|
||||
OsType OperatingSystemTypes `json:"osType,omitempty"`
|
||||
Image *VirtualHardDisk `json:"image,omitempty"`
|
||||
VhdContainers *[]string `json:"vhdContainers,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
Caching CachingTypes `json:"caching,omitempty"`
|
||||
CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
|
||||
OsType OperatingSystemTypes `json:"osType,omitempty"`
|
||||
Image *VirtualHardDisk `json:"image,omitempty"`
|
||||
VhdContainers *[]string `json:"vhdContainers,omitempty"`
|
||||
ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetOSProfile is describes a virtual machine scale set OS
|
||||
|
@ -1026,6 +1148,7 @@ type VirtualMachineScaleSetProperties struct {
|
|||
VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"`
|
||||
ProvisioningState *string `json:"provisioningState,omitempty"`
|
||||
Overprovision *bool `json:"overprovision,omitempty"`
|
||||
SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"`
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetSku is describes an available virtual machine scale
|
||||
|
@ -1047,8 +1170,9 @@ type VirtualMachineScaleSetSkuCapacity struct {
|
|||
// VirtualMachineScaleSetStorageProfile is describes a virtual machine scale
|
||||
// set storage profile.
|
||||
type VirtualMachineScaleSetStorageProfile struct {
|
||||
ImageReference *ImageReference `json:"imageReference,omitempty"`
|
||||
OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"`
|
||||
ImageReference *ImageReference `json:"imageReference,omitempty"`
|
||||
OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"`
|
||||
DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetVM is describes a virtual machine scale set virtual
|
||||
|
@ -1098,6 +1222,7 @@ type VirtualMachineScaleSetVMInstanceView struct {
|
|||
Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
|
||||
BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"`
|
||||
Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
|
||||
PlacementGroupID *string `json:"placementGroupId,omitempty"`
|
||||
}
|
||||
|
||||
// VirtualMachineScaleSetVMListResult is the List Virtual Machine Scale Set VMs
|
||||
|
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
@ -41,7 +41,7 @@ var (
|
|||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
if userAgent == "" {
|
||||
userAgent = fmt.Sprintf(userAgentFormat, Version(), "compute", "2016-03-30")
|
||||
userAgent = fmt.Sprintf(userAgentFormat, Version(), "compute", "2016-04-30-preview")
|
||||
}
|
||||
return userAgent
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
2
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachineextensions.go
generated
vendored
2
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachineextensions.go
generated
vendored
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -121,6 +121,74 @@ func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (resul
|
|||
return
|
||||
}
|
||||
|
||||
// ConvertToManagedDisks converts virtual machine disks from blob-based to
|
||||
// managed disks. Virtual machine must be stop-deallocated before invoking this
|
||||
// operation. This method may poll for completion. Polling can be canceled by
|
||||
// passing the cancel channel argument. The channel will be used to cancel
|
||||
// polling and any outstanding HTTP requests.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group. vmName is the name of
|
||||
// the virtual machine.
|
||||
func (client VirtualMachinesClient) ConvertToManagedDisks(resourceGroupName string, vmName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||
req, err := client.ConvertToManagedDisksPreparer(resourceGroupName, vmName, cancel)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ConvertToManagedDisks", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.ConvertToManagedDisksSender(req)
|
||||
if err != nil {
|
||||
result.Response = resp
|
||||
return result, autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ConvertToManagedDisks", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.ConvertToManagedDisksResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.VirtualMachinesClient", "ConvertToManagedDisks", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// ConvertToManagedDisksPreparer prepares the ConvertToManagedDisks request.
|
||||
func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(resourceGroupName string, vmName string, cancel <-chan struct{}) (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
"vmName": autorest.Encode("path", vmName),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsPost(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks", pathParameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{Cancel: cancel})
|
||||
}
|
||||
|
||||
// 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) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
// ConvertToManagedDisksResponder handles the response to the ConvertToManagedDisks request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result autorest.Response, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
|
||||
autorest.ByClosing())
|
||||
result.Response = resp
|
||||
return
|
||||
}
|
||||
|
||||
// CreateOrUpdate the operation to create or update a virtual machine. This
|
||||
// method may poll for completion. Polling can be canceled by passing the
|
||||
// cancel channel argument. The channel will be used to cancel polling and any
|
||||
|
@ -145,8 +213,6 @@ func (client VirtualMachinesClient) CreateOrUpdate(resourceGroupName string, vmN
|
|||
{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.SourceVault", Name: validation.Null, Rule: true, Chain: nil},
|
||||
}},
|
||||
}},
|
||||
{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.Name", Name: validation.Null, Rule: true, Chain: nil},
|
||||
{Target: "parameters.VirtualMachineProperties.StorageProfile.OsDisk.Vhd", Name: validation.Null, Rule: true, Chain: nil},
|
||||
}},
|
||||
}},
|
||||
}}}}}); err != nil {
|
||||
|
|
83
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachinescalesets.go
generated
vendored
83
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachinescalesets.go
generated
vendored
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -50,19 +50,6 @@ func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID
|
|||
// resourceGroupName is the name of the resource group. name is the name of the
|
||||
// VM scale set to create or update. parameters is the scale set object.
|
||||
func (client VirtualMachineScaleSetsClient) CreateOrUpdate(resourceGroupName string, name string, parameters VirtualMachineScaleSet, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: parameters,
|
||||
Constraints: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties", Name: validation.Null, Rule: false,
|
||||
Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.VirtualMachineProfile", Name: validation.Null, Rule: false,
|
||||
Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.VirtualMachineProfile.StorageProfile", Name: validation.Null, Rule: false,
|
||||
Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.VirtualMachineProfile.StorageProfile.OsDisk", Name: validation.Null, Rule: false,
|
||||
Chain: []validation.Constraint{{Target: "parameters.VirtualMachineScaleSetProperties.VirtualMachineProfile.StorageProfile.OsDisk.Name", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||
}},
|
||||
}},
|
||||
}}}}}); err != nil {
|
||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineScaleSetsClient", "CreateOrUpdate")
|
||||
}
|
||||
|
||||
req, err := client.CreateOrUpdatePreparer(resourceGroupName, name, parameters, cancel)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "CreateOrUpdate", nil, "Failure preparing request")
|
||||
|
@ -867,6 +854,74 @@ func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response
|
|||
return
|
||||
}
|
||||
|
||||
// ReimageAll reimages all the disks ( including data disks ) in the virtual
|
||||
// machines in a virtual machine scale set. This operation is only supported
|
||||
// for managed disks. This method may poll for completion. Polling can be
|
||||
// canceled by passing the cancel channel argument. The channel will be used to
|
||||
// cancel polling and any outstanding HTTP requests.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group. vmScaleSetName is the
|
||||
// name of the VM scale set.
|
||||
func (client VirtualMachineScaleSetsClient) ReimageAll(resourceGroupName string, vmScaleSetName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||
req, err := client.ReimageAllPreparer(resourceGroupName, vmScaleSetName, cancel)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ReimageAll", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.ReimageAllSender(req)
|
||||
if err != nil {
|
||||
result.Response = resp
|
||||
return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ReimageAll", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.ReimageAllResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetsClient", "ReimageAll", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// ReimageAllPreparer prepares the ReimageAll request.
|
||||
func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(resourceGroupName string, vmScaleSetName string, cancel <-chan struct{}) (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
"vmScaleSetName": autorest.Encode("path", vmScaleSetName),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsPost(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall", pathParameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{Cancel: cancel})
|
||||
}
|
||||
|
||||
// ReimageAllSender sends the ReimageAll request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
// ReimageAllResponder handles the response to the ReimageAll request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
|
||||
autorest.ByClosing())
|
||||
result.Response = resp
|
||||
return
|
||||
}
|
||||
|
||||
// Restart restarts one or more virtual machines in a VM scale set. This method
|
||||
// may poll for completion. Polling can be canceled by passing the cancel
|
||||
// channel argument. The channel will be used to cancel polling and any
|
||||
|
|
72
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachinescalesetvms.go
generated
vendored
72
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachinescalesetvms.go
generated
vendored
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -549,6 +549,76 @@ func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Respon
|
|||
return
|
||||
}
|
||||
|
||||
// ReimageAll allows you to re-image all the disks ( including data disks ) in
|
||||
// the a virtual machine scale set instance. This operation is only supported
|
||||
// for managed disks. This method may poll for completion. Polling can be
|
||||
// canceled by passing the cancel channel argument. The channel will be used to
|
||||
// cancel polling and any outstanding HTTP requests.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group. vmScaleSetName is the
|
||||
// name of the VM scale set. instanceID is the instance ID of the virtual
|
||||
// machine.
|
||||
func (client VirtualMachineScaleSetVMsClient) ReimageAll(resourceGroupName string, vmScaleSetName string, instanceID string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||
req, err := client.ReimageAllPreparer(resourceGroupName, vmScaleSetName, instanceID, cancel)
|
||||
if err != nil {
|
||||
return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "ReimageAll", nil, "Failure preparing request")
|
||||
}
|
||||
|
||||
resp, err := client.ReimageAllSender(req)
|
||||
if err != nil {
|
||||
result.Response = resp
|
||||
return result, autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "ReimageAll", resp, "Failure sending request")
|
||||
}
|
||||
|
||||
result, err = client.ReimageAllResponder(resp)
|
||||
if err != nil {
|
||||
err = autorest.NewErrorWithError(err, "compute.VirtualMachineScaleSetVMsClient", "ReimageAll", resp, "Failure responding to request")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// ReimageAllPreparer prepares the ReimageAll request.
|
||||
func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(resourceGroupName string, vmScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error) {
|
||||
pathParameters := map[string]interface{}{
|
||||
"instanceId": autorest.Encode("path", instanceID),
|
||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
||||
"vmScaleSetName": autorest.Encode("path", vmScaleSetName),
|
||||
}
|
||||
|
||||
queryParameters := map[string]interface{}{
|
||||
"api-version": client.APIVersion,
|
||||
}
|
||||
|
||||
preparer := autorest.CreatePreparer(
|
||||
autorest.AsPost(),
|
||||
autorest.WithBaseURL(client.BaseURI),
|
||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimageall", pathParameters),
|
||||
autorest.WithQueryParameters(queryParameters))
|
||||
return preparer.Prepare(&http.Request{Cancel: cancel})
|
||||
}
|
||||
|
||||
// ReimageAllSender sends the ReimageAll request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
// ReimageAllResponder handles the response to the ReimageAll request. The method always
|
||||
// closes the http.Response Body.
|
||||
func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error) {
|
||||
err = autorest.Respond(
|
||||
resp,
|
||||
client.ByInspecting(),
|
||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
|
||||
autorest.ByClosing())
|
||||
result.Response = resp
|
||||
return
|
||||
}
|
||||
|
||||
// Restart restarts a virtual machine in a VM scale set. This method may poll
|
||||
// for completion. Polling can be canceled by passing the cancel channel
|
||||
// argument. The channel will be used to cancel polling and any outstanding
|
||||
|
|
|
@ -14,7 +14,7 @@ package compute
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ package containerregistry
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package containerregistry
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package containerregistry
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package containerregistry
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Package containerservice implements the Azure ARM Containerservice service
|
||||
// API version 2016-09-30.
|
||||
// API version 2017-01-31.
|
||||
//
|
||||
// The Container Service Client.
|
||||
package containerservice
|
||||
|
@ -18,7 +18,7 @@ package containerservice
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -28,7 +28,7 @@ import (
|
|||
|
||||
const (
|
||||
// APIVersion is the version of the Containerservice
|
||||
APIVersion = "2016-09-30"
|
||||
APIVersion = "2017-01-31"
|
||||
|
||||
// DefaultBaseURI is the default URI used for the service Containerservice
|
||||
DefaultBaseURI = "https://management.azure.com"
|
||||
|
|
2
vendor/github.com/Azure/azure-sdk-for-go/arm/containerservice/containerservices.go
generated
vendored
2
vendor/github.com/Azure/azure-sdk-for-go/arm/containerservice/containerservices.go
generated
vendored
|
@ -14,7 +14,7 @@ package containerservice
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package containerservice
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package containerservice
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
@ -41,7 +41,7 @@ var (
|
|||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
if userAgent == "" {
|
||||
userAgent = fmt.Sprintf(userAgentFormat, Version(), "containerservice", "2016-09-30")
|
||||
userAgent = fmt.Sprintf(userAgentFormat, Version(), "containerservice", "2017-01-31")
|
||||
}
|
||||
return userAgent
|
||||
}
|
||||
|
|
|
@ -14,30 +14,47 @@ package eventhub
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
patch = "0"
|
||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||
tag = "-beta"
|
||||
semVerFormat = "%s.%s.%s%s"
|
||||
userAgentFormat = "Azure-SDK-for-Go/%s arm-%s/%s"
|
||||
major = "8"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
)
|
||||
|
||||
// cached results of UserAgent and Version to prevent repeated operations.
|
||||
var (
|
||||
userAgent string
|
||||
version string
|
||||
)
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return fmt.Sprintf(userAgentFormat, Version(), "eventhub", "2015-08-01")
|
||||
if userAgent == "" {
|
||||
userAgent = fmt.Sprintf(userAgentFormat, Version(), "eventhub", "2015-08-01")
|
||||
}
|
||||
return userAgent
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return fmt.Sprintf(semVerFormat, major, minor, patch, tag)
|
||||
if version == "" {
|
||||
versionBuilder := bytes.NewBufferString(fmt.Sprintf("%s.%s.%s", major, minor, patch))
|
||||
if tag != "" {
|
||||
versionBuilder.WriteRune('-')
|
||||
versionBuilder.WriteString(strings.TrimPrefix(tag, "-"))
|
||||
}
|
||||
version = string(versionBuilder.Bytes())
|
||||
}
|
||||
return version
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ package keyvault
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package keyvault
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package keyvault
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package keyvault
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -14,30 +14,47 @@ package network
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
patch = "0"
|
||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||
tag = "-beta"
|
||||
semVerFormat = "%s.%s.%s%s"
|
||||
userAgentFormat = "Azure-SDK-for-Go/%s arm-%s/%s"
|
||||
major = "8"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
)
|
||||
|
||||
// cached results of UserAgent and Version to prevent repeated operations.
|
||||
var (
|
||||
userAgent string
|
||||
version string
|
||||
)
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return fmt.Sprintf(userAgentFormat, Version(), "network", "2016-09-01")
|
||||
if userAgent == "" {
|
||||
userAgent = fmt.Sprintf(userAgentFormat, Version(), "network", "2016-09-01")
|
||||
}
|
||||
return userAgent
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return fmt.Sprintf(semVerFormat, major, minor, patch, tag)
|
||||
if version == "" {
|
||||
versionBuilder := bytes.NewBufferString(fmt.Sprintf("%s.%s.%s", major, minor, patch))
|
||||
if tag != "" {
|
||||
versionBuilder.WriteRune('-')
|
||||
versionBuilder.WriteString(strings.TrimPrefix(tag, "-"))
|
||||
}
|
||||
version = string(versionBuilder.Bytes())
|
||||
}
|
||||
return version
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ package redis
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -18,7 +18,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
2
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/deployments.go
generated
vendored
2
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/deployments.go
generated
vendored
|
@ -14,7 +14,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
5
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/resourcesgroup.go
generated
vendored
5
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/resourcesgroup.go
generated
vendored
|
@ -14,16 +14,15 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
"github.com/Azure/go-autorest/autorest/azure"
|
||||
"github.com/Azure/go-autorest/autorest/validation"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// GroupClient is the provides operations for working with resources and
|
||||
|
|
|
@ -14,7 +14,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package resources
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -18,7 +18,7 @@ package scheduler
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package scheduler
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package scheduler
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package scheduler
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package scheduler
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -14,7 +14,7 @@ package servicebus
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -14,30 +14,47 @@ package storage
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
patch = "0"
|
||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||
tag = "-beta"
|
||||
semVerFormat = "%s.%s.%s%s"
|
||||
userAgentFormat = "Azure-SDK-for-Go/%s arm-%s/%s"
|
||||
major = "8"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
)
|
||||
|
||||
// cached results of UserAgent and Version to prevent repeated operations.
|
||||
var (
|
||||
userAgent string
|
||||
version string
|
||||
)
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return fmt.Sprintf(userAgentFormat, Version(), "storage", "2016-01-01")
|
||||
if userAgent == "" {
|
||||
userAgent = fmt.Sprintf(userAgentFormat, Version(), "storage", "2016-01-01")
|
||||
}
|
||||
return userAgent
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return fmt.Sprintf(semVerFormat, major, minor, patch, tag)
|
||||
if version == "" {
|
||||
versionBuilder := bytes.NewBufferString(fmt.Sprintf("%s.%s.%s", major, minor, patch))
|
||||
if tag != "" {
|
||||
versionBuilder.WriteRune('-')
|
||||
versionBuilder.WriteString(strings.TrimPrefix(tag, "-"))
|
||||
}
|
||||
version = string(versionBuilder.Bytes())
|
||||
}
|
||||
return version
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ package trafficmanager
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package trafficmanager
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package trafficmanager
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package trafficmanager
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package trafficmanager
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
major = "8"
|
||||
minor = "0"
|
||||
minor = "1"
|
||||
patch = "0"
|
||||
tag = "beta"
|
||||
userAgentFormat = "Azure-SDK-For-Go/%s arm-%s/%s"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package storage
|
||||
|
||||
var (
|
||||
sdkVersion = "8.0.0-beta"
|
||||
sdkVersion = "8.1.0-beta"
|
||||
)
|
||||
|
|
|
@ -15,241 +15,245 @@
|
|||
"revisionTime": "2017-01-18T16:13:56Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "6exKGhZobsx+DV/SMy3nDmuBNm0=",
|
||||
"checksumSHA1": "N92Zji40JkCHAnsCNHTP4iKPz88=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/cdn",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "+w9njWehvjvkFK4JHAEtTgvmVgE=",
|
||||
"checksumSHA1": "xOt4xQmO/KFcJYjQ678DL5ynub4=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/compute",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "JbbZWArn6iqSs+neT5X8AxxH6o0=",
|
||||
"checksumSHA1": "JaUx70JMD/d/AwSed7dZAboFfZs=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/containerregistry",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "N5cEhrAIjNoOIwciU7M8XBxUBdk=",
|
||||
"checksumSHA1": "G4hj0/ClTgXCDjKupxZ0Ii1VWtI=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/containerservice",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Amd1JuJVsI9wU3+KI4Ba4jBbxps=",
|
||||
"checksumSHA1": "ro1i9qoJcSgbWgV7D93wXhBwoL8=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/eventhub",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "HqDiYte7S7N9SRNpPJE7U/cDw3c=",
|
||||
"checksumSHA1": "t/W6hTKBQzHfV1vXxqprTGZYeSI=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/keyvault",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Mslwg+wp+tVV/w/9Czp6NY2dWTw=",
|
||||
"checksumSHA1": "ZT+e2iMSXAsKCuJ3BNYpOzDaSmk=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/network",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "kYdY8/+AxEfjHxwxb9Se7+6OR5Q=",
|
||||
"checksumSHA1": "AC1CTs+pQQncMAaEOSkiO8uMjng=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/redis",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "TLooEKn4oEwbs7pz3gT6tl/Egq8=",
|
||||
"checksumSHA1": "A7vV2JtR1aTZrQNWqjQdR5Dssh4=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/resources/resources",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Ax4KqsWkk27VNh5S7SWNOl21+nk=",
|
||||
"checksumSHA1": "8Sa2kkdH3tdZ7kvyTR3l6fTJ66I=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/scheduler",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "RvV8PZnxICWRAt3oaPfXhhgkYqA=",
|
||||
"checksumSHA1": "UgfDDACkeEz/Tn7fUQ+ofCm4kcI=",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/servicebus",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "WHuO17KjbzQTSnMBkpPz2dP6KXU=",
|
||||
"checksumSHA1": "m1KzBritgIsQ+s4tAlBGz02iIKo=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/storage",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "vn4Py70SPOS6Moan+1DhdWOLs3w=",
|
||||
"checksumSHA1": "tRas0uLjthfwj+9OiGzVKs1br6g=",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/arm/trafficmanager",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "JUEQrLvmfuxKwX/s89mFnzg7jc0=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "BiKKFwRpXzrRxa2odOMYAZZ5xU8=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/affinitygroup",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "HfjyhRfmKBsVgWLTOfWVcxe8Z88=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/hostedservice",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "4otMhU6xZ41HfmiGZFYtV93GdcI=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/location",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "hxivwm3D13cqFGOlOS3q8HD7DN0=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/networksecuritygroup",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "XzrPv8SWFBYdh5oie+NGysqnLIM=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/osimage",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "aTvFD5aYYXC1bLaVMlHWJImkHDg=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/sql",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "YoAhDE0X6hSFuPpXbpfqcTC0Zvw=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/storageservice",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "6xEiZL4a9rr5YbnY0RdzuzhEF1Q=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachine",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "xcBM3zQtfcE3VHNBACJJGEesCBI=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachinedisk",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "0bfdkDZ2JFV7bol6GQFfC0g+lP4=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachineimage",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "IhjDqm84VDVSIoHyiGvUzuljG3s=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualnetwork",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "Tb6BY70kI9ZclWIjjMhGzkdJbn0=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/management/vmutils",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "rK3ght7KTtHGdm0V4+U7fv9+tUU=",
|
||||
"checksumSHA1": "tnwIjZc1ZOFuilMWKptLnhEURls=",
|
||||
"comment": "v2.1.1-beta-8-gca4d906",
|
||||
"path": "github.com/Azure/azure-sdk-for-go/storage",
|
||||
"revision": "8e625d1702a32d01cef05a9252198d231c4af113",
|
||||
"revisionTime": "2017-02-08T01:01:20Z",
|
||||
"version": "v8.0.1-beta",
|
||||
"versionExact": "v8.0.1-beta"
|
||||
"revision": "ecf40e315d5ab0ca6d7b3b7f7fbb5c1577814813",
|
||||
"revisionTime": "2017-03-02T00:14:02Z",
|
||||
"version": "v8.1.0-beta",
|
||||
"versionExact": "v8.1.0-beta"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "23FJUX+AInYeEM2hoUMvYZtXZd4=",
|
||||
|
|
Loading…
Reference in New Issue