vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
@@ -14,9 +14,8 @@ package managedapplications
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
@@ -30,27 +29,21 @@ type ApplianceDefinitionsClient struct {
ManagementClient
}
// NewApplianceDefinitionsClient creates an instance of the
// ApplianceDefinitionsClient client.
// NewApplianceDefinitionsClient creates an instance of the ApplianceDefinitionsClient client.
func NewApplianceDefinitionsClient(subscriptionID string) ApplianceDefinitionsClient {
return NewApplianceDefinitionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewApplianceDefinitionsClientWithBaseURI creates an instance of the
// ApplianceDefinitionsClient client.
// NewApplianceDefinitionsClientWithBaseURI creates an instance of the ApplianceDefinitionsClient client.
func NewApplianceDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ApplianceDefinitionsClient {
return ApplianceDefinitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates a new appliance definition. 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.
// CreateOrUpdate creates a new appliance definition. 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. The name is case
// insensitive. applianceDefinitionName is the name of the appliance
// definition. parameters is parameters supplied to the create or update an
// appliance definition.
// resourceGroupName is the name of the resource group. The name is case insensitive. applianceDefinitionName is the
// name of the appliance definition. parameters is parameters supplied to the create or update an appliance definition.
func (client ApplianceDefinitionsClient) CreateOrUpdate(resourceGroupName string, applianceDefinitionName string, parameters ApplianceDefinition, cancel <-chan struct{}) (<-chan ApplianceDefinition, <-chan error) {
resultChan := make(chan ApplianceDefinition, 1)
errChan := make(chan error, 1)
@@ -149,17 +142,14 @@ func (client ApplianceDefinitionsClient) CreateOrUpdateResponder(resp *http.Resp
return
}
// CreateOrUpdateByID creates a new appliance definition. 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.
// CreateOrUpdateByID creates a new appliance definition. 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.
//
// applianceDefinitionID is the fully qualified ID of the appliance definition,
// including the appliance name and the appliance definition resource type. Use
// the format,
// applianceDefinitionID is the fully qualified ID of the appliance definition, including the appliance name and the
// appliance definition resource type. Use the format,
// /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
// parameters is parameters supplied to the create or update an appliance
// definition.
// parameters is parameters supplied to the create or update an appliance definition.
func (client ApplianceDefinitionsClient) CreateOrUpdateByID(applianceDefinitionID string, parameters ApplianceDefinition, cancel <-chan struct{}) (<-chan ApplianceDefinition, <-chan error) {
resultChan := make(chan ApplianceDefinition, 1)
errChan := make(chan error, 1)
@@ -211,7 +201,6 @@ func (client ApplianceDefinitionsClient) CreateOrUpdateByID(applianceDefinitionI
func (client ApplianceDefinitionsClient) CreateOrUpdateByIDPreparer(applianceDefinitionID string, parameters ApplianceDefinition, cancel <-chan struct{}) (*http.Request, error) {
pathParameters := map[string]interface{}{
"applianceDefinitionId": applianceDefinitionID,
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
}
const APIVersion = "2016-09-01-preview"
@@ -250,14 +239,11 @@ func (client ApplianceDefinitionsClient) CreateOrUpdateByIDResponder(resp *http.
return
}
// Delete deletes the appliance definition. 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.
// Delete deletes the appliance definition. 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. The name is case
// insensitive. applianceDefinitionName is the name of the appliance definition
// to delete.
// resourceGroupName is the name of the resource group. The name is case insensitive. applianceDefinitionName is the
// name of the appliance definition to delete.
func (client ApplianceDefinitionsClient) Delete(resourceGroupName string, applianceDefinitionName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
errChan := make(chan error, 1)
@@ -348,14 +334,11 @@ func (client ApplianceDefinitionsClient) DeleteResponder(resp *http.Response) (r
return
}
// DeleteByID deletes the appliance definition. 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.
// DeleteByID deletes the appliance definition. 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.
//
// applianceDefinitionID is the fully qualified ID of the appliance definition,
// including the appliance name and the appliance definition resource type. Use
// the format,
// applianceDefinitionID is the fully qualified ID of the appliance definition, including the appliance name and the
// appliance definition resource type. Use the format,
// /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
func (client ApplianceDefinitionsClient) DeleteByID(applianceDefinitionID string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
@@ -396,7 +379,6 @@ func (client ApplianceDefinitionsClient) DeleteByID(applianceDefinitionID string
func (client ApplianceDefinitionsClient) DeleteByIDPreparer(applianceDefinitionID string, cancel <-chan struct{}) (*http.Request, error) {
pathParameters := map[string]interface{}{
"applianceDefinitionId": applianceDefinitionID,
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
}
const APIVersion = "2016-09-01-preview"
@@ -434,9 +416,8 @@ func (client ApplianceDefinitionsClient) DeleteByIDResponder(resp *http.Response
// Get gets the appliance definition.
//
// resourceGroupName is the name of the resource group. The name is case
// insensitive. applianceDefinitionName is the name of the appliance
// definition.
// resourceGroupName is the name of the resource group. The name is case insensitive. applianceDefinitionName is the
// name of the appliance definition.
func (client ApplianceDefinitionsClient) Get(resourceGroupName string, applianceDefinitionName string) (result ApplianceDefinition, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -512,9 +493,8 @@ func (client ApplianceDefinitionsClient) GetResponder(resp *http.Response) (resu
// GetByID gets the appliance definition.
//
// applianceDefinitionID is the fully qualified ID of the appliance definition,
// including the appliance name and the appliance definition resource type. Use
// the format,
// applianceDefinitionID is the fully qualified ID of the appliance definition, including the appliance name and the
// appliance definition resource type. Use the format,
// /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}
func (client ApplianceDefinitionsClient) GetByID(applianceDefinitionID string) (result ApplianceDefinition, err error) {
req, err := client.GetByIDPreparer(applianceDefinitionID)
@@ -542,7 +522,6 @@ func (client ApplianceDefinitionsClient) GetByID(applianceDefinitionID string) (
func (client ApplianceDefinitionsClient) GetByIDPreparer(applianceDefinitionID string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"applianceDefinitionId": applianceDefinitionID,
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
}
const APIVersion = "2016-09-01-preview"
@@ -579,8 +558,7 @@ func (client ApplianceDefinitionsClient) GetByIDResponder(resp *http.Response) (
// ListByResourceGroup lists the appliance definitions in a resource group.
//
// resourceGroupName is the name of the resource group. The name is case
// insensitive.
// resourceGroupName is the name of the resource group. The name is case insensitive.
func (client ApplianceDefinitionsClient) ListByResourceGroup(resourceGroupName string) (result ApplianceDefinitionListResult, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -14,9 +14,8 @@ package managedapplications
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
@@ -35,19 +34,16 @@ func NewAppliancesClient(subscriptionID string) AppliancesClient {
return NewAppliancesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewAppliancesClientWithBaseURI creates an instance of the AppliancesClient
// client.
// NewAppliancesClientWithBaseURI creates an instance of the AppliancesClient client.
func NewAppliancesClientWithBaseURI(baseURI string, subscriptionID string) AppliancesClient {
return AppliancesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates a new appliance. 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.
// CreateOrUpdate creates a new appliance. 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. The name is case
// insensitive. applianceName is the name of the appliance. parameters is
// parameters supplied to the create or update an appliance.
// resourceGroupName is the name of the resource group. The name is case insensitive. applianceName is the name of the
// appliance. parameters is parameters supplied to the create or update an appliance.
func (client AppliancesClient) CreateOrUpdate(resourceGroupName string, applianceName string, parameters Appliance, cancel <-chan struct{}) (<-chan Appliance, <-chan error) {
resultChan := make(chan Appliance, 1)
errChan := make(chan error, 1)
@@ -152,13 +148,11 @@ func (client AppliancesClient) CreateOrUpdateResponder(resp *http.Response) (res
return
}
// CreateOrUpdateByID creates a new appliance. 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.
// CreateOrUpdateByID creates a new appliance. 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.
//
// applianceID is the fully qualified ID of the appliance, including the
// appliance name and the appliance resource type. Use the format,
// applianceID is the fully qualified ID of the appliance, including the appliance name and the appliance resource
// type. Use the format,
// /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
// parameters is parameters supplied to the create or update an appliance.
func (client AppliancesClient) CreateOrUpdateByID(applianceID string, parameters Appliance, cancel <-chan struct{}) (<-chan Appliance, <-chan error) {
@@ -217,8 +211,7 @@ func (client AppliancesClient) CreateOrUpdateByID(applianceID string, parameters
// CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.
func (client AppliancesClient) CreateOrUpdateByIDPreparer(applianceID string, parameters Appliance, cancel <-chan struct{}) (*http.Request, error) {
pathParameters := map[string]interface{}{
"applianceId": applianceID,
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
"applianceId": applianceID,
}
const APIVersion = "2016-09-01-preview"
@@ -257,12 +250,11 @@ func (client AppliancesClient) CreateOrUpdateByIDResponder(resp *http.Response)
return
}
// Delete deletes the appliance. 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.
// Delete deletes the appliance. 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. The name is case
// insensitive. applianceName is the name of the appliance.
// resourceGroupName is the name of the resource group. The name is case insensitive. applianceName is the name of the
// appliance.
func (client AppliancesClient) Delete(resourceGroupName string, applianceName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
errChan := make(chan error, 1)
@@ -353,12 +345,11 @@ func (client AppliancesClient) DeleteResponder(resp *http.Response) (result auto
return
}
// DeleteByID deletes the appliance. 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.
// DeleteByID deletes the appliance. 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.
//
// applianceID is the fully qualified ID of the appliance, including the
// appliance name and the appliance resource type. Use the format,
// applianceID is the fully qualified ID of the appliance, including the appliance name and the appliance resource
// type. Use the format,
// /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
func (client AppliancesClient) DeleteByID(applianceID string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
@@ -398,8 +389,7 @@ func (client AppliancesClient) DeleteByID(applianceID string, cancel <-chan stru
// DeleteByIDPreparer prepares the DeleteByID request.
func (client AppliancesClient) DeleteByIDPreparer(applianceID string, cancel <-chan struct{}) (*http.Request, error) {
pathParameters := map[string]interface{}{
"applianceId": applianceID,
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
"applianceId": applianceID,
}
const APIVersion = "2016-09-01-preview"
@@ -437,8 +427,8 @@ func (client AppliancesClient) DeleteByIDResponder(resp *http.Response) (result
// Get gets the appliance.
//
// resourceGroupName is the name of the resource group. The name is case
// insensitive. applianceName is the name of the appliance.
// resourceGroupName is the name of the resource group. The name is case insensitive. applianceName is the name of the
// appliance.
func (client AppliancesClient) Get(resourceGroupName string, applianceName string) (result Appliance, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -514,8 +504,8 @@ func (client AppliancesClient) GetResponder(resp *http.Response) (result Applian
// GetByID gets the appliance.
//
// applianceID is the fully qualified ID of the appliance, including the
// appliance name and the appliance resource type. Use the format,
// applianceID is the fully qualified ID of the appliance, including the appliance name and the appliance resource
// type. Use the format,
// /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
func (client AppliancesClient) GetByID(applianceID string) (result Appliance, err error) {
req, err := client.GetByIDPreparer(applianceID)
@@ -542,8 +532,7 @@ func (client AppliancesClient) GetByID(applianceID string) (result Appliance, er
// GetByIDPreparer prepares the GetByID request.
func (client AppliancesClient) GetByIDPreparer(applianceID string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"applianceId": applianceID,
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
"applianceId": applianceID,
}
const APIVersion = "2016-09-01-preview"
@@ -580,8 +569,7 @@ func (client AppliancesClient) GetByIDResponder(resp *http.Response) (result App
// ListByResourceGroup gets all the appliances within a resource group.
//
// resourceGroupName is the name of the resource group. The name is case
// insensitive.
// resourceGroupName is the name of the resource group. The name is case insensitive.
func (client AppliancesClient) ListByResourceGroup(resourceGroupName string) (result ApplianceListResult, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -850,12 +838,10 @@ func (client AppliancesClient) ListBySubscriptionComplete(cancel <-chan struct{}
return resultChan, errChan
}
// Update updates an existing appliance. The only value that can be updated via
// PATCH currently is the tags.
// Update updates an existing appliance. The only value that can be updated via PATCH currently is the tags.
//
// resourceGroupName is the name of the resource group. The name is case
// insensitive. applianceName is the name of the appliance. parameters is
// parameters supplied to update an existing appliance.
// resourceGroupName is the name of the resource group. The name is case insensitive. applianceName is the name of the
// appliance. parameters is parameters supplied to update an existing appliance.
func (client AppliancesClient) Update(resourceGroupName string, applianceName string, parameters *Appliance) (result Appliance, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: resourceGroupName,
@@ -934,11 +920,10 @@ func (client AppliancesClient) UpdateResponder(resp *http.Response) (result Appl
return
}
// UpdateByID updates an existing appliance. The only value that can be updated
// via PATCH currently is the tags.
// UpdateByID updates an existing appliance. The only value that can be updated via PATCH currently is the tags.
//
// applianceID is the fully qualified ID of the appliance, including the
// appliance name and the appliance resource type. Use the format,
// applianceID is the fully qualified ID of the appliance, including the appliance name and the appliance resource
// type. Use the format,
// /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
// parameters is parameters supplied to update an existing appliance.
func (client AppliancesClient) UpdateByID(applianceID string, parameters *Appliance) (result Appliance, err error) {
@@ -966,8 +951,7 @@ func (client AppliancesClient) UpdateByID(applianceID string, parameters *Applia
// UpdateByIDPreparer prepares the UpdateByID request.
func (client AppliancesClient) UpdateByIDPreparer(applianceID string, parameters *Appliance) (*http.Request, error) {
pathParameters := map[string]interface{}{
"applianceId": applianceID,
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
"applianceId": applianceID,
}
const APIVersion = "2016-09-01-preview"
@@ -1,5 +1,4 @@
// Package managedapplications implements the Azure ARM Managedapplications
// service API version 2016-09-01-preview.
// Package managedapplications implements the Azure ARM Managedapplications service API version 2016-09-01-preview.
//
// ARM managed applications (appliances)
package managedapplications
@@ -18,9 +17,8 @@ package managedapplications
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
@@ -14,9 +14,8 @@ package managedapplications
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
@@ -38,8 +37,7 @@ const (
type ApplianceLockLevel string
const (
// CanNotDelete specifies the can not delete state for appliance lock
// level.
// CanNotDelete specifies the can not delete state for appliance lock level.
CanNotDelete ApplianceLockLevel = "CanNotDelete"
// None specifies the none state for appliance lock level.
None ApplianceLockLevel = "None"
@@ -79,8 +77,7 @@ const (
type ResourceIdentityType string
const (
// SystemAssigned specifies the system assigned state for resource identity
// type.
// SystemAssigned specifies the system assigned state for resource identity type.
SystemAssigned ResourceIdentityType = "SystemAssigned"
)
@@ -210,8 +207,8 @@ type ApplianceProviderAuthorization struct {
RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
}
// ErrorResponse is error reponse indicates ARM appliance is not able to
// process the incoming request. The reason is provided in the error message.
// ErrorResponse is error reponse indicates ARM appliance is not able to process the incoming request. The reason is
// provided in the error message.
type ErrorResponse struct {
HTTPStatus *string `json:"httpStatus,omitempty"`
ErrorCode *string `json:"errorCode,omitempty"`
@@ -14,16 +14,15 @@ package managedapplications
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v10.1.0-beta arm-managedapplications/2016-09-01-preview"
return "Azure-SDK-For-Go/v11.0.0-beta arm-managedapplications/2016-09-01-preview"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
return "v10.1.0-beta"
return "v11.0.0-beta"
}