From ada5d5d8b35609637318caac18a050f1aa81c14c Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Thu, 3 May 2018 21:41:36 +0100 Subject: [PATCH 1/2] Upgrading to v16.1.0 of Azure/azure-sdk-for-go / v10.8.1 of Azure/go-autorest --- .../mgmt/2015-05-01/insights/analyticsitem.go | 362 +++ .../mgmt/2015-05-01/insights/annotations.go | 34 +- .../mgmt/2015-05-01/insights/apikeys.go | 29 +- .../insights/componentavailablefeatures.go | 6 +- .../componentcurrentbillingfeatures.go | 15 +- .../insights/componentfeaturecapabilities.go | 6 +- .../insights/componentquotastatus.go | 6 +- .../mgmt/2015-05-01/insights/components.go | 137 +- .../insights/exportconfigurations.go | 41 +- .../mgmt/2015-05-01/insights/favorite.go | 34 +- .../mgmt/2015-05-01/insights/favorites.go | 16 +- .../mgmt/2015-05-01/insights/models.go | 382 ++- .../proactivedetectionconfigurations.go | 27 +- .../2015-05-01/insights/webtestlocations.go | 6 +- .../mgmt/2015-05-01/insights/webtests.go | 32 +- .../mgmt/2015-05-01/insights/workbook.go | 326 ++ .../mgmt/2015-05-01/insights/workbooks.go | 116 + .../insights/workitemconfigurations.go | 30 +- .../2015-07-01/authorization/permissions.go | 15 +- .../provideroperationsmetadata.go | 10 +- .../authorization/roleassignments.go | 89 +- .../authorization/roledefinitions.go | 28 +- .../2015-10-31/automation/dscconfiguration.go | 8 +- .../mgmt/2015-10-31/automation/keys.go | 7 +- .../mgmt/2015-10-31/automation/models.go | 16 +- .../2015-10-31/automation/runbookdraft.go | 10 +- .../cdn/mgmt/2017-04-02/cdn/client.go | 8 +- .../cdn/mgmt/2017-04-02/cdn/customdomains.go | 55 +- .../cdn/mgmt/2017-04-02/cdn/endpoints.go | 95 +- .../cdn/mgmt/2017-04-02/cdn/origins.go | 28 +- .../cdn/mgmt/2017-04-02/cdn/profiles.go | 49 +- .../containerinstance/client.go | 3 + .../containerinstance/containergroups.go | 29 + .../containerinstance/containergroupusage.go | 7 + .../containerinstance/containerlogs.go | 7 + .../containerinstance/models.go | 61 + .../containerinstance/operations.go | 7 + .../containerinstance/startcontainer.go | 7 + .../containerinstance/version.go | 3 +- .../2017-10-01/containerregistry/models.go | 87 + .../containerregistry/registries.go | 139 +- .../containerregistry/replications.go | 38 +- .../2017-10-01/containerregistry/webhooks.go | 59 +- .../containerservice/containerservices.go | 30 +- .../containerservice/managedclusters.go | 33 +- .../mgmt/2015-04-08/documentdb/collection.go | 34 +- .../documentdb/collectionpartition.go | 26 +- .../documentdb/collectionpartitionregion.go | 15 +- .../2015-04-08/documentdb/collectionregion.go | 15 +- .../mgmt/2015-04-08/documentdb/database.go | 29 +- .../documentdb/databaseaccountregion.go | 12 +- .../2015-04-08/documentdb/databaseaccounts.go | 86 +- .../mgmt/2015-04-08/documentdb/models.go | 14 + .../documentdb/partitionkeyrangeid.go | 15 +- .../documentdb/partitionkeyrangeidregion.go | 13 +- .../mgmt/2015-04-08/documentdb/percentile.go | 11 +- .../documentdb/percentilesourcetarget.go | 17 +- .../2015-04-08/documentdb/percentiletarget.go | 14 +- .../dns/mgmt/2016-04-01/dns/recordsets.go | 79 +- .../services/dns/mgmt/2016-04-01/dns/zones.go | 39 +- .../2017-09-15-preview/eventgrid/client.go | 3 + .../eventgrid/eventsubscriptions.go | 59 + .../2017-09-15-preview/eventgrid/models.go | 82 + .../eventgrid/operations.go | 7 + .../2017-09-15-preview/eventgrid/topics.go | 39 + .../eventgrid/topictypes.go | 15 + .../2017-09-15-preview/eventgrid/version.go | 3 +- .../2017-04-01/eventhub/consumergroups.go | 33 +- .../eventhub/disasterrecoveryconfigs.go | 73 +- .../mgmt/2017-04-01/eventhub/eventhubs.go | 79 +- .../mgmt/2017-04-01/eventhub/messagingplan.go | 118 - .../mgmt/2017-04-01/eventhub/models.go | 18 +- .../mgmt/2017-04-01/eventhub/namespaces.go | 155 +- .../mgmt/2017-04-01/eventhub/regions.go | 4 +- .../graphrbac/1.6/graphrbac/applications.go | 55 +- .../graphrbac/1.6/graphrbac/domains.go | 8 +- .../graphrbac/1.6/graphrbac/groups.go | 49 +- .../graphrbac/1.6/graphrbac/objects.go | 8 +- .../1.6/graphrbac/serviceprincipals.go | 44 +- .../services/graphrbac/1.6/graphrbac/users.go | 32 +- .../mgmt/2017-07-01/devices/certificates.go | 51 +- .../mgmt/2017-07-01/devices/iothubresource.go | 123 +- .../keyvault/2016-10-01/keyvault/client.go | 458 +-- .../mgmt/2016-10-01/keyvault/vaults.go | 62 +- .../insights/actiongroups.go | 33 +- .../insights/activitylogalerts.go | 27 + .../insights/alertruleincidents.go | 11 + .../2017-05-01-preview/insights/alertrules.go | 23 + .../insights/autoscalesettings.go | 24 + .../2017-05-01-preview/insights/client.go | 3 + .../insights/diagnosticsettings.go | 19 + .../insights/diagnosticsettingscategory.go | 11 + .../insights/logprofiles.go | 23 + .../2017-05-01-preview/insights/models.go | 199 ++ .../2017-05-01-preview/insights/operations.go | 7 + .../2017-05-01-preview/insights/version.go | 3 +- .../2017-09-01/network/applicationgateways.go | 53 +- .../network/applicationsecuritygroups.go | 23 +- .../network/availableendpointservices.go | 4 +- .../network/mgmt/2017-09-01/network/client.go | 7 +- .../network/defaultsecurityrules.go | 13 +- .../expressroutecircuitauthorizations.go | 29 +- .../network/expressroutecircuitpeerings.go | 28 +- .../network/expressroutecircuits.go | 64 +- .../2017-09-01/network/inboundnatrules.go | 29 +- .../network/interfaceipconfigurations.go | 12 +- .../network/interfaceloadbalancers.go | 5 +- .../mgmt/2017-09-01/network/interfaces.go | 85 +- .../loadbalancerbackendaddresspools.go | 12 +- .../loadbalancerfrontendipconfigurations.go | 12 +- .../network/loadbalancerloadbalancingrules.go | 12 +- .../network/loadbalancernetworkinterfaces.go | 5 +- .../2017-09-01/network/loadbalancerprobes.go | 12 +- .../mgmt/2017-09-01/network/loadbalancers.go | 30 +- .../network/localnetworkgateways.go | 30 +- .../mgmt/2017-09-01/network/packetcaptures.go | 43 +- .../2017-09-01/network/publicipaddresses.go | 59 +- .../2017-09-01/network/routefilterrules.go | 37 +- .../mgmt/2017-09-01/network/routefilters.go | 30 +- .../network/mgmt/2017-09-01/network/routes.go | 27 +- .../mgmt/2017-09-01/network/routetables.go | 30 +- .../mgmt/2017-09-01/network/securitygroups.go | 31 +- .../mgmt/2017-09-01/network/securityrules.go | 29 +- .../mgmt/2017-09-01/network/subnets.go | 29 +- .../network/mgmt/2017-09-01/network/usages.go | 4 +- .../virtualnetworkgatewayconnections.go | 56 +- .../network/virtualnetworkgateways.go | 102 +- .../network/virtualnetworkpeerings.go | 29 +- .../2017-09-01/network/virtualnetworks.go | 42 +- .../mgmt/2017-09-01/network/watchers.go | 105 +- .../operationalinsights/client.go | 3 + .../operationalinsights/datasources.go | 20 + .../operationalinsights/linkedservices.go | 19 + .../operationalinsights/models.go | 69 +- .../operationalinsights/operations.go | 8 + .../operationalinsights/version.go | 3 +- .../operationalinsights/workspaces.go | 51 + .../operationsmanagement/client.go | 3 + .../managementassociations.go | 19 + .../managementconfigurations.go | 19 + .../operationsmanagement/models.go | 16 + .../operationsmanagement/operations.go | 7 + .../operationsmanagement/solutions.go | 23 + .../operationsmanagement/version.go | 3 +- .../recoveryservices/registeredidentities.go | 7 +- .../recoveryservices/replicationusages.go | 6 +- .../2016-06-01/recoveryservices/usages.go | 6 +- .../recoveryservices/vaultcertificates.go | 9 +- .../recoveryservices/vaultextendedinfo.go | 20 +- .../2016-06-01/recoveryservices/vaults.go | 30 +- .../mgmt/2018-03-01/redis/firewallrules.go | 28 +- .../mgmt/2018-03-01/redis/linkedserver.go | 28 +- .../mgmt/2018-03-01/redis/patchschedules.go | 17 +- .../redis/mgmt/2018-03-01/redis/redis.go | 72 +- .../2016-06-01/subscriptions/subscriptions.go | 8 +- .../mgmt/2016-09-01/locks/managementlocks.go | 115 +- .../mgmt/2016-12-01/policy/assignments.go | 56 +- .../mgmt/2016-12-01/policy/definitions.go | 41 +- .../resources/deploymentoperations.go | 14 +- .../mgmt/2017-05-10/resources/deployments.go | 59 +- .../mgmt/2017-05-10/resources/groups.go | 36 +- .../mgmt/2017-05-10/resources/providers.go | 24 +- .../mgmt/2017-05-10/resources/resources.go | 111 +- .../mgmt/2017-05-10/resources/tags.go | 18 +- .../mgmt/2015-08-19/search/adminkeys.go | 24 +- .../mgmt/2015-08-19/search/querykeys.go | 37 +- .../search/mgmt/2015-08-19/search/services.go | 74 +- .../servicebus/disasterrecoveryconfigs.go | 73 +- .../mgmt/2017-04-01/servicebus/eventhubs.go | 6 +- .../2017-04-01/servicebus/migrationconfigs.go | 546 ++++ .../mgmt/2017-04-01/servicebus/models.go | 243 ++ .../mgmt/2017-04-01/servicebus/namespaces.go | 78 +- .../mgmt/2017-04-01/servicebus/queues.go | 111 +- .../mgmt/2017-04-01/servicebus/regions.go | 4 +- .../mgmt/2017-04-01/servicebus/rules.go | 69 +- .../2017-04-01/servicebus/subscriptions.go | 65 +- .../mgmt/2017-04-01/servicebus/topics.go | 111 +- .../sql/backuplongtermretentionpolicies.go | 15 + .../sql/backuplongtermretentionvaults.go | 15 + .../2015-05-01-preview/sql/capabilities.go | 7 + .../sql/mgmt/2015-05-01-preview/sql/client.go | 3 + .../sql/databaseblobauditingpolicies.go | 11 + .../mgmt/2015-05-01-preview/sql/databases.go | 67 + .../sql/databasethreatdetectionpolicies.go | 11 + .../2015-05-01-preview/sql/databaseusages.go | 7 + .../sql/datamaskingpolicies.go | 11 + .../sql/datamaskingrules.go | 11 + .../sql/elasticpoolactivities.go | 7 + .../sql/elasticpooldatabaseactivities.go | 7 + .../2015-05-01-preview/sql/elasticpools.go | 31 + .../sql/encryptionprotectors.go | 16 + .../2015-05-01-preview/sql/failovergroups.go | 32 + .../2015-05-01-preview/sql/firewallrules.go | 19 + .../sql/geobackuppolicies.go | 15 + .../sql/mgmt/2015-05-01-preview/sql/models.go | 697 ++++- .../mgmt/2015-05-01-preview/sql/operations.go | 8 + .../sql/recommendedelasticpools.go | 247 -- .../sql/recoverabledatabases.go | 11 + .../sql/replicationlinks.go | 23 + .../sql/restorabledroppeddatabases.go | 11 + .../2015-05-01-preview/sql/restorepoints.go | 7 + .../sql/serverazureadadministrators.go | 19 + .../sql/servercommunicationlinks.go | 19 + .../sql/serverconnectionpolicies.go | 11 + .../mgmt/2015-05-01-preview/sql/serverkeys.go | 20 + .../mgmt/2015-05-01-preview/sql/servers.go | 33 + .../2015-05-01-preview/sql/serverusages.go | 7 + .../sql/serviceobjectives.go | 11 + .../sql/servicetieradvisors.go | 11 + .../sql/subscriptionusages.go | 12 + .../mgmt/2015-05-01-preview/sql/syncagents.go | 29 + .../mgmt/2015-05-01-preview/sql/syncgroups.go | 51 + .../2015-05-01-preview/sql/syncmembers.go | 33 + .../transparentdataencryptionactivities.go | 7 + .../sql/transparentdataencryptions.go | 11 + .../mgmt/2015-05-01-preview/sql/version.go | 3 +- .../sql/virtualnetworkrules.go | 20 + .../mgmt/2017-10-01/storage/accounts.go | 92 +- .../2017-05-01/trafficmanager/endpoints.go | 41 +- .../2017-05-01/trafficmanager/profiles.go | 37 +- .../services/web/mgmt/2016-09-01/web/apps.go | 2613 ++++++++++------- .../web/appservicecertificateorders.go | 124 +- .../2016-09-01/web/appserviceenvironments.go | 294 +- .../mgmt/2016-09-01/web/appserviceplans.go | 219 +- .../web/mgmt/2016-09-01/web/billingmeters.go | 135 + .../web/mgmt/2016-09-01/web/certificates.go | 28 +- .../web/mgmt/2016-09-01/web/client.go | 50 +- .../web/mgmt/2016-09-01/web/diagnostics.go | 727 ++++- .../web/mgmt/2016-09-01/web/domains.go | 80 +- .../web/mgmt/2016-09-01/web/models.go | 487 +++ .../web/mgmt/2016-09-01/web/provider.go | 4 - .../mgmt/2016-09-01/web/recommendations.go | 67 +- .../2016-09-01/web/resourcehealthmetadata.go | 28 +- .../mgmt/2016-09-01/web/topleveldomains.go | 9 +- .../Azure/azure-sdk-for-go/storage/blob.go | 18 +- .../azure-sdk-for-go/storage/blockblob.go | 2 +- .../Azure/azure-sdk-for-go/storage/client.go | 7 + .../azure-sdk-for-go/storage/container.go | 16 +- .../azure-sdk-for-go/storage/copyblob.go | 6 +- .../azure-sdk-for-go/storage/directory.go | 4 +- .../Azure/azure-sdk-for-go/storage/entity.go | 10 +- .../Azure/azure-sdk-for-go/storage/file.go | 8 +- .../storage/fileserviceclient.go | 12 +- .../azure-sdk-for-go/storage/leaseblob.go | 2 +- .../Azure/azure-sdk-for-go/storage/message.go | 6 +- .../azure-sdk-for-go/storage/pageblob.go | 4 +- .../Azure/azure-sdk-for-go/storage/queue.go | 14 +- .../Azure/azure-sdk-for-go/storage/share.go | 4 +- .../storage/storageservice.go | 2 +- .../Azure/azure-sdk-for-go/storage/table.go | 4 +- .../azure-sdk-for-go/storage/table_batch.go | 2 +- .../Azure/azure-sdk-for-go/version/version.go | 2 +- .../Azure/go-autorest/autorest/adal/token.go | 127 +- .../go-autorest/autorest/authorization.go | 22 +- .../Azure/go-autorest/autorest/sender.go | 4 + .../Azure/go-autorest/autorest/utility.go | 9 + .../Azure/go-autorest/autorest/version.go | 2 +- vendor/vendor.json | 414 +-- 258 files changed, 11079 insertions(+), 4683 deletions(-) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitem.go create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbook.go create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbooks.go delete mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/messagingplan.go create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/migrationconfigs.go delete mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recommendedelasticpools.go create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/billingmeters.go diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitem.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitem.go new file mode 100644 index 000000000000..a3a3c27d658d --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitem.go @@ -0,0 +1,362 @@ +package insights + +// 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. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "net/http" +) + +// AnalyticsItemClient is the composite Swagger for Application Insights Management Client +type AnalyticsItemClient struct { + BaseClient +} + +// NewAnalyticsItemClient creates an instance of the AnalyticsItemClient client. +func NewAnalyticsItemClient(subscriptionID string) AnalyticsItemClient { + return NewAnalyticsItemClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewAnalyticsItemClientWithBaseURI creates an instance of the AnalyticsItemClient client. +func NewAnalyticsItemClientWithBaseURI(baseURI string, subscriptionID string) AnalyticsItemClient { + return AnalyticsItemClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// Delete deletes a specific Analytics Items defined within an Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// scopePath - enum indicating if this item definition is owned by a specific user or is shared between all +// users with access to the Application Insights component. +// ID - the Id of a specific item defined in the Application Insights component +// name - the name of a specific item defined in the Application Insights component +func (client AnalyticsItemClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (result autorest.Response, err error) { + req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName, scopePath, ID, name) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Delete", nil, "Failure preparing request") + return + } + + resp, err := client.DeleteSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Delete", resp, "Failure sending request") + return + } + + result, err = client.DeleteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Delete", resp, "Failure responding to request") + } + + return +} + +// DeletePreparer prepares the Delete request. +func (client AnalyticsItemClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "scopePath": autorest.Encode("path", scopePath), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if len(ID) > 0 { + queryParameters["id"] = autorest.Encode("query", ID) + } + if len(name) > 0 { + queryParameters["name"] = autorest.Encode("query", name) + } + + preparer := autorest.CreatePreparer( + autorest.AsDelete(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// DeleteSender sends the Delete request. The method will close the +// http.Response Body if it receives an error. +func (client AnalyticsItemClient) DeleteSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// DeleteResponder handles the response to the Delete request. The method always +// closes the http.Response Body. +func (client AnalyticsItemClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByClosing()) + result.Response = resp + return +} + +// Get gets a specific Analytics Items defined within an Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// scopePath - enum indicating if this item definition is owned by a specific user or is shared between all +// users with access to the Application Insights component. +// ID - the Id of a specific item defined in the Application Insights component +// name - the name of a specific item defined in the Application Insights component +func (client AnalyticsItemClient) Get(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (result ApplicationInsightsComponentAnalyticsItem, err error) { + req, err := client.GetPreparer(ctx, resourceGroupName, resourceName, scopePath, ID, name) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Get", nil, "Failure preparing request") + return + } + + resp, err := client.GetSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Get", resp, "Failure sending request") + return + } + + result, err = client.GetResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Get", resp, "Failure responding to request") + } + + return +} + +// GetPreparer prepares the Get request. +func (client AnalyticsItemClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, ID string, name string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "scopePath": autorest.Encode("path", scopePath), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if len(ID) > 0 { + queryParameters["id"] = autorest.Encode("query", ID) + } + if len(name) > 0 { + queryParameters["name"] = autorest.Encode("query", name) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSender sends the Get request. The method will close the +// http.Response Body if it receives an error. +func (client AnalyticsItemClient) GetSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetResponder handles the response to the Get request. The method always +// closes the http.Response Body. +func (client AnalyticsItemClient) GetResponder(resp *http.Response) (result ApplicationInsightsComponentAnalyticsItem, 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 a list of Analytics Items defined within an Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// scopePath - enum indicating if this item definition is owned by a specific user or is shared between all +// users with access to the Application Insights component. +// scope - enum indicating if this item definition is owned by a specific user or is shared between all users +// with access to the Application Insights component. +// typeParameter - enum indicating the type of the Analytics item. +// includeContent - flag indicating whether or not to return the content of each applicable item. If false, +// only return the item information. +func (client AnalyticsItemClient) List(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, scope ItemScope, typeParameter ItemTypeParameter, includeContent *bool) (result ListApplicationInsightsComponentAnalyticsItem, err error) { + req, err := client.ListPreparer(ctx, resourceGroupName, resourceName, scopePath, scope, typeParameter, includeContent) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "List", nil, "Failure preparing request") + return + } + + resp, err := client.ListSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "List", resp, "Failure sending request") + return + } + + result, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "List", resp, "Failure responding to request") + } + + return +} + +// ListPreparer prepares the List request. +func (client AnalyticsItemClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, scope ItemScope, typeParameter ItemTypeParameter, includeContent *bool) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "scopePath": autorest.Encode("path", scopePath), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if len(string(scope)) > 0 { + queryParameters["scope"] = autorest.Encode("query", scope) + } else { + queryParameters["scope"] = autorest.Encode("query", "shared") + } + if len(string(typeParameter)) > 0 { + queryParameters["type"] = autorest.Encode("query", typeParameter) + } else { + queryParameters["type"] = autorest.Encode("query", "none") + } + if includeContent != nil { + queryParameters["includeContent"] = autorest.Encode("query", *includeContent) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSender sends the List request. The method will close the +// http.Response Body if it receives an error. +func (client AnalyticsItemClient) ListSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListResponder handles the response to the List request. The method always +// closes the http.Response Body. +func (client AnalyticsItemClient) ListResponder(resp *http.Response) (result ListApplicationInsightsComponentAnalyticsItem, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result.Value), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// Put adds or Updates a specific Analytics Item within an Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// scopePath - enum indicating if this item definition is owned by a specific user or is shared between all +// users with access to the Application Insights component. +// itemProperties - properties that need to be specified to create a new item and add it to an Application +// Insights component. +// overrideItem - flag indicating whether or not to force save an item. This allows overriding an item if it +// already exists. +func (client AnalyticsItemClient) Put(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, itemProperties ApplicationInsightsComponentAnalyticsItem, overrideItem *bool) (result ApplicationInsightsComponentAnalyticsItem, err error) { + req, err := client.PutPreparer(ctx, resourceGroupName, resourceName, scopePath, itemProperties, overrideItem) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Put", nil, "Failure preparing request") + return + } + + resp, err := client.PutSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Put", resp, "Failure sending request") + return + } + + result, err = client.PutResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.AnalyticsItemClient", "Put", resp, "Failure responding to request") + } + + return +} + +// PutPreparer prepares the Put request. +func (client AnalyticsItemClient) PutPreparer(ctx context.Context, resourceGroupName string, resourceName string, scopePath ItemScopePath, itemProperties ApplicationInsightsComponentAnalyticsItem, overrideItem *bool) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "scopePath": autorest.Encode("path", scopePath), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if overrideItem != nil { + queryParameters["overrideItem"] = autorest.Encode("query", *overrideItem) + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPut(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item", pathParameters), + autorest.WithJSON(itemProperties), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// PutSender sends the Put request. The method will close the +// http.Response Body if it receives an error. +func (client AnalyticsItemClient) PutSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// PutResponder handles the response to the Put request. The method always +// closes the http.Response Body. +func (client AnalyticsItemClient) PutResponder(resp *http.Response) (result ApplicationInsightsComponentAnalyticsItem, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/annotations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/annotations.go index c6b16adb42e8..7e548ea9ad83 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/annotations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/annotations.go @@ -40,10 +40,11 @@ func NewAnnotationsClientWithBaseURI(baseURI string, subscriptionID string) Anno } // Create create an Annotation of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. annotationProperties is properties that need to be specified to create an annotation of a -// Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// annotationProperties - properties that need to be specified to create an annotation of a Application +// Insights component. func (client AnnotationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, annotationProperties Annotation) (result ListAnnotation, err error) { req, err := client.CreatePreparer(ctx, resourceGroupName, resourceName, annotationProperties) if err != nil { @@ -110,10 +111,10 @@ func (client AnnotationsClient) CreateResponder(resp *http.Response) (result Lis } // Delete delete an Annotation of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. annotationID is the unique annotation ID. This is unique within a Application Insights -// component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// annotationID - the unique annotation ID. This is unique within a Application Insights component. func (client AnnotationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (result SetObject, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName, annotationID) if err != nil { @@ -179,10 +180,10 @@ func (client AnnotationsClient) DeleteResponder(resp *http.Response) (result Set } // Get get the annotation for given id. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. annotationID is the unique annotation ID. This is unique within a Application Insights -// component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// annotationID - the unique annotation ID. This is unique within a Application Insights component. func (client AnnotationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, annotationID string) (result ListAnnotation, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName, annotationID) if err != nil { @@ -248,10 +249,11 @@ func (client AnnotationsClient) GetResponder(resp *http.Response) (result ListAn } // List gets the list of annotations for a component for given time range -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. start is the start time to query from for annotations, cannot be older than 90 days from -// current date. end is the end time to query for annotations. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// start - the start time to query from for annotations, cannot be older than 90 days from current date. +// end - the end time to query for annotations. func (client AnnotationsClient) List(ctx context.Context, resourceGroupName string, resourceName string, start string, end string) (result ListAnnotation, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, resourceName, start, end) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/apikeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/apikeys.go index 832dfaf7f107..601b384c32fe 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/apikeys.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/apikeys.go @@ -40,10 +40,11 @@ func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysC } // Create create an API Key of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. APIKeyProperties is properties that need to be specified to create an API key of a -// Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// APIKeyProperties - properties that need to be specified to create an API key of a Application Insights +// component. func (client APIKeysClient) Create(ctx context.Context, resourceGroupName string, resourceName string, APIKeyProperties APIKeyRequest) (result ApplicationInsightsComponentAPIKey, err error) { req, err := client.CreatePreparer(ctx, resourceGroupName, resourceName, APIKeyProperties) if err != nil { @@ -110,9 +111,10 @@ func (client APIKeysClient) CreateResponder(resp *http.Response) (result Applica } // Delete delete an API Key of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. keyID is the API Key ID. This is unique within a Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// keyID - the API Key ID. This is unique within a Application Insights component. func (client APIKeysClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (result ApplicationInsightsComponentAPIKey, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName, keyID) if err != nil { @@ -178,9 +180,10 @@ func (client APIKeysClient) DeleteResponder(resp *http.Response) (result Applica } // Get get the API Key for this key id. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. keyID is the API Key ID. This is unique within a Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// keyID - the API Key ID. This is unique within a Application Insights component. func (client APIKeysClient) Get(ctx context.Context, resourceGroupName string, resourceName string, keyID string) (result ApplicationInsightsComponentAPIKey, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName, keyID) if err != nil { @@ -246,9 +249,9 @@ func (client APIKeysClient) GetResponder(resp *http.Response) (result Applicatio } // List gets a list of API keys of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client APIKeysClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentAPIKeyListResult, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, resourceName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go index 2e7d7b4c9733..81aff2abd2d3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go @@ -40,9 +40,9 @@ func NewComponentAvailableFeaturesClientWithBaseURI(baseURI string, subscription } // Get returns all available features of the application insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ComponentAvailableFeaturesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentAvailableFeatures, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go index 55678b16ce99..7b983c7c66ac 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go @@ -41,9 +41,9 @@ func NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI string, subscri } // Get returns current billing features for an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ComponentCurrentBillingFeaturesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentBillingFeatures, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -108,10 +108,11 @@ func (client ComponentCurrentBillingFeaturesClient) GetResponder(resp *http.Resp } // Update update current billing features for an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. billingFeaturesProperties is properties that need to be specified to update billing features -// for an Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// billingFeaturesProperties - properties that need to be specified to update billing features for an +// Application Insights component. func (client ComponentCurrentBillingFeaturesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, billingFeaturesProperties ApplicationInsightsComponentBillingFeatures) (result ApplicationInsightsComponentBillingFeatures, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, resourceName, billingFeaturesProperties) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go index 78a56cdd44b2..5e0ac6512866 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go @@ -41,9 +41,9 @@ func NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI string, subscripti } // Get returns feature capabilites of the application insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ComponentFeatureCapabilitiesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentFeatureCapabilities, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go index 991b6d4bc255..24dbba59d652 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go @@ -40,9 +40,9 @@ func NewComponentQuotaStatusClientWithBaseURI(baseURI string, subscriptionID str } // Get returns daily data volume cap (quota) status for an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ComponentQuotaStatusClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponentQuotaStatus, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/components.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/components.go index b403b928518b..90d532fdfd68 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/components.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/components.go @@ -42,10 +42,10 @@ func NewComponentsClientWithBaseURI(baseURI string, subscriptionID string) Compo // CreateOrUpdate creates (or updates) an Application Insights component. Note: You cannot specify a different value // for InstrumentationKey nor AppId in the Put operation. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. insightProperties is properties that need to be specified to create an Application Insights -// component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// insightProperties - properties that need to be specified to create an Application Insights component. func (client ComponentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, insightProperties ApplicationInsightsComponent) (result ApplicationInsightsComponent, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: insightProperties, @@ -118,9 +118,9 @@ func (client ComponentsClient) CreateOrUpdateResponder(resp *http.Response) (res } // Delete deletes an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ComponentsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -184,9 +184,9 @@ func (client ComponentsClient) DeleteResponder(resp *http.Response) (result auto } // Get returns an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ComponentsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsComponent, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -250,76 +250,6 @@ func (client ComponentsClient) GetResponder(resp *http.Response) (result Applica return } -// GetPurgeStatus gets the status of a previously submitted purge using the id returned from the original purge -// request. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. purgeID is in a purge status request, this is the Id of the operation the status of which is -// returned. -func (client ComponentsClient) GetPurgeStatus(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (result ComponentPurgeStatusResponse, err error) { - req, err := client.GetPurgeStatusPreparer(ctx, resourceGroupName, resourceName, purgeID) - if err != nil { - err = autorest.NewErrorWithError(err, "insights.ComponentsClient", "GetPurgeStatus", nil, "Failure preparing request") - return - } - - resp, err := client.GetPurgeStatusSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "insights.ComponentsClient", "GetPurgeStatus", resp, "Failure sending request") - return - } - - result, err = client.GetPurgeStatusResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "insights.ComponentsClient", "GetPurgeStatus", resp, "Failure responding to request") - } - - return -} - -// GetPurgeStatusPreparer prepares the GetPurgeStatus request. -func (client ComponentsClient) GetPurgeStatusPreparer(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (*http.Request, error) { - pathParameters := map[string]interface{}{ - "purgeId": autorest.Encode("path", purgeID), - "resourceGroupName": autorest.Encode("path", resourceGroupName), - "resourceName": autorest.Encode("path", resourceName), - "subscriptionId": autorest.Encode("path", client.SubscriptionID), - } - - const APIVersion = "2015-05-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsGet(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}", pathParameters), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// GetPurgeStatusSender sends the GetPurgeStatus request. The method will close the -// http.Response Body if it receives an error. -func (client ComponentsClient) GetPurgeStatusSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) -} - -// GetPurgeStatusResponder handles the response to the GetPurgeStatus request. The method always -// closes the http.Response Body. -func (client ComponentsClient) GetPurgeStatusResponder(resp *http.Response) (result ComponentPurgeStatusResponse, 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 a list of all Application Insights components within a subscription. func (client ComponentsClient) List(ctx context.Context) (result ApplicationInsightsComponentListResultPage, err error) { result.fn = client.listNextResults @@ -411,8 +341,8 @@ func (client ComponentsClient) ListComplete(ctx context.Context) (result Applica } // ListByResourceGroup gets a list of Application Insights components within a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client ComponentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationInsightsComponentListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -504,11 +434,11 @@ func (client ComponentsClient) ListByResourceGroupComplete(ctx context.Context, } // Purge purges data in an Application Insights component by a set of user-defined filters. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. body is describes the body of a request to purge data in a single table of an Application -// Insights component -func (client ComponentsClient) Purge(ctx context.Context, resourceGroupName string, resourceName string, body ComponentPurgeBody) (result ComponentPurgeResponse, err error) { +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// body - describes the body of a request to purge data in a single table of an Application Insights component +func (client ComponentsClient) Purge(ctx context.Context, resourceGroupName string, resourceName string, body ComponentPurgeBody) (result ComponentsPurgeFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: body, Constraints: []validation.Constraint{{Target: "body.Table", Name: validation.Null, Rule: true, Chain: nil}, @@ -522,18 +452,12 @@ func (client ComponentsClient) Purge(ctx context.Context, resourceGroupName stri return } - resp, err := client.PurgeSender(req) + result, err = client.PurgeSender(req) if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "insights.ComponentsClient", "Purge", resp, "Failure sending request") + err = autorest.NewErrorWithError(err, "insights.ComponentsClient", "Purge", result.Response(), "Failure sending request") return } - result, err = client.PurgeResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "insights.ComponentsClient", "Purge", resp, "Failure responding to request") - } - return } @@ -562,14 +486,22 @@ func (client ComponentsClient) PurgePreparer(ctx context.Context, resourceGroupN // PurgeSender sends the Purge request. The method will close the // http.Response Body if it receives an error. -func (client ComponentsClient) PurgeSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) +func (client ComponentsClient) PurgeSender(req *http.Request) (future ComponentsPurgeFuture, err error) { + sender := autorest.DecorateSender(client, azure.DoRetryWithRegistration(client.Client)) + future.Future = azure.NewFuture(req) + future.req = req + _, err = future.Done(sender) + if err != nil { + return + } + err = autorest.Respond(future.Response(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted)) + return } // PurgeResponder handles the response to the Purge request. The method always // closes the http.Response Body. -func (client ComponentsClient) PurgeResponder(resp *http.Response) (result ComponentPurgeResponse, err error) { +func (client ComponentsClient) PurgeResponder(resp *http.Response) (result SetObject, err error) { err = autorest.Respond( resp, client.ByInspecting(), @@ -581,9 +513,10 @@ func (client ComponentsClient) PurgeResponder(resp *http.Response) (result Compo } // UpdateTags updates an existing component's tags. To update other fields use the CreateOrUpdate method. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. componentTags is updated tag information to set into the component instance. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// componentTags - updated tag information to set into the component instance. func (client ComponentsClient) UpdateTags(ctx context.Context, resourceGroupName string, resourceName string, componentTags TagsResource) (result ApplicationInsightsComponent, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, resourceName, componentTags) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go index c76a488ca74d..ab8cbf207fdf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go @@ -40,10 +40,11 @@ func NewExportConfigurationsClientWithBaseURI(baseURI string, subscriptionID str } // Create create a Continuous Export configuration of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. exportProperties is properties that need to be specified to create a Continuous Export -// configuration of a Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// exportProperties - properties that need to be specified to create a Continuous Export configuration of a +// Application Insights component. func (client ExportConfigurationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, exportProperties ApplicationInsightsComponentExportRequest) (result ListApplicationInsightsComponentExportConfiguration, err error) { req, err := client.CreatePreparer(ctx, resourceGroupName, resourceName, exportProperties) if err != nil { @@ -110,10 +111,10 @@ func (client ExportConfigurationsClient) CreateResponder(resp *http.Response) (r } // Delete delete a Continuous Export configuration of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. exportID is the Continuous Export configuration ID. This is unique within a Application -// Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// exportID - the Continuous Export configuration ID. This is unique within a Application Insights component. func (client ExportConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (result ApplicationInsightsComponentExportConfiguration, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName, exportID) if err != nil { @@ -179,10 +180,10 @@ func (client ExportConfigurationsClient) DeleteResponder(resp *http.Response) (r } // Get get the Continuous Export configuration for this export id. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. exportID is the Continuous Export configuration ID. This is unique within a Application -// Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// exportID - the Continuous Export configuration ID. This is unique within a Application Insights component. func (client ExportConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, exportID string) (result ApplicationInsightsComponentExportConfiguration, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName, exportID) if err != nil { @@ -248,9 +249,9 @@ func (client ExportConfigurationsClient) GetResponder(resp *http.Response) (resu } // List gets a list of Continuous Export configuration of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ExportConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ListApplicationInsightsComponentExportConfiguration, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -315,11 +316,11 @@ func (client ExportConfigurationsClient) ListResponder(resp *http.Response) (res } // Update update the Continuous Export configuration for this export id. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. exportID is the Continuous Export configuration ID. This is unique within a Application -// Insights component. exportProperties is properties that need to be specified to update the Continuous Export -// configuration. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// exportID - the Continuous Export configuration ID. This is unique within a Application Insights component. +// exportProperties - properties that need to be specified to update the Continuous Export configuration. func (client ExportConfigurationsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, exportID string, exportProperties ApplicationInsightsComponentExportRequest) (result ApplicationInsightsComponentExportConfiguration, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, resourceName, exportID, exportProperties) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorite.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorite.go index c18bef50305f..298cbefb4801 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorite.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorite.go @@ -40,11 +40,12 @@ func NewFavoriteClientWithBaseURI(baseURI string, subscriptionID string) Favorit } // Add adds a new favorites to an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component -// favoriteProperties is properties that need to be specified to create a new favorite and add it to an Application -// Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// favoriteID - the Id of a specific favorite defined in the Application Insights component +// favoriteProperties - properties that need to be specified to create a new favorite and add it to an +// Application Insights component. func (client FavoriteClient) Add(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (result ApplicationInsightsComponentFavorite, err error) { req, err := client.AddPreparer(ctx, resourceGroupName, resourceName, favoriteID, favoriteProperties) if err != nil { @@ -112,9 +113,10 @@ func (client FavoriteClient) AddResponder(resp *http.Response) (result Applicati } // Delete remove a favorite that is associated to an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// favoriteID - the Id of a specific favorite defined in the Application Insights component func (client FavoriteClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName, favoriteID) if err != nil { @@ -179,9 +181,10 @@ func (client FavoriteClient) DeleteResponder(resp *http.Response) (result autore } // Get get a single favorite by its FavoriteId, defined within an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// favoriteID - the Id of a specific favorite defined in the Application Insights component func (client FavoriteClient) Get(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string) (result ApplicationInsightsComponentFavorite, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName, favoriteID) if err != nil { @@ -247,10 +250,11 @@ func (client FavoriteClient) GetResponder(resp *http.Response) (result Applicati } // Update updates a favorite that has already been added to an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. favoriteID is the Id of a specific favorite defined in the Application Insights component -// favoriteProperties is properties that need to be specified to update the existing favorite. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// favoriteID - the Id of a specific favorite defined in the Application Insights component +// favoriteProperties - properties that need to be specified to update the existing favorite. func (client FavoriteClient) Update(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties ApplicationInsightsComponentFavorite) (result ApplicationInsightsComponentFavorite, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, resourceName, favoriteID, favoriteProperties) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorites.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorites.go index 119f18af713a..644e74980cd6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorites.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/favorites.go @@ -40,13 +40,15 @@ func NewFavoritesClientWithBaseURI(baseURI string, subscriptionID string) Favori } // List gets a list of favorites defined within an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. favoriteType is the type of favorite. Value can be either shared or user. sourceType is -// source type of favorite to return. When left out, the source type defaults to 'other' (not present in this -// enum). canFetchContent is flag indicating whether or not to return the full content for each applicable -// favorite. If false, only return summary content for favorites. tags is tags that must be present on each -// favorite returned. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// favoriteType - the type of favorite. Value can be either shared or user. +// sourceType - source type of favorite to return. When left out, the source type defaults to 'other' (not +// present in this enum). +// canFetchContent - flag indicating whether or not to return the full content for each applicable favorite. If +// false, only return summary content for favorites. +// tags - tags that must be present on each favorite returned. func (client FavoritesClient) List(ctx context.Context, resourceGroupName string, resourceName string, favoriteType FavoriteType, sourceType FavoriteSourceType, canFetchContent *bool, tags []string) (result ListApplicationInsightsComponentFavorite, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, resourceName, favoriteType, sourceType, canFetchContent, tags) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/models.go index 99026d27bb3b..993b4276d21a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/models.go @@ -20,6 +20,7 @@ package insights import ( "encoding/json" "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/date" "github.com/Azure/go-autorest/autorest/to" "net/http" @@ -40,6 +41,25 @@ func PossibleApplicationTypeValues() []ApplicationType { return []ApplicationType{Other, Web} } +// CategoryType enumerates the values for category type. +type CategoryType string + +const ( + // CategoryTypePerformance ... + CategoryTypePerformance CategoryType = "performance" + // CategoryTypeRetention ... + CategoryTypeRetention CategoryType = "retention" + // CategoryTypeTSG ... + CategoryTypeTSG CategoryType = "TSG" + // CategoryTypeWorkbook ... + CategoryTypeWorkbook CategoryType = "workbook" +) + +// PossibleCategoryTypeValues returns an array of possible values for the CategoryType const type. +func PossibleCategoryTypeValues() []CategoryType { + return []CategoryType{CategoryTypePerformance, CategoryTypeRetention, CategoryTypeTSG, CategoryTypeWorkbook} +} + // FavoriteSourceType enumerates the values for favorite source type. type FavoriteSourceType string @@ -95,6 +115,76 @@ func PossibleFlowTypeValues() []FlowType { return []FlowType{Bluefield} } +// ItemScope enumerates the values for item scope. +type ItemScope string + +const ( + // ItemScopeShared ... + ItemScopeShared ItemScope = "shared" + // ItemScopeUser ... + ItemScopeUser ItemScope = "user" +) + +// PossibleItemScopeValues returns an array of possible values for the ItemScope const type. +func PossibleItemScopeValues() []ItemScope { + return []ItemScope{ItemScopeShared, ItemScopeUser} +} + +// ItemScopePath enumerates the values for item scope path. +type ItemScopePath string + +const ( + // AnalyticsItems ... + AnalyticsItems ItemScopePath = "analyticsItems" + // MyanalyticsItems ... + MyanalyticsItems ItemScopePath = "myanalyticsItems" +) + +// PossibleItemScopePathValues returns an array of possible values for the ItemScopePath const type. +func PossibleItemScopePathValues() []ItemScopePath { + return []ItemScopePath{AnalyticsItems, MyanalyticsItems} +} + +// ItemType enumerates the values for item type. +type ItemType string + +const ( + // Folder ... + Folder ItemType = "folder" + // Function ... + Function ItemType = "function" + // Query ... + Query ItemType = "query" + // Recent ... + Recent ItemType = "recent" +) + +// PossibleItemTypeValues returns an array of possible values for the ItemType const type. +func PossibleItemTypeValues() []ItemType { + return []ItemType{Folder, Function, Query, Recent} +} + +// ItemTypeParameter enumerates the values for item type parameter. +type ItemTypeParameter string + +const ( + // ItemTypeParameterFolder ... + ItemTypeParameterFolder ItemTypeParameter = "folder" + // ItemTypeParameterFunction ... + ItemTypeParameterFunction ItemTypeParameter = "function" + // ItemTypeParameterNone ... + ItemTypeParameterNone ItemTypeParameter = "none" + // ItemTypeParameterQuery ... + ItemTypeParameterQuery ItemTypeParameter = "query" + // ItemTypeParameterRecent ... + ItemTypeParameterRecent ItemTypeParameter = "recent" +) + +// PossibleItemTypeParameterValues returns an array of possible values for the ItemTypeParameter const type. +func PossibleItemTypeParameterValues() []ItemTypeParameter { + return []ItemTypeParameter{ItemTypeParameterFolder, ItemTypeParameterFunction, ItemTypeParameterNone, ItemTypeParameterQuery, ItemTypeParameterRecent} +} + // PurgeState enumerates the values for purge state. type PurgeState string @@ -123,6 +213,21 @@ func PossibleRequestSourceValues() []RequestSource { return []RequestSource{Rest} } +// SharedTypeKind enumerates the values for shared type kind. +type SharedTypeKind string + +const ( + // SharedTypeKindShared ... + SharedTypeKindShared SharedTypeKind = "shared" + // SharedTypeKindUser ... + SharedTypeKindUser SharedTypeKind = "user" +) + +// PossibleSharedTypeKindValues returns an array of possible values for the SharedTypeKind const type. +func PossibleSharedTypeKindValues() []SharedTypeKind { + return []SharedTypeKind{SharedTypeKindShared, SharedTypeKindUser} +} + // WebTestKind enumerates the values for web test kind. type WebTestKind string @@ -297,6 +402,36 @@ func (aic *ApplicationInsightsComponent) UnmarshalJSON(body []byte) error { return nil } +// ApplicationInsightsComponentAnalyticsItem properties that define an Analytics item that is associated to an +// Application Insights component. +type ApplicationInsightsComponentAnalyticsItem struct { + autorest.Response `json:"-"` + // ID - Internally assigned unique id of the item definition. + ID *string `json:"Id,omitempty"` + // Name - The user-defined name of the item. + Name *string `json:"Name,omitempty"` + // Content - The content of this item + Content *string `json:"Content,omitempty"` + // Version - This instance's version of the data model. This can change as new features are added. + Version *string `json:"Version,omitempty"` + // Scope - Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'ItemScopeShared', 'ItemScopeUser' + Scope ItemScope `json:"Scope,omitempty"` + // Type - Enum indicating the type of the Analytics item. Possible values include: 'Query', 'Function', 'Folder', 'Recent' + Type ItemType `json:"Type,omitempty"` + // TimeCreated - Date and time in UTC when this item was created. + TimeCreated *string `json:"TimeCreated,omitempty"` + // TimeModified - Date and time in UTC of the last modification that was made to this item. + TimeModified *string `json:"TimeModified,omitempty"` + Properties *ApplicationInsightsComponentAnalyticsItemProperties `json:"Properties,omitempty"` +} + +// ApplicationInsightsComponentAnalyticsItemProperties a set of properties that can be defined in the context of a +// specific item type. Each type may have its own properties. +type ApplicationInsightsComponentAnalyticsItemProperties struct { + // FunctionAlias - A function alias, used when the type of the item is Function + FunctionAlias *string `json:"functionAlias,omitempty"` +} + // ApplicationInsightsComponentAPIKey properties that define an API key of an Application Insights Component. type ApplicationInsightsComponentAPIKey struct { autorest.Response `json:"-"` @@ -733,24 +868,82 @@ type ComponentPurgeBody struct { type ComponentPurgeBodyFilters struct { // Column - The column of the table over which the given query should run Column *string `json:"column,omitempty"` - // Filter - A query to to run over the provided table and column to purge the corresponding data. - Filter *string `json:"filter,omitempty"` + // Operator - A query operator to evaluate over the provided column and value(s). + Operator *string `json:"operator,omitempty"` + // Value - the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values. + Value interface{} `json:"value,omitempty"` } // ComponentPurgeResponse response containing operationId for a specific purge action. type ComponentPurgeResponse struct { - autorest.Response `json:"-"` // OperationID - Id to use when querying for status for a particular purge operation. OperationID *string `json:"operationId,omitempty"` } // ComponentPurgeStatusResponse response containing status for a specific purge operation. type ComponentPurgeStatusResponse struct { - autorest.Response `json:"-"` // Status - Status of the operation represented by the requested Id. Possible values include: 'Pending', 'Completed' Status PurgeState `json:"status,omitempty"` } +// ComponentsPurgeFuture an abstraction for monitoring and retrieving the results of a long-running operation. +type ComponentsPurgeFuture struct { + azure.Future + req *http.Request +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future ComponentsPurgeFuture) Result(client ComponentsClient) (so SetObject, err error) { + var done bool + done, err = future.Done(client) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.ComponentsPurgeFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + return so, azure.NewAsyncOpIncompleteError("insights.ComponentsPurgeFuture") + } + if future.PollingMethod() == azure.PollingLocation { + so, err = client.PurgeResponder(future.Response()) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.ComponentsPurgeFuture", "Result", future.Response(), "Failure responding to request") + } + return + } + var req *http.Request + var resp *http.Response + if future.PollingURL() != "" { + req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) + if err != nil { + return + } + } else { + req = autorest.ChangeToGet(future.req) + } + resp, err = autorest.SendWithSender(client, req, + autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.ComponentsPurgeFuture", "Result", resp, "Failure sending request") + return + } + so, err = client.PurgeResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.ComponentsPurgeFuture", "Result", resp, "Failure responding to request") + } + return +} + +// ErrorFieldContract error Field contract. +type ErrorFieldContract struct { + // Code - Property level error code. + Code *string `json:"code,omitempty"` + // Message - Human-readable representation of property-level error. + Message *string `json:"message,omitempty"` + // Target - Property name. + Target *string `json:"target,omitempty"` +} + // ErrorResponse error reponse indicates Insights service is not able to process the incoming request. The reason // is provided in the error message. type ErrorResponse struct { @@ -768,12 +961,28 @@ type InnerError struct { Time *date.Time `json:"time,omitempty"` } +// LinkProperties contains a sourceId and workbook resource id to link two resources. +type LinkProperties struct { + // SourceID - The source Azure resource id + SourceID *string `json:"sourceId,omitempty"` + // TargetID - The workbook Azure resource id + TargetID *string `json:"targetId,omitempty"` + // Category - The category of workbook + Category *string `json:"category,omitempty"` +} + // ListAnnotation ... type ListAnnotation struct { autorest.Response `json:"-"` Value *[]Annotation `json:"value,omitempty"` } +// ListApplicationInsightsComponentAnalyticsItem ... +type ListApplicationInsightsComponentAnalyticsItem struct { + autorest.Response `json:"-"` + Value *[]ApplicationInsightsComponentAnalyticsItem `json:"value,omitempty"` +} + // ListApplicationInsightsComponentExportConfiguration ... type ListApplicationInsightsComponentExportConfiguration struct { autorest.Response `json:"-"` @@ -1241,6 +1450,171 @@ type WebTestPropertiesConfiguration struct { WebTest *string `json:"WebTest,omitempty"` } +// Workbook an Application Insights workbook definition. +type Workbook struct { + autorest.Response `json:"-"` + // Kind - The kind of workbook. Choices are user and shared. Possible values include: 'SharedTypeKindUser', 'SharedTypeKindShared' + Kind SharedTypeKind `json:"kind,omitempty"` + // WorkbookProperties - Metadata describing a web test for an Azure resource. + *WorkbookProperties `json:"properties,omitempty"` + // ID - Azure resource Id + ID *string `json:"id,omitempty"` + // Name - Azure resource name + Name *string `json:"name,omitempty"` + // Type - Azure resource type + Type *string `json:"type,omitempty"` + // Location - Resource location + Location *string `json:"location,omitempty"` + // Tags - Resource tags + Tags map[string]*string `json:"tags"` +} + +// MarshalJSON is the custom marshaler for Workbook. +func (w Workbook) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if w.Kind != "" { + objectMap["kind"] = w.Kind + } + if w.WorkbookProperties != nil { + objectMap["properties"] = w.WorkbookProperties + } + if w.ID != nil { + objectMap["id"] = w.ID + } + if w.Name != nil { + objectMap["name"] = w.Name + } + if w.Type != nil { + objectMap["type"] = w.Type + } + if w.Location != nil { + objectMap["location"] = w.Location + } + if w.Tags != nil { + objectMap["tags"] = w.Tags + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for Workbook struct. +func (w *Workbook) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "kind": + if v != nil { + var kind SharedTypeKind + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + w.Kind = kind + } + case "properties": + if v != nil { + var workbookProperties WorkbookProperties + err = json.Unmarshal(*v, &workbookProperties) + if err != nil { + return err + } + w.WorkbookProperties = &workbookProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + w.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + w.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + w.Type = &typeVar + } + case "location": + if v != nil { + var location string + err = json.Unmarshal(*v, &location) + if err != nil { + return err + } + w.Location = &location + } + case "tags": + if v != nil { + var tags map[string]*string + err = json.Unmarshal(*v, &tags) + if err != nil { + return err + } + w.Tags = tags + } + } + } + + return nil +} + +// WorkbookError error message body that will indicate why the operation failed. +type WorkbookError struct { + // Code - Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. + Code *string `json:"code,omitempty"` + // Message - Human-readable representation of the error. + Message *string `json:"message,omitempty"` + // Details - The list of invalid fields send in request, in case of validation error. + Details *[]ErrorFieldContract `json:"details,omitempty"` +} + +// WorkbookProperties properties that contain a workbook. +type WorkbookProperties struct { + // Name - The user-defined name of the workbook. + Name *string `json:"name,omitempty"` + // SerializedData - Configuration of this particular workbook. Configuration data is a string containing valid JSON + SerializedData *string `json:"serializedData,omitempty"` + // Version - This instance's version of the data model. This can change as new features are added that can be marked workbook. + Version *string `json:"version,omitempty"` + // WorkbookID - Internally assigned unique id of the workbook definition. + WorkbookID *string `json:"workbookId,omitempty"` + // SharedTypeKind - Enum indicating if this workbook definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'SharedTypeKindUser', 'SharedTypeKindShared' + SharedTypeKind SharedTypeKind `json:"kind,omitempty"` + // TimeModified - Date and time in UTC of the last modification that was made to this workbook definition. + TimeModified *string `json:"timeModified,omitempty"` + // Category - Workbook category, as defined by the user at creation time. + Category *string `json:"category,omitempty"` + // Tags - A list of 0 or more tags that are associated with this workbook definition + Tags *[]string `json:"tags,omitempty"` + // UserID - Unique user id of the specific user that owns this workbook. + UserID *string `json:"userId,omitempty"` + // SourceResourceID - Optional resourceId for a source resource. + SourceResourceID *string `json:"sourceResourceId,omitempty"` +} + +// Workbooks workbook list result. +type Workbooks struct { + autorest.Response `json:"-"` + // Value - An array of workbooks. + Value *[]Workbook `json:"value,omitempty"` +} + // WorkItemConfiguration work item configuration associated with an application insights resource. type WorkItemConfiguration struct { autorest.Response `json:"-"` diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go index 00b8a1aa812b..d794a135561e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go @@ -41,10 +41,11 @@ func NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI string, subscr } // Get get the ProactiveDetection configuration for this configuration id. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. configurationID is the ProactiveDetection configuration ID. This is unique within a -// Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// configurationID - the ProactiveDetection configuration ID. This is unique within a Application Insights +// component. func (client ProactiveDetectionConfigurationsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, configurationID string) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName, configurationID) if err != nil { @@ -110,9 +111,9 @@ func (client ProactiveDetectionConfigurationsClient) GetResponder(resp *http.Res } // List gets a list of ProactiveDetection configurations of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client ProactiveDetectionConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ListApplicationInsightsComponentProactiveDetectionConfiguration, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -177,11 +178,13 @@ func (client ProactiveDetectionConfigurationsClient) ListResponder(resp *http.Re } // Update update the ProactiveDetection configuration for this configuration id. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. configurationID is the ProactiveDetection configuration ID. This is unique within a -// Application Insights component. proactiveDetectionProperties is properties that need to be specified to update -// the ProactiveDetection configuration. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// configurationID - the ProactiveDetection configuration ID. This is unique within a Application Insights +// component. +// proactiveDetectionProperties - properties that need to be specified to update the ProactiveDetection +// configuration. func (client ProactiveDetectionConfigurationsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, configurationID string, proactiveDetectionProperties ApplicationInsightsComponentProactiveDetectionConfiguration) (result ApplicationInsightsComponentProactiveDetectionConfiguration, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, resourceName, configurationID, proactiveDetectionProperties) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go index 5f865462c81e..b319546fb38f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go @@ -40,9 +40,9 @@ func NewWebTestLocationsClientWithBaseURI(baseURI string, subscriptionID string) } // List gets a list of web test locations available to this Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client WebTestLocationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ApplicationInsightsWebTestLocationsListResult, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, resourceName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtests.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtests.go index 5d8de80ebddf..7ac7ab23d55f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtests.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/webtests.go @@ -41,10 +41,11 @@ func NewWebTestsClientWithBaseURI(baseURI string, subscriptionID string) WebTest } // CreateOrUpdate creates or updates an Application Insights web test definition. -// -// resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest -// resource. webTestDefinition is properties that need to be specified to create or update an Application Insights -// web test definition. +// Parameters: +// resourceGroupName - the name of the resource group. +// webTestName - the name of the Application Insights webtest resource. +// webTestDefinition - properties that need to be specified to create or update an Application Insights web +// test definition. func (client WebTestsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, webTestName string, webTestDefinition WebTest) (result WebTest, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: webTestDefinition, @@ -121,9 +122,9 @@ func (client WebTestsClient) CreateOrUpdateResponder(resp *http.Response) (resul } // Delete deletes an Application Insights web test. -// -// resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest -// resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// webTestName - the name of the Application Insights webtest resource. func (client WebTestsClient) Delete(ctx context.Context, resourceGroupName string, webTestName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, webTestName) if err != nil { @@ -187,9 +188,9 @@ func (client WebTestsClient) DeleteResponder(resp *http.Response) (result autore } // Get get a specific Application Insights web test definition. -// -// resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest -// resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// webTestName - the name of the Application Insights webtest resource. func (client WebTestsClient) Get(ctx context.Context, resourceGroupName string, webTestName string) (result WebTest, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, webTestName) if err != nil { @@ -344,8 +345,8 @@ func (client WebTestsClient) ListComplete(ctx context.Context) (result WebTestLi } // ListByResourceGroup get all Application Insights web tests defined within a specified resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client WebTestsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WebTestListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -437,9 +438,10 @@ func (client WebTestsClient) ListByResourceGroupComplete(ctx context.Context, re } // UpdateTags creates or updates an Application Insights web test definition. -// -// resourceGroupName is the name of the resource group. webTestName is the name of the Application Insights webtest -// resource. webTestTags is updated tag information to set into the web test instance. +// Parameters: +// resourceGroupName - the name of the resource group. +// webTestName - the name of the Application Insights webtest resource. +// webTestTags - updated tag information to set into the web test instance. func (client WebTestsClient) UpdateTags(ctx context.Context, resourceGroupName string, webTestName string, webTestTags TagsResource) (result WebTest, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, webTestName, webTestTags) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbook.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbook.go new file mode 100644 index 000000000000..65e002ea71fb --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbook.go @@ -0,0 +1,326 @@ +package insights + +// 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. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/Azure/go-autorest/autorest/validation" + "net/http" +) + +// WorkbookClient is the composite Swagger for Application Insights Management Client +type WorkbookClient struct { + BaseClient +} + +// NewWorkbookClient creates an instance of the WorkbookClient client. +func NewWorkbookClient(subscriptionID string) WorkbookClient { + return NewWorkbookClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWorkbookClientWithBaseURI creates an instance of the WorkbookClient client. +func NewWorkbookClientWithBaseURI(baseURI string, subscriptionID string) WorkbookClient { + return WorkbookClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// CreateOrUpdate create a new workbook. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// workbookProperties - properties that need to be specified to create a new workbook. +func (client WorkbookClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (result Workbook, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: workbookProperties, + Constraints: []validation.Constraint{{Target: "workbookProperties.WorkbookProperties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "workbookProperties.WorkbookProperties.Name", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "workbookProperties.WorkbookProperties.SerializedData", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "workbookProperties.WorkbookProperties.WorkbookID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "workbookProperties.WorkbookProperties.Category", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "workbookProperties.WorkbookProperties.UserID", Name: validation.Null, Rule: true, Chain: nil}, + }}}}}); err != nil { + return result, validation.NewError("insights.WorkbookClient", "CreateOrUpdate", err.Error()) + } + + req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, resourceName, workbookProperties) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "CreateOrUpdate", nil, "Failure preparing request") + return + } + + resp, err := client.CreateOrUpdateSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "CreateOrUpdate", resp, "Failure sending request") + return + } + + result, err = client.CreateOrUpdateResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "CreateOrUpdate", resp, "Failure responding to request") + } + + return +} + +// CreateOrUpdatePreparer prepares the CreateOrUpdate request. +func (client WorkbookClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPut(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}", pathParameters), + autorest.WithJSON(workbookProperties), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the +// http.Response Body if it receives an error. +func (client WorkbookClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always +// closes the http.Response Body. +func (client WorkbookClient) CreateOrUpdateResponder(resp *http.Response) (result Workbook, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// Delete delete a workbook. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +func (client WorkbookClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error) { + req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Delete", nil, "Failure preparing request") + return + } + + resp, err := client.DeleteSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Delete", resp, "Failure sending request") + return + } + + result, err = client.DeleteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Delete", resp, "Failure responding to request") + } + + return +} + +// DeletePreparer prepares the Delete request. +func (client WorkbookClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsDelete(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// DeleteSender sends the Delete request. The method will close the +// http.Response Body if it receives an error. +func (client WorkbookClient) DeleteSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// DeleteResponder handles the response to the Delete request. The method always +// closes the http.Response Body. +func (client WorkbookClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusNoContent), + autorest.ByClosing()) + result.Response = resp + return +} + +// Get get a single workbook by its resourceName. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +func (client WorkbookClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Workbook, err error) { + req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Get", nil, "Failure preparing request") + return + } + + resp, err := client.GetSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Get", resp, "Failure sending request") + return + } + + result, err = client.GetResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Get", resp, "Failure responding to request") + } + + return +} + +// GetPreparer prepares the Get request. +func (client WorkbookClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSender sends the Get request. The method will close the +// http.Response Body if it receives an error. +func (client WorkbookClient) GetSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetResponder handles the response to the Get request. The method always +// closes the http.Response Body. +func (client WorkbookClient) GetResponder(resp *http.Response) (result Workbook, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// Update updates a workbook that has already been added. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// workbookProperties - properties that need to be specified to create a new workbook. +func (client WorkbookClient) Update(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (result Workbook, err error) { + req, err := client.UpdatePreparer(ctx, resourceGroupName, resourceName, workbookProperties) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Update", nil, "Failure preparing request") + return + } + + resp, err := client.UpdateSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Update", resp, "Failure sending request") + return + } + + result, err = client.UpdateResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbookClient", "Update", resp, "Failure responding to request") + } + + return +} + +// UpdatePreparer prepares the Update request. +func (client WorkbookClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties Workbook) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "resourceName": autorest.Encode("path", resourceName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPatch(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}", pathParameters), + autorest.WithJSON(workbookProperties), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// UpdateSender sends the Update request. The method will close the +// http.Response Body if it receives an error. +func (client WorkbookClient) UpdateSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// UpdateResponder handles the response to the Update request. The method always +// closes the http.Response Body. +func (client WorkbookClient) UpdateResponder(resp *http.Response) (result Workbook, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbooks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbooks.go new file mode 100644 index 000000000000..46e4f0d82c87 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workbooks.go @@ -0,0 +1,116 @@ +package insights + +// 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. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "net/http" +) + +// WorkbooksClient is the composite Swagger for Application Insights Management Client +type WorkbooksClient struct { + BaseClient +} + +// NewWorkbooksClient creates an instance of the WorkbooksClient client. +func NewWorkbooksClient(subscriptionID string) WorkbooksClient { + return NewWorkbooksClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewWorkbooksClientWithBaseURI creates an instance of the WorkbooksClient client. +func NewWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) WorkbooksClient { + return WorkbooksClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// ListByResourceGroup get all Workbooks defined within a specified resource group and category. +// Parameters: +// resourceGroupName - the name of the resource group. +// category - category of workbook to return. +// tags - tags presents on each workbook returned. +// canFetchContent - flag indicating whether or not to return the full content for each applicable workbook. If +// false, only return summary content for workbooks. +func (client WorkbooksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, canFetchContent *bool) (result Workbooks, err error) { + req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName, category, tags, canFetchContent) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbooksClient", "ListByResourceGroup", nil, "Failure preparing request") + return + } + + resp, err := client.ListByResourceGroupSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "insights.WorkbooksClient", "ListByResourceGroup", resp, "Failure sending request") + return + } + + result, err = client.ListByResourceGroupResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "insights.WorkbooksClient", "ListByResourceGroup", resp, "Failure responding to request") + } + + return +} + +// ListByResourceGroupPreparer prepares the ListByResourceGroup request. +func (client WorkbooksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, category CategoryType, tags []string, canFetchContent *bool) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2015-05-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + "category": autorest.Encode("query", category), + } + if tags != nil && len(tags) > 0 { + queryParameters["tags"] = autorest.Encode("query", tags, ",") + } + if canFetchContent != nil { + queryParameters["canFetchContent"] = autorest.Encode("query", *canFetchContent) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooks", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the +// http.Response Body if it receives an error. +func (client WorkbooksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always +// closes the http.Response Body. +func (client WorkbooksClient) ListByResourceGroupResponder(resp *http.Response) (result Workbooks, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go index 4b05a66cd462..a8bab87a38b5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go @@ -40,10 +40,11 @@ func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID s } // Create create a work item configuration for an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. workItemConfigurationProperties is properties that need to be specified to create a work -// item configuration of a Application Insights component. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// workItemConfigurationProperties - properties that need to be specified to create a work item configuration +// of a Application Insights component. func (client WorkItemConfigurationsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigurationProperties WorkItemCreateConfiguration) (result WorkItemConfiguration, err error) { req, err := client.CreatePreparer(ctx, resourceGroupName, resourceName, workItemConfigurationProperties) if err != nil { @@ -110,10 +111,11 @@ func (client WorkItemConfigurationsClient) CreateResponder(resp *http.Response) } // Delete delete an workitem configuration of an Application Insights component. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. workItemConfigID is the unique work item configuration Id. This can be either friendly name -// of connector as defined in connector configuration +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. +// workItemConfigID - the unique work item configuration Id. This can be either friendly name of connector as +// defined in connector configuration func (client WorkItemConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string) (result SetObject, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName, workItemConfigID) if err != nil { @@ -179,9 +181,9 @@ func (client WorkItemConfigurationsClient) DeleteResponder(resp *http.Response) } // GetDefault gets default work item configurations that exist for the application -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client WorkItemConfigurationsClient) GetDefault(ctx context.Context, resourceGroupName string, resourceName string) (result WorkItemConfiguration, err error) { req, err := client.GetDefaultPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -246,9 +248,9 @@ func (client WorkItemConfigurationsClient) GetDefaultResponder(resp *http.Respon } // List gets the list work item configurations that exist for the application -// -// resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the Application Insights component resource. func (client WorkItemConfigurationsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result ListWorkItemConfiguration, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, resourceName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/permissions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/permissions.go index 935be1f5a688..75e37dac79ee 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/permissions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/permissions.go @@ -43,11 +43,12 @@ func NewPermissionsClientWithBaseURI(baseURI string, subscriptionID string) Perm } // ListForResource gets all permissions the caller has for a resource. -// -// resourceGroupName is the name of the resource group containing the resource. The name is case insensitive. -// resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the parent resource -// identity. resourceType is the resource type of the resource. resourceName is the name of the resource to get the -// permissions for. +// Parameters: +// resourceGroupName - the name of the resource group containing the resource. The name is case insensitive. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the resource. +// resourceName - the name of the resource to get the permissions for. func (client PermissionsClient) ListForResource(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result PermissionGetResultPage, err error) { result.fn = client.listForResourceNextResults req, err := client.ListForResourcePreparer(ctx, resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName) @@ -143,8 +144,8 @@ func (client PermissionsClient) ListForResourceComplete(ctx context.Context, res } // ListForResourceGroup gets all permissions the caller has for a resource group. -// -// resourceGroupName is the name of the resource group to get the permissions for. The name is case insensitive. +// Parameters: +// resourceGroupName - the name of the resource group to get the permissions for. The name is case insensitive. func (client PermissionsClient) ListForResourceGroup(ctx context.Context, resourceGroupName string) (result PermissionGetResultPage, err error) { result.fn = client.listForResourceGroupNextResults req, err := client.ListForResourceGroupPreparer(ctx, resourceGroupName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go index 39dcb3028ea7..d8f0df2a99c2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/provideroperationsmetadata.go @@ -43,9 +43,9 @@ func NewProviderOperationsMetadataClientWithBaseURI(baseURI string, subscription } // Get gets provider operations metadata for the specified resource provider. -// -// resourceProviderNamespace is the namespace of the resource provider. expand is specifies whether to expand the -// values. +// Parameters: +// resourceProviderNamespace - the namespace of the resource provider. +// expand - specifies whether to expand the values. func (client ProviderOperationsMetadataClient) Get(ctx context.Context, resourceProviderNamespace string, expand string) (result ProviderOperationsMetadata, err error) { req, err := client.GetPreparer(ctx, resourceProviderNamespace, expand) if err != nil { @@ -113,8 +113,8 @@ func (client ProviderOperationsMetadataClient) GetResponder(resp *http.Response) } // List gets provider operations metadata for all resource providers. -// -// expand is specifies whether to expand the values. +// Parameters: +// expand - specifies whether to expand the values. func (client ProviderOperationsMetadataClient) List(ctx context.Context, expand string) (result ProviderOperationsMetadataListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, expand) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go index a1186a9537e2..5a842663c477 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roleassignments.go @@ -43,13 +43,14 @@ func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) } // Create creates a role assignment. -// -// scope is the scope of the role assignment to create. The scope can be any REST resource instance. For example, -// use '/subscriptions/{subscription-id}/' for a subscription, +// Parameters: +// scope - the scope of the role assignment to create. The scope can be any REST resource instance. For +// example, use '/subscriptions/{subscription-id}/' for a subscription, // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' -// for a resource. roleAssignmentName is the name of the role assignment to create. It can be any valid GUID. -// parameters is parameters for the role assignment. +// for a resource. +// roleAssignmentName - the name of the role assignment to create. It can be any valid GUID. +// parameters - parameters for the role assignment. func (client RoleAssignmentsClient) Create(ctx context.Context, scope string, roleAssignmentName string, parameters RoleAssignmentCreateParameters) (result RoleAssignment, err error) { req, err := client.CreatePreparer(ctx, scope, roleAssignmentName, parameters) if err != nil { @@ -115,12 +116,12 @@ func (client RoleAssignmentsClient) CreateResponder(resp *http.Response) (result } // CreateByID creates a role assignment by ID. -// -// roleAssignmentID is the fully qualified ID of the role assignment, including the scope, resource name and -// resource type. Use the format, /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. -// Example: +// Parameters: +// roleAssignmentID - the fully qualified ID of the role assignment, including the scope, resource name and +// resource type. Use the format, +// /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: // /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. -// parameters is parameters for the role assignment. +// parameters - parameters for the role assignment. func (client RoleAssignmentsClient) CreateByID(ctx context.Context, roleAssignmentID string, parameters RoleAssignmentCreateParameters) (result RoleAssignment, err error) { req, err := client.CreateByIDPreparer(ctx, roleAssignmentID, parameters) if err != nil { @@ -185,9 +186,9 @@ func (client RoleAssignmentsClient) CreateByIDResponder(resp *http.Response) (re } // Delete deletes a role assignment. -// -// scope is the scope of the role assignment to delete. roleAssignmentName is the name of the role assignment to -// delete. +// Parameters: +// scope - the scope of the role assignment to delete. +// roleAssignmentName - the name of the role assignment to delete. func (client RoleAssignmentsClient) Delete(ctx context.Context, scope string, roleAssignmentName string) (result RoleAssignment, err error) { req, err := client.DeletePreparer(ctx, scope, roleAssignmentName) if err != nil { @@ -251,10 +252,10 @@ func (client RoleAssignmentsClient) DeleteResponder(resp *http.Response) (result } // DeleteByID deletes a role assignment. -// -// roleAssignmentID is the fully qualified ID of the role assignment, including the scope, resource name and -// resource type. Use the format, /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. -// Example: +// Parameters: +// roleAssignmentID - the fully qualified ID of the role assignment, including the scope, resource name and +// resource type. Use the format, +// /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: // /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. func (client RoleAssignmentsClient) DeleteByID(ctx context.Context, roleAssignmentID string) (result RoleAssignment, err error) { req, err := client.DeleteByIDPreparer(ctx, roleAssignmentID) @@ -318,8 +319,9 @@ func (client RoleAssignmentsClient) DeleteByIDResponder(resp *http.Response) (re } // Get get the specified role assignment. -// -// scope is the scope of the role assignment. roleAssignmentName is the name of the role assignment to get. +// Parameters: +// scope - the scope of the role assignment. +// roleAssignmentName - the name of the role assignment to get. func (client RoleAssignmentsClient) Get(ctx context.Context, scope string, roleAssignmentName string) (result RoleAssignment, err error) { req, err := client.GetPreparer(ctx, scope, roleAssignmentName) if err != nil { @@ -383,10 +385,10 @@ func (client RoleAssignmentsClient) GetResponder(resp *http.Response) (result Ro } // GetByID gets a role assignment by ID. -// -// roleAssignmentID is the fully qualified ID of the role assignment, including the scope, resource name and -// resource type. Use the format, /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. -// Example: +// Parameters: +// roleAssignmentID - the fully qualified ID of the role assignment, including the scope, resource name and +// resource type. Use the format, +// /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: // /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. func (client RoleAssignmentsClient) GetByID(ctx context.Context, roleAssignmentID string) (result RoleAssignment, err error) { req, err := client.GetByIDPreparer(ctx, roleAssignmentID) @@ -450,10 +452,10 @@ func (client RoleAssignmentsClient) GetByIDResponder(resp *http.Response) (resul } // List gets all role assignments for the subscription. -// -// filter is the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above -// the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the -// specified principal. +// Parameters: +// filter - the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or +// above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope +// for the specified principal. func (client RoleAssignmentsClient) List(ctx context.Context, filter string) (result RoleAssignmentListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, filter) @@ -547,12 +549,15 @@ func (client RoleAssignmentsClient) ListComplete(ctx context.Context, filter str } // ListForResource gets role assignments for a resource. -// -// resourceGroupName is the name of the resource group. resourceProviderNamespace is the namespace of the resource -// provider. parentResourcePath is the parent resource identity. resourceType is the resource type of the resource. -// resourceName is the name of the resource to get role assignments for. filter is the filter to apply on the -// operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId -// eq {id} to return all role assignments at, above or below the scope for the specified principal. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the resource. +// resourceName - the name of the resource to get role assignments for. +// filter - the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or +// above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope +// for the specified principal. func (client RoleAssignmentsClient) ListForResource(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (result RoleAssignmentListResultPage, err error) { result.fn = client.listForResourceNextResults req, err := client.ListForResourcePreparer(ctx, resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, filter) @@ -651,10 +656,11 @@ func (client RoleAssignmentsClient) ListForResourceComplete(ctx context.Context, } // ListForResourceGroup gets role assignments for a resource group. -// -// resourceGroupName is the name of the resource group. filter is the filter to apply on the operation. Use -// $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to -// return all role assignments at, above or below the scope for the specified principal. +// Parameters: +// resourceGroupName - the name of the resource group. +// filter - the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or +// above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope +// for the specified principal. func (client RoleAssignmentsClient) ListForResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result RoleAssignmentListResultPage, err error) { result.fn = client.listForResourceGroupNextResults req, err := client.ListForResourceGroupPreparer(ctx, resourceGroupName, filter) @@ -749,10 +755,11 @@ func (client RoleAssignmentsClient) ListForResourceGroupComplete(ctx context.Con } // ListForScope gets role assignments for a scope. -// -// scope is the scope of the role assignments. filter is the filter to apply on the operation. Use -// $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to -// return all role assignments at, above or below the scope for the specified principal. +// Parameters: +// scope - the scope of the role assignments. +// filter - the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or +// above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope +// for the specified principal. func (client RoleAssignmentsClient) ListForScope(ctx context.Context, scope string, filter string) (result RoleAssignmentListResultPage, err error) { result.fn = client.listForScopeNextResults req, err := client.ListForScopePreparer(ctx, scope, filter) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go index dd90e819f46a..a5e5afd5a721 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/roledefinitions.go @@ -43,9 +43,10 @@ func NewRoleDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) } // CreateOrUpdate creates or updates a role definition. -// -// scope is the scope of the role definition. roleDefinitionID is the ID of the role definition. roleDefinition is -// the values for the role definition. +// Parameters: +// scope - the scope of the role definition. +// roleDefinitionID - the ID of the role definition. +// roleDefinition - the values for the role definition. func (client RoleDefinitionsClient) CreateOrUpdate(ctx context.Context, scope string, roleDefinitionID string, roleDefinition RoleDefinition) (result RoleDefinition, err error) { req, err := client.CreateOrUpdatePreparer(ctx, scope, roleDefinitionID, roleDefinition) if err != nil { @@ -111,8 +112,9 @@ func (client RoleDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes a role definition. -// -// scope is the scope of the role definition. roleDefinitionID is the ID of the role definition to delete. +// Parameters: +// scope - the scope of the role definition. +// roleDefinitionID - the ID of the role definition to delete. func (client RoleDefinitionsClient) Delete(ctx context.Context, scope string, roleDefinitionID string) (result RoleDefinition, err error) { req, err := client.DeletePreparer(ctx, scope, roleDefinitionID) if err != nil { @@ -176,8 +178,9 @@ func (client RoleDefinitionsClient) DeleteResponder(resp *http.Response) (result } // Get get role definition by name (GUID). -// -// scope is the scope of the role definition. roleDefinitionID is the ID of the role definition. +// Parameters: +// scope - the scope of the role definition. +// roleDefinitionID - the ID of the role definition. func (client RoleDefinitionsClient) Get(ctx context.Context, scope string, roleDefinitionID string) (result RoleDefinition, err error) { req, err := client.GetPreparer(ctx, scope, roleDefinitionID) if err != nil { @@ -241,8 +244,8 @@ func (client RoleDefinitionsClient) GetResponder(resp *http.Response) (result Ro } // GetByID gets a role definition by ID. -// -// roleDefinitionID is the fully qualified role definition ID. Use the format, +// Parameters: +// roleDefinitionID - the fully qualified role definition ID. Use the format, // /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription // level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant // level role definitions. @@ -308,9 +311,10 @@ func (client RoleDefinitionsClient) GetByIDResponder(resp *http.Response) (resul } // List get all role definitions that are applicable at scope and above. -// -// scope is the scope of the role definition. filter is the filter to apply on the operation. Use atScopeAndBelow -// filter to search below the given scope as well. +// Parameters: +// scope - the scope of the role definition. +// filter - the filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as +// well. func (client RoleDefinitionsClient) List(ctx context.Context, scope string, filter string) (result RoleDefinitionListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, scope, filter) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go index 1f28f202cd34..bd6e51e2fa8e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscconfiguration.go @@ -19,11 +19,10 @@ package automation import ( "context" - "net/http" - "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/validation" + "net/http" ) // DscConfigurationClient is the automation Client @@ -450,8 +449,9 @@ func (client DscConfigurationClient) ListByAutomationAccountComplete(ctx context // Update create the configuration identified by configuration name. // -// automationAccountName is the automation account name. configurationName is the create or update parameters for -// configuration. parameters is the create or update parameters for configuration. +// resourceGroupName is the resource group name. automationAccountName is the automation account name. +// configurationName is the create or update parameters for configuration. parameters is the create or update +// parameters for configuration. func (client DscConfigurationClient) Update(ctx context.Context, resourceGroupName string, automationAccountName string, configurationName string, parameters *DscConfigurationUpdateParameters) (result DscConfiguration, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/keys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/keys.go index c134e82cb5f7..2f3b9cac4a0d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/keys.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/keys.go @@ -19,11 +19,10 @@ package automation import ( "context" - "net/http" - "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/validation" + "net/http" ) // KeysClient is the automation Client @@ -43,7 +42,7 @@ func NewKeysClientWithBaseURI(baseURI string, subscriptionID string) KeysClient // ListByAutomationAccount retrieve the automation keys for an account. // -// automationAccountName is the automation account name. +// resourceGroupName is the resource group name. automationAccountName is the automation account name. func (client KeysClient) ListByAutomationAccount(ctx context.Context, resourceGroupName string, automationAccountName string) (result KeyListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -75,8 +74,8 @@ func (client KeysClient) ListByAutomationAccount(ctx context.Context, resourceGr // ListByAutomationAccountPreparer prepares the ListByAutomationAccount request. func (client KeysClient) ListByAutomationAccountPreparer(ctx context.Context, resourceGroupName string, automationAccountName string) (*http.Request, error) { pathParameters := map[string]interface{}{ - "resourceGroupName": autorest.Encode("path", resourceGroupName), "automationAccountName": autorest.Encode("path", automationAccountName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), "subscriptionId": autorest.Encode("path", client.SubscriptionID), } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/models.go index 240df47a9a14..dcdd6f820004 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/models.go @@ -5654,7 +5654,7 @@ type RunbookDraftPublishFuture struct { // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. -func (future RunbookDraftPublishFuture) Result(client RunbookDraftClient) (ar autorest.Response, err error) { +func (future RunbookDraftPublishFuture) Result(client RunbookDraftClient) (s String, err error) { var done bool done, err = future.Done(client) if err != nil { @@ -5662,10 +5662,10 @@ func (future RunbookDraftPublishFuture) Result(client RunbookDraftClient) (ar au return } if !done { - return ar, azure.NewAsyncOpIncompleteError("automation.RunbookDraftPublishFuture") + return s, azure.NewAsyncOpIncompleteError("automation.RunbookDraftPublishFuture") } if future.PollingMethod() == azure.PollingLocation { - ar, err = client.PublishResponder(future.Response()) + s, err = client.PublishResponder(future.Response()) if err != nil { err = autorest.NewErrorWithError(err, "automation.RunbookDraftPublishFuture", "Result", future.Response(), "Failure responding to request") } @@ -5687,7 +5687,7 @@ func (future RunbookDraftPublishFuture) Result(client RunbookDraftClient) (ar au err = autorest.NewErrorWithError(err, "automation.RunbookDraftPublishFuture", "Result", resp, "Failure sending request") return } - ar, err = client.PublishResponder(resp) + s, err = client.PublishResponder(resp) if err != nil { err = autorest.NewErrorWithError(err, "automation.RunbookDraftPublishFuture", "Result", resp, "Failure responding to request") } @@ -5703,7 +5703,7 @@ type RunbookDraftReplaceContentFuture struct { // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. -func (future RunbookDraftReplaceContentFuture) Result(client RunbookDraftClient) (ar autorest.Response, err error) { +func (future RunbookDraftReplaceContentFuture) Result(client RunbookDraftClient) (s String, err error) { var done bool done, err = future.Done(client) if err != nil { @@ -5711,10 +5711,10 @@ func (future RunbookDraftReplaceContentFuture) Result(client RunbookDraftClient) return } if !done { - return ar, azure.NewAsyncOpIncompleteError("automation.RunbookDraftReplaceContentFuture") + return s, azure.NewAsyncOpIncompleteError("automation.RunbookDraftReplaceContentFuture") } if future.PollingMethod() == azure.PollingLocation { - ar, err = client.ReplaceContentResponder(future.Response()) + s, err = client.ReplaceContentResponder(future.Response()) if err != nil { err = autorest.NewErrorWithError(err, "automation.RunbookDraftReplaceContentFuture", "Result", future.Response(), "Failure responding to request") } @@ -5736,7 +5736,7 @@ func (future RunbookDraftReplaceContentFuture) Result(client RunbookDraftClient) err = autorest.NewErrorWithError(err, "automation.RunbookDraftReplaceContentFuture", "Result", resp, "Failure sending request") return } - ar, err = client.ReplaceContentResponder(resp) + s, err = client.ReplaceContentResponder(resp) if err != nil { err = autorest.NewErrorWithError(err, "automation.RunbookDraftReplaceContentFuture", "Result", resp, "Failure responding to request") } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbookdraft.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbookdraft.go index b1bcf9e2ef5c..4bc9805d5944 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbookdraft.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbookdraft.go @@ -253,13 +253,14 @@ func (client RunbookDraftClient) PublishSender(req *http.Request) (future Runboo // PublishResponder handles the response to the Publish request. The method always // closes the http.Response Body. -func (client RunbookDraftClient) PublishResponder(resp *http.Response) (result autorest.Response, err error) { +func (client RunbookDraftClient) PublishResponder(resp *http.Response) (result String, err error) { err = autorest.Respond( resp, client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), + autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) - result.Response = resp + result.Response = autorest.Response{Response: resp} return } @@ -330,13 +331,14 @@ func (client RunbookDraftClient) ReplaceContentSender(req *http.Request) (future // ReplaceContentResponder handles the response to the ReplaceContent request. The method always // closes the http.Response Body. -func (client RunbookDraftClient) ReplaceContentResponder(resp *http.Response) (result autorest.Response, err error) { +func (client RunbookDraftClient) ReplaceContentResponder(resp *http.Response) (result String, err error) { err = autorest.Respond( resp, client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted), + autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) - result.Response = resp + result.Response = autorest.Response{Response: resp} return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/client.go index 71684216b603..033c6e204dd1 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/client.go @@ -57,8 +57,8 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { // CheckNameAvailability check the availability of a resource name. This is needed for resources where name is globally // unique, such as a CDN endpoint. -// -// checkNameAvailabilityInput is input to check. +// Parameters: +// checkNameAvailabilityInput - input to check. func (client BaseClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: checkNameAvailabilityInput, @@ -128,8 +128,8 @@ func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (re // ValidateProbe check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file // hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is // relative to the origin path specified in the endpoint configuration. -// -// validateProbeInput is input to check. +// Parameters: +// validateProbeInput - input to check. func (client BaseClient) ValidateProbe(ctx context.Context, validateProbeInput ValidateProbeInput) (result ValidateProbeOutput, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: validateProbeInput, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/customdomains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/customdomains.go index 72144d3a952d..2ac10acc2a3a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/customdomains.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/customdomains.go @@ -42,11 +42,12 @@ func NewCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) Cu } // Create creates a new custom domain within an endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. customDomainName is name of the custom domain within an endpoint. customDomainProperties is -// properties required to create a new custom domain. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// customDomainName - name of the custom domain within an endpoint. +// customDomainProperties - properties required to create a new custom domain. func (client CustomDomainsClient) Create(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainProperties CustomDomainParameters) (result CustomDomainsCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -128,10 +129,11 @@ func (client CustomDomainsClient) CreateResponder(resp *http.Response) (result C } // Delete deletes an existing custom domain within an endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. customDomainName is name of the custom domain within an endpoint. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// customDomainName - name of the custom domain within an endpoint. func (client CustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomainsDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -208,10 +210,11 @@ func (client CustomDomainsClient) DeleteResponder(resp *http.Response) (result C } // DisableCustomHTTPS disable https delivery of the custom domain. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. customDomainName is name of the custom domain within an endpoint. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// customDomainName - name of the custom domain within an endpoint. func (client CustomDomainsClient) DisableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomain, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -286,10 +289,11 @@ func (client CustomDomainsClient) DisableCustomHTTPSResponder(resp *http.Respons } // EnableCustomHTTPS enable https delivery of the custom domain. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. customDomainName is name of the custom domain within an endpoint. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// customDomainName - name of the custom domain within an endpoint. func (client CustomDomainsClient) EnableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomain, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -364,10 +368,11 @@ func (client CustomDomainsClient) EnableCustomHTTPSResponder(resp *http.Response } // Get gets an exisitng custom domain within an endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. customDomainName is name of the custom domain within an endpoint. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// customDomainName - name of the custom domain within an endpoint. func (client CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomain, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -442,10 +447,10 @@ func (client CustomDomainsClient) GetResponder(resp *http.Response) (result Cust } // ListByEndpoint lists all of the existing custom domains within an endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. func (client CustomDomainsClient) ListByEndpoint(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result CustomDomainListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/endpoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/endpoints.go index 7f5f2db0764c..d47ac81a73b4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/endpoints.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/endpoints.go @@ -43,10 +43,11 @@ func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) Endpoi // Create creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group // and profile. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. endpoint is endpoint properties +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// endpoint - endpoint properties func (client EndpointsClient) Create(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint Endpoint) (result EndpointsCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -128,10 +129,10 @@ func (client EndpointsClient) CreateResponder(resp *http.Response) (result Endpo // Delete deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource // group and profile. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. func (client EndpointsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result EndpointsDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -207,10 +208,10 @@ func (client EndpointsClient) DeleteResponder(resp *http.Response) (result autor // Get gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group // and profile. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. func (client EndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result Endpoint, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -284,9 +285,9 @@ func (client EndpointsClient) GetResponder(resp *http.Response) (result Endpoint } // ListByProfile lists existing CDN endpoints. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. func (client EndpointsClient) ListByProfile(ctx context.Context, resourceGroupName string, profileName string) (result EndpointListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -387,10 +388,10 @@ func (client EndpointsClient) ListByProfileComplete(ctx context.Context, resourc } // ListResourceUsage checks the quota and usage of geo filters and custom domains under the given endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. func (client EndpointsClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result ResourceUsageListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -492,10 +493,11 @@ func (client EndpointsClient) ListResourceUsageComplete(ctx context.Context, res } // LoadContent pre-loads a content to CDN. Available for Verizon Profiles. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. contentFilePaths is the path to the content to be loaded. Path should be a full URL, e.g. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// contentFilePaths - the path to the content to be loaded. Path should be a full URL, e.g. // ‘/pictires/city.png' which loads a single file func (client EndpointsClient) LoadContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths LoadParameters) (result EndpointsLoadContentFuture, err error) { if err := validation.Validate([]validation.Validation{ @@ -575,12 +577,13 @@ func (client EndpointsClient) LoadContentResponder(resp *http.Response) (result } // PurgeContent removes a content from CDN. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. contentFilePaths is the path to the content to be purged. Path can be a full URL, e.g. -// '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which -// removes all folders and files in the directory. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// contentFilePaths - the path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' +// which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders +// and files in the directory. func (client EndpointsClient) PurgeContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths PurgeParameters) (result EndpointsPurgeContentFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -659,10 +662,10 @@ func (client EndpointsClient) PurgeContentResponder(resp *http.Response) (result } // Start starts an existing CDN endpoint that is on a stopped state. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. func (client EndpointsClient) Start(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result EndpointsStartFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -738,10 +741,10 @@ func (client EndpointsClient) StartResponder(resp *http.Response) (result Endpoi } // Stop stops an existing running CDN endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. func (client EndpointsClient) Stop(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result EndpointsStopFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -819,10 +822,11 @@ func (client EndpointsClient) StopResponder(resp *http.Response) (result Endpoin // Update updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource // group and profile. Only tags and Origin HostHeader can be updated after creating an endpoint. To update origins, use // the Update Origin operation. To update custom domains, use the Update Custom Domain operation. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. endpointUpdateProperties is endpoint update properties +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// endpointUpdateProperties - endpoint update properties func (client EndpointsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties EndpointUpdateParameters) (result EndpointsUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -900,10 +904,11 @@ func (client EndpointsClient) UpdateResponder(resp *http.Response) (result Endpo } // ValidateCustomDomain validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. customDomainProperties is custom domain to be validated. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// customDomainProperties - custom domain to be validated. func (client EndpointsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainProperties ValidateCustomDomainInput) (result ValidateCustomDomainOutput, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/origins.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/origins.go index 227b43f9af8a..4cc1fd9c0c50 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/origins.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/origins.go @@ -42,10 +42,11 @@ func NewOriginsClientWithBaseURI(baseURI string, subscriptionID string) OriginsC } // Get gets an existing origin within an endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. originName is name of the origin which is unique within the endpoint. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// originName - name of the origin which is unique within the endpoint. func (client OriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string) (result Origin, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -120,10 +121,10 @@ func (client OriginsClient) GetResponder(resp *http.Response) (result Origin, er } // ListByEndpoint lists all of the existing origins within an endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. func (client OriginsClient) ListByEndpoint(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result OriginListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -225,11 +226,12 @@ func (client OriginsClient) ListByEndpointComplete(ctx context.Context, resource } // Update updates an existing origin within an endpoint. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. endpointName is name of the endpoint under the profile which -// is unique globally. originName is name of the origin which is unique within the endpoint. originUpdateProperties -// is origin properties +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// endpointName - name of the endpoint under the profile which is unique globally. +// originName - name of the origin which is unique within the endpoint. +// originUpdateProperties - origin properties func (client OriginsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, originUpdateProperties OriginUpdateParameters) (result OriginsUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/profiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/profiles.go index 57531c889fa7..6bd15876408b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/profiles.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn/profiles.go @@ -42,9 +42,10 @@ func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) Profile } // Create creates a new CDN profile with a profile name under the specified subscription and resource group. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. profile is profile properties needed to create a new profile. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// profile - profile properties needed to create a new profile. func (client ProfilesClient) Create(ctx context.Context, resourceGroupName string, profileName string, profile Profile) (result ProfilesCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -124,9 +125,9 @@ func (client ProfilesClient) CreateResponder(resp *http.Response) (result Profil // Delete deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion // of all of the sub-resources including endpoints, origins and custom domains. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, profileName string) (result ProfilesDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -203,9 +204,9 @@ func (client ProfilesClient) DeleteResponder(resp *http.Response) (result autore // used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports // in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The // SSO URI changes approximately every 10 minutes. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. func (client ProfilesClient) GenerateSsoURI(ctx context.Context, resourceGroupName string, profileName string) (result SsoURI, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -278,9 +279,9 @@ func (client ProfilesClient) GenerateSsoURIResponder(resp *http.Response) (resul } // Get gets a CDN profile with the specified profile name under the specified subscription and resource group. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string) (result Profile, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -443,8 +444,8 @@ func (client ProfilesClient) ListComplete(ctx context.Context) (result ProfileLi } // ListByResourceGroup lists all of the CDN profiles within a resource group. -// -// resourceGroupName is name of the Resource group within the Azure subscription. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. func (client ProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProfileListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -544,9 +545,9 @@ func (client ProfilesClient) ListByResourceGroupComplete(ctx context.Context, re } // ListResourceUsage checks the quota and actual usage of endpoints under the given CDN profile. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. func (client ProfilesClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string) (result ResourceUsageListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -648,9 +649,9 @@ func (client ProfilesClient) ListResourceUsageComplete(ctx context.Context, reso // ListSupportedOptimizationTypes gets the supported optimization types for the current profile. A user can create an // endpoint with an optimization type from the listed values. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. func (client ProfilesClient) ListSupportedOptimizationTypes(ctx context.Context, resourceGroupName string, profileName string) (result SupportedOptimizationTypesListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -724,10 +725,10 @@ func (client ProfilesClient) ListSupportedOptimizationTypesResponder(resp *http. // Update updates an existing CDN profile with the specified profile name under the specified subscription and resource // group. -// -// resourceGroupName is name of the Resource group within the Azure subscription. profileName is name of the CDN -// profile which is unique within the resource group. profileUpdateParameters is profile properties needed to -// update an existing profile. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// profileName - name of the CDN profile which is unique within the resource group. +// profileUpdateParameters - profile properties needed to update an existing profile. func (client ProfilesClient) Update(ctx context.Context, resourceGroupName string, profileName string, profileUpdateParameters ProfileUpdateParameters) (result ProfilesUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/client.go index 09c33225fe2f..b76c496f31ac 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/client.go @@ -29,6 +29,7 @@ const ( DefaultBaseURI = "https://management.azure.com" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // BaseClient is the base client for Containerinstance. type BaseClient struct { autorest.Client @@ -36,11 +37,13 @@ type BaseClient struct { SubscriptionID string } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // New creates an instance of the BaseClient client. func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroups.go index 71daef48f029..485f65477681 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroups.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupsClient is the client for the ContainerGroups methods of the Containerinstance service. type ContainerGroupsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewContainerGroupsClient creates an instance of the ContainerGroupsClient client. func NewContainerGroupsClient(subscriptionID string) ContainerGroupsClient { return NewContainerGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewContainerGroupsClientWithBaseURI creates an instance of the ContainerGroupsClient client. func NewContainerGroupsClientWithBaseURI(baseURI string, subscriptionID string) ContainerGroupsClient { return ContainerGroupsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // CreateOrUpdate create or update container groups with specified configurations. // // resourceGroupName is the name of the resource group. containerGroupName is the name of the container group. @@ -72,6 +76,7 @@ func (client ContainerGroupsClient) CreateOrUpdate(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ContainerGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, containerGroupName string, containerGroup ContainerGroup) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -95,6 +100,7 @@ func (client ContainerGroupsClient) CreateOrUpdatePreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ContainerGroupsClient) CreateOrUpdateSender(req *http.Request) (future ContainerGroupsCreateOrUpdateFuture, err error) { @@ -110,6 +116,7 @@ func (client ContainerGroupsClient) CreateOrUpdateSender(req *http.Request) (fut return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ContainerGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ContainerGroup, err error) { @@ -123,6 +130,7 @@ func (client ContainerGroupsClient) CreateOrUpdateResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Delete delete the specified container group in the specified subscription and resource group. The operation does not // delete other resources provided by the user, such as volumes. // @@ -149,6 +157,7 @@ func (client ContainerGroupsClient) Delete(ctx context.Context, resourceGroupNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // DeletePreparer prepares the Delete request. func (client ContainerGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, containerGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -170,6 +179,7 @@ func (client ContainerGroupsClient) DeletePreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ContainerGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -177,6 +187,7 @@ func (client ContainerGroupsClient) DeleteSender(req *http.Request) (*http.Respo azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ContainerGroupsClient) DeleteResponder(resp *http.Response) (result ContainerGroup, err error) { @@ -190,6 +201,7 @@ func (client ContainerGroupsClient) DeleteResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Get gets the properties of the specified container group in the specified subscription and resource group. The // operation returns the properties of each container group including containers, image registry credentials, restart // policy, IP address type, OS type, state, and volumes. @@ -217,6 +229,7 @@ func (client ContainerGroupsClient) Get(ctx context.Context, resourceGroupName s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // GetPreparer prepares the Get request. func (client ContainerGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, containerGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -238,6 +251,7 @@ func (client ContainerGroupsClient) GetPreparer(ctx context.Context, resourceGro return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ContainerGroupsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -245,6 +259,7 @@ func (client ContainerGroupsClient) GetSender(req *http.Request) (*http.Response azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ContainerGroupsClient) GetResponder(resp *http.Response) (result ContainerGroup, err error) { @@ -258,6 +273,7 @@ func (client ContainerGroupsClient) GetResponder(resp *http.Response) (result Co return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // List get a list of container groups in the specified subscription. This operation returns properties of each // container group including containers, image registry credentials, restart policy, IP address type, OS type, state, // and volumes. @@ -284,6 +300,7 @@ func (client ContainerGroupsClient) List(ctx context.Context) (result ContainerG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListPreparer prepares the List request. func (client ContainerGroupsClient) ListPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -303,6 +320,7 @@ func (client ContainerGroupsClient) ListPreparer(ctx context.Context) (*http.Req return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client ContainerGroupsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -310,6 +328,7 @@ func (client ContainerGroupsClient) ListSender(req *http.Request) (*http.Respons azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client ContainerGroupsClient) ListResponder(resp *http.Response) (result ContainerGroupListResult, err error) { @@ -344,12 +363,14 @@ func (client ContainerGroupsClient) listNextResults(lastResults ContainerGroupLi return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client ContainerGroupsClient) ListComplete(ctx context.Context) (result ContainerGroupListResultIterator, err error) { result.page, err = client.List(ctx) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListByResourceGroup get a list of container groups in a specified subscription and resource group. This operation // returns properties of each container group including containers, image registry credentials, restart policy, IP // address type, OS type, state, and volumes. @@ -378,6 +399,7 @@ func (client ContainerGroupsClient) ListByResourceGroup(ctx context.Context, res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client ContainerGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -398,6 +420,7 @@ func (client ContainerGroupsClient) ListByResourceGroupPreparer(ctx context.Cont return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client ContainerGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -405,6 +428,7 @@ func (client ContainerGroupsClient) ListByResourceGroupSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client ContainerGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ContainerGroupListResult, err error) { @@ -439,12 +463,14 @@ func (client ContainerGroupsClient) listByResourceGroupNextResults(lastResults C return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required. func (client ContainerGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ContainerGroupListResultIterator, err error) { result.page, err = client.ListByResourceGroup(ctx, resourceGroupName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Update updates container group tags with specified values. // // resourceGroupName is the name of the resource group. containerGroupName is the name of the container group. @@ -471,6 +497,7 @@ func (client ContainerGroupsClient) Update(ctx context.Context, resourceGroupNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UpdatePreparer prepares the Update request. func (client ContainerGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, containerGroupName string, resource Resource) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -494,6 +521,7 @@ func (client ContainerGroupsClient) UpdatePreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client ContainerGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -501,6 +529,7 @@ func (client ContainerGroupsClient) UpdateSender(req *http.Request) (*http.Respo azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client ContainerGroupsClient) UpdateResponder(resp *http.Response) (result ContainerGroup, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroupusage.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroupusage.go index 1fc903603273..a75432e4e1d2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroupusage.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containergroupusage.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupUsageClient is the client for the ContainerGroupUsage methods of the Containerinstance service. type ContainerGroupUsageClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewContainerGroupUsageClient creates an instance of the ContainerGroupUsageClient client. func NewContainerGroupUsageClient(subscriptionID string) ContainerGroupUsageClient { return NewContainerGroupUsageClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewContainerGroupUsageClientWithBaseURI creates an instance of the ContainerGroupUsageClient client. func NewContainerGroupUsageClientWithBaseURI(baseURI string, subscriptionID string) ContainerGroupUsageClient { return ContainerGroupUsageClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // List get the usage for a subscription // // location is the identifier for the physical azure location. @@ -64,6 +68,7 @@ func (client ContainerGroupUsageClient) List(ctx context.Context, location strin return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListPreparer prepares the List request. func (client ContainerGroupUsageClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -84,6 +89,7 @@ func (client ContainerGroupUsageClient) ListPreparer(ctx context.Context, locati return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client ContainerGroupUsageClient) ListSender(req *http.Request) (*http.Response, error) { @@ -91,6 +97,7 @@ func (client ContainerGroupUsageClient) ListSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client ContainerGroupUsageClient) ListResponder(resp *http.Response) (result UsageListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containerlogs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containerlogs.go index 1ef717fa64e0..794f39a193cc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containerlogs.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/containerlogs.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerLogsClient is the client for the ContainerLogs methods of the Containerinstance service. type ContainerLogsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewContainerLogsClient creates an instance of the ContainerLogsClient client. func NewContainerLogsClient(subscriptionID string) ContainerLogsClient { return NewContainerLogsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewContainerLogsClientWithBaseURI creates an instance of the ContainerLogsClient client. func NewContainerLogsClientWithBaseURI(baseURI string, subscriptionID string) ContainerLogsClient { return ContainerLogsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // List get the logs for a specified container instance in a specified resource group and container group. // // resourceGroupName is the name of the resource group. containerGroupName is the name of the container group. @@ -66,6 +70,7 @@ func (client ContainerLogsClient) List(ctx context.Context, resourceGroupName st return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListPreparer prepares the List request. func (client ContainerLogsClient) ListPreparer(ctx context.Context, resourceGroupName string, containerGroupName string, containerName string, tail *int32) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -91,6 +96,7 @@ func (client ContainerLogsClient) ListPreparer(ctx context.Context, resourceGrou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client ContainerLogsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -98,6 +104,7 @@ func (client ContainerLogsClient) ListSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client ContainerLogsClient) ListResponder(resp *http.Response) (result Logs, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/models.go index a68957c7e977..c6f73c8c6df3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/models.go @@ -26,6 +26,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupNetworkProtocol enumerates the values for container group network protocol. type ContainerGroupNetworkProtocol string @@ -36,11 +37,13 @@ const ( UDP ContainerGroupNetworkProtocol = "UDP" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // PossibleContainerGroupNetworkProtocolValues returns an array of possible values for the ContainerGroupNetworkProtocol const type. func PossibleContainerGroupNetworkProtocolValues() []ContainerGroupNetworkProtocol { return []ContainerGroupNetworkProtocol{TCP, UDP} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupRestartPolicy enumerates the values for container group restart policy. type ContainerGroupRestartPolicy string @@ -53,11 +56,13 @@ const ( OnFailure ContainerGroupRestartPolicy = "OnFailure" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // PossibleContainerGroupRestartPolicyValues returns an array of possible values for the ContainerGroupRestartPolicy const type. func PossibleContainerGroupRestartPolicyValues() []ContainerGroupRestartPolicy { return []ContainerGroupRestartPolicy{Always, Never, OnFailure} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerNetworkProtocol enumerates the values for container network protocol. type ContainerNetworkProtocol string @@ -68,11 +73,13 @@ const ( ContainerNetworkProtocolUDP ContainerNetworkProtocol = "UDP" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // PossibleContainerNetworkProtocolValues returns an array of possible values for the ContainerNetworkProtocol const type. func PossibleContainerNetworkProtocolValues() []ContainerNetworkProtocol { return []ContainerNetworkProtocol{ContainerNetworkProtocolTCP, ContainerNetworkProtocolUDP} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // OperatingSystemTypes enumerates the values for operating system types. type OperatingSystemTypes string @@ -83,11 +90,13 @@ const ( Windows OperatingSystemTypes = "Windows" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type. func PossibleOperatingSystemTypesValues() []OperatingSystemTypes { return []OperatingSystemTypes{Linux, Windows} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // OperationsOrigin enumerates the values for operations origin. type OperationsOrigin string @@ -98,11 +107,13 @@ const ( User OperationsOrigin = "User" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // PossibleOperationsOriginValues returns an array of possible values for the OperationsOrigin const type. func PossibleOperationsOriginValues() []OperationsOrigin { return []OperationsOrigin{System, User} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // AzureFileVolume the properties of the Azure File volume. Azure File shares are mounted as volumes. type AzureFileVolume struct { // ShareName - The name of the Azure File share to be mounted as a volume. @@ -115,6 +126,7 @@ type AzureFileVolume struct { StorageAccountKey *string `json:"storageAccountKey,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Container a container instance. type Container struct { // Name - The user-provided name of the container instance. @@ -123,6 +135,7 @@ type Container struct { *ContainerProperties `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // MarshalJSON is the custom marshaler for Container. func (c Container) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -135,6 +148,7 @@ func (c Container) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UnmarshalJSON is the custom unmarshaler for Container struct. func (c *Container) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -168,6 +182,7 @@ func (c *Container) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerExecRequest the start container exec request. type ContainerExecRequest struct { // Command - The command to be executed. @@ -176,6 +191,7 @@ type ContainerExecRequest struct { TerminalSize *ContainerExecRequestTerminalSize `json:"terminalSize,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerExecRequestTerminalSize the size of the terminal. type ContainerExecRequestTerminalSize struct { // Rows - The row size of the terminal @@ -184,6 +200,7 @@ type ContainerExecRequestTerminalSize struct { Cols *int32 `json:"cols,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerExecResponse the information for the container exec command. type ContainerExecResponse struct { autorest.Response `json:"-"` @@ -193,6 +210,7 @@ type ContainerExecResponse struct { Password *string `json:"password,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroup a container group. type ContainerGroup struct { autorest.Response `json:"-"` @@ -209,6 +227,7 @@ type ContainerGroup struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // MarshalJSON is the custom marshaler for ContainerGroup. func (cg ContainerGroup) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -233,6 +252,7 @@ func (cg ContainerGroup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UnmarshalJSON is the custom unmarshaler for ContainerGroup struct. func (cg *ContainerGroup) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -302,6 +322,7 @@ func (cg *ContainerGroup) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupListResult the container group list response that contains the container group properties. type ContainerGroupListResult struct { autorest.Response `json:"-"` @@ -311,12 +332,14 @@ type ContainerGroupListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupListResultIterator provides access to a complete listing of ContainerGroup values. type ContainerGroupListResultIterator struct { i int page ContainerGroupListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ContainerGroupListResultIterator) Next() error { @@ -333,16 +356,19 @@ func (iter *ContainerGroupListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ContainerGroupListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Response returns the raw server response from the last page request. func (iter ContainerGroupListResultIterator) Response() ContainerGroupListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ContainerGroupListResultIterator) Value() ContainerGroup { @@ -352,6 +378,7 @@ func (iter ContainerGroupListResultIterator) Value() ContainerGroup { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // IsEmpty returns true if the ListResult contains no values. func (cglr ContainerGroupListResult) IsEmpty() bool { return cglr.Value == nil || len(*cglr.Value) == 0 @@ -369,12 +396,14 @@ func (cglr ContainerGroupListResult) containerGroupListResultPreparer() (*http.R autorest.WithBaseURL(to.String(cglr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupListResultPage contains a page of ContainerGroup values. type ContainerGroupListResultPage struct { fn func(ContainerGroupListResult) (ContainerGroupListResult, error) cglr ContainerGroupListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *ContainerGroupListResultPage) Next() error { @@ -386,16 +415,19 @@ func (page *ContainerGroupListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ContainerGroupListResultPage) NotDone() bool { return !page.cglr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Response returns the raw server response from the last page request. func (page ContainerGroupListResultPage) Response() ContainerGroupListResult { return page.cglr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ContainerGroupListResultPage) Values() []ContainerGroup { if page.cglr.IsEmpty() { @@ -404,6 +436,7 @@ func (page ContainerGroupListResultPage) Values() []ContainerGroup { return *page.cglr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupProperties ... type ContainerGroupProperties struct { // ProvisioningState - The provisioning state of the container group. This only appears in the response. @@ -428,6 +461,7 @@ type ContainerGroupProperties struct { InstanceView *ContainerGroupPropertiesInstanceView `json:"instanceView,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupPropertiesInstanceView the instance view of the container group. Only valid in response. type ContainerGroupPropertiesInstanceView struct { // Events - The events of this container group. @@ -436,6 +470,7 @@ type ContainerGroupPropertiesInstanceView struct { State *string `json:"state,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type ContainerGroupsCreateOrUpdateFuture struct { @@ -443,6 +478,7 @@ type ContainerGroupsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ContainerGroupsCreateOrUpdateFuture) Result(client ContainerGroupsClient) (cg ContainerGroup, err error) { @@ -485,6 +521,7 @@ func (future ContainerGroupsCreateOrUpdateFuture) Result(client ContainerGroupsC return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerPort the port exposed on the container instance. type ContainerPort struct { // Protocol - The protocol associated with the port. Possible values include: 'ContainerNetworkProtocolTCP', 'ContainerNetworkProtocolUDP' @@ -493,6 +530,7 @@ type ContainerPort struct { Port *int32 `json:"port,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerProperties the container instance properties. type ContainerProperties struct { // Image - The name of the image used to create the container instance. @@ -511,6 +549,7 @@ type ContainerProperties struct { VolumeMounts *[]VolumeMount `json:"volumeMounts,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerPropertiesInstanceView the instance view of the container instance. Only valid in response. type ContainerPropertiesInstanceView struct { // RestartCount - The number of times that the container instance has been restarted. @@ -523,6 +562,7 @@ type ContainerPropertiesInstanceView struct { Events *[]Event `json:"events,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ContainerState the container instance state. type ContainerState struct { // State - The state of the container instance. @@ -537,6 +577,7 @@ type ContainerState struct { DetailStatus *string `json:"detailStatus,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // EnvironmentVariable the environment variable to set within the container instance. type EnvironmentVariable struct { // Name - The name of the environment variable. @@ -545,6 +586,7 @@ type EnvironmentVariable struct { Value *string `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Event a container group or container instance event. type Event struct { // Count - The count of the event. @@ -561,6 +603,7 @@ type Event struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // GitRepoVolume represents a volume that is populated with the contents of a git repository type GitRepoVolume struct { // Directory - Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. @@ -571,6 +614,7 @@ type GitRepoVolume struct { Revision *string `json:"revision,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ImageRegistryCredential image registry credential. type ImageRegistryCredential struct { // Server - The Docker image registry server without a protocol such as "http" and "https". @@ -581,6 +625,7 @@ type ImageRegistryCredential struct { Password *string `json:"password,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // IPAddress IP address for the container group. type IPAddress struct { // Ports - The list of ports exposed on the container group. @@ -595,6 +640,7 @@ type IPAddress struct { Fqdn *string `json:"fqdn,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Logs the logs. type Logs struct { autorest.Response `json:"-"` @@ -602,6 +648,7 @@ type Logs struct { Content *string `json:"content,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Operation an operation for Azure Container Instance service. type Operation struct { // Name - The name of the operation. @@ -612,6 +659,7 @@ type Operation struct { Origin OperationsOrigin `json:"origin,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // OperationDisplay the display information of the operation. type OperationDisplay struct { // Provider - The name of the provider of the operation. @@ -624,6 +672,7 @@ type OperationDisplay struct { Description *string `json:"description,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // OperationListResult the operation list response that contains all operations for Azure Container Instance // service. type OperationListResult struct { @@ -634,6 +683,7 @@ type OperationListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Port the port exposed on the container group. type Port struct { // Protocol - The protocol associated with the port. Possible values include: 'TCP', 'UDP' @@ -642,6 +692,7 @@ type Port struct { Port *int32 `json:"port,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Resource the Resource model definition. type Resource struct { // ID - The resource id. @@ -656,6 +707,7 @@ type Resource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // MarshalJSON is the custom marshaler for Resource. func (r Resource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -677,6 +729,7 @@ func (r Resource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ResourceLimits the resource limits. type ResourceLimits struct { // MemoryInGB - The memory limit in GB of this container instance. @@ -685,6 +738,7 @@ type ResourceLimits struct { CPU *float64 `json:"cpu,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ResourceRequests the resource requests. type ResourceRequests struct { // MemoryInGB - The memory request in GB of this container instance. @@ -693,6 +747,7 @@ type ResourceRequests struct { CPU *float64 `json:"cpu,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ResourceRequirements the resource requirements. type ResourceRequirements struct { // Requests - The resource requests of this container instance. @@ -701,6 +756,7 @@ type ResourceRequirements struct { Limits *ResourceLimits `json:"limits,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Usage a single usage result type Usage struct { // Unit - Unit of the usage result @@ -713,12 +769,14 @@ type Usage struct { Name *UsageName `json:"name,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UsageListResult the response containing the usage data type UsageListResult struct { autorest.Response `json:"-"` Value *[]Usage `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UsageName the name object of the resource type UsageName struct { // Value - The name of the resource @@ -727,6 +785,7 @@ type UsageName struct { LocalizedValue *string `json:"localizedValue,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Volume the properties of the volume. type Volume struct { // Name - The name of the volume. @@ -741,6 +800,7 @@ type Volume struct { GitRepo *GitRepoVolume `json:"gitRepo,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // MarshalJSON is the custom marshaler for Volume. func (vVar Volume) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -760,6 +820,7 @@ func (vVar Volume) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // VolumeMount the properties of the volume mount. type VolumeMount struct { // Name - The name of the volume mount. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/operations.go index 32ef1f5fc647..c95180c46294 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/operations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/operations.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // OperationsClient is the client for the Operations methods of the Containerinstance service. type OperationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewOperationsClient creates an instance of the OperationsClient client. func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // List list the operations for Azure Container Instance service. func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) { req, err := client.ListPreparer(ctx) @@ -62,6 +66,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2018-02-01-preview" @@ -77,6 +82,7 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -84,6 +90,7 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/startcontainer.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/startcontainer.go index 7db3b7e32b3d..751cf72f5e34 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/startcontainer.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/startcontainer.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // StartContainerClient is the client for the StartContainer methods of the Containerinstance service. type StartContainerClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewStartContainerClient creates an instance of the StartContainerClient client. func NewStartContainerClient(subscriptionID string) StartContainerClient { return NewStartContainerClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // NewStartContainerClientWithBaseURI creates an instance of the StartContainerClient client. func NewStartContainerClientWithBaseURI(baseURI string, subscriptionID string) StartContainerClient { return StartContainerClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // LaunchExec starts the exec command for a specified container instance in a specified resource group and container // group. // @@ -66,6 +70,7 @@ func (client StartContainerClient) LaunchExec(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // LaunchExecPreparer prepares the LaunchExec request. func (client StartContainerClient) LaunchExecPreparer(ctx context.Context, resourceGroupName string, containerGroupName string, containerName string, containerExecRequest ContainerExecRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client StartContainerClient) LaunchExecPreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // LaunchExecSender sends the LaunchExec request. The method will close the // http.Response Body if it receives an error. func (client StartContainerClient) LaunchExecSender(req *http.Request) (*http.Response, error) { @@ -97,6 +103,7 @@ func (client StartContainerClient) LaunchExecSender(req *http.Request) (*http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // LaunchExecResponder handles the response to the LaunchExec request. The method always // closes the http.Response Body. func (client StartContainerClient) LaunchExecResponder(resp *http.Response) (result ContainerExecResponse, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/version.go index 877004c00336..718810b207e5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance/version.go @@ -18,12 +18,13 @@ import "github.com/Azure/azure-sdk-for-go/version" // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. - +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { return "Azure-SDK-For-Go/" + version.Number + " containerinstance/2018-02-01-preview" } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/containerinstance/mgmt/2018-02-01-preview/containerinstance instead. // Version returns the semantic version (see http://semver.org) of the client. func Version() string { return version.Number diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/models.go index 61c6cd67b3ce..4b16260110a6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/models.go @@ -26,6 +26,21 @@ import ( "net/http" ) +// ImportMode enumerates the values for import mode. +type ImportMode string + +const ( + // Force ... + Force ImportMode = "Force" + // NoForce ... + NoForce ImportMode = "NoForce" +) + +// PossibleImportModeValues returns an array of possible values for the ImportMode const type. +func PossibleImportModeValues() []ImportMode { + return []ImportMode{Force, NoForce} +} + // PasswordName enumerates the values for password name. type PasswordName string @@ -382,6 +397,29 @@ func (erm EventResponseMessage) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// ImportImageParameters ... +type ImportImageParameters struct { + // Source - The source of the image. + Source *ImportSource `json:"source,omitempty"` + // TargetTags - List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted). + TargetTags *[]string `json:"targetTags,omitempty"` + // UntaggedTargetRepositories - List of strings of repository names to do a manifest only copy. No tag will be created. + UntaggedTargetRepositories *[]string `json:"untaggedTargetRepositories,omitempty"` + // Mode - When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Possible values include: 'NoForce', 'Force' + Mode ImportMode `json:"mode,omitempty"` +} + +// ImportSource ... +type ImportSource struct { + // ResourceID - The resource identifier of the target Azure Container Registry. + ResourceID *string `json:"resourceId,omitempty"` + // SourceImage - Repository name of the source image. + // Specify an image by repository ('hello-world'). This will use the 'latest' tag. + // Specify an image by tag ('hello-world:latest'). + // Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). + SourceImage *string `json:"sourceImage,omitempty"` +} + // OperationDefinition the definition of a container registry operation. type OperationDefinition struct { // Name - Operation name: {provider}/{resource}/{operation}. @@ -606,6 +644,55 @@ func (future RegistriesDeleteFuture) Result(client RegistriesClient) (ar autores return } +// RegistriesImportImageFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. +type RegistriesImportImageFuture struct { + azure.Future + req *http.Request +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future RegistriesImportImageFuture) Result(client RegistriesClient) (ar autorest.Response, err error) { + var done bool + done, err = future.Done(client) + if err != nil { + err = autorest.NewErrorWithError(err, "containerregistry.RegistriesImportImageFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + return ar, azure.NewAsyncOpIncompleteError("containerregistry.RegistriesImportImageFuture") + } + if future.PollingMethod() == azure.PollingLocation { + ar, err = client.ImportImageResponder(future.Response()) + if err != nil { + err = autorest.NewErrorWithError(err, "containerregistry.RegistriesImportImageFuture", "Result", future.Response(), "Failure responding to request") + } + return + } + var req *http.Request + var resp *http.Response + if future.PollingURL() != "" { + req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) + if err != nil { + return + } + } else { + req = autorest.ChangeToGet(future.req) + } + resp, err = autorest.SendWithSender(client, req, + autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if err != nil { + err = autorest.NewErrorWithError(err, "containerregistry.RegistriesImportImageFuture", "Result", resp, "Failure sending request") + return + } + ar, err = client.ImportImageResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "containerregistry.RegistriesImportImageFuture", "Result", resp, "Failure responding to request") + } + return +} + // RegistriesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type RegistriesUpdateFuture struct { azure.Future diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go index 2157367e5390..e341c0e62252 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/registries.go @@ -42,8 +42,8 @@ func NewRegistriesClientWithBaseURI(baseURI string, subscriptionID string) Regis // CheckNameAvailability checks whether the container registry name is available for use. The name must contain only // alphanumeric characters, be globally unique, and between 5 and 50 characters in length. -// -// registryNameCheckRequest is the object containing information for the availability request. +// Parameters: +// registryNameCheckRequest - the object containing information for the availability request. func (client RegistriesClient) CheckNameAvailability(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest) (result RegistryNameStatus, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryNameCheckRequest, @@ -119,9 +119,10 @@ func (client RegistriesClient) CheckNameAvailabilityResponder(resp *http.Respons } // Create creates a container registry with the specified parameters. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. registry is the parameters for creating a container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// registry - the parameters for creating a container registry. func (client RegistriesClient) Create(ctx context.Context, resourceGroupName string, registryName string, registry Registry) (result RegistriesCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -204,9 +205,9 @@ func (client RegistriesClient) CreateResponder(resp *http.Response) (result Regi } // Delete deletes a container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. func (client RegistriesClient) Delete(ctx context.Context, resourceGroupName string, registryName string) (result RegistriesDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -280,9 +281,9 @@ func (client RegistriesClient) DeleteResponder(resp *http.Response) (result auto } // Get gets the properties of the specified container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. func (client RegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string) (result Registry, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -354,6 +355,90 @@ func (client RegistriesClient) GetResponder(resp *http.Response) (result Registr return } +// ImportImage copies an image to this container registry from the specified container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// parameters - the parameters specifying the image to copy and the source container registry. +func (client RegistriesClient) ImportImage(ctx context.Context, resourceGroupName string, registryName string, parameters ImportImageParameters) (result RegistriesImportImageFuture, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: registryName, + Constraints: []validation.Constraint{{Target: "registryName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "registryName", Name: validation.MinLength, Rule: 5, Chain: nil}, + {Target: "registryName", Name: validation.Pattern, Rule: `^[a-zA-Z0-9]*$`, Chain: nil}}}, + {TargetValue: parameters, + Constraints: []validation.Constraint{{Target: "parameters.Source", Name: validation.Null, Rule: true, + Chain: []validation.Constraint{{Target: "parameters.Source.ResourceID", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Source.SourceImage", Name: validation.Null, Rule: true, Chain: nil}, + }}}}}); err != nil { + return result, validation.NewError("containerregistry.RegistriesClient", "ImportImage", err.Error()) + } + + req, err := client.ImportImagePreparer(ctx, resourceGroupName, registryName, parameters) + if err != nil { + err = autorest.NewErrorWithError(err, "containerregistry.RegistriesClient", "ImportImage", nil, "Failure preparing request") + return + } + + result, err = client.ImportImageSender(req) + if err != nil { + err = autorest.NewErrorWithError(err, "containerregistry.RegistriesClient", "ImportImage", result.Response(), "Failure sending request") + return + } + + return +} + +// ImportImagePreparer prepares the ImportImage request. +func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resourceGroupName string, registryName string, parameters ImportImageParameters) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "registryName": autorest.Encode("path", registryName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-10-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPost(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage", pathParameters), + autorest.WithJSON(parameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ImportImageSender sends the ImportImage request. The method will close the +// http.Response Body if it receives an error. +func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error) { + sender := autorest.DecorateSender(client, azure.DoRetryWithRegistration(client.Client)) + future.Future = azure.NewFuture(req) + future.req = req + _, err = future.Done(sender) + if err != nil { + return + } + err = autorest.Respond(future.Response(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted)) + return +} + +// ImportImageResponder handles the response to the ImportImage request. The method always +// closes the http.Response Body. +func (client RegistriesClient) ImportImageResponder(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 +} + // List lists all the container registries under the specified subscription. func (client RegistriesClient) List(ctx context.Context) (result RegistryListResultPage, err error) { result.fn = client.listNextResults @@ -445,8 +530,8 @@ func (client RegistriesClient) ListComplete(ctx context.Context) (result Registr } // ListByResourceGroup lists all the container registries under the specified resource group. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. func (client RegistriesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RegistryListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -538,9 +623,9 @@ func (client RegistriesClient) ListByResourceGroupComplete(ctx context.Context, } // ListCredentials lists the login credentials for the specified container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. func (client RegistriesClient) ListCredentials(ctx context.Context, resourceGroupName string, registryName string) (result RegistryListCredentialsResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -613,9 +698,9 @@ func (client RegistriesClient) ListCredentialsResponder(resp *http.Response) (re } // ListUsages gets the quota usages for the specified container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. func (client RegistriesClient) ListUsages(ctx context.Context, resourceGroupName string, registryName string) (result RegistryUsageListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -688,10 +773,11 @@ func (client RegistriesClient) ListUsagesResponder(resp *http.Response) (result } // RegenerateCredential regenerates one of the login credentials for the specified container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. regenerateCredentialParameters is specifies name of the password which should be -// regenerated -- password or password2. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// regenerateCredentialParameters - specifies name of the password which should be regenerated -- password or +// password2. func (client RegistriesClient) RegenerateCredential(ctx context.Context, resourceGroupName string, registryName string, regenerateCredentialParameters RegenerateCredentialParameters) (result RegistryListCredentialsResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -766,9 +852,10 @@ func (client RegistriesClient) RegenerateCredentialResponder(resp *http.Response } // Update updates a container registry with the specified parameters. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. registryUpdateParameters is the parameters for updating a container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// registryUpdateParameters - the parameters for updating a container registry. func (client RegistriesClient) Update(ctx context.Context, resourceGroupName string, registryName string, registryUpdateParameters RegistryUpdateParameters) (result RegistriesUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go index 9bb5b87928db..dc05abe72d71 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/replications.go @@ -41,10 +41,11 @@ func NewReplicationsClientWithBaseURI(baseURI string, subscriptionID string) Rep } // Create creates a replication for a container registry with the specified parameters. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. replicationName is the name of the replication. replication is the parameters -// for creating a replication. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// replicationName - the name of the replication. +// replication - the parameters for creating a replication. func (client ReplicationsClient) Create(ctx context.Context, resourceGroupName string, registryName string, replicationName string, replication Replication) (result ReplicationsCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -126,9 +127,10 @@ func (client ReplicationsClient) CreateResponder(resp *http.Response) (result Re } // Delete deletes a replication from a container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. replicationName is the name of the replication. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// replicationName - the name of the replication. func (client ReplicationsClient) Delete(ctx context.Context, resourceGroupName string, registryName string, replicationName string) (result ReplicationsDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -207,9 +209,10 @@ func (client ReplicationsClient) DeleteResponder(resp *http.Response) (result au } // Get gets the properties of the specified replication. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. replicationName is the name of the replication. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// replicationName - the name of the replication. func (client ReplicationsClient) Get(ctx context.Context, resourceGroupName string, registryName string, replicationName string) (result Replication, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -287,9 +290,9 @@ func (client ReplicationsClient) GetResponder(resp *http.Response) (result Repli } // List lists all the replications for the specified container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. func (client ReplicationsClient) List(ctx context.Context, resourceGroupName string, registryName string) (result ReplicationListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -390,10 +393,11 @@ func (client ReplicationsClient) ListComplete(ctx context.Context, resourceGroup } // Update updates a replication for a container registry with the specified parameters. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. replicationName is the name of the replication. replicationUpdateParameters is -// the parameters for updating a replication. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// replicationName - the name of the replication. +// replicationUpdateParameters - the parameters for updating a replication. func (client ReplicationsClient) Update(ctx context.Context, resourceGroupName string, registryName string, replicationName string, replicationUpdateParameters ReplicationUpdateParameters) (result ReplicationsUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go index 09eab0c91688..33b67fa2acc9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry/webhooks.go @@ -41,10 +41,11 @@ func NewWebhooksClientWithBaseURI(baseURI string, subscriptionID string) Webhook } // Create creates a webhook for a container registry with the specified parameters. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. webhookName is the name of the webhook. webhookCreateParameters is the -// parameters for creating a webhook. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// webhookName - the name of the webhook. +// webhookCreateParameters - the parameters for creating a webhook. func (client WebhooksClient) Create(ctx context.Context, resourceGroupName string, registryName string, webhookName string, webhookCreateParameters WebhookCreateParameters) (result WebhooksCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -132,9 +133,10 @@ func (client WebhooksClient) CreateResponder(resp *http.Response) (result Webhoo } // Delete deletes a webhook from a container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. webhookName is the name of the webhook. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// webhookName - the name of the webhook. func (client WebhooksClient) Delete(ctx context.Context, resourceGroupName string, registryName string, webhookName string) (result WebhooksDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -213,9 +215,10 @@ func (client WebhooksClient) DeleteResponder(resp *http.Response) (result autore } // Get gets the properties of the specified webhook. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. webhookName is the name of the webhook. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// webhookName - the name of the webhook. func (client WebhooksClient) Get(ctx context.Context, resourceGroupName string, registryName string, webhookName string) (result Webhook, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -293,9 +296,10 @@ func (client WebhooksClient) GetResponder(resp *http.Response) (result Webhook, } // GetCallbackConfig gets the configuration of service URI and custom headers for the webhook. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. webhookName is the name of the webhook. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// webhookName - the name of the webhook. func (client WebhooksClient) GetCallbackConfig(ctx context.Context, resourceGroupName string, registryName string, webhookName string) (result CallbackConfig, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -373,9 +377,9 @@ func (client WebhooksClient) GetCallbackConfigResponder(resp *http.Response) (re } // List lists all the webhooks for the specified container registry. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. func (client WebhooksClient) List(ctx context.Context, resourceGroupName string, registryName string) (result WebhookListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -476,9 +480,10 @@ func (client WebhooksClient) ListComplete(ctx context.Context, resourceGroupName } // ListEvents lists recent events for the specified webhook. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. webhookName is the name of the webhook. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// webhookName - the name of the webhook. func (client WebhooksClient) ListEvents(ctx context.Context, resourceGroupName string, registryName string, webhookName string) (result EventListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -584,9 +589,10 @@ func (client WebhooksClient) ListEventsComplete(ctx context.Context, resourceGro } // Ping triggers a ping event to be sent to the webhook. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. webhookName is the name of the webhook. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// webhookName - the name of the webhook. func (client WebhooksClient) Ping(ctx context.Context, resourceGroupName string, registryName string, webhookName string) (result EventInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, @@ -664,10 +670,11 @@ func (client WebhooksClient) PingResponder(resp *http.Response) (result EventInf } // Update updates a webhook with the specified parameters. -// -// resourceGroupName is the name of the resource group to which the container registry belongs. registryName is the -// name of the container registry. webhookName is the name of the webhook. webhookUpdateParameters is the -// parameters for updating a webhook. +// Parameters: +// resourceGroupName - the name of the resource group to which the container registry belongs. +// registryName - the name of the container registry. +// webhookName - the name of the webhook. +// webhookUpdateParameters - the parameters for updating a webhook. func (client WebhooksClient) Update(ctx context.Context, resourceGroupName string, registryName string, webhookName string, webhookUpdateParameters WebhookUpdateParameters) (result WebhooksUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: registryName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go index 574c4cb17f48..317b63851897 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/containerservices.go @@ -42,10 +42,10 @@ func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string // CreateOrUpdate creates or updates a container service with the specified configuration of orchestrator, masters, and // agents. -// -// resourceGroupName is the name of the resource group. containerServiceName is the name of the container service -// in the specified subscription and resource group. parameters is parameters supplied to the Create or Update a -// Container Service operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// containerServiceName - the name of the container service in the specified subscription and resource group. +// parameters - parameters supplied to the Create or Update a Container Service operation. func (client ContainerServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, containerServiceName string, parameters ContainerService) (result ContainerServicesCreateOrUpdateFutureType, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -151,9 +151,9 @@ func (client ContainerServicesClient) CreateOrUpdateResponder(resp *http.Respons // not delete other resources created as part of creating a container service, including storage accounts, VMs, and // availability sets. All the other resources created with the container service are part of the same resource group // and can be deleted individually. -// -// resourceGroupName is the name of the resource group. containerServiceName is the name of the container service -// in the specified subscription and resource group. +// Parameters: +// resourceGroupName - the name of the resource group. +// containerServiceName - the name of the container service in the specified subscription and resource group. func (client ContainerServicesClient) Delete(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerServicesDeleteFutureType, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, containerServiceName) if err != nil { @@ -221,9 +221,9 @@ func (client ContainerServicesClient) DeleteResponder(resp *http.Response) (resu // Get gets the properties of the specified container service in the specified subscription and resource group. The // operation returns the properties including state, orchestrator, number of masters and agents, and FQDNs of masters // and agents. -// -// resourceGroupName is the name of the resource group. containerServiceName is the name of the container service -// in the specified subscription and resource group. +// Parameters: +// resourceGroupName - the name of the resource group. +// containerServiceName - the name of the container service in the specified subscription and resource group. func (client ContainerServicesClient) Get(ctx context.Context, resourceGroupName string, containerServiceName string) (result ContainerService, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, containerServiceName) if err != nil { @@ -381,8 +381,8 @@ func (client ContainerServicesClient) ListComplete(ctx context.Context) (result // ListByResourceGroup gets a list of container services in the specified subscription and resource group. The // operation returns properties of each container service including state, orchestrator, number of masters and agents, // and FQDNs of masters and agents. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client ContainerServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -475,9 +475,9 @@ func (client ContainerServicesClient) ListByResourceGroupComplete(ctx context.Co // ListOrchestrators gets a list of supported orchestrators in the specified subscription. The operation returns // properties of each orchestrator including verison and available upgrades. -// -// location is the name of a supported Azure region. resourceType is resource type for which the list of -// orchestrators needs to be returned +// Parameters: +// location - the name of a supported Azure region. +// resourceType - resource type for which the list of orchestrators needs to be returned func (client ContainerServicesClient) ListOrchestrators(ctx context.Context, location string, resourceType string) (result OrchestratorVersionProfileListResult, err error) { req, err := client.ListOrchestratorsPreparer(ctx, location, resourceType) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go index ad1a847e8cfc..1e03bc6dc9c5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice/managedclusters.go @@ -42,9 +42,10 @@ func NewManagedClustersClientWithBaseURI(baseURI string, subscriptionID string) // CreateOrUpdate creates or updates a managed cluster with the specified configuration for agents and Kubernetes // version. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the managed cluster resource. -// parameters is parameters supplied to the Create or Update a Managed Cluster operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the managed cluster resource. +// parameters - parameters supplied to the Create or Update a Managed Cluster operation. func (client ManagedClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parameters ManagedCluster) (result ManagedClustersCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -133,8 +134,9 @@ func (client ManagedClustersClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes the managed cluster with a specified resource group and name. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the managed cluster resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the managed cluster resource. func (client ManagedClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClustersDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -200,8 +202,9 @@ func (client ManagedClustersClient) DeleteResponder(resp *http.Response) (result } // Get gets the details of the managed cluster with a specified resource group and name. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the managed cluster resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the managed cluster resource. func (client ManagedClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedCluster, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -267,9 +270,10 @@ func (client ManagedClustersClient) GetResponder(resp *http.Response) (result Ma // GetAccessProfiles gets the accessProfile for the specified role name of the managed cluster with a specified // resource group and name. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the managed cluster resource. -// roleName is the name of the role for managed cluster accessProfile resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the managed cluster resource. +// roleName - the name of the role for managed cluster accessProfile resource. func (client ManagedClustersClient) GetAccessProfiles(ctx context.Context, resourceGroupName string, resourceName string, roleName string) (result ManagedClusterAccessProfile, err error) { req, err := client.GetAccessProfilesPreparer(ctx, resourceGroupName, resourceName, roleName) if err != nil { @@ -336,8 +340,9 @@ func (client ManagedClustersClient) GetAccessProfilesResponder(resp *http.Respon // GetUpgradeProfile gets the details of the upgrade profile for a managed cluster with a specified resource group and // name. -// -// resourceGroupName is the name of the resource group. resourceName is the name of the managed cluster resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceName - the name of the managed cluster resource. func (client ManagedClustersClient) GetUpgradeProfile(ctx context.Context, resourceGroupName string, resourceName string) (result ManagedClusterUpgradeProfile, err error) { req, err := client.GetUpgradeProfilePreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -494,8 +499,8 @@ func (client ManagedClustersClient) ListComplete(ctx context.Context) (result Ma // ListByResourceGroup lists managed clusters in the specified subscription and resource group. The operation returns // properties of each managed cluster. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client ManagedClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ManagedClusterListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go index 03a00d8d9492..2fd8131f1cfa 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collection.go @@ -41,9 +41,11 @@ func NewCollectionClientWithBaseURI(baseURI string, subscriptionID string) Colle } // ListMetricDefinitions retrieves metric defintions for the given collection. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. collectionRid is cosmos DB collection rid. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. func (client CollectionClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string) (result MetricDefinitionsListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -121,12 +123,14 @@ func (client CollectionClient) ListMetricDefinitionsResponder(resp *http.Respons } // ListMetrics retrieves the metrics determined by the given filter for the given database account and collection. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. collectionRid is cosmos DB collection rid. filter is an OData filter -// expression that describes a subset of metrics to return. The parameters that can be filtered are name.value -// (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported -// operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client CollectionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result MetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -205,11 +209,13 @@ func (client CollectionClient) ListMetricsResponder(resp *http.Response) (result } // ListUsages retrieves the usages (most recent storage data) for the given collection. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. collectionRid is cosmos DB collection rid. filter is an OData filter -// expression that describes a subset of usages to return. The supported parameter is name.value (name of the -// metric, can have an or of multiple names). +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// filter - an OData filter expression that describes a subset of usages to return. The supported parameter is +// name.value (name of the metric, can have an or of multiple names). func (client CollectionClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result UsagesResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go index e895d340ce46..8c1aab2512af 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartition.go @@ -41,12 +41,14 @@ func NewCollectionPartitionClientWithBaseURI(baseURI string, subscriptionID stri } // ListMetrics retrieves the metrics determined by the given filter for the given collection, split by partition. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. collectionRid is cosmos DB collection rid. filter is an OData filter -// expression that describes a subset of metrics to return. The parameters that can be filtered are name.value -// (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported -// operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client CollectionPartitionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result PartitionMetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -125,11 +127,13 @@ func (client CollectionPartitionClient) ListMetricsResponder(resp *http.Response } // ListUsages retrieves the usages (most recent storage data) for the given collection, split by partition. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. collectionRid is cosmos DB collection rid. filter is an OData filter -// expression that describes a subset of usages to return. The supported parameter is name.value (name of the -// metric, can have an or of multiple names). +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// filter - an OData filter expression that describes a subset of usages to return. The supported parameter is +// name.value (name of the metric, can have an or of multiple names). func (client CollectionPartitionClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result PartitionUsagesResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go index 46e010eaebff..6202ee61147f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionpartitionregion.go @@ -42,12 +42,15 @@ func NewCollectionPartitionRegionClientWithBaseURI(baseURI string, subscriptionI // ListMetrics retrieves the metrics determined by the given filter for the given collection and region, split by // partition. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. region is -// cosmos DB region, with spaces between words and each word capitalized. databaseRid is cosmos DB database rid. -// collectionRid is cosmos DB collection rid. filter is an OData filter expression that describes a subset of -// metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of -// multiple names), startTime, endTime, and timeGrain. The supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// region - cosmos DB region, with spaces between words and each word capitalized. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client CollectionPartitionRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (result PartitionMetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go index 3dfcb252e1f5..3877475c1c45 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/collectionregion.go @@ -42,12 +42,15 @@ func NewCollectionRegionClientWithBaseURI(baseURI string, subscriptionID string) // ListMetrics retrieves the metrics determined by the given filter for the given database account, collection and // region. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. region is -// cosmos DB region, with spaces between words and each word capitalized. databaseRid is cosmos DB database rid. -// collectionRid is cosmos DB collection rid. filter is an OData filter expression that describes a subset of -// metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of -// multiple names), startTime, endTime, and timeGrain. The supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// region - cosmos DB region, with spaces between words and each word capitalized. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client CollectionRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (result MetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go index d0615b1a004c..a8354a634984 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/database.go @@ -41,9 +41,10 @@ func NewDatabaseClientWithBaseURI(baseURI string, subscriptionID string) Databas } // ListMetricDefinitions retrieves metric defintions for the given database. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. func (client DatabaseClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result MetricDefinitionsListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -120,11 +121,13 @@ func (client DatabaseClient) ListMetricDefinitionsResponder(resp *http.Response) } // ListMetrics retrieves the metrics determined by the given filter for the given database account and database. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. filter is an OData filter expression that describes a subset of metrics -// to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple -// names), startTime, endTime, and timeGrain. The supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client DatabaseClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (result MetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -202,10 +205,12 @@ func (client DatabaseClient) ListMetricsResponder(resp *http.Response) (result M } // ListUsages retrieves the usages (most recent data) for the given database. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. filter is an OData filter expression that describes a subset of usages to -// return. The supported parameter is name.value (name of the metric, can have an or of multiple names). +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// filter - an OData filter expression that describes a subset of usages to return. The supported parameter is +// name.value (name of the metric, can have an or of multiple names). func (client DatabaseClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (result UsagesResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go index 221bdc7cfbaa..be1aa360e501 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccountregion.go @@ -41,11 +41,13 @@ func NewDatabaseAccountRegionClientWithBaseURI(baseURI string, subscriptionID st } // ListMetrics retrieves the metrics determined by the given filter for the given database account and region. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. region is -// cosmos DB region, with spaces between words and each word capitalized. filter is an OData filter expression that -// describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, -// can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// region - cosmos DB region, with spaces between words and each word capitalized. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client DatabaseAccountRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, filter string) (result MetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go index 42548e8cd67b..ca3c1b24d6bf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/databaseaccounts.go @@ -42,8 +42,8 @@ func NewDatabaseAccountsClientWithBaseURI(baseURI string, subscriptionID string) // CheckNameExists checks that the Azure Cosmos DB account name already exists. A valid account name may contain only // lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters. -// -// accountName is cosmos DB database account name. +// Parameters: +// accountName - cosmos DB database account name. func (client DatabaseAccountsClient) CheckNameExists(ctx context.Context, accountName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: accountName, @@ -112,9 +112,10 @@ func (client DatabaseAccountsClient) CheckNameExistsResponder(resp *http.Respons } // CreateOrUpdate creates or updates an Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// createUpdateParameters is the parameters to provide for the current database account. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// createUpdateParameters - the parameters to provide for the current database account. func (client DatabaseAccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, createUpdateParameters DatabaseAccountCreateUpdateParameters) (result DatabaseAccountsCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -209,8 +210,9 @@ func (client DatabaseAccountsClient) CreateOrUpdateResponder(resp *http.Response } // Delete deletes an existing Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. func (client DatabaseAccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountsDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -289,9 +291,10 @@ func (client DatabaseAccountsClient) DeleteResponder(resp *http.Response) (resul // FailoverPriorityChange changes the failover priority for the Azure Cosmos DB database account. A failover priority // of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover // priority values must be unique for each of the regions in which the database account exists. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// failoverParameters is the new failover policies for the database account. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// failoverParameters - the new failover policies for the database account. func (client DatabaseAccountsClient) FailoverPriorityChange(ctx context.Context, resourceGroupName string, accountName string, failoverParameters FailoverPolicies) (result DatabaseAccountsFailoverPriorityChangeFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -372,8 +375,9 @@ func (client DatabaseAccountsClient) FailoverPriorityChangeResponder(resp *http. } // Get retrieves the properties of an existing Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. func (client DatabaseAccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccount, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -511,8 +515,8 @@ func (client DatabaseAccountsClient) ListResponder(resp *http.Response) (result } // ListByResourceGroup lists all the Azure Cosmos DB database accounts available under the given resource group. -// -// resourceGroupName is name of an Azure resource group. +// Parameters: +// resourceGroupName - name of an Azure resource group. func (client DatabaseAccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DatabaseAccountsListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -584,8 +588,9 @@ func (client DatabaseAccountsClient) ListByResourceGroupResponder(resp *http.Res } // ListConnectionStrings lists the connection strings for the specified Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. func (client DatabaseAccountsClient) ListConnectionStrings(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountListConnectionStringsResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -661,8 +666,9 @@ func (client DatabaseAccountsClient) ListConnectionStringsResponder(resp *http.R } // ListKeys lists the access keys for the specified Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. func (client DatabaseAccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountListKeysResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -738,8 +744,9 @@ func (client DatabaseAccountsClient) ListKeysResponder(resp *http.Response) (res } // ListMetricDefinitions retrieves metric defintions for the given database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. func (client DatabaseAccountsClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string) (result MetricDefinitionsListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -815,11 +822,12 @@ func (client DatabaseAccountsClient) ListMetricDefinitionsResponder(resp *http.R } // ListMetrics retrieves the metrics determined by the given filter for the given database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. filter is -// an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are -// name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The -// supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client DatabaseAccountsClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string) (result MetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -896,8 +904,9 @@ func (client DatabaseAccountsClient) ListMetricsResponder(resp *http.Response) ( } // ListReadOnlyKeys lists the read-only access keys for the specified Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. func (client DatabaseAccountsClient) ListReadOnlyKeys(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountListReadOnlyKeysResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -973,10 +982,11 @@ func (client DatabaseAccountsClient) ListReadOnlyKeysResponder(resp *http.Respon } // ListUsages retrieves the usages (most recent data) for the given database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. filter is -// an OData filter expression that describes a subset of usages to return. The supported parameter is name.value -// (name of the metric, can have an or of multiple names). +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// filter - an OData filter expression that describes a subset of usages to return. The supported parameter is +// name.value (name of the metric, can have an or of multiple names). func (client DatabaseAccountsClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, filter string) (result UsagesResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1055,9 +1065,10 @@ func (client DatabaseAccountsClient) ListUsagesResponder(resp *http.Response) (r } // Patch patches the properties of an existing Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// updateParameters is the tags parameter to patch for the current database account. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// updateParameters - the tags parameter to patch for the current database account. func (client DatabaseAccountsClient) Patch(ctx context.Context, resourceGroupName string, accountName string, updateParameters DatabaseAccountPatchParameters) (result DatabaseAccountsPatchFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1137,9 +1148,10 @@ func (client DatabaseAccountsClient) PatchResponder(resp *http.Response) (result } // RegenerateKey regenerates an access key for the specified Azure Cosmos DB database account. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// keyToRegenerate is the name of the key to regenerate. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// keyToRegenerate - the name of the key to regenerate. func (client DatabaseAccountsClient) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, keyToRegenerate DatabaseAccountRegenerateKeyParameters) (result DatabaseAccountsRegenerateKeyFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go index b5cde0669a2e..e831e0925975 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/models.go @@ -420,10 +420,14 @@ type DatabaseAccountCreateUpdateProperties struct { DatabaseAccountOfferType *string `json:"databaseAccountOfferType,omitempty"` // IPRangeFilter - Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces. IPRangeFilter *string `json:"ipRangeFilter,omitempty"` + // IsVirtualNetworkFilterEnabled - Flag to indicate whether to enable/disable Virtual Network ACL rules. + IsVirtualNetworkFilterEnabled *bool `json:"isVirtualNetworkFilterEnabled,omitempty"` // EnableAutomaticFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. EnableAutomaticFailover *bool `json:"enableAutomaticFailover,omitempty"` // Capabilities - List of Cosmos DB capabilities for the account Capabilities *[]Capability `json:"capabilities,omitempty"` + // VirtualNetworkRules - List of Virtual Network ACL rules configured for the Cosmos DB account. + VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` } // DatabaseAccountListConnectionStringsResult the connection strings for the given database account. @@ -575,6 +579,8 @@ type DatabaseAccountProperties struct { DatabaseAccountOfferType DatabaseAccountOfferType `json:"databaseAccountOfferType,omitempty"` // IPRangeFilter - Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces. IPRangeFilter *string `json:"ipRangeFilter,omitempty"` + // IsVirtualNetworkFilterEnabled - Flag to indicate whether to enable/disable Virtual Network ACL rules. + IsVirtualNetworkFilterEnabled *bool `json:"isVirtualNetworkFilterEnabled,omitempty"` // EnableAutomaticFailover - Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account. EnableAutomaticFailover *bool `json:"enableAutomaticFailover,omitempty"` // ConsistencyPolicy - The consistency policy for the Cosmos DB database account. @@ -587,6 +593,8 @@ type DatabaseAccountProperties struct { ReadLocations *[]Location `json:"readLocations,omitempty"` // FailoverPolicies - An array that contains the regions ordered by their failover priorities. FailoverPolicies *[]FailoverPolicy `json:"failoverPolicies,omitempty"` + // VirtualNetworkRules - List of Virtual Network ACL rules configured for the Cosmos DB account. + VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` } // DatabaseAccountRegenerateKeyParameters parameters to regenerate the keys within the database account. @@ -1235,3 +1243,9 @@ type UsagesResult struct { // Value - The list of usages for the database. A usage is a point in time metric Value *[]Usage `json:"value,omitempty"` } + +// VirtualNetworkRule virtual Network ACL Rule object +type VirtualNetworkRule struct { + // ID - Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. + ID *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go index 1de1a9805665..f51432580480 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeid.go @@ -41,12 +41,15 @@ func NewPartitionKeyRangeIDClientWithBaseURI(baseURI string, subscriptionID stri } // ListMetrics retrieves the metrics determined by the given filter for the given partition key range id. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// databaseRid is cosmos DB database rid. collectionRid is cosmos DB collection rid. partitionKeyRangeID is -// partition Key Range Id for which to get data. filter is an OData filter expression that describes a subset of -// metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of -// multiple names), startTime, endTime, and timeGrain. The supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// partitionKeyRangeID - partition Key Range Id for which to get data. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client PartitionKeyRangeIDClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (result PartitionMetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go index c3067ba51c17..1592f6c455b7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/partitionkeyrangeidregion.go @@ -41,11 +41,14 @@ func NewPartitionKeyRangeIDRegionClientWithBaseURI(baseURI string, subscriptionI } // ListMetrics retrieves the metrics determined by the given filter for the given partition key range id and region. -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. region is -// cosmos DB region, with spaces between words and each word capitalized. databaseRid is cosmos DB database rid. -// collectionRid is cosmos DB collection rid. partitionKeyRangeID is partition Key Range Id for which to get data. -// filter is an OData filter expression that describes a subset of metrics to return. The parameters that can be +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// region - cosmos DB region, with spaces between words and each word capitalized. +// databaseRid - cosmos DB database rid. +// collectionRid - cosmos DB collection rid. +// partitionKeyRangeID - partition Key Range Id for which to get data. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be // filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and // timeGrain. The supported operator is eq. func (client PartitionKeyRangeIDRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (result PartitionMetricListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go index 07ddaa7c7a3b..9cf2be4657cc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentile.go @@ -42,11 +42,12 @@ func NewPercentileClientWithBaseURI(baseURI string, subscriptionID string) Perce // ListMetrics retrieves the metrics determined by the given filter for the given database account. This url is only // for PBS and Replication Latency data -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. filter is -// an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are -// name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The -// supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client PercentileClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string) (result PercentileMetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go index f913350181f6..31f1f3f6910e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentilesourcetarget.go @@ -42,13 +42,16 @@ func NewPercentileSourceTargetClientWithBaseURI(baseURI string, subscriptionID s // ListMetrics retrieves the metrics determined by the given filter for the given account, source and target region. // This url is only for PBS and Replication Latency data -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// sourceRegion is source region from which data is written. Cosmos DB region, with spaces between words and each -// word capitalized. targetRegion is target region to which data is written. Cosmos DB region, with spaces between -// words and each word capitalized. filter is an OData filter expression that describes a subset of metrics to -// return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple -// names), startTime, endTime, and timeGrain. The supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// sourceRegion - source region from which data is written. Cosmos DB region, with spaces between words and +// each word capitalized. +// targetRegion - target region to which data is written. Cosmos DB region, with spaces between words and each +// word capitalized. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client PercentileSourceTargetClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, sourceRegion string, targetRegion string, filter string) (result PercentileMetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go index 1357b5dcd2ea..61ca372b388a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/percentiletarget.go @@ -42,12 +42,14 @@ func NewPercentileTargetClientWithBaseURI(baseURI string, subscriptionID string) // ListMetrics retrieves the metrics determined by the given filter for the given account target region. This url is // only for PBS and Replication Latency data -// -// resourceGroupName is name of an Azure resource group. accountName is cosmos DB database account name. -// targetRegion is target region to which data is written. Cosmos DB region, with spaces between words and each -// word capitalized. filter is an OData filter expression that describes a subset of metrics to return. The -// parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), -// startTime, endTime, and timeGrain. The supported operator is eq. +// Parameters: +// resourceGroupName - name of an Azure resource group. +// accountName - cosmos DB database account name. +// targetRegion - target region to which data is written. Cosmos DB region, with spaces between words and each +// word capitalized. +// filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be +// filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and +// timeGrain. The supported operator is eq. func (client PercentileTargetClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, targetRegion string, filter string) (result PercentileMetricListResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/recordsets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/recordsets.go index 36e683114495..cd10b4004e73 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/recordsets.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/recordsets.go @@ -40,14 +40,17 @@ func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) Recor } // CreateOrUpdate creates or updates a record set within a DNS zone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). relativeRecordSetName is the name of the record set, relative to the name of the zone. recordType is the -// type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created -// when the DNS zone is created). parameters is parameters supplied to the CreateOrUpdate operation. ifMatch is the -// etag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen etag -// value to prevent accidentally overwritting any concurrent changes. ifNoneMatch is set to '*' to allow a new -// record set to be created, but to prevent updating an existing record set. Other values will be ignored. +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// relativeRecordSetName - the name of the record set, relative to the name of the zone. +// recordType - the type of DNS record in this record set. Record sets of type SOA can be updated but not +// created (they are created when the DNS zone is created). +// parameters - parameters supplied to the CreateOrUpdate operation. +// ifMatch - the etag of the record set. Omit this value to always overwrite the current record set. Specify +// the last-seen etag value to prevent accidentally overwritting any concurrent changes. +// ifNoneMatch - set to '*' to allow a new record set to be created, but to prevent updating an existing record +// set. Other values will be ignored. func (client RecordSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, zoneName string, relativeRecordSetName string, recordType RecordType, parameters RecordSet, ifMatch string, ifNoneMatch string) (result RecordSet, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, zoneName, relativeRecordSetName, recordType, parameters, ifMatch, ifNoneMatch) if err != nil { @@ -124,12 +127,14 @@ func (client RecordSetsClient) CreateOrUpdateResponder(resp *http.Response) (res } // Delete deletes a record set from a DNS zone. This operation cannot be undone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). relativeRecordSetName is the name of the record set, relative to the name of the zone. recordType is the -// type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS -// zone is deleted). ifMatch is the etag of the record set. Omit this value to always delete the current record -// set. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// relativeRecordSetName - the name of the record set, relative to the name of the zone. +// recordType - the type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are +// deleted when the DNS zone is deleted). +// ifMatch - the etag of the record set. Omit this value to always delete the current record set. Specify the +// last-seen etag value to prevent accidentally deleting any concurrent changes. func (client RecordSetsClient) Delete(ctx context.Context, resourceGroupName string, zoneName string, relativeRecordSetName string, recordType RecordType, ifMatch string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, zoneName, relativeRecordSetName, recordType, ifMatch) if err != nil { @@ -199,10 +204,11 @@ func (client RecordSetsClient) DeleteResponder(resp *http.Response) (result auto } // Get gets a record set. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). relativeRecordSetName is the name of the record set, relative to the name of the zone. recordType is the -// type of DNS record in this record set. +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// relativeRecordSetName - the name of the record set, relative to the name of the zone. +// recordType - the type of DNS record in this record set. func (client RecordSetsClient) Get(ctx context.Context, resourceGroupName string, zoneName string, relativeRecordSetName string, recordType RecordType) (result RecordSet, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, zoneName, relativeRecordSetName, recordType) if err != nil { @@ -269,10 +275,11 @@ func (client RecordSetsClient) GetResponder(resp *http.Response) (result RecordS } // ListByDNSZone lists all record sets in a DNS zone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). top is the maximum number of record sets to return. If not specified, returns up to 100 record sets. -// recordsetnamesuffix is the suffix label of the record set name that has to be used to filter the record set +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// top - the maximum number of record sets to return. If not specified, returns up to 100 record sets. +// recordsetnamesuffix - the suffix label of the record set name that has to be used to filter the record set // enumerations. If this parameter is specified, Enumeration will return only records that end with // . func (client RecordSetsClient) ListByDNSZone(ctx context.Context, resourceGroupName string, zoneName string, top *int32, recordsetnamesuffix string) (result RecordSetListResultPage, err error) { @@ -373,12 +380,14 @@ func (client RecordSetsClient) ListByDNSZoneComplete(ctx context.Context, resour } // ListByType lists the record sets of a specified type in a DNS zone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). recordType is the type of record sets to enumerate. top is the maximum number of record sets to return. If -// not specified, returns up to 100 record sets. recordsetnamesuffix is the suffix label of the record set name -// that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will -// return only records that end with . +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// recordType - the type of record sets to enumerate. +// top - the maximum number of record sets to return. If not specified, returns up to 100 record sets. +// recordsetnamesuffix - the suffix label of the record set name that has to be used to filter the record set +// enumerations. If this parameter is specified, Enumeration will return only records that end with +// . func (client RecordSetsClient) ListByType(ctx context.Context, resourceGroupName string, zoneName string, recordType RecordType, top *int32, recordsetnamesuffix string) (result RecordSetListResultPage, err error) { result.fn = client.listByTypeNextResults req, err := client.ListByTypePreparer(ctx, resourceGroupName, zoneName, recordType, top, recordsetnamesuffix) @@ -478,12 +487,14 @@ func (client RecordSetsClient) ListByTypeComplete(ctx context.Context, resourceG } // Update updates a record set within a DNS zone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). relativeRecordSetName is the name of the record set, relative to the name of the zone. recordType is the -// type of DNS record in this record set. parameters is parameters supplied to the Update operation. ifMatch is the -// etag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen etag -// value to prevent accidentally overwritting concurrent changes. +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// relativeRecordSetName - the name of the record set, relative to the name of the zone. +// recordType - the type of DNS record in this record set. +// parameters - parameters supplied to the Update operation. +// ifMatch - the etag of the record set. Omit this value to always overwrite the current record set. Specify +// the last-seen etag value to prevent accidentally overwritting concurrent changes. func (client RecordSetsClient) Update(ctx context.Context, resourceGroupName string, zoneName string, relativeRecordSetName string, recordType RecordType, parameters RecordSet, ifMatch string) (result RecordSet, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, zoneName, relativeRecordSetName, recordType, parameters, ifMatch) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/zones.go b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/zones.go index c109156f0003..d085c1784a10 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/zones.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/zones.go @@ -40,12 +40,14 @@ func NewZonesClientWithBaseURI(baseURI string, subscriptionID string) ZonesClien } // CreateOrUpdate creates or updates a DNS zone. Does not modify DNS records within the zone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). parameters is parameters supplied to the CreateOrUpdate operation. ifMatch is the etag of the DNS zone. -// Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally -// overwritting any concurrent changes. ifNoneMatch is set to '*' to allow a new DNS zone to be created, but to -// prevent updating an existing zone. Other values will be ignored. +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// parameters - parameters supplied to the CreateOrUpdate operation. +// ifMatch - the etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the +// last-seen etag value to prevent accidentally overwritting any concurrent changes. +// ifNoneMatch - set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. +// Other values will be ignored. func (client ZonesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, zoneName string, parameters Zone, ifMatch string, ifNoneMatch string) (result Zone, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, zoneName, parameters, ifMatch, ifNoneMatch) if err != nil { @@ -121,10 +123,11 @@ func (client ZonesClient) CreateOrUpdateResponder(resp *http.Response) (result Z // Delete deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be // undone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). ifMatch is the etag of the DNS zone. Omit this value to always delete the current zone. Specify the -// last-seen etag value to prevent accidentally deleting any concurrent changes. +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). +// ifMatch - the etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen +// etag value to prevent accidentally deleting any concurrent changes. func (client ZonesClient) Delete(ctx context.Context, resourceGroupName string, zoneName string, ifMatch string) (result ZonesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, zoneName, ifMatch) if err != nil { @@ -195,9 +198,9 @@ func (client ZonesClient) DeleteResponder(resp *http.Response) (result ZoneDelet } // Get gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone. -// -// resourceGroupName is the name of the resource group. zoneName is the name of the DNS zone (without a terminating -// dot). +// Parameters: +// resourceGroupName - the name of the resource group. +// zoneName - the name of the DNS zone (without a terminating dot). func (client ZonesClient) Get(ctx context.Context, resourceGroupName string, zoneName string) (result Zone, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, zoneName) if err != nil { @@ -262,8 +265,8 @@ func (client ZonesClient) GetResponder(resp *http.Response) (result Zone, err er } // List lists the DNS zones in all resource groups in a subscription. -// -// top is the maximum number of DNS zones to return. If not specified, returns up to 100 zones. +// Parameters: +// top - the maximum number of DNS zones to return. If not specified, returns up to 100 zones. func (client ZonesClient) List(ctx context.Context, top *int32) (result ZoneListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, top) @@ -357,9 +360,9 @@ func (client ZonesClient) ListComplete(ctx context.Context, top *int32) (result } // ListByResourceGroup lists the DNS zones within a resource group. -// -// resourceGroupName is the name of the resource group. top is the maximum number of record sets to return. If not -// specified, returns up to 100 record sets. +// Parameters: +// resourceGroupName - the name of the resource group. +// top - the maximum number of record sets to return. If not specified, returns up to 100 record sets. func (client ZonesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, top *int32) (result ZoneListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName, top) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/client.go index 48762abb3fc9..7151f5f4a2ba 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/client.go @@ -29,6 +29,7 @@ const ( DefaultBaseURI = "https://management.azure.com" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // BaseClient is the base client for Eventgrid. type BaseClient struct { autorest.Client @@ -36,11 +37,13 @@ type BaseClient struct { SubscriptionID string } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // New creates an instance of the BaseClient client. func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/eventsubscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/eventsubscriptions.go index 5d91ce184ba3..51ea2ae7ec67 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/eventsubscriptions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/eventsubscriptions.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionsClient is the azure EventGrid Management Client type EventSubscriptionsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewEventSubscriptionsClient creates an instance of the EventSubscriptionsClient client. func NewEventSubscriptionsClient(subscriptionID string) EventSubscriptionsClient { return NewEventSubscriptionsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewEventSubscriptionsClientWithBaseURI creates an instance of the EventSubscriptionsClient client. func NewEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) EventSubscriptionsClient { return EventSubscriptionsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Create asynchronously creates a new event subscription to the specified scope. Existing event subscriptions cannot // be updated with this API and should instead use the Update event subscription API. // @@ -68,6 +72,7 @@ func (client EventSubscriptionsClient) Create(ctx context.Context, scope string, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // CreatePreparer prepares the Create request. func (client EventSubscriptionsClient) CreatePreparer(ctx context.Context, scope string, eventSubscriptionName string, eventSubscriptionInfo EventSubscription) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client EventSubscriptionsClient) CreatePreparer(ctx context.Context, scope return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // CreateSender sends the Create request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) CreateSender(req *http.Request) (future EventSubscriptionsCreateFuture, err error) { @@ -105,6 +111,7 @@ func (client EventSubscriptionsClient) CreateSender(req *http.Request) (future E return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // CreateResponder handles the response to the Create request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) CreateResponder(resp *http.Response) (result EventSubscription, err error) { @@ -118,6 +125,7 @@ func (client EventSubscriptionsClient) CreateResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Delete delete an existing event subscription // // scope is the scope of the event subscription. The scope can be a subscription, or a resource group, or a top @@ -144,6 +152,7 @@ func (client EventSubscriptionsClient) Delete(ctx context.Context, scope string, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // DeletePreparer prepares the Delete request. func (client EventSubscriptionsClient) DeletePreparer(ctx context.Context, scope string, eventSubscriptionName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -164,6 +173,7 @@ func (client EventSubscriptionsClient) DeletePreparer(ctx context.Context, scope return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) DeleteSender(req *http.Request) (future EventSubscriptionsDeleteFuture, err error) { @@ -179,6 +189,7 @@ func (client EventSubscriptionsClient) DeleteSender(req *http.Request) (future E return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -191,6 +202,7 @@ func (client EventSubscriptionsClient) DeleteResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Get get properties of an event subscription // // scope is the scope of the event subscription. The scope can be a subscription, or a resource group, or a top @@ -223,6 +235,7 @@ func (client EventSubscriptionsClient) Get(ctx context.Context, scope string, ev return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetPreparer prepares the Get request. func (client EventSubscriptionsClient) GetPreparer(ctx context.Context, scope string, eventSubscriptionName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -243,6 +256,7 @@ func (client EventSubscriptionsClient) GetPreparer(ctx context.Context, scope st return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -250,6 +264,7 @@ func (client EventSubscriptionsClient) GetSender(req *http.Request) (*http.Respo autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) GetResponder(resp *http.Response) (result EventSubscription, err error) { @@ -263,6 +278,7 @@ func (client EventSubscriptionsClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetFullURL get the full endpoint URL for an event subscription // // scope is the scope of the event subscription. The scope can be a subscription, or a resource group, or a top @@ -295,6 +311,7 @@ func (client EventSubscriptionsClient) GetFullURL(ctx context.Context, scope str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetFullURLPreparer prepares the GetFullURL request. func (client EventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, scope string, eventSubscriptionName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -315,6 +332,7 @@ func (client EventSubscriptionsClient) GetFullURLPreparer(ctx context.Context, s return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetFullURLSender sends the GetFullURL request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error) { @@ -322,6 +340,7 @@ func (client EventSubscriptionsClient) GetFullURLSender(req *http.Request) (*htt autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetFullURLResponder handles the response to the GetFullURL request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) GetFullURLResponder(resp *http.Response) (result EventSubscriptionFullURL, err error) { @@ -335,6 +354,7 @@ func (client EventSubscriptionsClient) GetFullURLResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResource list all event subscriptions that have been created for a specific topic // // resourceGroupName is the name of the resource group within the user's subscription. providerNamespace is @@ -362,6 +382,7 @@ func (client EventSubscriptionsClient) ListByResource(ctx context.Context, resou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResourcePreparer prepares the ListByResource request. func (client EventSubscriptionsClient) ListByResourcePreparer(ctx context.Context, resourceGroupName string, providerNamespace string, resourceTypeName string, resourceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -385,6 +406,7 @@ func (client EventSubscriptionsClient) ListByResourcePreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResourceSender sends the ListByResource request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListByResourceSender(req *http.Request) (*http.Response, error) { @@ -392,6 +414,7 @@ func (client EventSubscriptionsClient) ListByResourceSender(req *http.Request) ( azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResourceResponder handles the response to the ListByResource request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListByResourceResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -405,6 +428,7 @@ func (client EventSubscriptionsClient) ListByResourceResponder(resp *http.Respon return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroup list all global event subscriptions under a specific Azure subscription and resource group // // resourceGroupName is the name of the resource group within the user's subscription. @@ -430,6 +454,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroup(ctx context.Con return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroupPreparer prepares the ListGlobalByResourceGroup request. func (client EventSubscriptionsClient) ListGlobalByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -450,6 +475,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupPreparer(ctx con return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroupSender sends the ListGlobalByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListGlobalByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -457,6 +483,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupSender(req *http azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroupResponder handles the response to the ListGlobalByResourceGroup request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListGlobalByResourceGroupResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -470,6 +497,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupResponder(resp * return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroupForTopicType list all global event subscriptions under a resource group for a specific // topic type. // @@ -497,6 +525,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicType(ctx return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroupForTopicTypePreparer prepares the ListGlobalByResourceGroupForTopicType request. func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypePreparer(ctx context.Context, resourceGroupName string, topicTypeName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -518,6 +547,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypePrep return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroupForTopicTypeSender sends the ListGlobalByResourceGroupForTopicType request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeSender(req *http.Request) (*http.Response, error) { @@ -525,6 +555,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeSend azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalByResourceGroupForTopicTypeResponder handles the response to the ListGlobalByResourceGroupForTopicType request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -538,6 +569,7 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeResp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscription list all aggregated global event subscriptions under a specific Azure subscription func (client EventSubscriptionsClient) ListGlobalBySubscription(ctx context.Context) (result EventSubscriptionsListResult, err error) { req, err := client.ListGlobalBySubscriptionPreparer(ctx) @@ -561,6 +593,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscription(ctx context.Cont return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscriptionPreparer prepares the ListGlobalBySubscription request. func (client EventSubscriptionsClient) ListGlobalBySubscriptionPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -580,6 +613,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionPreparer(ctx cont return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscriptionSender sends the ListGlobalBySubscription request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListGlobalBySubscriptionSender(req *http.Request) (*http.Response, error) { @@ -587,6 +621,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionSender(req *http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscriptionResponder handles the response to the ListGlobalBySubscription request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListGlobalBySubscriptionResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -600,6 +635,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionResponder(resp *h return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscriptionForTopicType list all global event subscriptions under an Azure subscription for a topic // type. // @@ -626,6 +662,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicType(ctx return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscriptionForTopicTypePreparer prepares the ListGlobalBySubscriptionForTopicType request. func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypePreparer(ctx context.Context, topicTypeName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -646,6 +683,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypePrepa return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscriptionForTopicTypeSender sends the ListGlobalBySubscriptionForTopicType request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeSender(req *http.Request) (*http.Response, error) { @@ -653,6 +691,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeSende azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListGlobalBySubscriptionForTopicTypeResponder handles the response to the ListGlobalBySubscriptionForTopicType request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -666,6 +705,7 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeRespo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroup list all event subscriptions from the given location under a specific Azure subscription // and resource group // @@ -693,6 +733,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroup(ctx context.C return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroupPreparer prepares the ListRegionalByResourceGroup request. func (client EventSubscriptionsClient) ListRegionalByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -714,6 +755,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupPreparer(ctx c return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroupSender sends the ListRegionalByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListRegionalByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -721,6 +763,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupSender(req *ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroupResponder handles the response to the ListRegionalByResourceGroup request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListRegionalByResourceGroupResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -734,6 +777,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupResponder(resp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroupForTopicType list all event subscriptions from the given location under a specific Azure // subscription and resource group and topic type // @@ -761,6 +805,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicType(c return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroupForTopicTypePreparer prepares the ListRegionalByResourceGroupForTopicType request. func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypePreparer(ctx context.Context, resourceGroupName string, location string, topicTypeName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -783,6 +828,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypePr return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroupForTopicTypeSender sends the ListRegionalByResourceGroupForTopicType request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeSender(req *http.Request) (*http.Response, error) { @@ -790,6 +836,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeSe azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalByResourceGroupForTopicTypeResponder handles the response to the ListRegionalByResourceGroupForTopicType request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -803,6 +850,7 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeRe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscription list all event subscriptions from the given location under a specific Azure subscription // // location is name of the location @@ -828,6 +876,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscription(ctx context.Co return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscriptionPreparer prepares the ListRegionalBySubscription request. func (client EventSubscriptionsClient) ListRegionalBySubscriptionPreparer(ctx context.Context, location string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -848,6 +897,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionPreparer(ctx co return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscriptionSender sends the ListRegionalBySubscription request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListRegionalBySubscriptionSender(req *http.Request) (*http.Response, error) { @@ -855,6 +905,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionSender(req *htt azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscriptionResponder handles the response to the ListRegionalBySubscription request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListRegionalBySubscriptionResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -868,6 +919,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionResponder(resp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscriptionForTopicType list all event subscriptions from the given location under a specific Azure // subscription and topic type. // @@ -894,6 +946,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicType(ct return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscriptionForTopicTypePreparer prepares the ListRegionalBySubscriptionForTopicType request. func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypePreparer(ctx context.Context, location string, topicTypeName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -915,6 +968,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypePre return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscriptionForTopicTypeSender sends the ListRegionalBySubscriptionForTopicType request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeSender(req *http.Request) (*http.Response, error) { @@ -922,6 +976,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeSen azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListRegionalBySubscriptionForTopicTypeResponder handles the response to the ListRegionalBySubscriptionForTopicType request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeResponder(resp *http.Response) (result EventSubscriptionsListResult, err error) { @@ -935,6 +990,7 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeRes return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Update asynchronously updates an existing event subscription. // // scope is the scope of existing event subscription. The scope can be a subscription, or a resource group, or a @@ -962,6 +1018,7 @@ func (client EventSubscriptionsClient) Update(ctx context.Context, scope string, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UpdatePreparer prepares the Update request. func (client EventSubscriptionsClient) UpdatePreparer(ctx context.Context, scope string, eventSubscriptionName string, eventSubscriptionUpdateParameters EventSubscriptionUpdateParameters) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -984,6 +1041,7 @@ func (client EventSubscriptionsClient) UpdatePreparer(ctx context.Context, scope return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client EventSubscriptionsClient) UpdateSender(req *http.Request) (future EventSubscriptionsUpdateFuture, err error) { @@ -999,6 +1057,7 @@ func (client EventSubscriptionsClient) UpdateSender(req *http.Request) (future E return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client EventSubscriptionsClient) UpdateResponder(resp *http.Response) (result EventSubscription, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go index c0856820e8c4..aeec2b1758aa 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EndpointType enumerates the values for endpoint type. type EndpointType string @@ -36,11 +37,13 @@ const ( EndpointTypeWebHook EndpointType = "WebHook" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type. func PossibleEndpointTypeValues() []EndpointType { return []EndpointType{EndpointTypeEventHub, EndpointTypeEventSubscriptionDestination, EndpointTypeWebHook} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionProvisioningState enumerates the values for event subscription provisioning state. type EventSubscriptionProvisioningState string @@ -59,11 +62,13 @@ const ( Updating EventSubscriptionProvisioningState = "Updating" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // PossibleEventSubscriptionProvisioningStateValues returns an array of possible values for the EventSubscriptionProvisioningState const type. func PossibleEventSubscriptionProvisioningStateValues() []EventSubscriptionProvisioningState { return []EventSubscriptionProvisioningState{Canceled, Creating, Deleting, Failed, Succeeded, Updating} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // OperationOrigin enumerates the values for operation origin. type OperationOrigin string @@ -76,11 +81,13 @@ const ( UserAndSystem OperationOrigin = "UserAndSystem" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type. func PossibleOperationOriginValues() []OperationOrigin { return []OperationOrigin{System, User, UserAndSystem} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ResourceRegionType enumerates the values for resource region type. type ResourceRegionType string @@ -91,11 +98,13 @@ const ( RegionalResource ResourceRegionType = "RegionalResource" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // PossibleResourceRegionTypeValues returns an array of possible values for the ResourceRegionType const type. func PossibleResourceRegionTypeValues() []ResourceRegionType { return []ResourceRegionType{GlobalResource, RegionalResource} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicProvisioningState enumerates the values for topic provisioning state. type TopicProvisioningState string @@ -114,11 +123,13 @@ const ( TopicProvisioningStateUpdating TopicProvisioningState = "Updating" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // PossibleTopicProvisioningStateValues returns an array of possible values for the TopicProvisioningState const type. func PossibleTopicProvisioningStateValues() []TopicProvisioningState { return []TopicProvisioningState{TopicProvisioningStateCanceled, TopicProvisioningStateCreating, TopicProvisioningStateDeleting, TopicProvisioningStateFailed, TopicProvisioningStateSucceeded, TopicProvisioningStateUpdating} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicTypeProvisioningState enumerates the values for topic type provisioning state. type TopicTypeProvisioningState string @@ -137,11 +148,13 @@ const ( TopicTypeProvisioningStateUpdating TopicTypeProvisioningState = "Updating" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // PossibleTopicTypeProvisioningStateValues returns an array of possible values for the TopicTypeProvisioningState const type. func PossibleTopicTypeProvisioningStateValues() []TopicTypeProvisioningState { return []TopicTypeProvisioningState{TopicTypeProvisioningStateCanceled, TopicTypeProvisioningStateCreating, TopicTypeProvisioningStateDeleting, TopicTypeProvisioningStateFailed, TopicTypeProvisioningStateSucceeded, TopicTypeProvisioningStateUpdating} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventHubEventSubscriptionDestination information about the event hub destination for an event subscription type EventHubEventSubscriptionDestination struct { // EventHubEventSubscriptionDestinationProperties - Event Hub Properties of the event subscription destination @@ -150,6 +163,7 @@ type EventHubEventSubscriptionDestination struct { EndpointType EndpointType `json:"endpointType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for EventHubEventSubscriptionDestination. func (ehesd EventHubEventSubscriptionDestination) MarshalJSON() ([]byte, error) { ehesd.EndpointType = EndpointTypeEventHub @@ -163,26 +177,31 @@ func (ehesd EventHubEventSubscriptionDestination) MarshalJSON() ([]byte, error) return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination. func (ehesd EventHubEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination. func (ehesd EventHubEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool) { return &ehesd, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination. func (ehesd EventHubEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventHubEventSubscriptionDestination. func (ehesd EventHubEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool) { return &ehesd, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for EventHubEventSubscriptionDestination struct. func (ehesd *EventHubEventSubscriptionDestination) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -216,12 +235,14 @@ func (ehesd *EventHubEventSubscriptionDestination) UnmarshalJSON(body []byte) er return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventHubEventSubscriptionDestinationProperties the properties for a event hub destination. type EventHubEventSubscriptionDestinationProperties struct { // ResourceID - The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription. ResourceID *string `json:"resourceId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscription event Subscription type EventSubscription struct { autorest.Response `json:"-"` @@ -235,6 +256,7 @@ type EventSubscription struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for EventSubscription. func (es EventSubscription) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -253,6 +275,7 @@ func (es EventSubscription) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for EventSubscription struct. func (es *EventSubscription) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -304,6 +327,7 @@ func (es *EventSubscription) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // BasicEventSubscriptionDestination information about the destination for an event subscription type BasicEventSubscriptionDestination interface { AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool) @@ -311,6 +335,7 @@ type BasicEventSubscriptionDestination interface { AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionDestination information about the destination for an event subscription type EventSubscriptionDestination struct { // EndpointType - Possible values include: 'EndpointTypeEventSubscriptionDestination', 'EndpointTypeWebHook', 'EndpointTypeEventHub' @@ -358,6 +383,7 @@ func unmarshalBasicEventSubscriptionDestinationArray(body []byte) ([]BasicEventS return esdArray, nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for EventSubscriptionDestination. func (esd EventSubscriptionDestination) MarshalJSON() ([]byte, error) { esd.EndpointType = EndpointTypeEventSubscriptionDestination @@ -368,26 +394,31 @@ func (esd EventSubscriptionDestination) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination. func (esd EventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination. func (esd EventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination. func (esd EventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool) { return &esd, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for EventSubscriptionDestination. func (esd EventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool) { return &esd, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionFilter filter for the Event Subscription type EventSubscriptionFilter struct { // SubjectBeginsWith - An optional string to filter events for an event subscription based on a resource path prefix. @@ -405,6 +436,7 @@ type EventSubscriptionFilter struct { IsSubjectCaseSensitive *bool `json:"isSubjectCaseSensitive,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionFullURL full endpoint url of an event subscription type EventSubscriptionFullURL struct { autorest.Response `json:"-"` @@ -412,6 +444,7 @@ type EventSubscriptionFullURL struct { EndpointURL *string `json:"endpointUrl,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionProperties properties of the Event Subscription type EventSubscriptionProperties struct { // Topic - Name of the topic of the event subscription. @@ -426,6 +459,7 @@ type EventSubscriptionProperties struct { Labels *[]string `json:"labels,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for EventSubscriptionProperties struct. func (esp *EventSubscriptionProperties) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -485,6 +519,7 @@ func (esp *EventSubscriptionProperties) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionsCreateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type EventSubscriptionsCreateFuture struct { @@ -492,6 +527,7 @@ type EventSubscriptionsCreateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future EventSubscriptionsCreateFuture) Result(client EventSubscriptionsClient) (es EventSubscription, err error) { @@ -534,6 +570,7 @@ func (future EventSubscriptionsCreateFuture) Result(client EventSubscriptionsCli return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type EventSubscriptionsDeleteFuture struct { @@ -541,6 +578,7 @@ type EventSubscriptionsDeleteFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future EventSubscriptionsDeleteFuture) Result(client EventSubscriptionsClient) (ar autorest.Response, err error) { @@ -583,6 +621,7 @@ func (future EventSubscriptionsDeleteFuture) Result(client EventSubscriptionsCli return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionsListResult result of the List EventSubscriptions operation type EventSubscriptionsListResult struct { autorest.Response `json:"-"` @@ -590,6 +629,7 @@ type EventSubscriptionsListResult struct { Value *[]EventSubscription `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type EventSubscriptionsUpdateFuture struct { @@ -597,6 +637,7 @@ type EventSubscriptionsUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future EventSubscriptionsUpdateFuture) Result(client EventSubscriptionsClient) (es EventSubscription, err error) { @@ -639,6 +680,7 @@ func (future EventSubscriptionsUpdateFuture) Result(client EventSubscriptionsCli return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventSubscriptionUpdateParameters properties of the Event Subscription update type EventSubscriptionUpdateParameters struct { // Destination - Information about the destination where events have to be delivered for the event subscription. @@ -649,6 +691,7 @@ type EventSubscriptionUpdateParameters struct { Labels *[]string `json:"labels,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for EventSubscriptionUpdateParameters struct. func (esup *EventSubscriptionUpdateParameters) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -690,6 +733,7 @@ func (esup *EventSubscriptionUpdateParameters) UnmarshalJSON(body []byte) error return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventType event Type for a subject under a topic type EventType struct { // EventTypeProperties - Properties of the event type. @@ -702,6 +746,7 @@ type EventType struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for EventType. func (et EventType) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -720,6 +765,7 @@ func (et EventType) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for EventType struct. func (et *EventType) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -771,6 +817,7 @@ func (et *EventType) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventTypeProperties properties of the event type type EventTypeProperties struct { // DisplayName - Display name of the event type. @@ -781,6 +828,7 @@ type EventTypeProperties struct { SchemaURL *string `json:"schemaUrl,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // EventTypesListResult result of the List Event Types operation type EventTypesListResult struct { autorest.Response `json:"-"` @@ -788,6 +836,7 @@ type EventTypesListResult struct { Value *[]EventType `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Operation represents an operation returned by the GetOperations request type Operation struct { // Name - Name of the operation @@ -800,6 +849,7 @@ type Operation struct { Properties interface{} `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // OperationInfo information about an operation type OperationInfo struct { // Provider - Name of the provider @@ -812,6 +862,7 @@ type OperationInfo struct { Description *string `json:"description,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // OperationsListResult result of the List Operations operation type OperationsListResult struct { autorest.Response `json:"-"` @@ -819,6 +870,7 @@ type OperationsListResult struct { Value *[]Operation `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Resource definition of a Resource type Resource struct { // ID - Fully qualified identifier of the resource @@ -829,6 +881,7 @@ type Resource struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Topic eventGrid Topic type Topic struct { autorest.Response `json:"-"` @@ -846,6 +899,7 @@ type Topic struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for Topic. func (t Topic) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -870,6 +924,7 @@ func (t Topic) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for Topic struct. func (t *Topic) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -939,6 +994,7 @@ func (t *Topic) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicProperties properties of the Topic type TopicProperties struct { // ProvisioningState - Provisioning state of the topic. Possible values include: 'TopicProvisioningStateCreating', 'TopicProvisioningStateUpdating', 'TopicProvisioningStateDeleting', 'TopicProvisioningStateSucceeded', 'TopicProvisioningStateCanceled', 'TopicProvisioningStateFailed' @@ -947,18 +1003,21 @@ type TopicProperties struct { Endpoint *string `json:"endpoint,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicRegenerateKeyRequest topic regenerate share access key key request type TopicRegenerateKeyRequest struct { // KeyName - Key name to regenerate key1 or key2 KeyName *string `json:"keyName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type TopicsCreateOrUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future TopicsCreateOrUpdateFuture) Result(client TopicsClient) (t Topic, err error) { @@ -1001,12 +1060,14 @@ func (future TopicsCreateOrUpdateFuture) Result(client TopicsClient) (t Topic, e return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type TopicsDeleteFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future TopicsDeleteFuture) Result(client TopicsClient) (ar autorest.Response, err error) { @@ -1049,6 +1110,7 @@ func (future TopicsDeleteFuture) Result(client TopicsClient) (ar autorest.Respon return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicSharedAccessKeys shared access keys of the Topic type TopicSharedAccessKeys struct { autorest.Response `json:"-"` @@ -1058,6 +1120,7 @@ type TopicSharedAccessKeys struct { Key2 *string `json:"key2,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicsListResult result of the List Topics operation type TopicsListResult struct { autorest.Response `json:"-"` @@ -1065,12 +1128,14 @@ type TopicsListResult struct { Value *[]Topic `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type TopicsUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future TopicsUpdateFuture) Result(client TopicsClient) (t Topic, err error) { @@ -1113,6 +1178,7 @@ func (future TopicsUpdateFuture) Result(client TopicsClient) (t Topic, err error return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicTypeInfo properties of a topic type info. type TopicTypeInfo struct { autorest.Response `json:"-"` @@ -1126,6 +1192,7 @@ type TopicTypeInfo struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for TopicTypeInfo. func (tti TopicTypeInfo) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1144,6 +1211,7 @@ func (tti TopicTypeInfo) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for TopicTypeInfo struct. func (tti *TopicTypeInfo) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1195,6 +1263,7 @@ func (tti *TopicTypeInfo) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicTypeProperties properties of a topic type. type TopicTypeProperties struct { // Provider - Namespace of the provider of the topic type. @@ -1211,6 +1280,7 @@ type TopicTypeProperties struct { SupportedLocations *[]string `json:"supportedLocations,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicTypesListResult result of the List Topic Types operation type TopicTypesListResult struct { autorest.Response `json:"-"` @@ -1218,12 +1288,14 @@ type TopicTypesListResult struct { Value *[]TopicTypeInfo `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicUpdateParameters properties of the Topic update type TopicUpdateParameters struct { // Tags - Tags of the resource Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for TopicUpdateParameters. func (tup TopicUpdateParameters) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1233,6 +1305,7 @@ func (tup TopicUpdateParameters) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TrackedResource definition of a Tracked Resource type TrackedResource struct { // Location - Location of the resource @@ -1247,6 +1320,7 @@ type TrackedResource struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for TrackedResource. func (tr TrackedResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1268,6 +1342,7 @@ func (tr TrackedResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // WebHookEventSubscriptionDestination information about the webhook destination for an event subscription type WebHookEventSubscriptionDestination struct { // WebHookEventSubscriptionDestinationProperties - WebHook Properties of the event subscription destination @@ -1276,6 +1351,7 @@ type WebHookEventSubscriptionDestination struct { EndpointType EndpointType `json:"endpointType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // MarshalJSON is the custom marshaler for WebHookEventSubscriptionDestination. func (whesd WebHookEventSubscriptionDestination) MarshalJSON() ([]byte, error) { whesd.EndpointType = EndpointTypeWebHook @@ -1289,26 +1365,31 @@ func (whesd WebHookEventSubscriptionDestination) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsWebHookEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination. func (whesd WebHookEventSubscriptionDestination) AsWebHookEventSubscriptionDestination() (*WebHookEventSubscriptionDestination, bool) { return &whesd, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsEventHubEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination. func (whesd WebHookEventSubscriptionDestination) AsEventHubEventSubscriptionDestination() (*EventHubEventSubscriptionDestination, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination. func (whesd WebHookEventSubscriptionDestination) AsEventSubscriptionDestination() (*EventSubscriptionDestination, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // AsBasicEventSubscriptionDestination is the BasicEventSubscriptionDestination implementation for WebHookEventSubscriptionDestination. func (whesd WebHookEventSubscriptionDestination) AsBasicEventSubscriptionDestination() (BasicEventSubscriptionDestination, bool) { return &whesd, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UnmarshalJSON is the custom unmarshaler for WebHookEventSubscriptionDestination struct. func (whesd *WebHookEventSubscriptionDestination) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1342,6 +1423,7 @@ func (whesd *WebHookEventSubscriptionDestination) UnmarshalJSON(body []byte) err return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // WebHookEventSubscriptionDestinationProperties information about the webhook destination properties for an event // subscription type WebHookEventSubscriptionDestinationProperties struct { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/operations.go index 1e2cbc609c1e..14ae5d15eb90 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/operations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/operations.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // OperationsClient is the azure EventGrid Management Client type OperationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewOperationsClient creates an instance of the OperationsClient client. func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // List list the available operations supported by the Microsoft.EventGrid resource provider func (client OperationsClient) List(ctx context.Context) (result OperationsListResult, err error) { req, err := client.ListPreparer(ctx) @@ -62,6 +66,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationsListR return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2017-09-15-preview" @@ -77,6 +82,7 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -84,6 +90,7 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topics.go index 0481d5553ca6..a954373b1259 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topics.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topics.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicsClient is the azure EventGrid Management Client type TopicsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewTopicsClient creates an instance of the TopicsClient client. func NewTopicsClient(subscriptionID string) TopicsClient { return NewTopicsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewTopicsClientWithBaseURI creates an instance of the TopicsClient client. func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient { return TopicsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // CreateOrUpdate asynchronously creates a new topic with the specified parameters. // // resourceGroupName is the name of the resource group within the user's subscription. topicName is name of the @@ -60,6 +64,7 @@ func (client TopicsClient) CreateOrUpdate(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client TopicsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, topicName string, topicInfo Topic) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -83,6 +88,7 @@ func (client TopicsClient) CreateOrUpdatePreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) CreateOrUpdateSender(req *http.Request) (future TopicsCreateOrUpdateFuture, err error) { @@ -98,6 +104,7 @@ func (client TopicsClient) CreateOrUpdateSender(req *http.Request) (future Topic return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result Topic, err error) { @@ -111,6 +118,7 @@ func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Delete delete existing topic // // resourceGroupName is the name of the resource group within the user's subscription. topicName is name of the @@ -131,6 +139,7 @@ func (client TopicsClient) Delete(ctx context.Context, resourceGroupName string, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // DeletePreparer prepares the Delete request. func (client TopicsClient) DeletePreparer(ctx context.Context, resourceGroupName string, topicName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -152,6 +161,7 @@ func (client TopicsClient) DeletePreparer(ctx context.Context, resourceGroupName return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) DeleteSender(req *http.Request) (future TopicsDeleteFuture, err error) { @@ -167,6 +177,7 @@ func (client TopicsClient) DeleteSender(req *http.Request) (future TopicsDeleteF return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client TopicsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -179,6 +190,7 @@ func (client TopicsClient) DeleteResponder(resp *http.Response) (result autorest return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Get get properties of a topic // // resourceGroupName is the name of the resource group within the user's subscription. topicName is name of the @@ -205,6 +217,7 @@ func (client TopicsClient) Get(ctx context.Context, resourceGroupName string, to return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetPreparer prepares the Get request. func (client TopicsClient) GetPreparer(ctx context.Context, resourceGroupName string, topicName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -226,6 +239,7 @@ func (client TopicsClient) GetPreparer(ctx context.Context, resourceGroupName st return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -233,6 +247,7 @@ func (client TopicsClient) GetSender(req *http.Request) (*http.Response, error) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client TopicsClient) GetResponder(resp *http.Response) (result Topic, err error) { @@ -246,6 +261,7 @@ func (client TopicsClient) GetResponder(resp *http.Response) (result Topic, err return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResourceGroup list all the topics under a resource group // // resourceGroupName is the name of the resource group within the user's subscription. @@ -271,6 +287,7 @@ func (client TopicsClient) ListByResourceGroup(ctx context.Context, resourceGrou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client TopicsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -291,6 +308,7 @@ func (client TopicsClient) ListByResourceGroupPreparer(ctx context.Context, reso return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -298,6 +316,7 @@ func (client TopicsClient) ListByResourceGroupSender(req *http.Request) (*http.R azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client TopicsClient) ListByResourceGroupResponder(resp *http.Response) (result TopicsListResult, err error) { @@ -311,6 +330,7 @@ func (client TopicsClient) ListByResourceGroupResponder(resp *http.Response) (re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListBySubscription list all the topics under an Azure subscription func (client TopicsClient) ListBySubscription(ctx context.Context) (result TopicsListResult, err error) { req, err := client.ListBySubscriptionPreparer(ctx) @@ -334,6 +354,7 @@ func (client TopicsClient) ListBySubscription(ctx context.Context) (result Topic return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListBySubscriptionPreparer prepares the ListBySubscription request. func (client TopicsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -353,6 +374,7 @@ func (client TopicsClient) ListBySubscriptionPreparer(ctx context.Context) (*htt return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListBySubscriptionSender sends the ListBySubscription request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) { @@ -360,6 +382,7 @@ func (client TopicsClient) ListBySubscriptionSender(req *http.Request) (*http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always // closes the http.Response Body. func (client TopicsClient) ListBySubscriptionResponder(resp *http.Response) (result TopicsListResult, err error) { @@ -373,6 +396,7 @@ func (client TopicsClient) ListBySubscriptionResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypes list event types for a topic // // resourceGroupName is the name of the resource group within the user's subscription. providerNamespace is @@ -400,6 +424,7 @@ func (client TopicsClient) ListEventTypes(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypesPreparer prepares the ListEventTypes request. func (client TopicsClient) ListEventTypesPreparer(ctx context.Context, resourceGroupName string, providerNamespace string, resourceTypeName string, resourceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -423,6 +448,7 @@ func (client TopicsClient) ListEventTypesPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypesSender sends the ListEventTypes request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) ListEventTypesSender(req *http.Request) (*http.Response, error) { @@ -430,6 +456,7 @@ func (client TopicsClient) ListEventTypesSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypesResponder handles the response to the ListEventTypes request. The method always // closes the http.Response Body. func (client TopicsClient) ListEventTypesResponder(resp *http.Response) (result EventTypesListResult, err error) { @@ -443,6 +470,7 @@ func (client TopicsClient) ListEventTypesResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListSharedAccessKeys list the two keys used to publish to a topic // // resourceGroupName is the name of the resource group within the user's subscription. topicName is name of the @@ -469,6 +497,7 @@ func (client TopicsClient) ListSharedAccessKeys(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListSharedAccessKeysPreparer prepares the ListSharedAccessKeys request. func (client TopicsClient) ListSharedAccessKeysPreparer(ctx context.Context, resourceGroupName string, topicName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -490,6 +519,7 @@ func (client TopicsClient) ListSharedAccessKeysPreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListSharedAccessKeysSender sends the ListSharedAccessKeys request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) ListSharedAccessKeysSender(req *http.Request) (*http.Response, error) { @@ -497,6 +527,7 @@ func (client TopicsClient) ListSharedAccessKeysSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListSharedAccessKeysResponder handles the response to the ListSharedAccessKeys request. The method always // closes the http.Response Body. func (client TopicsClient) ListSharedAccessKeysResponder(resp *http.Response) (result TopicSharedAccessKeys, err error) { @@ -510,6 +541,7 @@ func (client TopicsClient) ListSharedAccessKeysResponder(resp *http.Response) (r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // RegenerateKey regenerate a shared access key for a topic // // resourceGroupName is the name of the resource group within the user's subscription. topicName is name of the @@ -542,6 +574,7 @@ func (client TopicsClient) RegenerateKey(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // RegenerateKeyPreparer prepares the RegenerateKey request. func (client TopicsClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, topicName string, regenerateKeyRequest TopicRegenerateKeyRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -565,6 +598,7 @@ func (client TopicsClient) RegenerateKeyPreparer(ctx context.Context, resourceGr return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // RegenerateKeySender sends the RegenerateKey request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) RegenerateKeySender(req *http.Request) (*http.Response, error) { @@ -572,6 +606,7 @@ func (client TopicsClient) RegenerateKeySender(req *http.Request) (*http.Respons azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // RegenerateKeyResponder handles the response to the RegenerateKey request. The method always // closes the http.Response Body. func (client TopicsClient) RegenerateKeyResponder(resp *http.Response) (result TopicSharedAccessKeys, err error) { @@ -585,6 +620,7 @@ func (client TopicsClient) RegenerateKeyResponder(resp *http.Response) (result T return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Update asynchronously updates a topic with the specified parameters. // // resourceGroupName is the name of the resource group within the user's subscription. topicName is name of the @@ -605,6 +641,7 @@ func (client TopicsClient) Update(ctx context.Context, resourceGroupName string, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UpdatePreparer prepares the Update request. func (client TopicsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, topicName string, topicUpdateParameters TopicUpdateParameters) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -628,6 +665,7 @@ func (client TopicsClient) UpdatePreparer(ctx context.Context, resourceGroupName return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client TopicsClient) UpdateSender(req *http.Request) (future TopicsUpdateFuture, err error) { @@ -643,6 +681,7 @@ func (client TopicsClient) UpdateSender(req *http.Request) (future TopicsUpdateF return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client TopicsClient) UpdateResponder(resp *http.Response) (result Topic, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topictypes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topictypes.go index a703d0bdb00d..80f888d16903 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topictypes.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/topictypes.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // TopicTypesClient is the azure EventGrid Management Client type TopicTypesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewTopicTypesClient creates an instance of the TopicTypesClient client. func NewTopicTypesClient(subscriptionID string) TopicTypesClient { return NewTopicTypesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // NewTopicTypesClientWithBaseURI creates an instance of the TopicTypesClient client. func NewTopicTypesClientWithBaseURI(baseURI string, subscriptionID string) TopicTypesClient { return TopicTypesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Get get information about a topic type // // topicTypeName is name of the topic type @@ -64,6 +68,7 @@ func (client TopicTypesClient) Get(ctx context.Context, topicTypeName string) (r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetPreparer prepares the Get request. func (client TopicTypesClient) GetPreparer(ctx context.Context, topicTypeName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -83,6 +88,7 @@ func (client TopicTypesClient) GetPreparer(ctx context.Context, topicTypeName st return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client TopicTypesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -90,6 +96,7 @@ func (client TopicTypesClient) GetSender(req *http.Request) (*http.Response, err autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client TopicTypesClient) GetResponder(resp *http.Response) (result TopicTypeInfo, err error) { @@ -103,6 +110,7 @@ func (client TopicTypesClient) GetResponder(resp *http.Response) (result TopicTy return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // List list all registered topic types func (client TopicTypesClient) List(ctx context.Context) (result TopicTypesListResult, err error) { req, err := client.ListPreparer(ctx) @@ -126,6 +134,7 @@ func (client TopicTypesClient) List(ctx context.Context) (result TopicTypesListR return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListPreparer prepares the List request. func (client TopicTypesClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2017-09-15-preview" @@ -141,6 +150,7 @@ func (client TopicTypesClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client TopicTypesClient) ListSender(req *http.Request) (*http.Response, error) { @@ -148,6 +158,7 @@ func (client TopicTypesClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client TopicTypesClient) ListResponder(resp *http.Response) (result TopicTypesListResult, err error) { @@ -161,6 +172,7 @@ func (client TopicTypesClient) ListResponder(resp *http.Response) (result TopicT return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypes list event types for a topic type // // topicTypeName is name of the topic type @@ -186,6 +198,7 @@ func (client TopicTypesClient) ListEventTypes(ctx context.Context, topicTypeName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypesPreparer prepares the ListEventTypes request. func (client TopicTypesClient) ListEventTypesPreparer(ctx context.Context, topicTypeName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -205,6 +218,7 @@ func (client TopicTypesClient) ListEventTypesPreparer(ctx context.Context, topic return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypesSender sends the ListEventTypes request. The method will close the // http.Response Body if it receives an error. func (client TopicTypesClient) ListEventTypesSender(req *http.Request) (*http.Response, error) { @@ -212,6 +226,7 @@ func (client TopicTypesClient) ListEventTypesSender(req *http.Request) (*http.Re autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // ListEventTypesResponder handles the response to the ListEventTypes request. The method always // closes the http.Response Body. func (client TopicTypesClient) ListEventTypesResponder(resp *http.Response) (result EventTypesListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/version.go index 4696946ef8b3..62d31fdb7876 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid/version.go @@ -18,12 +18,13 @@ import "github.com/Azure/azure-sdk-for-go/version" // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. - +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { return "Azure-SDK-For-Go/" + version.Number + " eventgrid/2017-09-15-preview" } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid instead. // Version returns the semantic version (see http://semver.org) of the client. func Version() string { return version.Number diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/consumergroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/consumergroups.go index 274da2f4ed52..07a0faf85b7a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/consumergroups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/consumergroups.go @@ -41,10 +41,12 @@ func NewConsumerGroupsClientWithBaseURI(baseURI string, subscriptionID string) C } // CreateOrUpdate creates or updates an Event Hubs consumer group as a nested resource within a Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name consumerGroupName is the consumer group name parameters is parameters -// supplied to create or update a consumer group resource. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// consumerGroupName - the consumer group name +// parameters - parameters supplied to create or update a consumer group resource. func (client ConsumerGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, consumerGroupName string, parameters ConsumerGroup) (result ConsumerGroup, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -128,9 +130,11 @@ func (client ConsumerGroupsClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes a consumer group from the specified Event Hub and resource group. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name consumerGroupName is the consumer group name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// consumerGroupName - the consumer group name func (client ConsumerGroupsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, consumerGroupName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -211,9 +215,11 @@ func (client ConsumerGroupsClient) DeleteResponder(resp *http.Response) (result } // Get gets a description for the specified consumer group. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name consumerGroupName is the consumer group name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// consumerGroupName - the consumer group name func (client ConsumerGroupsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, consumerGroupName string) (result ConsumerGroup, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -296,9 +302,10 @@ func (client ConsumerGroupsClient) GetResponder(resp *http.Response) (result Con // ListByEventHub gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in // the Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name func (client ConsumerGroupsClient) ListByEventHub(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string) (result ConsumerGroupListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/disasterrecoveryconfigs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/disasterrecoveryconfigs.go index a2d63e559336..9e3e1dfca2d4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/disasterrecoveryconfigs.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/disasterrecoveryconfigs.go @@ -42,9 +42,10 @@ func NewDisasterRecoveryConfigsClientWithBaseURI(baseURI string, subscriptionID // BreakPairing this operation disables the Disaster Recovery and stops replicating changes from primary to secondary // namespaces -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) BreakPairing(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -122,9 +123,10 @@ func (client DisasterRecoveryConfigsClient) BreakPairingResponder(resp *http.Res } // CheckNameAvailability check the give Namespace name availability. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name parameters is parameters to check availability of the given Alias name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// parameters - parameters to check availability of the given Alias name func (client DisasterRecoveryConfigsClient) CheckNameAvailability(ctx context.Context, resourceGroupName string, namespaceName string, parameters CheckNameAvailabilityParameter) (result CheckNameAvailabilityResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -203,10 +205,11 @@ func (client DisasterRecoveryConfigsClient) CheckNameAvailabilityResponder(resp } // CreateOrUpdate creates or updates a new Alias(Disaster Recovery configuration) -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name parameters is parameters required to create an -// Alias(Disaster Recovery configuration) +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name +// parameters - parameters required to create an Alias(Disaster Recovery configuration) func (client DisasterRecoveryConfigsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, alias string, parameters ArmDisasterRecovery) (result ArmDisasterRecovery, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -287,9 +290,10 @@ func (client DisasterRecoveryConfigsClient) CreateOrUpdateResponder(resp *http.R } // Delete deletes an Alias(Disaster Recovery configuration) -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -367,9 +371,10 @@ func (client DisasterRecoveryConfigsClient) DeleteResponder(resp *http.Response) } // FailOver envokes GEO DR failover and reconfigure the alias to point to the secondary namespace -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) FailOver(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -447,9 +452,10 @@ func (client DisasterRecoveryConfigsClient) FailOverResponder(resp *http.Respons } // Get retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result ArmDisasterRecovery, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -528,9 +534,11 @@ func (client DisasterRecoveryConfigsClient) GetResponder(resp *http.Response) (r } // GetAuthorizationRule gets an AuthorizationRule for a Namespace by rule name. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name +// authorizationRuleName - the authorization rule name. func (client DisasterRecoveryConfigsClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (result AuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -612,9 +620,9 @@ func (client DisasterRecoveryConfigsClient) GetAuthorizationRuleResponder(resp * } // List gets all Alias(Disaster Recovery configurations) -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name func (client DisasterRecoveryConfigsClient) List(ctx context.Context, resourceGroupName string, namespaceName string) (result ArmDisasterRecoveryListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -717,9 +725,10 @@ func (client DisasterRecoveryConfigsClient) ListComplete(ctx context.Context, re } // ListAuthorizationRules gets a list of authorization rules for a Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result AuthorizationRuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -826,9 +835,11 @@ func (client DisasterRecoveryConfigsClient) ListAuthorizationRulesComplete(ctx c } // ListKeys gets the primary and secondary connection strings for the Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name alias is the Disaster Recovery configuration name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// alias - the Disaster Recovery configuration name +// authorizationRuleName - the authorization rule name. func (client DisasterRecoveryConfigsClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/eventhubs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/eventhubs.go index c863b80cfbe5..b98f5e1cf502 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/eventhubs.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/eventhubs.go @@ -41,9 +41,11 @@ func NewEventHubsClientWithBaseURI(baseURI string, subscriptionID string) EventH } // CreateOrUpdate creates or updates a new Event Hub as a nested resource within a Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name parameters is parameters supplied to create an Event Hub resource. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// parameters - parameters supplied to create an Event Hub resource. func (client EventHubsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, parameters Model) (result Model, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -140,10 +142,12 @@ func (client EventHubsClient) CreateOrUpdateResponder(resp *http.Response) (resu } // CreateOrUpdateAuthorizationRule creates or updates an AuthorizationRule for the specified Event Hub. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name authorizationRuleName is the authorization rule name. parameters is the -// shared access AuthorizationRule. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// authorizationRuleName - the authorization rule name. +// parameters - the shared access AuthorizationRule. func (client EventHubsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string, parameters AuthorizationRule) (result AuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -229,9 +233,10 @@ func (client EventHubsClient) CreateOrUpdateAuthorizationRuleResponder(resp *htt } // Delete deletes an Event Hub from the specified Namespace and resource group. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name func (client EventHubsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -308,9 +313,11 @@ func (client EventHubsClient) DeleteResponder(resp *http.Response) (result autor } // DeleteAuthorizationRule deletes an Event Hub AuthorizationRule. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// authorizationRuleName - the authorization rule name. func (client EventHubsClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -390,9 +397,10 @@ func (client EventHubsClient) DeleteAuthorizationRuleResponder(resp *http.Respon } // Get gets an Event Hubs description for the specified Event Hub. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name func (client EventHubsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string) (result Model, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -470,9 +478,11 @@ func (client EventHubsClient) GetResponder(resp *http.Response) (result Model, e } // GetAuthorizationRule gets an AuthorizationRule for an Event Hub by rule name. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// authorizationRuleName - the authorization rule name. func (client EventHubsClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string) (result AuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -553,9 +563,10 @@ func (client EventHubsClient) GetAuthorizationRuleResponder(resp *http.Response) } // ListAuthorizationRules gets the authorization rules for an Event Hub. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name func (client EventHubsClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string) (result AuthorizationRuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -661,9 +672,9 @@ func (client EventHubsClient) ListAuthorizationRulesComplete(ctx context.Context } // ListByNamespace gets all the Event Hubs in a Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name func (client EventHubsClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string) (result ListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -766,9 +777,11 @@ func (client EventHubsClient) ListByNamespaceComplete(ctx context.Context, resou } // ListKeys gets the ACS and SAS connection strings for the Event Hub. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// authorizationRuleName - the authorization rule name. func (client EventHubsClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -849,10 +862,12 @@ func (client EventHubsClient) ListKeysResponder(resp *http.Response) (result Acc } // RegenerateKeys regenerates the ACS and SAS connection strings for the Event Hub. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name eventHubName is the Event Hub name authorizationRuleName is the authorization rule name. parameters is -// parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey). +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// eventHubName - the Event Hub name +// authorizationRuleName - the authorization rule name. +// parameters - parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey). func (client EventHubsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, eventHubName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/messagingplan.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/messagingplan.go deleted file mode 100644 index 59eababf32d7..000000000000 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/messagingplan.go +++ /dev/null @@ -1,118 +0,0 @@ -package eventhub - -// 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. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -import ( - "context" - "github.com/Azure/go-autorest/autorest" - "github.com/Azure/go-autorest/autorest/azure" - "github.com/Azure/go-autorest/autorest/validation" - "net/http" -) - -// MessagingPlanClient is the azure Event Hubs client -type MessagingPlanClient struct { - BaseClient -} - -// NewMessagingPlanClient creates an instance of the MessagingPlanClient client. -func NewMessagingPlanClient(subscriptionID string) MessagingPlanClient { - return NewMessagingPlanClientWithBaseURI(DefaultBaseURI, subscriptionID) -} - -// NewMessagingPlanClientWithBaseURI creates an instance of the MessagingPlanClient client. -func NewMessagingPlanClientWithBaseURI(baseURI string, subscriptionID string) MessagingPlanClient { - return MessagingPlanClient{NewWithBaseURI(baseURI, subscriptionID)} -} - -// Get gets a description for the specified namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name -func (client MessagingPlanClient) Get(ctx context.Context, resourceGroupName string, namespaceName string) (result MessagingPlan, err error) { - if err := validation.Validate([]validation.Validation{ - {TargetValue: resourceGroupName, - Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, - {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, - {TargetValue: namespaceName, - Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, - {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { - return result, validation.NewError("eventhub.MessagingPlanClient", "Get", err.Error()) - } - - req, err := client.GetPreparer(ctx, resourceGroupName, namespaceName) - if err != nil { - err = autorest.NewErrorWithError(err, "eventhub.MessagingPlanClient", "Get", nil, "Failure preparing request") - return - } - - resp, err := client.GetSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "eventhub.MessagingPlanClient", "Get", resp, "Failure sending request") - return - } - - result, err = client.GetResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "eventhub.MessagingPlanClient", "Get", resp, "Failure responding to request") - } - - return -} - -// GetPreparer prepares the Get request. -func (client MessagingPlanClient) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { - pathParameters := map[string]interface{}{ - "namespaceName": autorest.Encode("path", namespaceName), - "resourceGroupName": autorest.Encode("path", resourceGroupName), - "subscriptionId": autorest.Encode("path", client.SubscriptionID), - } - - const APIVersion = "2017-04-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsGet(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/messagingplan", pathParameters), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// GetSender sends the Get request. The method will close the -// http.Response Body if it receives an error. -func (client MessagingPlanClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) -} - -// GetResponder handles the response to the Get request. The method always -// closes the http.Response Body. -func (client MessagingPlanClient) GetResponder(resp *http.Response) (result MessagingPlan, err error) { - err = autorest.Respond( - resp, - client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/models.go index 23b11d79fcc7..6d642772a787 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/models.go @@ -1239,10 +1239,10 @@ func (page ListResultPage) Values() []Model { return *page.lr.Value } -// MessagingPlan messaging +// MessagingPlan messaging Plan for the namespace type MessagingPlan struct { autorest.Response `json:"-"` - *MessagingPlanproperties `json:"properties,omitempty"` + *MessagingPlanProperties `json:"properties,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags @@ -1258,8 +1258,8 @@ type MessagingPlan struct { // MarshalJSON is the custom marshaler for MessagingPlan. func (mp MessagingPlan) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) - if mp.MessagingPlanproperties != nil { - objectMap["properties"] = mp.MessagingPlanproperties + if mp.MessagingPlanProperties != nil { + objectMap["properties"] = mp.MessagingPlanProperties } if mp.Location != nil { objectMap["location"] = mp.Location @@ -1290,12 +1290,12 @@ func (mp *MessagingPlan) UnmarshalJSON(body []byte) error { switch k { case "properties": if v != nil { - var messagingPlanproperties MessagingPlanproperties - err = json.Unmarshal(*v, &messagingPlanproperties) + var messagingPlanProperties MessagingPlanProperties + err = json.Unmarshal(*v, &messagingPlanProperties) if err != nil { return err } - mp.MessagingPlanproperties = &messagingPlanproperties + mp.MessagingPlanProperties = &messagingPlanProperties } case "location": if v != nil { @@ -1348,8 +1348,8 @@ func (mp *MessagingPlan) UnmarshalJSON(body []byte) error { return nil } -// MessagingPlanproperties messaging Region -type MessagingPlanproperties struct { +// MessagingPlanProperties ... +type MessagingPlanProperties struct { // Sku - Sku type Sku *int32 `json:"sku,omitempty"` // SelectedEventHubUnit - Selected event hub unit diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/namespaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/namespaces.go index a938c085d221..5d69e5453ef9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/namespaces.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/namespaces.go @@ -41,8 +41,8 @@ func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) Names } // CheckNameAvailability check the give Namespace name availability. -// -// parameters is parameters to check availability of the given Namespace name +// Parameters: +// parameters - parameters to check availability of the given Namespace name func (client NamespacesClient) CheckNameAvailability(ctx context.Context, parameters CheckNameAvailabilityParameter) (result CheckNameAvailabilityResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -114,9 +114,10 @@ func (client NamespacesClient) CheckNameAvailabilityResponder(resp *http.Respons // CreateOrUpdate creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This // operation is idempotent. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name parameters is parameters for creating a namespace resource. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// parameters - parameters for creating a namespace resource. func (client NamespacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, parameters EHNamespace) (result NamespacesCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -208,9 +209,11 @@ func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (res } // CreateOrUpdateAuthorizationRule creates or updates an AuthorizationRule for a Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name authorizationRuleName is the authorization rule name. parameters is the shared access AuthorizationRule. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// authorizationRuleName - the authorization rule name. +// parameters - the shared access AuthorizationRule. func (client NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters AuthorizationRule) (result AuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -293,9 +296,9 @@ func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *ht } // Delete deletes an existing namespace. This operation also removes all associated resources under the namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name func (client NamespacesClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string) (result NamespacesDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -371,9 +374,10 @@ func (client NamespacesClient) DeleteResponder(resp *http.Response) (result auto } // DeleteAuthorizationRule deletes an AuthorizationRule for a Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// authorizationRuleName - the authorization rule name. func (client NamespacesClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -450,9 +454,9 @@ func (client NamespacesClient) DeleteAuthorizationRuleResponder(resp *http.Respo } // Get gets the description of the specified namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name func (client NamespacesClient) Get(ctx context.Context, resourceGroupName string, namespaceName string) (result EHNamespace, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -527,9 +531,10 @@ func (client NamespacesClient) GetResponder(resp *http.Response) (result EHNames } // GetAuthorizationRule gets an AuthorizationRule for a Namespace by rule name. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// authorizationRuleName - the authorization rule name. func (client NamespacesClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result AuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -606,6 +611,83 @@ func (client NamespacesClient) GetAuthorizationRuleResponder(resp *http.Response return } +// GetMessagingPlan gets messaging plan for specified namespace. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +func (client NamespacesClient) GetMessagingPlan(ctx context.Context, resourceGroupName string, namespaceName string) (result MessagingPlan, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: namespaceName, + Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + return result, validation.NewError("eventhub.NamespacesClient", "GetMessagingPlan", err.Error()) + } + + req, err := client.GetMessagingPlanPreparer(ctx, resourceGroupName, namespaceName) + if err != nil { + err = autorest.NewErrorWithError(err, "eventhub.NamespacesClient", "GetMessagingPlan", nil, "Failure preparing request") + return + } + + resp, err := client.GetMessagingPlanSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "eventhub.NamespacesClient", "GetMessagingPlan", resp, "Failure sending request") + return + } + + result, err = client.GetMessagingPlanResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "eventhub.NamespacesClient", "GetMessagingPlan", resp, "Failure responding to request") + } + + return +} + +// GetMessagingPlanPreparer prepares the GetMessagingPlan request. +func (client NamespacesClient) GetMessagingPlanPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "namespaceName": autorest.Encode("path", namespaceName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-04-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/messagingplan", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetMessagingPlanSender sends the GetMessagingPlan request. The method will close the +// http.Response Body if it receives an error. +func (client NamespacesClient) GetMessagingPlanSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetMessagingPlanResponder handles the response to the GetMessagingPlan request. The method always +// closes the http.Response Body. +func (client NamespacesClient) GetMessagingPlanResponder(resp *http.Response) (result MessagingPlan, 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 lists all the available Namespaces within a subscription, irrespective of the resource groups. func (client NamespacesClient) List(ctx context.Context) (result EHNamespaceListResultPage, err error) { result.fn = client.listNextResults @@ -697,9 +779,9 @@ func (client NamespacesClient) ListComplete(ctx context.Context) (result EHNames } // ListAuthorizationRules gets a list of authorization rules for a Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name func (client NamespacesClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string) (result AuthorizationRuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -802,8 +884,8 @@ func (client NamespacesClient) ListAuthorizationRulesComplete(ctx context.Contex } // ListByResourceGroup lists the available Namespaces within a resource group. -// -// resourceGroupName is name of the resource group within the azure subscription. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. func (client NamespacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EHNamespaceListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -902,9 +984,10 @@ func (client NamespacesClient) ListByResourceGroupComplete(ctx context.Context, } // ListKeys gets the primary and secondary connection strings for the Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name authorizationRuleName is the authorization rule name. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// authorizationRuleName - the authorization rule name. func (client NamespacesClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -982,10 +1065,11 @@ func (client NamespacesClient) ListKeysResponder(resp *http.Response) (result Ac } // RegenerateKeys regenerates the primary or secondary connection strings for the specified Namespace. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name authorizationRuleName is the authorization rule name. parameters is parameters required to regenerate the -// connection string. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// authorizationRuleName - the authorization rule name. +// parameters - parameters required to regenerate the connection string. func (client NamespacesClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1066,9 +1150,10 @@ func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (res // Update creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation // is idempotent. -// -// resourceGroupName is name of the resource group within the azure subscription. namespaceName is the Namespace -// name parameters is parameters for updating a namespace resource. +// Parameters: +// resourceGroupName - name of the resource group within the azure subscription. +// namespaceName - the Namespace name +// parameters - parameters for updating a namespace resource. func (client NamespacesClient) Update(ctx context.Context, resourceGroupName string, namespaceName string, parameters EHNamespace) (result EHNamespace, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/regions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/regions.go index 118dfd461a49..537abd1ec5ae 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/regions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/regions.go @@ -41,8 +41,8 @@ func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsC } // ListBySku gets the available Regions for a given sku -// -// sku is the sku type. +// Parameters: +// sku - the sku type. func (client RegionsClient) ListBySku(ctx context.Context, sku string) (result MessagingRegionsListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: sku, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/applications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/applications.go index c70036f6dde8..61c0c5313ee9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/applications.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/applications.go @@ -42,9 +42,9 @@ func NewApplicationsClientWithBaseURI(baseURI string, tenantID string) Applicati } // AddOwner add an owner to an application. -// -// applicationObjectID is the object ID of the application to which to add the owner. parameters is the URL of the -// owner object, such as +// Parameters: +// applicationObjectID - the object ID of the application to which to add the owner. +// parameters - the URL of the owner object, such as // https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd. func (client ApplicationsClient) AddOwner(ctx context.Context, applicationObjectID string, parameters ApplicationAddOwnerParameters) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ @@ -116,8 +116,8 @@ func (client ApplicationsClient) AddOwnerResponder(resp *http.Response) (result } // Create create a new application. -// -// parameters is the parameters for creating an application. +// Parameters: +// parameters - the parameters for creating an application. func (client ApplicationsClient) Create(ctx context.Context, parameters ApplicationCreateParameters) (result Application, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -190,8 +190,8 @@ func (client ApplicationsClient) CreateResponder(resp *http.Response) (result Ap } // Delete delete an application. -// -// applicationObjectID is application object ID. +// Parameters: +// applicationObjectID - application object ID. func (client ApplicationsClient) Delete(ctx context.Context, applicationObjectID string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, applicationObjectID) if err != nil { @@ -254,8 +254,8 @@ func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result au } // Get get an application by object ID. -// -// applicationObjectID is application object ID. +// Parameters: +// applicationObjectID - application object ID. func (client ApplicationsClient) Get(ctx context.Context, applicationObjectID string) (result Application, err error) { req, err := client.GetPreparer(ctx, applicationObjectID) if err != nil { @@ -319,8 +319,8 @@ func (client ApplicationsClient) GetResponder(resp *http.Response) (result Appli } // List lists applications by filter parameters. -// -// filter is the filters to apply to the operation. +// Parameters: +// filter - the filters to apply to the operation. func (client ApplicationsClient) List(ctx context.Context, filter string) (result ApplicationListResultPage, err error) { result.fn = func(lastResult ApplicationListResult) (ApplicationListResult, error) { if lastResult.OdataNextLink == nil || len(to.String(lastResult.OdataNextLink)) < 1 { @@ -398,8 +398,8 @@ func (client ApplicationsClient) ListComplete(ctx context.Context, filter string } // ListKeyCredentials get the keyCredentials associated with an application. -// -// applicationObjectID is application object ID. +// Parameters: +// applicationObjectID - application object ID. func (client ApplicationsClient) ListKeyCredentials(ctx context.Context, applicationObjectID string) (result KeyCredentialListResult, err error) { req, err := client.ListKeyCredentialsPreparer(ctx, applicationObjectID) if err != nil { @@ -463,8 +463,8 @@ func (client ApplicationsClient) ListKeyCredentialsResponder(resp *http.Response } // ListNext gets a list of applications from the current tenant. -// -// nextLink is next link for the list operation. +// Parameters: +// nextLink - next link for the list operation. func (client ApplicationsClient) ListNext(ctx context.Context, nextLink string) (result ApplicationListResult, err error) { req, err := client.ListNextPreparer(ctx, nextLink) if err != nil { @@ -528,8 +528,8 @@ func (client ApplicationsClient) ListNextResponder(resp *http.Response) (result } // ListOwners the owners are a set of non-admin users who are allowed to modify this object. -// -// applicationObjectID is the object ID of the application for which to get owners. +// Parameters: +// applicationObjectID - the object ID of the application for which to get owners. func (client ApplicationsClient) ListOwners(ctx context.Context, applicationObjectID string) (result DirectoryObjectListResult, err error) { req, err := client.ListOwnersPreparer(ctx, applicationObjectID) if err != nil { @@ -593,8 +593,8 @@ func (client ApplicationsClient) ListOwnersResponder(resp *http.Response) (resul } // ListPasswordCredentials get the passwordCredentials associated with an application. -// -// applicationObjectID is application object ID. +// Parameters: +// applicationObjectID - application object ID. func (client ApplicationsClient) ListPasswordCredentials(ctx context.Context, applicationObjectID string) (result PasswordCredentialListResult, err error) { req, err := client.ListPasswordCredentialsPreparer(ctx, applicationObjectID) if err != nil { @@ -658,8 +658,9 @@ func (client ApplicationsClient) ListPasswordCredentialsResponder(resp *http.Res } // Patch update an existing application. -// -// applicationObjectID is application object ID. parameters is parameters to update an existing application. +// Parameters: +// applicationObjectID - application object ID. +// parameters - parameters to update an existing application. func (client ApplicationsClient) Patch(ctx context.Context, applicationObjectID string, parameters ApplicationUpdateParameters) (result autorest.Response, err error) { req, err := client.PatchPreparer(ctx, applicationObjectID, parameters) if err != nil { @@ -724,9 +725,9 @@ func (client ApplicationsClient) PatchResponder(resp *http.Response) (result aut } // UpdateKeyCredentials update the keyCredentials associated with an application. -// -// applicationObjectID is application object ID. parameters is parameters to update the keyCredentials of an -// existing application. +// Parameters: +// applicationObjectID - application object ID. +// parameters - parameters to update the keyCredentials of an existing application. func (client ApplicationsClient) UpdateKeyCredentials(ctx context.Context, applicationObjectID string, parameters KeyCredentialsUpdateParameters) (result autorest.Response, err error) { req, err := client.UpdateKeyCredentialsPreparer(ctx, applicationObjectID, parameters) if err != nil { @@ -791,9 +792,9 @@ func (client ApplicationsClient) UpdateKeyCredentialsResponder(resp *http.Respon } // UpdatePasswordCredentials update passwordCredentials associated with an application. -// -// applicationObjectID is application object ID. parameters is parameters to update passwordCredentials of an -// existing application. +// Parameters: +// applicationObjectID - application object ID. +// parameters - parameters to update passwordCredentials of an existing application. func (client ApplicationsClient) UpdatePasswordCredentials(ctx context.Context, applicationObjectID string, parameters PasswordCredentialsUpdateParameters) (result autorest.Response, err error) { req, err := client.UpdatePasswordCredentialsPreparer(ctx, applicationObjectID, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/domains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/domains.go index 30d53aa9e3be..e6d990273f0d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/domains.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/domains.go @@ -40,8 +40,8 @@ func NewDomainsClientWithBaseURI(baseURI string, tenantID string) DomainsClient } // Get gets a specific domain in the current tenant. -// -// domainName is name of the domain. +// Parameters: +// domainName - name of the domain. func (client DomainsClient) Get(ctx context.Context, domainName string) (result Domain, err error) { req, err := client.GetPreparer(ctx, domainName) if err != nil { @@ -105,8 +105,8 @@ func (client DomainsClient) GetResponder(resp *http.Response) (result Domain, er } // List gets a list of domains for the current tenant. -// -// filter is the filter to apply to the operation. +// Parameters: +// filter - the filter to apply to the operation. func (client DomainsClient) List(ctx context.Context, filter string) (result DomainListResult, err error) { req, err := client.ListPreparer(ctx, filter) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/groups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/groups.go index 7d869adad070..9fbe85cbbd30 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/groups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/groups.go @@ -42,9 +42,9 @@ func NewGroupsClientWithBaseURI(baseURI string, tenantID string) GroupsClient { } // AddMember add a member to a group. -// -// groupObjectID is the object ID of the group to which to add the member. parameters is the URL of the member -// object, such as +// Parameters: +// groupObjectID - the object ID of the group to which to add the member. +// parameters - the URL of the member object, such as // https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd. func (client GroupsClient) AddMember(ctx context.Context, groupObjectID string, parameters GroupAddMemberParameters) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ @@ -116,8 +116,8 @@ func (client GroupsClient) AddMemberResponder(resp *http.Response) (result autor } // Create create a group in the directory. -// -// parameters is the parameters for the group to create. +// Parameters: +// parameters - the parameters for the group to create. func (client GroupsClient) Create(ctx context.Context, parameters GroupCreateParameters) (result ADGroup, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -191,8 +191,8 @@ func (client GroupsClient) CreateResponder(resp *http.Response) (result ADGroup, } // Delete delete a group from the directory. -// -// objectID is the object ID of the group to delete. +// Parameters: +// objectID - the object ID of the group to delete. func (client GroupsClient) Delete(ctx context.Context, objectID string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, objectID) if err != nil { @@ -255,8 +255,8 @@ func (client GroupsClient) DeleteResponder(resp *http.Response) (result autorest } // Get gets group information from the directory. -// -// objectID is the object ID of the user for which to get group information. +// Parameters: +// objectID - the object ID of the user for which to get group information. func (client GroupsClient) Get(ctx context.Context, objectID string) (result ADGroup, err error) { req, err := client.GetPreparer(ctx, objectID) if err != nil { @@ -320,8 +320,8 @@ func (client GroupsClient) GetResponder(resp *http.Response) (result ADGroup, er } // GetGroupMembers gets the members of a group. -// -// objectID is the object ID of the group whose members should be retrieved. +// Parameters: +// objectID - the object ID of the group whose members should be retrieved. func (client GroupsClient) GetGroupMembers(ctx context.Context, objectID string) (result GetObjectsResultPage, err error) { result.fn = func(lastResult GetObjectsResult) (GetObjectsResult, error) { if lastResult.OdataNextLink == nil || len(to.String(lastResult.OdataNextLink)) < 1 { @@ -397,8 +397,8 @@ func (client GroupsClient) GetGroupMembersComplete(ctx context.Context, objectID } // GetGroupMembersNext gets the members of a group. -// -// nextLink is next link for the list operation. +// Parameters: +// nextLink - next link for the list operation. func (client GroupsClient) GetGroupMembersNext(ctx context.Context, nextLink string) (result GetObjectsResult, err error) { req, err := client.GetGroupMembersNextPreparer(ctx, nextLink) if err != nil { @@ -462,9 +462,9 @@ func (client GroupsClient) GetGroupMembersNextResponder(resp *http.Response) (re } // GetMemberGroups gets a collection of object IDs of groups of which the specified group is a member. -// -// objectID is the object ID of the group for which to get group membership. parameters is group filtering -// parameters. +// Parameters: +// objectID - the object ID of the group for which to get group membership. +// parameters - group filtering parameters. func (client GroupsClient) GetMemberGroups(ctx context.Context, objectID string, parameters GroupGetMemberGroupsParameters) (result GroupGetMemberGroupsResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -537,8 +537,8 @@ func (client GroupsClient) GetMemberGroupsResponder(resp *http.Response) (result // IsMemberOf checks whether the specified user, group, contact, or service principal is a direct or transitive member // of the specified group. -// -// parameters is the check group membership parameters. +// Parameters: +// parameters - the check group membership parameters. func (client GroupsClient) IsMemberOf(ctx context.Context, parameters CheckGroupMembershipParameters) (result CheckGroupMembershipResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -610,8 +610,8 @@ func (client GroupsClient) IsMemberOfResponder(resp *http.Response) (result Chec } // List gets list of groups for the current tenant. -// -// filter is the filter to apply to the operation. +// Parameters: +// filter - the filter to apply to the operation. func (client GroupsClient) List(ctx context.Context, filter string) (result GroupListResultPage, err error) { result.fn = func(lastResult GroupListResult) (GroupListResult, error) { if lastResult.OdataNextLink == nil || len(to.String(lastResult.OdataNextLink)) < 1 { @@ -689,8 +689,8 @@ func (client GroupsClient) ListComplete(ctx context.Context, filter string) (res } // ListNext gets a list of groups for the current tenant. -// -// nextLink is next link for the list operation. +// Parameters: +// nextLink - next link for the list operation. func (client GroupsClient) ListNext(ctx context.Context, nextLink string) (result GroupListResult, err error) { req, err := client.ListNextPreparer(ctx, nextLink) if err != nil { @@ -754,8 +754,9 @@ func (client GroupsClient) ListNextResponder(resp *http.Response) (result GroupL } // RemoveMember remove a member from a group. -// -// groupObjectID is the object ID of the group from which to remove the member. memberObjectID is member object id +// Parameters: +// groupObjectID - the object ID of the group from which to remove the member. +// memberObjectID - member object id func (client GroupsClient) RemoveMember(ctx context.Context, groupObjectID string, memberObjectID string) (result autorest.Response, err error) { req, err := client.RemoveMemberPreparer(ctx, groupObjectID, memberObjectID) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/objects.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/objects.go index bc4178e5659f..638a0f02a183 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/objects.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/objects.go @@ -104,8 +104,8 @@ func (client ObjectsClient) GetCurrentUserResponder(resp *http.Response) (result } // GetObjectsByObjectIds gets AD group membership for the specified AD object IDs. -// -// parameters is objects filtering parameters. +// Parameters: +// parameters - objects filtering parameters. func (client ObjectsClient) GetObjectsByObjectIds(ctx context.Context, parameters GetObjectsParameters) (result GetObjectsResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -188,8 +188,8 @@ func (client ObjectsClient) GetObjectsByObjectIdsComplete(ctx context.Context, p } // GetObjectsByObjectIdsNext gets AD group membership for the specified AD object IDs. -// -// nextLink is next link for the list operation. +// Parameters: +// nextLink - next link for the list operation. func (client ObjectsClient) GetObjectsByObjectIdsNext(ctx context.Context, nextLink string) (result GetObjectsResult, err error) { req, err := client.GetObjectsByObjectIdsNextPreparer(ctx, nextLink) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/serviceprincipals.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/serviceprincipals.go index 27392c322aba..4caf3f817e1f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/serviceprincipals.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/serviceprincipals.go @@ -42,8 +42,8 @@ func NewServicePrincipalsClientWithBaseURI(baseURI string, tenantID string) Serv } // Create creates a service principal in the directory. -// -// parameters is parameters to create a service principal. +// Parameters: +// parameters - parameters to create a service principal. func (client ServicePrincipalsClient) Create(ctx context.Context, parameters ServicePrincipalCreateParameters) (result ServicePrincipal, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -115,8 +115,8 @@ func (client ServicePrincipalsClient) CreateResponder(resp *http.Response) (resu } // Delete deletes a service principal from the directory. -// -// objectID is the object ID of the service principal to delete. +// Parameters: +// objectID - the object ID of the service principal to delete. func (client ServicePrincipalsClient) Delete(ctx context.Context, objectID string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, objectID) if err != nil { @@ -179,8 +179,8 @@ func (client ServicePrincipalsClient) DeleteResponder(resp *http.Response) (resu } // Get gets service principal information from the directory. -// -// objectID is the object ID of the service principal to get. +// Parameters: +// objectID - the object ID of the service principal to get. func (client ServicePrincipalsClient) Get(ctx context.Context, objectID string) (result ServicePrincipal, err error) { req, err := client.GetPreparer(ctx, objectID) if err != nil { @@ -244,8 +244,8 @@ func (client ServicePrincipalsClient) GetResponder(resp *http.Response) (result } // List gets a list of service principals from the current tenant. -// -// filter is the filter to apply to the operation. +// Parameters: +// filter - the filter to apply to the operation. func (client ServicePrincipalsClient) List(ctx context.Context, filter string) (result ServicePrincipalListResultPage, err error) { result.fn = func(lastResult ServicePrincipalListResult) (ServicePrincipalListResult, error) { if lastResult.OdataNextLink == nil || len(to.String(lastResult.OdataNextLink)) < 1 { @@ -323,8 +323,8 @@ func (client ServicePrincipalsClient) ListComplete(ctx context.Context, filter s } // ListKeyCredentials get the keyCredentials associated with the specified service principal. -// -// objectID is the object ID of the service principal for which to get keyCredentials. +// Parameters: +// objectID - the object ID of the service principal for which to get keyCredentials. func (client ServicePrincipalsClient) ListKeyCredentials(ctx context.Context, objectID string) (result KeyCredentialListResult, err error) { req, err := client.ListKeyCredentialsPreparer(ctx, objectID) if err != nil { @@ -388,8 +388,8 @@ func (client ServicePrincipalsClient) ListKeyCredentialsResponder(resp *http.Res } // ListNext gets a list of service principals from the current tenant. -// -// nextLink is next link for the list operation. +// Parameters: +// nextLink - next link for the list operation. func (client ServicePrincipalsClient) ListNext(ctx context.Context, nextLink string) (result ServicePrincipalListResult, err error) { req, err := client.ListNextPreparer(ctx, nextLink) if err != nil { @@ -453,8 +453,8 @@ func (client ServicePrincipalsClient) ListNextResponder(resp *http.Response) (re } // ListOwners the owners are a set of non-admin users who are allowed to modify this object. -// -// objectID is the object ID of the service principal for which to get owners. +// Parameters: +// objectID - the object ID of the service principal for which to get owners. func (client ServicePrincipalsClient) ListOwners(ctx context.Context, objectID string) (result DirectoryObjectListResult, err error) { req, err := client.ListOwnersPreparer(ctx, objectID) if err != nil { @@ -518,8 +518,8 @@ func (client ServicePrincipalsClient) ListOwnersResponder(resp *http.Response) ( } // ListPasswordCredentials gets the passwordCredentials associated with a service principal. -// -// objectID is the object ID of the service principal. +// Parameters: +// objectID - the object ID of the service principal. func (client ServicePrincipalsClient) ListPasswordCredentials(ctx context.Context, objectID string) (result PasswordCredentialListResult, err error) { req, err := client.ListPasswordCredentialsPreparer(ctx, objectID) if err != nil { @@ -583,9 +583,9 @@ func (client ServicePrincipalsClient) ListPasswordCredentialsResponder(resp *htt } // UpdateKeyCredentials update the keyCredentials associated with a service principal. -// -// objectID is the object ID for which to get service principal information. parameters is parameters to update the -// keyCredentials of an existing service principal. +// Parameters: +// objectID - the object ID for which to get service principal information. +// parameters - parameters to update the keyCredentials of an existing service principal. func (client ServicePrincipalsClient) UpdateKeyCredentials(ctx context.Context, objectID string, parameters KeyCredentialsUpdateParameters) (result autorest.Response, err error) { req, err := client.UpdateKeyCredentialsPreparer(ctx, objectID, parameters) if err != nil { @@ -650,9 +650,9 @@ func (client ServicePrincipalsClient) UpdateKeyCredentialsResponder(resp *http.R } // UpdatePasswordCredentials updates the passwordCredentials associated with a service principal. -// -// objectID is the object ID of the service principal. parameters is parameters to update the passwordCredentials -// of an existing service principal. +// Parameters: +// objectID - the object ID of the service principal. +// parameters - parameters to update the passwordCredentials of an existing service principal. func (client ServicePrincipalsClient) UpdatePasswordCredentials(ctx context.Context, objectID string, parameters PasswordCredentialsUpdateParameters) (result autorest.Response, err error) { req, err := client.UpdatePasswordCredentialsPreparer(ctx, objectID, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/users.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/users.go index 47db7ba00eee..9d0cd833ad29 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/users.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/users.go @@ -42,8 +42,8 @@ func NewUsersClientWithBaseURI(baseURI string, tenantID string) UsersClient { } // Create create a new user. -// -// parameters is parameters to create a user. +// Parameters: +// parameters - parameters to create a user. func (client UsersClient) Create(ctx context.Context, parameters UserCreateParameters) (result User, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -119,8 +119,8 @@ func (client UsersClient) CreateResponder(resp *http.Response) (result User, err } // Delete delete a user. -// -// upnOrObjectID is the object ID or principal name of the user to delete. +// Parameters: +// upnOrObjectID - the object ID or principal name of the user to delete. func (client UsersClient) Delete(ctx context.Context, upnOrObjectID string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, upnOrObjectID) if err != nil { @@ -183,8 +183,8 @@ func (client UsersClient) DeleteResponder(resp *http.Response) (result autorest. } // Get gets user information from the directory. -// -// upnOrObjectID is the object ID or principal name of the user for which to get information. +// Parameters: +// upnOrObjectID - the object ID or principal name of the user for which to get information. func (client UsersClient) Get(ctx context.Context, upnOrObjectID string) (result User, err error) { req, err := client.GetPreparer(ctx, upnOrObjectID) if err != nil { @@ -248,9 +248,9 @@ func (client UsersClient) GetResponder(resp *http.Response) (result User, err er } // GetMemberGroups gets a collection that contains the object IDs of the groups of which the user is a member. -// -// objectID is the object ID of the user for which to get group membership. parameters is user filtering -// parameters. +// Parameters: +// objectID - the object ID of the user for which to get group membership. +// parameters - user filtering parameters. func (client UsersClient) GetMemberGroups(ctx context.Context, objectID string, parameters UserGetMemberGroupsParameters) (result UserGetMemberGroupsResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -322,8 +322,8 @@ func (client UsersClient) GetMemberGroupsResponder(resp *http.Response) (result } // List gets list of users for the current tenant. -// -// filter is the filter to apply to the operation. +// Parameters: +// filter - the filter to apply to the operation. func (client UsersClient) List(ctx context.Context, filter string) (result UserListResultPage, err error) { result.fn = func(lastResult UserListResult) (UserListResult, error) { if lastResult.OdataNextLink == nil || len(to.String(lastResult.OdataNextLink)) < 1 { @@ -401,8 +401,8 @@ func (client UsersClient) ListComplete(ctx context.Context, filter string) (resu } // ListNext gets a list of users for the current tenant. -// -// nextLink is next link for the list operation. +// Parameters: +// nextLink - next link for the list operation. func (client UsersClient) ListNext(ctx context.Context, nextLink string) (result UserListResult, err error) { req, err := client.ListNextPreparer(ctx, nextLink) if err != nil { @@ -466,9 +466,9 @@ func (client UsersClient) ListNextResponder(resp *http.Response) (result UserLis } // Update updates a user. -// -// upnOrObjectID is the object ID or principal name of the user to update. parameters is parameters to update an -// existing user. +// Parameters: +// upnOrObjectID - the object ID or principal name of the user to update. +// parameters - parameters to update an existing user. func (client UsersClient) Update(ctx context.Context, upnOrObjectID string, parameters UserUpdateParameters) (result autorest.Response, err error) { req, err := client.UpdatePreparer(ctx, upnOrObjectID, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/certificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/certificates.go index 854ff2d1262f..8939377627d6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/certificates.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/certificates.go @@ -41,11 +41,13 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer } // CreateOrUpdate adds new or replaces existing certificate. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. certificateName is the name of the certificate certificateDescription is the certificate body. ifMatch -// is eTag of the Certificate. Do not specify for creating a brand new certificate. Required to update an existing -// certificate. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// certificateName - the name of the certificate +// certificateDescription - the certificate body. +// ifMatch - eTag of the Certificate. Do not specify for creating a brand new certificate. Required to update +// an existing certificate. func (client CertificatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, certificateDescription CertificateBodyDescription, ifMatch string) (result CertificateDescription, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: certificateName, @@ -123,9 +125,11 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r } // Delete deletes an existing X509 certificate or does nothing if it does not exist. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. certificateName is the name of the certificate ifMatch is eTag of the Certificate. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// certificateName - the name of the certificate +// ifMatch - eTag of the Certificate. func (client CertificatesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: certificateName, @@ -198,9 +202,11 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au // GenerateVerificationCode generates verification code for proof of possession flow. The verification code will be // used to generate a leaf certificate. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. certificateName is the name of the certificate ifMatch is eTag of the Certificate. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// certificateName - the name of the certificate +// ifMatch - eTag of the Certificate. func (client CertificatesClient) GenerateVerificationCode(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string) (result CertificateWithNonceDescription, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: certificateName, @@ -273,9 +279,10 @@ func (client CertificatesClient) GenerateVerificationCodeResponder(resp *http.Re } // Get returns the certificate. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. certificateName is the name of the certificate +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// certificateName - the name of the certificate func (client CertificatesClient) Get(ctx context.Context, resourceGroupName string, resourceName string, certificateName string) (result CertificateDescription, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: certificateName, @@ -347,9 +354,9 @@ func (client CertificatesClient) GetResponder(resp *http.Response) (result Certi } // ListByIotHub returns the list of certificates. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client CertificatesClient) ListByIotHub(ctx context.Context, resourceGroupName string, resourceName string) (result CertificateListDescription, err error) { req, err := client.ListByIotHubPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -415,10 +422,12 @@ func (client CertificatesClient) ListByIotHubResponder(resp *http.Response) (res // Verify verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre // uploaded certificate. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. certificateName is the name of the certificate certificateVerificationBody is the name of the -// certificate ifMatch is eTag of the Certificate. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// certificateName - the name of the certificate +// certificateVerificationBody - the name of the certificate +// ifMatch - eTag of the Certificate. func (client CertificatesClient) Verify(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, certificateVerificationBody CertificateVerificationDescription, ifMatch string) (result CertificateDescription, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: certificateName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/iothubresource.go b/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/iothubresource.go index 713cbb91e16d..cd05df353aeb 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/iothubresource.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices/iothubresource.go @@ -41,8 +41,9 @@ func NewIotHubResourceClientWithBaseURI(baseURI string, subscriptionID string) I } // CheckNameAvailability check if an IoT hub name is available. -// -// operationInputs is set the name parameter in the OperationInputs structure to the name of the IoT hub to check. +// Parameters: +// operationInputs - set the name parameter in the OperationInputs structure to the name of the IoT hub to +// check. func (client IotHubResourceClient) CheckNameAvailability(ctx context.Context, operationInputs OperationInputs) (result IotHubNameAvailabilityInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: operationInputs, @@ -113,10 +114,11 @@ func (client IotHubResourceClient) CheckNameAvailabilityResponder(resp *http.Res } // CreateEventHubConsumerGroup add a consumer group to an Event Hub-compatible endpoint in an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. eventHubEndpointName is the name of the Event Hub-compatible endpoint in the IoT hub. name is the name -// of the consumer group to add. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// eventHubEndpointName - the name of the Event Hub-compatible endpoint in the IoT hub. +// name - the name of the consumer group to add. func (client IotHubResourceClient) CreateEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result EventHubConsumerGroupInfo, err error) { req, err := client.CreateEventHubConsumerGroupPreparer(ctx, resourceGroupName, resourceName, eventHubEndpointName, name) if err != nil { @@ -185,10 +187,12 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update // the IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. iotHubDescription is the IoT hub metadata and security metadata. ifMatch is eTag of the IoT Hub. Do not -// specify for creating a brand new IoT Hub. Required to update an existing IoT Hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// iotHubDescription - the IoT hub metadata and security metadata. +// ifMatch - eTag of the IoT Hub. Do not specify for creating a brand new IoT Hub. Required to update an +// existing IoT Hub. func (client IotHubResourceClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, iotHubDescription IotHubDescription, ifMatch string) (result IotHubResourceCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: iotHubDescription, @@ -294,9 +298,9 @@ func (client IotHubResourceClient) CreateOrUpdateResponder(resp *http.Response) } // Delete delete an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client IotHubResourceClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubResourceDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -363,10 +367,11 @@ func (client IotHubResourceClient) DeleteResponder(resp *http.Response) (result } // DeleteEventHubConsumerGroup delete a consumer group from an Event Hub-compatible endpoint in an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. eventHubEndpointName is the name of the Event Hub-compatible endpoint in the IoT hub. name is the name -// of the consumer group to delete. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// eventHubEndpointName - the name of the Event Hub-compatible endpoint in the IoT hub. +// name - the name of the consumer group to delete. func (client IotHubResourceClient) DeleteEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result autorest.Response, err error) { req, err := client.DeleteEventHubConsumerGroupPreparer(ctx, resourceGroupName, resourceName, eventHubEndpointName, name) if err != nil { @@ -434,9 +439,10 @@ func (client IotHubResourceClient) DeleteEventHubConsumerGroupResponder(resp *ht // ExportDevices exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. // For more information, see: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. exportDevicesParameters is the parameters that specify the export devices operation. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// exportDevicesParameters - the parameters that specify the export devices operation. func (client IotHubResourceClient) ExportDevices(ctx context.Context, resourceGroupName string, resourceName string, exportDevicesParameters ExportDevicesRequest) (result JobResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: exportDevicesParameters, @@ -510,9 +516,9 @@ func (client IotHubResourceClient) ExportDevicesResponder(resp *http.Response) ( } // Get get the non-security related metadata of an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client IotHubResourceClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubDescription, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -577,10 +583,11 @@ func (client IotHubResourceClient) GetResponder(resp *http.Response) (result Iot } // GetEventHubConsumerGroup get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. eventHubEndpointName is the name of the Event Hub-compatible endpoint in the IoT hub. name is the name -// of the consumer group to retrieve. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// eventHubEndpointName - the name of the Event Hub-compatible endpoint in the IoT hub. +// name - the name of the consumer group to retrieve. func (client IotHubResourceClient) GetEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result EventHubConsumerGroupInfo, err error) { req, err := client.GetEventHubConsumerGroupPreparer(ctx, resourceGroupName, resourceName, eventHubEndpointName, name) if err != nil { @@ -648,9 +655,10 @@ func (client IotHubResourceClient) GetEventHubConsumerGroupResponder(resp *http. // GetJob get the details of a job from an IoT hub. For more information, see: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. jobID is the job identifier. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// jobID - the job identifier. func (client IotHubResourceClient) GetJob(ctx context.Context, resourceGroupName string, resourceName string, jobID string) (result JobResponse, err error) { req, err := client.GetJobPreparer(ctx, resourceGroupName, resourceName, jobID) if err != nil { @@ -717,9 +725,10 @@ func (client IotHubResourceClient) GetJobResponder(resp *http.Response) (result // GetKeysForKeyName get a shared access policy by name from an IoT hub. For more information, see: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. keyName is the name of the shared access policy. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// keyName - the name of the shared access policy. func (client IotHubResourceClient) GetKeysForKeyName(ctx context.Context, resourceGroupName string, resourceName string, keyName string) (result SharedAccessSignatureAuthorizationRule, err error) { req, err := client.GetKeysForKeyNamePreparer(ctx, resourceGroupName, resourceName, keyName) if err != nil { @@ -785,9 +794,9 @@ func (client IotHubResourceClient) GetKeysForKeyNameResponder(resp *http.Respons } // GetQuotaMetrics get the quota metrics for an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client IotHubResourceClient) GetQuotaMetrics(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubQuotaMetricInfoListResultPage, err error) { result.fn = client.getQuotaMetricsNextResults req, err := client.GetQuotaMetricsPreparer(ctx, resourceGroupName, resourceName) @@ -880,9 +889,9 @@ func (client IotHubResourceClient) GetQuotaMetricsComplete(ctx context.Context, } // GetStats get the statistics from an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client IotHubResourceClient) GetStats(ctx context.Context, resourceGroupName string, resourceName string) (result RegistryStatistics, err error) { req, err := client.GetStatsPreparer(ctx, resourceGroupName, resourceName) if err != nil { @@ -947,9 +956,9 @@ func (client IotHubResourceClient) GetStatsResponder(resp *http.Response) (resul } // GetValidSkus get the list of valid SKUs for an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client IotHubResourceClient) GetValidSkus(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubSkuDescriptionListResultPage, err error) { result.fn = client.getValidSkusNextResults req, err := client.GetValidSkusPreparer(ctx, resourceGroupName, resourceName) @@ -1044,9 +1053,10 @@ func (client IotHubResourceClient) GetValidSkusComplete(ctx context.Context, res // ImportDevices import, update, or delete device identities in the IoT hub identity registry from a blob. For more // information, see: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. importDevicesParameters is the parameters that specify the import devices operation. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// importDevicesParameters - the parameters that specify the import devices operation. func (client IotHubResourceClient) ImportDevices(ctx context.Context, resourceGroupName string, resourceName string, importDevicesParameters ImportDevicesRequest) (result JobResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: importDevicesParameters, @@ -1120,8 +1130,8 @@ func (client IotHubResourceClient) ImportDevicesResponder(resp *http.Response) ( } // ListByResourceGroup get all the IoT hubs in a resource group. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. func (client IotHubResourceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result IotHubDescriptionListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -1304,9 +1314,10 @@ func (client IotHubResourceClient) ListBySubscriptionComplete(ctx context.Contex // ListEventHubConsumerGroups get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in // an IoT hub. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. eventHubEndpointName is the name of the Event Hub-compatible endpoint. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. +// eventHubEndpointName - the name of the Event Hub-compatible endpoint. func (client IotHubResourceClient) ListEventHubConsumerGroups(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string) (result EventHubConsumerGroupsListResultPage, err error) { result.fn = client.listEventHubConsumerGroupsNextResults req, err := client.ListEventHubConsumerGroupsPreparer(ctx, resourceGroupName, resourceName, eventHubEndpointName) @@ -1401,9 +1412,9 @@ func (client IotHubResourceClient) ListEventHubConsumerGroupsComplete(ctx contex // ListJobs get a list of all the jobs in an IoT hub. For more information, see: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client IotHubResourceClient) ListJobs(ctx context.Context, resourceGroupName string, resourceName string) (result JobResponseListResultPage, err error) { result.fn = client.listJobsNextResults req, err := client.ListJobsPreparer(ctx, resourceGroupName, resourceName) @@ -1497,9 +1508,9 @@ func (client IotHubResourceClient) ListJobsComplete(ctx context.Context, resourc // ListKeys get the security metadata for an IoT hub. For more information, see: // https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security. -// -// resourceGroupName is the name of the resource group that contains the IoT hub. resourceName is the name of the -// IoT hub. +// Parameters: +// resourceGroupName - the name of the resource group that contains the IoT hub. +// resourceName - the name of the IoT hub. func (client IotHubResourceClient) ListKeys(ctx context.Context, resourceGroupName string, resourceName string) (result SharedAccessSignatureAuthorizationRuleListResultPage, err error) { result.fn = client.listKeysNextResults req, err := client.ListKeysPreparer(ctx, resourceGroupName, resourceName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault/client.go index 26df00d4b964..73558939d68f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault/client.go @@ -54,8 +54,9 @@ func NewWithoutDefaults() BaseClient { // geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another // geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical // area. This operation requires the key/backup permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. func (client BaseClient) BackupKey(ctx context.Context, vaultBaseURL string, keyName string) (result BackupKeyResult, err error) { req, err := client.BackupKeyPreparer(ctx, vaultBaseURL, keyName) if err != nil { @@ -123,9 +124,9 @@ func (client BaseClient) BackupKeyResponder(resp *http.Response) (result BackupK // BackupSecret requests that a backup of the specified secret be downloaded to the client. All versions of the secret // will be downloaded. This operation requires the secrets/backup permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. func (client BaseClient) BackupSecret(ctx context.Context, vaultBaseURL string, secretName string) (result BackupSecretResult, err error) { req, err := client.BackupSecretPreparer(ctx, vaultBaseURL, secretName) if err != nil { @@ -193,9 +194,10 @@ func (client BaseClient) BackupSecretResponder(resp *http.Response) (result Back // CreateCertificate if this is the first version, the certificate resource is created. This operation requires the // certificates/create permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. parameters is the parameters to create a certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. +// parameters - the parameters to create a certificate. func (client BaseClient) CreateCertificate(ctx context.Context, vaultBaseURL string, certificateName string, parameters CertificateCreateParameters) (result CertificateOperation, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: certificateName, @@ -278,9 +280,10 @@ func (client BaseClient) CreateCertificateResponder(resp *http.Response) (result // CreateKey the create key operation can be used to create any key type in Azure Key Vault. If the named key already // exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name for the new -// key. The system will generate the version name for the new key. parameters is the parameters to create a key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name for the new key. The system will generate the version name for the new key. +// parameters - the parameters to create a key. func (client BaseClient) CreateKey(ctx context.Context, vaultBaseURL string, keyName string, parameters KeyCreateParameters) (result KeyBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: keyName, @@ -359,9 +362,11 @@ func (client BaseClient) CreateKeyResponder(resp *http.Response) (result KeyBund // decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation // applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. // This operation requires the keys/decrypt permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. -// keyVersion is the version of the key. parameters is the parameters for the decryption operation. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. +// keyVersion - the version of the key. +// parameters - the parameters for the decryption operation. func (client BaseClient) Decrypt(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string, parameters KeyOperationsParameters) (result KeyOperationResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -439,9 +444,9 @@ func (client BaseClient) DecryptResponder(resp *http.Response) (result KeyOperat // DeleteCertificate deletes all versions of a certificate object along with its associated policy. Delete certificate // cannot be used to remove individual versions of a certificate object. This operation requires the // certificates/delete permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. func (client BaseClient) DeleteCertificate(ctx context.Context, vaultBaseURL string, certificateName string) (result DeletedCertificateBundle, err error) { req, err := client.DeleteCertificatePreparer(ctx, vaultBaseURL, certificateName) if err != nil { @@ -509,8 +514,8 @@ func (client BaseClient) DeleteCertificateResponder(resp *http.Response) (result // DeleteCertificateContacts deletes the certificate contacts for a specified key vault certificate. This operation // requires the certificates/managecontacts permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. func (client BaseClient) DeleteCertificateContacts(ctx context.Context, vaultBaseURL string) (result Contacts, err error) { req, err := client.DeleteCertificateContactsPreparer(ctx, vaultBaseURL) if err != nil { @@ -574,9 +579,9 @@ func (client BaseClient) DeleteCertificateContactsResponder(resp *http.Response) // DeleteCertificateIssuer the DeleteCertificateIssuer operation permanently removes the specified certificate issuer // from the vault. This operation requires the certificates/manageissuers/deleteissuers permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. issuerName is the name of the -// issuer. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// issuerName - the name of the issuer. func (client BaseClient) DeleteCertificateIssuer(ctx context.Context, vaultBaseURL string, issuerName string) (result IssuerBundle, err error) { req, err := client.DeleteCertificateIssuerPreparer(ctx, vaultBaseURL, issuerName) if err != nil { @@ -644,9 +649,9 @@ func (client BaseClient) DeleteCertificateIssuerResponder(resp *http.Response) ( // DeleteCertificateOperation deletes the creation operation for a specified certificate that is in the process of // being created. The certificate is no longer created. This operation requires the certificates/update permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. func (client BaseClient) DeleteCertificateOperation(ctx context.Context, vaultBaseURL string, certificateName string) (result CertificateOperation, err error) { req, err := client.DeleteCertificateOperationPreparer(ctx, vaultBaseURL, certificateName) if err != nil { @@ -715,9 +720,9 @@ func (client BaseClient) DeleteCertificateOperationResponder(resp *http.Response // DeleteKey the delete key operation cannot be used to remove individual versions of a key. This operation removes the // cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or // Encrypt/Decrypt operations. This operation requires the keys/delete permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key to -// delete. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key to delete. func (client BaseClient) DeleteKey(ctx context.Context, vaultBaseURL string, keyName string) (result DeletedKeyBundle, err error) { req, err := client.DeleteKeyPreparer(ctx, vaultBaseURL, keyName) if err != nil { @@ -785,9 +790,10 @@ func (client BaseClient) DeleteKeyResponder(resp *http.Response) (result Deleted // DeleteSasDefinition deletes a SAS definition from a specified storage account. This operation requires the // storage/deletesas permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. sasDefinitionName is the name of the SAS definition. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// sasDefinitionName - the name of the SAS definition. func (client BaseClient) DeleteSasDefinition(ctx context.Context, vaultBaseURL string, storageAccountName string, sasDefinitionName string) (result SasDefinitionBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -864,9 +870,9 @@ func (client BaseClient) DeleteSasDefinitionResponder(resp *http.Response) (resu // DeleteSecret the DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an // individual version of a secret. This operation requires the secrets/delete permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. func (client BaseClient) DeleteSecret(ctx context.Context, vaultBaseURL string, secretName string) (result DeletedSecretBundle, err error) { req, err := client.DeleteSecretPreparer(ctx, vaultBaseURL, secretName) if err != nil { @@ -933,9 +939,9 @@ func (client BaseClient) DeleteSecretResponder(resp *http.Response) (result Dele } // DeleteStorageAccount deletes a storage account. This operation requires the storage/delete permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. func (client BaseClient) DeleteStorageAccount(ctx context.Context, vaultBaseURL string, storageAccountName string) (result StorageBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -1014,9 +1020,11 @@ func (client BaseClient) DeleteStorageAccountResponder(resp *http.Response) (res // using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that // have a key-reference but do not have access to the public key material. This operation requires the keys/encypt // permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. -// keyVersion is the version of the key. parameters is the parameters for the encryption operation. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. +// keyVersion - the version of the key. +// parameters - the parameters for the encryption operation. func (client BaseClient) Encrypt(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string, parameters KeyOperationsParameters) (result KeyOperationResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -1093,9 +1101,10 @@ func (client BaseClient) EncryptResponder(resp *http.Response) (result KeyOperat // GetCertificate gets information about a specific certificate. This operation requires the certificates/get // permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate in the given vault. certificateVersion is the version of the certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate in the given vault. +// certificateVersion - the version of the certificate. func (client BaseClient) GetCertificate(ctx context.Context, vaultBaseURL string, certificateName string, certificateVersion string) (result CertificateBundle, err error) { req, err := client.GetCertificatePreparer(ctx, vaultBaseURL, certificateName, certificateVersion) if err != nil { @@ -1164,8 +1173,8 @@ func (client BaseClient) GetCertificateResponder(resp *http.Response) (result Ce // GetCertificateContacts the GetCertificateContacts operation returns the set of certificate contact resources in the // specified key vault. This operation requires the certificates/managecontacts permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. func (client BaseClient) GetCertificateContacts(ctx context.Context, vaultBaseURL string) (result Contacts, err error) { req, err := client.GetCertificateContactsPreparer(ctx, vaultBaseURL) if err != nil { @@ -1229,9 +1238,9 @@ func (client BaseClient) GetCertificateContactsResponder(resp *http.Response) (r // GetCertificateIssuer the GetCertificateIssuer operation returns the specified certificate issuer resources in the // specified key vault. This operation requires the certificates/manageissuers/getissuers permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. issuerName is the name of the -// issuer. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// issuerName - the name of the issuer. func (client BaseClient) GetCertificateIssuer(ctx context.Context, vaultBaseURL string, issuerName string) (result IssuerBundle, err error) { req, err := client.GetCertificateIssuerPreparer(ctx, vaultBaseURL, issuerName) if err != nil { @@ -1299,9 +1308,10 @@ func (client BaseClient) GetCertificateIssuerResponder(resp *http.Response) (res // GetCertificateIssuers the GetCertificateIssuers operation returns the set of certificate issuer resources in the // specified key vault. This operation requires the certificates/manageissuers/getissuers permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetCertificateIssuers(ctx context.Context, vaultBaseURL string, maxresults *int32) (result CertificateIssuerListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -1405,9 +1415,9 @@ func (client BaseClient) GetCertificateIssuersComplete(ctx context.Context, vaul // GetCertificateOperation gets the creation operation associated with a specified certificate. This operation requires // the certificates/get permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. func (client BaseClient) GetCertificateOperation(ctx context.Context, vaultBaseURL string, certificateName string) (result CertificateOperation, err error) { req, err := client.GetCertificateOperationPreparer(ctx, vaultBaseURL, certificateName) if err != nil { @@ -1475,9 +1485,9 @@ func (client BaseClient) GetCertificateOperationResponder(resp *http.Response) ( // GetCertificatePolicy the GetCertificatePolicy operation returns the specified certificate policy resources in the // specified key vault. This operation requires the certificates/get permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate in a given key vault. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate in a given key vault. func (client BaseClient) GetCertificatePolicy(ctx context.Context, vaultBaseURL string, certificateName string) (result CertificatePolicy, err error) { req, err := client.GetCertificatePolicyPreparer(ctx, vaultBaseURL, certificateName) if err != nil { @@ -1545,9 +1555,10 @@ func (client BaseClient) GetCertificatePolicyResponder(resp *http.Response) (res // GetCertificates the GetCertificates operation returns the set of certificates resources in the specified key vault. // This operation requires the certificates/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetCertificates(ctx context.Context, vaultBaseURL string, maxresults *int32) (result CertificateListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -1651,10 +1662,11 @@ func (client BaseClient) GetCertificatesComplete(ctx context.Context, vaultBaseU // GetCertificateVersions the GetCertificateVersions operation returns the versions of a certificate in the specified // key vault. This operation requires the certificates/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. maxresults is maximum number of results to return in a page. If not specified the service will -// return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetCertificateVersions(ctx context.Context, vaultBaseURL string, certificateName string, maxresults *int32) (result CertificateListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -1763,9 +1775,9 @@ func (client BaseClient) GetCertificateVersionsComplete(ctx context.Context, vau // GetDeletedCertificate the GetDeletedCertificate operation retrieves the deleted certificate information plus its // attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This // operation requires the certificates/get permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate func (client BaseClient) GetDeletedCertificate(ctx context.Context, vaultBaseURL string, certificateName string) (result DeletedCertificateBundle, err error) { req, err := client.GetDeletedCertificatePreparer(ctx, vaultBaseURL, certificateName) if err != nil { @@ -1835,9 +1847,10 @@ func (client BaseClient) GetDeletedCertificateResponder(resp *http.Response) (re // are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. // This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete // enabled vaults. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetDeletedCertificates(ctx context.Context, vaultBaseURL string, maxresults *int32) (result DeletedCertificateListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -1942,8 +1955,9 @@ func (client BaseClient) GetDeletedCertificatesComplete(ctx context.Context, vau // GetDeletedKey the Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be // invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires // the keys/get permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. func (client BaseClient) GetDeletedKey(ctx context.Context, vaultBaseURL string, keyName string) (result DeletedKeyBundle, err error) { req, err := client.GetDeletedKeyPreparer(ctx, vaultBaseURL, keyName) if err != nil { @@ -2013,9 +2027,10 @@ func (client BaseClient) GetDeletedKeyResponder(resp *http.Response) (result Del // of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is // applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an // error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetDeletedKeys(ctx context.Context, vaultBaseURL string, maxresults *int32) (result DeletedKeyListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -2119,9 +2134,9 @@ func (client BaseClient) GetDeletedKeysComplete(ctx context.Context, vaultBaseUR // GetDeletedSecret the Get Deleted Secret operation returns the specified deleted secret along with its attributes. // This operation requires the secrets/get permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. func (client BaseClient) GetDeletedSecret(ctx context.Context, vaultBaseURL string, secretName string) (result DeletedSecretBundle, err error) { req, err := client.GetDeletedSecretPreparer(ctx, vaultBaseURL, secretName) if err != nil { @@ -2189,9 +2204,10 @@ func (client BaseClient) GetDeletedSecretResponder(resp *http.Response) (result // GetDeletedSecrets the Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled // for soft-delete. This operation requires the secrets/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetDeletedSecrets(ctx context.Context, vaultBaseURL string, maxresults *int32) (result DeletedSecretListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -2295,9 +2311,10 @@ func (client BaseClient) GetDeletedSecretsComplete(ctx context.Context, vaultBas // GetKey the get key operation is applicable to all key types. If the requested key is symmetric, then no key material // is released in the response. This operation requires the keys/get permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key to -// get. keyVersion is adding the version parameter retrieves a specific version of a key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key to get. +// keyVersion - adding the version parameter retrieves a specific version of a key. func (client BaseClient) GetKey(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string) (result KeyBundle, err error) { req, err := client.GetKeyPreparer(ctx, vaultBaseURL, keyName, keyVersion) if err != nil { @@ -2368,9 +2385,10 @@ func (client BaseClient) GetKeyResponder(resp *http.Response) (result KeyBundle, // stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and // tags are provided in the response. Individual versions of a key are not listed in the response. This operation // requires the keys/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetKeys(ctx context.Context, vaultBaseURL string, maxresults *int32) (result KeyListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -2474,10 +2492,11 @@ func (client BaseClient) GetKeysComplete(ctx context.Context, vaultBaseURL strin // GetKeyVersions the full key identifier, attributes, and tags are provided in the response. This operation requires // the keys/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. -// maxresults is maximum number of results to return in a page. If not specified the service will return up to 25 -// results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetKeyVersions(ctx context.Context, vaultBaseURL string, keyName string, maxresults *int32) (result KeyListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -2585,9 +2604,10 @@ func (client BaseClient) GetKeyVersionsComplete(ctx context.Context, vaultBaseUR // GetSasDefinition gets information about a SAS definition for the specified storage account. This operation requires // the storage/getsas permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. sasDefinitionName is the name of the SAS definition. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// sasDefinitionName - the name of the SAS definition. func (client BaseClient) GetSasDefinition(ctx context.Context, vaultBaseURL string, storageAccountName string, sasDefinitionName string) (result SasDefinitionBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -2664,10 +2684,11 @@ func (client BaseClient) GetSasDefinitionResponder(resp *http.Response) (result // GetSasDefinitions list storage SAS definitions for the given storage account. This operation requires the // storage/listsas permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. maxresults is maximum number of results to return in a page. If not specified the service -// will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetSasDefinitions(ctx context.Context, vaultBaseURL string, storageAccountName string, maxresults *int32) (result SasDefinitionListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -2777,9 +2798,10 @@ func (client BaseClient) GetSasDefinitionsComplete(ctx context.Context, vaultBas // GetSecret the GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the // secrets/get permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. secretVersion is the version of the secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. +// secretVersion - the version of the secret. func (client BaseClient) GetSecret(ctx context.Context, vaultBaseURL string, secretName string, secretVersion string) (result SecretBundle, err error) { req, err := client.GetSecretPreparer(ctx, vaultBaseURL, secretName, secretVersion) if err != nil { @@ -2849,9 +2871,10 @@ func (client BaseClient) GetSecretResponder(resp *http.Response) (result SecretB // GetSecrets the Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and // its attributes are provided in the response. Individual secret versions are not listed in the response. This // operation requires the secrets/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified, the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified, the service will return up to +// 25 results. func (client BaseClient) GetSecrets(ctx context.Context, vaultBaseURL string, maxresults *int32) (result SecretListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -2955,10 +2978,11 @@ func (client BaseClient) GetSecretsComplete(ctx context.Context, vaultBaseURL st // GetSecretVersions the full secret identifier and attributes are provided in the response. No values are returned for // the secrets. This operations requires the secrets/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. maxresults is maximum number of results to return in a page. If not specified, the service will return -// up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. +// maxresults - maximum number of results to return in a page. If not specified, the service will return up to +// 25 results. func (client BaseClient) GetSecretVersions(ctx context.Context, vaultBaseURL string, secretName string, maxresults *int32) (result SecretListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -3066,9 +3090,9 @@ func (client BaseClient) GetSecretVersionsComplete(ctx context.Context, vaultBas // GetStorageAccount gets information about a specified storage account. This operation requires the storage/get // permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. func (client BaseClient) GetStorageAccount(ctx context.Context, vaultBaseURL string, storageAccountName string) (result StorageBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -3142,9 +3166,10 @@ func (client BaseClient) GetStorageAccountResponder(resp *http.Response) (result // GetStorageAccounts list storage accounts managed by the specified key vault. This operation requires the // storage/list permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. maxresults is maximum number of -// results to return in a page. If not specified the service will return up to 25 results. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// maxresults - maximum number of results to return in a page. If not specified the service will return up to +// 25 results. func (client BaseClient) GetStorageAccounts(ctx context.Context, vaultBaseURL string, maxresults *int32) (result StorageListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: maxresults, @@ -3249,9 +3274,10 @@ func (client BaseClient) GetStorageAccountsComplete(ctx context.Context, vaultBa // ImportCertificate imports an existing valid certificate, containing a private key, into Azure Key Vault. The // certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must // contain the key as well as x509 certificates. This operation requires the certificates/import permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. parameters is the parameters to import the certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. +// parameters - the parameters to import the certificate. func (client BaseClient) ImportCertificate(ctx context.Context, vaultBaseURL string, certificateName string, parameters CertificateImportParameters) (result CertificateBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: certificateName, @@ -3336,9 +3362,10 @@ func (client BaseClient) ImportCertificateResponder(resp *http.Response) (result // ImportKey the import key operation may be used to import any key type into an Azure Key Vault. If the named key // already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import // permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is name for the imported -// key. parameters is the parameters to import a key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - name for the imported key. +// parameters - the parameters to import a key. func (client BaseClient) ImportKey(ctx context.Context, vaultBaseURL string, keyName string, parameters KeyImportParameters) (result KeyBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: keyName, @@ -3416,9 +3443,10 @@ func (client BaseClient) ImportKeyResponder(resp *http.Response) (result KeyBund // MergeCertificate the MergeCertificate operation performs the merging of a certificate or certificate chain with a // key pair currently available in the service. This operation requires the certificates/create permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. parameters is the parameters to merge certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. +// parameters - the parameters to merge certificate. func (client BaseClient) MergeCertificate(ctx context.Context, vaultBaseURL string, certificateName string, parameters CertificateMergeParameters) (result CertificateBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -3495,9 +3523,9 @@ func (client BaseClient) MergeCertificateResponder(resp *http.Response) (result // PurgeDeletedCertificate the PurgeDeletedCertificate operation performs an irreversible deletion of the specified // certificate, without possibility for recovery. The operation is not available if the recovery level does not specify // 'Purgeable'. This operation requires the certificate/purge permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate func (client BaseClient) PurgeDeletedCertificate(ctx context.Context, vaultBaseURL string, certificateName string) (result autorest.Response, err error) { req, err := client.PurgeDeletedCertificatePreparer(ctx, vaultBaseURL, certificateName) if err != nil { @@ -3565,8 +3593,9 @@ func (client BaseClient) PurgeDeletedCertificateResponder(resp *http.Response) ( // PurgeDeletedKey the Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation // can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation // requires the keys/purge permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key func (client BaseClient) PurgeDeletedKey(ctx context.Context, vaultBaseURL string, keyName string) (result autorest.Response, err error) { req, err := client.PurgeDeletedKeyPreparer(ctx, vaultBaseURL, keyName) if err != nil { @@ -3634,9 +3663,9 @@ func (client BaseClient) PurgeDeletedKeyResponder(resp *http.Response) (result a // PurgeDeletedSecret the purge deleted secret operation removes the secret permanently, without the possibility of // recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the // secrets/purge permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. func (client BaseClient) PurgeDeletedSecret(ctx context.Context, vaultBaseURL string, secretName string) (result autorest.Response, err error) { req, err := client.PurgeDeletedSecretPreparer(ctx, vaultBaseURL, secretName) if err != nil { @@ -3704,9 +3733,9 @@ func (client BaseClient) PurgeDeletedSecretResponder(resp *http.Response) (resul // RecoverDeletedCertificate the RecoverDeletedCertificate operation performs the reversal of the Delete operation. The // operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval // (available in the deleted certificate's attributes). This operation requires the certificates/recover permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// deleted certificate +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the deleted certificate func (client BaseClient) RecoverDeletedCertificate(ctx context.Context, vaultBaseURL string, certificateName string) (result CertificateBundle, err error) { req, err := client.RecoverDeletedCertificatePreparer(ctx, vaultBaseURL, certificateName) if err != nil { @@ -3776,9 +3805,9 @@ func (client BaseClient) RecoverDeletedCertificateResponder(resp *http.Response) // recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will // return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation // requires the keys/recover permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the deleted -// key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the deleted key. func (client BaseClient) RecoverDeletedKey(ctx context.Context, vaultBaseURL string, keyName string) (result KeyBundle, err error) { req, err := client.RecoverDeletedKeyPreparer(ctx, vaultBaseURL, keyName) if err != nil { @@ -3846,9 +3875,9 @@ func (client BaseClient) RecoverDeletedKeyResponder(resp *http.Response) (result // RecoverDeletedSecret recovers the deleted secret in the specified vault. This operation can only be performed on a // soft-delete enabled vault. This operation requires the secrets/recover permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// deleted secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the deleted secret. func (client BaseClient) RecoverDeletedSecret(ctx context.Context, vaultBaseURL string, secretName string) (result SecretBundle, err error) { req, err := client.RecoverDeletedSecretPreparer(ctx, vaultBaseURL, secretName) if err != nil { @@ -3916,9 +3945,10 @@ func (client BaseClient) RecoverDeletedSecretResponder(resp *http.Response) (res // RegenerateStorageAccountKey regenerates the specified key value for the given storage account. This operation // requires the storage/regeneratekey permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. parameters is the parameters to regenerate storage account key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// parameters - the parameters to regenerate storage account key. func (client BaseClient) RegenerateStorageAccountKey(ctx context.Context, vaultBaseURL string, storageAccountName string, parameters StorageAccountRegenerteKeyParameters) (result StorageBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -4003,9 +4033,9 @@ func (client BaseClient) RegenerateStorageAccountKeyResponder(resp *http.Respons // subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the // source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the // keys/restore permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. parameters is the parameters to -// restore the key. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// parameters - the parameters to restore the key. func (client BaseClient) RestoreKey(ctx context.Context, vaultBaseURL string, parameters KeyRestoreParameters) (result KeyBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -4077,9 +4107,9 @@ func (client BaseClient) RestoreKeyResponder(resp *http.Response) (result KeyBun // RestoreSecret restores a backed up secret, and all its versions, to a vault. This operation requires the // secrets/restore permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. parameters is the parameters to -// restore the secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// parameters - the parameters to restore the secret. func (client BaseClient) RestoreSecret(ctx context.Context, vaultBaseURL string, parameters SecretRestoreParameters) (result SecretBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -4151,9 +4181,9 @@ func (client BaseClient) RestoreSecretResponder(resp *http.Response) (result Sec // SetCertificateContacts sets the certificate contacts for the specified key vault. This operation requires the // certificates/managecontacts permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. contacts is the contacts for the -// key vault certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// contacts - the contacts for the key vault certificate. func (client BaseClient) SetCertificateContacts(ctx context.Context, vaultBaseURL string, contacts Contacts) (result Contacts, err error) { req, err := client.SetCertificateContactsPreparer(ctx, vaultBaseURL, contacts) if err != nil { @@ -4219,9 +4249,10 @@ func (client BaseClient) SetCertificateContactsResponder(resp *http.Response) (r // SetCertificateIssuer the SetCertificateIssuer operation adds or updates the specified certificate issuer. This // operation requires the certificates/setissuers permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. issuerName is the name of the -// issuer. parameter is certificate issuer set parameter. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// issuerName - the name of the issuer. +// parameter - certificate issuer set parameter. func (client BaseClient) SetCertificateIssuer(ctx context.Context, vaultBaseURL string, issuerName string, parameter CertificateIssuerSetParameters) (result IssuerBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameter, @@ -4297,10 +4328,11 @@ func (client BaseClient) SetCertificateIssuerResponder(resp *http.Response) (res // SetSasDefinition creates or updates a new SAS definition for the specified storage account. This operation requires // the storage/setsas permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. sasDefinitionName is the name of the SAS definition. parameters is the parameters to create -// a SAS definition. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// sasDefinitionName - the name of the SAS definition. +// parameters - the parameters to create a SAS definition. func (client BaseClient) SetSasDefinition(ctx context.Context, vaultBaseURL string, storageAccountName string, sasDefinitionName string, parameters SasDefinitionCreateParameters) (result SasDefinitionBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -4381,9 +4413,10 @@ func (client BaseClient) SetSasDefinitionResponder(resp *http.Response) (result // SetSecret the SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key // Vault creates a new version of that secret. This operation requires the secrets/set permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. parameters is the parameters for setting the secret. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. +// parameters - the parameters for setting the secret. func (client BaseClient) SetSecret(ctx context.Context, vaultBaseURL string, secretName string, parameters SecretSetParameters) (result SecretBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: secretName, @@ -4460,9 +4493,10 @@ func (client BaseClient) SetSecretResponder(resp *http.Response) (result SecretB } // SetStorageAccount creates or updates a new storage account. This operation requires the storage/set permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. parameters is the parameters to create a storage account. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// parameters - the parameters to create a storage account. func (client BaseClient) SetStorageAccount(ctx context.Context, vaultBaseURL string, storageAccountName string, parameters StorageAccountCreateParameters) (result StorageBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -4542,9 +4576,11 @@ func (client BaseClient) SetStorageAccountResponder(resp *http.Response) (result // Sign the SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this // operation uses the private portion of the key. This operation requires the keys/sign permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. -// keyVersion is the version of the key. parameters is the parameters for the signing operation. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. +// keyVersion - the version of the key. +// parameters - the parameters for the signing operation. func (client BaseClient) Sign(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string, parameters KeySignParameters) (result KeyOperationResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -4623,9 +4659,11 @@ func (client BaseClient) SignResponder(resp *http.Response) (result KeyOperation // operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored // in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey // permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. -// keyVersion is the version of the key. parameters is the parameters for the key operation. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. +// keyVersion - the version of the key. +// parameters - the parameters for the key operation. func (client BaseClient) UnwrapKey(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string, parameters KeyOperationsParameters) (result KeyOperationResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -4702,10 +4740,11 @@ func (client BaseClient) UnwrapKeyResponder(resp *http.Response) (result KeyOper // UpdateCertificate the UpdateCertificate operation applies the specified update on the given certificate; the only // elements updated are the certificate's attributes. This operation requires the certificates/update permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate in the given key vault. certificateVersion is the version of the certificate. parameters is the -// parameters for certificate update. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate in the given key vault. +// certificateVersion - the version of the certificate. +// parameters - the parameters for certificate update. func (client BaseClient) UpdateCertificate(ctx context.Context, vaultBaseURL string, certificateName string, certificateVersion string, parameters CertificateUpdateParameters) (result CertificateBundle, err error) { req, err := client.UpdateCertificatePreparer(ctx, vaultBaseURL, certificateName, certificateVersion, parameters) if err != nil { @@ -4776,9 +4815,10 @@ func (client BaseClient) UpdateCertificateResponder(resp *http.Response) (result // UpdateCertificateIssuer the UpdateCertificateIssuer operation performs an update on the specified certificate issuer // entity. This operation requires the certificates/setissuers permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. issuerName is the name of the -// issuer. parameter is certificate issuer update parameter. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// issuerName - the name of the issuer. +// parameter - certificate issuer update parameter. func (client BaseClient) UpdateCertificateIssuer(ctx context.Context, vaultBaseURL string, issuerName string, parameter CertificateIssuerUpdateParameters) (result IssuerBundle, err error) { req, err := client.UpdateCertificateIssuerPreparer(ctx, vaultBaseURL, issuerName, parameter) if err != nil { @@ -4848,9 +4888,10 @@ func (client BaseClient) UpdateCertificateIssuerResponder(resp *http.Response) ( // UpdateCertificateOperation updates a certificate creation operation that is already in progress. This operation // requires the certificates/update permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate. certificateOperation is the certificate operation response. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate. +// certificateOperation - the certificate operation response. func (client BaseClient) UpdateCertificateOperation(ctx context.Context, vaultBaseURL string, certificateName string, certificateOperation CertificateOperationUpdateParameter) (result CertificateOperation, err error) { req, err := client.UpdateCertificateOperationPreparer(ctx, vaultBaseURL, certificateName, certificateOperation) if err != nil { @@ -4920,9 +4961,10 @@ func (client BaseClient) UpdateCertificateOperationResponder(resp *http.Response // UpdateCertificatePolicy set specified members in the certificate policy. Leave others as null. This operation // requires the certificates/update permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. certificateName is the name of the -// certificate in the given vault. certificatePolicy is the policy for the certificate. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// certificateName - the name of the certificate in the given vault. +// certificatePolicy - the policy for the certificate. func (client BaseClient) UpdateCertificatePolicy(ctx context.Context, vaultBaseURL string, certificateName string, certificatePolicy CertificatePolicy) (result CertificatePolicy, err error) { req, err := client.UpdateCertificatePolicyPreparer(ctx, vaultBaseURL, certificateName, certificatePolicy) if err != nil { @@ -4992,9 +5034,11 @@ func (client BaseClient) UpdateCertificatePolicyResponder(resp *http.Response) ( // UpdateKey in order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic // material of a key itself cannot be changed. This operation requires the keys/update permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of key to -// update. keyVersion is the version of the key to update. parameters is the parameters of the key to update. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of key to update. +// keyVersion - the version of the key to update. +// parameters - the parameters of the key to update. func (client BaseClient) UpdateKey(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string, parameters KeyUpdateParameters) (result KeyBundle, err error) { req, err := client.UpdateKeyPreparer(ctx, vaultBaseURL, keyName, keyVersion, parameters) if err != nil { @@ -5065,10 +5109,11 @@ func (client BaseClient) UpdateKeyResponder(resp *http.Response) (result KeyBund // UpdateSasDefinition updates the specified attributes associated with the given SAS definition. This operation // requires the storage/setsas permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. sasDefinitionName is the name of the SAS definition. parameters is the parameters to update -// a SAS definition. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// sasDefinitionName - the name of the SAS definition. +// parameters - the parameters to update a SAS definition. func (client BaseClient) UpdateSasDefinition(ctx context.Context, vaultBaseURL string, storageAccountName string, sasDefinitionName string, parameters SasDefinitionUpdateParameters) (result SasDefinitionBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -5148,9 +5193,11 @@ func (client BaseClient) UpdateSasDefinitionResponder(resp *http.Response) (resu // UpdateSecret the UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not // specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires // the secrets/set permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. secretName is the name of the -// secret. secretVersion is the version of the secret. parameters is the parameters for update secret operation. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// secretName - the name of the secret. +// secretVersion - the version of the secret. +// parameters - the parameters for update secret operation. func (client BaseClient) UpdateSecret(ctx context.Context, vaultBaseURL string, secretName string, secretVersion string, parameters SecretUpdateParameters) (result SecretBundle, err error) { req, err := client.UpdateSecretPreparer(ctx, vaultBaseURL, secretName, secretVersion, parameters) if err != nil { @@ -5221,9 +5268,10 @@ func (client BaseClient) UpdateSecretResponder(resp *http.Response) (result Secr // UpdateStorageAccount updates the specified attributes associated with the given storage account. This operation // requires the storage/set/update permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. storageAccountName is the name of -// the storage account. parameters is the parameters to update a storage account. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// storageAccountName - the name of the storage account. +// parameters - the parameters to update a storage account. func (client BaseClient) UpdateStorageAccount(ctx context.Context, vaultBaseURL string, storageAccountName string, parameters StorageAccountUpdateParameters) (result StorageBundle, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: storageAccountName, @@ -5301,9 +5349,11 @@ func (client BaseClient) UpdateStorageAccountResponder(resp *http.Response) (res // necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the // public portion of the key but this operation is supported as a convenience for callers that only have a // key-reference and not the public portion of the key. This operation requires the keys/verify permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. -// keyVersion is the version of the key. parameters is the parameters for verify operations. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. +// keyVersion - the version of the key. +// parameters - the parameters for verify operations. func (client BaseClient) Verify(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string, parameters KeyVerifyParameters) (result KeyVerifyResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -5384,9 +5434,11 @@ func (client BaseClient) VerifyResponder(resp *http.Response) (result KeyVerifyR // Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This // operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have // access to the public key material. This operation requires the keys/wrapKey permission. -// -// vaultBaseURL is the vault name, for example https://myvault.vault.azure.net. keyName is the name of the key. -// keyVersion is the version of the key. parameters is the parameters for wrap operation. +// Parameters: +// vaultBaseURL - the vault name, for example https://myvault.vault.azure.net. +// keyName - the name of the key. +// keyVersion - the version of the key. +// parameters - the parameters for wrap operation. func (client BaseClient) WrapKey(ctx context.Context, vaultBaseURL string, keyName string, keyVersion string, parameters KeyOperationsParameters) (result KeyOperationResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault/vaults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault/vaults.go index 4f3c75838de0..9ee6ddc18e64 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault/vaults.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault/vaults.go @@ -42,8 +42,8 @@ func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsCli } // CheckNameAvailability checks that the vault name is valid and is not already in use. -// -// vaultName is the name of the vault. +// Parameters: +// vaultName - the name of the vault. func (client VaultsClient) CheckNameAvailability(ctx context.Context, vaultName VaultCheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: vaultName, @@ -115,9 +115,10 @@ func (client VaultsClient) CheckNameAvailabilityResponder(resp *http.Response) ( } // CreateOrUpdate create or update a key vault in the specified subscription. -// -// resourceGroupName is the name of the Resource Group to which the server belongs. vaultName is name of the vault -// parameters is parameters to create or update the vault +// Parameters: +// resourceGroupName - the name of the Resource Group to which the server belongs. +// vaultName - name of the vault +// parameters - parameters to create or update the vault func (client VaultsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, parameters VaultCreateOrUpdateParameters) (result Vault, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: vaultName, @@ -197,9 +198,9 @@ func (client VaultsClient) CreateOrUpdateResponder(resp *http.Response) (result } // Delete deletes the specified Azure key vault. -// -// resourceGroupName is the name of the Resource Group to which the vault belongs. vaultName is the name of the -// vault to delete +// Parameters: +// resourceGroupName - the name of the Resource Group to which the vault belongs. +// vaultName - the name of the vault to delete func (client VaultsClient) Delete(ctx context.Context, resourceGroupName string, vaultName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, vaultName) if err != nil { @@ -263,9 +264,9 @@ func (client VaultsClient) DeleteResponder(resp *http.Response) (result autorest } // Get gets the specified Azure key vault. -// -// resourceGroupName is the name of the Resource Group to which the vault belongs. vaultName is the name of the -// vault. +// Parameters: +// resourceGroupName - the name of the Resource Group to which the vault belongs. +// vaultName - the name of the vault. func (client VaultsClient) Get(ctx context.Context, resourceGroupName string, vaultName string) (result Vault, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, vaultName) if err != nil { @@ -330,8 +331,9 @@ func (client VaultsClient) GetResponder(resp *http.Response) (result Vault, err } // GetDeleted gets the deleted Azure key vault. -// -// vaultName is the name of the vault. location is the location of the deleted vault. +// Parameters: +// vaultName - the name of the vault. +// location - the location of the deleted vault. func (client VaultsClient) GetDeleted(ctx context.Context, vaultName string, location string) (result DeletedVault, err error) { req, err := client.GetDeletedPreparer(ctx, vaultName, location) if err != nil { @@ -396,8 +398,8 @@ func (client VaultsClient) GetDeletedResponder(resp *http.Response) (result Dele } // List the List operation gets information about the vaults associated with the subscription. -// -// top is maximum number of results to return. +// Parameters: +// top - maximum number of results to return. func (client VaultsClient) List(ctx context.Context, top *int32) (result ResourceListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, top) @@ -493,9 +495,9 @@ func (client VaultsClient) ListComplete(ctx context.Context, top *int32) (result // ListByResourceGroup the List operation gets information about the vaults associated with the subscription and within // the specified resource group. -// -// resourceGroupName is the name of the Resource Group to which the vault belongs. top is maximum number of results -// to return. +// Parameters: +// resourceGroupName - the name of the Resource Group to which the vault belongs. +// top - maximum number of results to return. func (client VaultsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, top *int32) (result VaultListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName, top) @@ -590,8 +592,8 @@ func (client VaultsClient) ListByResourceGroupComplete(ctx context.Context, reso } // ListBySubscription the List operation gets information about the vaults associated with the subscription. -// -// top is maximum number of results to return. +// Parameters: +// top - maximum number of results to return. func (client VaultsClient) ListBySubscription(ctx context.Context, top *int32) (result VaultListResultPage, err error) { result.fn = client.listBySubscriptionNextResults req, err := client.ListBySubscriptionPreparer(ctx, top) @@ -775,8 +777,9 @@ func (client VaultsClient) ListDeletedComplete(ctx context.Context) (result Dele } // PurgeDeleted permanently deletes the specified vault. aka Purges the deleted Azure key vault. -// -// vaultName is the name of the soft-deleted vault. location is the location of the soft-deleted vault. +// Parameters: +// vaultName - the name of the soft-deleted vault. +// location - the location of the soft-deleted vault. func (client VaultsClient) PurgeDeleted(ctx context.Context, vaultName string, location string) (result VaultsPurgeDeletedFuture, err error) { req, err := client.PurgeDeletedPreparer(ctx, vaultName, location) if err != nil { @@ -842,9 +845,10 @@ func (client VaultsClient) PurgeDeletedResponder(resp *http.Response) (result au } // Update update a key vault in the specified subscription. -// -// resourceGroupName is the name of the Resource Group to which the server belongs. vaultName is name of the vault -// parameters is parameters to patch the vault +// Parameters: +// resourceGroupName - the name of the Resource Group to which the server belongs. +// vaultName - name of the vault +// parameters - parameters to patch the vault func (client VaultsClient) Update(ctx context.Context, resourceGroupName string, vaultName string, parameters VaultPatchParameters) (result Vault, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: vaultName, @@ -917,9 +921,11 @@ func (client VaultsClient) UpdateResponder(resp *http.Response) (result Vault, e } // UpdateAccessPolicy update access policies in a key vault in the specified subscription. -// -// resourceGroupName is the name of the Resource Group to which the vault belongs. vaultName is name of the vault -// operationKind is name of the operation parameters is access policy to merge into the vault +// Parameters: +// resourceGroupName - the name of the Resource Group to which the vault belongs. +// vaultName - name of the vault +// operationKind - name of the operation +// parameters - access policy to merge into the vault func (client VaultsClient) UpdateAccessPolicy(ctx context.Context, resourceGroupName string, vaultName string, operationKind AccessPolicyUpdateKind, parameters VaultAccessPolicyParameters) (result VaultAccessPolicyParameters, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: vaultName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/actiongroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/actiongroups.go index f176cae03ded..0d3031bab37b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/actiongroups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/actiongroups.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActionGroupsClient is the monitor Management Client type ActionGroupsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewActionGroupsClient creates an instance of the ActionGroupsClient client. func NewActionGroupsClient(subscriptionID string) ActionGroupsClient { return NewActionGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewActionGroupsClientWithBaseURI creates an instance of the ActionGroupsClient client. func NewActionGroupsClientWithBaseURI(baseURI string, subscriptionID string) ActionGroupsClient { return ActionGroupsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdate create a new action group or update an existing one. // // resourceGroupName is the name of the resource group. actionGroupName is the name of the action group. @@ -49,7 +53,7 @@ func (client ActionGroupsClient) CreateOrUpdate(ctx context.Context, resourceGro {TargetValue: actionGroup, Constraints: []validation.Constraint{{Target: "actionGroup.ActionGroup", Name: validation.Null, Rule: false, Chain: []validation.Constraint{{Target: "actionGroup.ActionGroup.GroupShortName", Name: validation.Null, Rule: true, - Chain: []validation.Constraint{{Target: "actionGroup.ActionGroup.GroupShortName", Name: validation.MaxLength, Rule: 15, Chain: nil}}}, + Chain: []validation.Constraint{{Target: "actionGroup.ActionGroup.GroupShortName", Name: validation.MaxLength, Rule: 12, Chain: nil}}}, {Target: "actionGroup.ActionGroup.Enabled", Name: validation.Null, Rule: true, Chain: nil}, }}}}}); err != nil { return result, validation.NewError("insights.ActionGroupsClient", "CreateOrUpdate", err.Error()) @@ -76,6 +80,7 @@ func (client ActionGroupsClient) CreateOrUpdate(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ActionGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroup ActionGroupResource) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -99,6 +104,7 @@ func (client ActionGroupsClient) CreateOrUpdatePreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ActionGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -106,6 +112,7 @@ func (client ActionGroupsClient) CreateOrUpdateSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ActionGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ActionGroupResource, err error) { @@ -119,6 +126,7 @@ func (client ActionGroupsClient) CreateOrUpdateResponder(resp *http.Response) (r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Delete delete an action group. // // resourceGroupName is the name of the resource group. actionGroupName is the name of the action group. @@ -144,6 +152,7 @@ func (client ActionGroupsClient) Delete(ctx context.Context, resourceGroupName s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeletePreparer prepares the Delete request. func (client ActionGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, actionGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -165,6 +174,7 @@ func (client ActionGroupsClient) DeletePreparer(ctx context.Context, resourceGro return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ActionGroupsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -172,6 +182,7 @@ func (client ActionGroupsClient) DeleteSender(req *http.Request) (*http.Response azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ActionGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -184,6 +195,7 @@ func (client ActionGroupsClient) DeleteResponder(resp *http.Response) (result au return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // EnableReceiver enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. // // resourceGroupName is the name of the resource group. actionGroupName is the name of the action group. @@ -216,6 +228,7 @@ func (client ActionGroupsClient) EnableReceiver(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // EnableReceiverPreparer prepares the EnableReceiver request. func (client ActionGroupsClient) EnableReceiverPreparer(ctx context.Context, resourceGroupName string, actionGroupName string, enableRequest EnableRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -239,6 +252,7 @@ func (client ActionGroupsClient) EnableReceiverPreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // EnableReceiverSender sends the EnableReceiver request. The method will close the // http.Response Body if it receives an error. func (client ActionGroupsClient) EnableReceiverSender(req *http.Request) (*http.Response, error) { @@ -246,6 +260,7 @@ func (client ActionGroupsClient) EnableReceiverSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // EnableReceiverResponder handles the response to the EnableReceiver request. The method always // closes the http.Response Body. func (client ActionGroupsClient) EnableReceiverResponder(resp *http.Response) (result autorest.Response, err error) { @@ -258,6 +273,7 @@ func (client ActionGroupsClient) EnableReceiverResponder(resp *http.Response) (r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get get an action group. // // resourceGroupName is the name of the resource group. actionGroupName is the name of the action group. @@ -283,6 +299,7 @@ func (client ActionGroupsClient) Get(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client ActionGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, actionGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -304,6 +321,7 @@ func (client ActionGroupsClient) GetPreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ActionGroupsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -311,6 +329,7 @@ func (client ActionGroupsClient) GetSender(req *http.Request) (*http.Response, e azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ActionGroupsClient) GetResponder(resp *http.Response) (result ActionGroupResource, err error) { @@ -324,6 +343,7 @@ func (client ActionGroupsClient) GetResponder(resp *http.Response) (result Actio return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroup get a list of all action groups in a resource group. // // resourceGroupName is the name of the resource group. @@ -349,6 +369,7 @@ func (client ActionGroupsClient) ListByResourceGroup(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client ActionGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -369,6 +390,7 @@ func (client ActionGroupsClient) ListByResourceGroupPreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client ActionGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -376,6 +398,7 @@ func (client ActionGroupsClient) ListByResourceGroupSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client ActionGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ActionGroupList, err error) { @@ -389,6 +412,7 @@ func (client ActionGroupsClient) ListByResourceGroupResponder(resp *http.Respons return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionID get a list of all action groups in a subscription. func (client ActionGroupsClient) ListBySubscriptionID(ctx context.Context) (result ActionGroupList, err error) { req, err := client.ListBySubscriptionIDPreparer(ctx) @@ -412,6 +436,7 @@ func (client ActionGroupsClient) ListBySubscriptionID(ctx context.Context) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionIDPreparer prepares the ListBySubscriptionID request. func (client ActionGroupsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -431,6 +456,7 @@ func (client ActionGroupsClient) ListBySubscriptionIDPreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the // http.Response Body if it receives an error. func (client ActionGroupsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error) { @@ -438,6 +464,7 @@ func (client ActionGroupsClient) ListBySubscriptionIDSender(req *http.Request) ( azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always // closes the http.Response Body. func (client ActionGroupsClient) ListBySubscriptionIDResponder(resp *http.Response) (result ActionGroupList, err error) { @@ -451,6 +478,7 @@ func (client ActionGroupsClient) ListBySubscriptionIDResponder(resp *http.Respon return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Update updates an existing action group's tags. To update other fields use the CreateOrUpdate method. // // resourceGroupName is the name of the resource group. actionGroupName is the name of the action group. @@ -477,6 +505,7 @@ func (client ActionGroupsClient) Update(ctx context.Context, resourceGroupName s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdatePreparer prepares the Update request. func (client ActionGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, actionGroupName string, actionGroupPatch ActionGroupPatchBody) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -500,6 +529,7 @@ func (client ActionGroupsClient) UpdatePreparer(ctx context.Context, resourceGro return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client ActionGroupsClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -507,6 +537,7 @@ func (client ActionGroupsClient) UpdateSender(req *http.Request) (*http.Response azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client ActionGroupsClient) UpdateResponder(resp *http.Response) (result ActionGroupResource, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/activitylogalerts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/activitylogalerts.go index fb767a084e10..ce4ed0650ab5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/activitylogalerts.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/activitylogalerts.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertsClient is the monitor Management Client type ActivityLogAlertsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewActivityLogAlertsClient creates an instance of the ActivityLogAlertsClient client. func NewActivityLogAlertsClient(subscriptionID string) ActivityLogAlertsClient { return NewActivityLogAlertsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewActivityLogAlertsClientWithBaseURI creates an instance of the ActivityLogAlertsClient client. func NewActivityLogAlertsClientWithBaseURI(baseURI string, subscriptionID string) ActivityLogAlertsClient { return ActivityLogAlertsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdate create a new activity log alert or update an existing one. // // resourceGroupName is the name of the resource group. activityLogAlertName is the name of the activity log alert. @@ -77,6 +81,7 @@ func (client ActivityLogAlertsClient) CreateOrUpdate(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ActivityLogAlertsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlert ActivityLogAlertResource) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -100,6 +105,7 @@ func (client ActivityLogAlertsClient) CreateOrUpdatePreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ActivityLogAlertsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -107,6 +113,7 @@ func (client ActivityLogAlertsClient) CreateOrUpdateSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ActivityLogAlertsClient) CreateOrUpdateResponder(resp *http.Response) (result ActivityLogAlertResource, err error) { @@ -120,6 +127,7 @@ func (client ActivityLogAlertsClient) CreateOrUpdateResponder(resp *http.Respons return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Delete delete an activity log alert. // // resourceGroupName is the name of the resource group. activityLogAlertName is the name of the activity log alert. @@ -145,6 +153,7 @@ func (client ActivityLogAlertsClient) Delete(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeletePreparer prepares the Delete request. func (client ActivityLogAlertsClient) DeletePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -166,6 +175,7 @@ func (client ActivityLogAlertsClient) DeletePreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ActivityLogAlertsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -173,6 +183,7 @@ func (client ActivityLogAlertsClient) DeleteSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ActivityLogAlertsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -185,6 +196,7 @@ func (client ActivityLogAlertsClient) DeleteResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get get an activity log alert. // // resourceGroupName is the name of the resource group. activityLogAlertName is the name of the activity log alert. @@ -210,6 +222,7 @@ func (client ActivityLogAlertsClient) Get(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client ActivityLogAlertsClient) GetPreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -231,6 +244,7 @@ func (client ActivityLogAlertsClient) GetPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ActivityLogAlertsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -238,6 +252,7 @@ func (client ActivityLogAlertsClient) GetSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ActivityLogAlertsClient) GetResponder(resp *http.Response) (result ActivityLogAlertResource, err error) { @@ -251,6 +266,7 @@ func (client ActivityLogAlertsClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroup get a list of all activity log alerts in a resource group. // // resourceGroupName is the name of the resource group. @@ -276,6 +292,7 @@ func (client ActivityLogAlertsClient) ListByResourceGroup(ctx context.Context, r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client ActivityLogAlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -296,6 +313,7 @@ func (client ActivityLogAlertsClient) ListByResourceGroupPreparer(ctx context.Co return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client ActivityLogAlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -303,6 +321,7 @@ func (client ActivityLogAlertsClient) ListByResourceGroupSender(req *http.Reques azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client ActivityLogAlertsClient) ListByResourceGroupResponder(resp *http.Response) (result ActivityLogAlertList, err error) { @@ -316,6 +335,7 @@ func (client ActivityLogAlertsClient) ListByResourceGroupResponder(resp *http.Re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionID get a list of all activity log alerts in a subscription. func (client ActivityLogAlertsClient) ListBySubscriptionID(ctx context.Context) (result ActivityLogAlertList, err error) { req, err := client.ListBySubscriptionIDPreparer(ctx) @@ -339,6 +359,7 @@ func (client ActivityLogAlertsClient) ListBySubscriptionID(ctx context.Context) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionIDPreparer prepares the ListBySubscriptionID request. func (client ActivityLogAlertsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -358,6 +379,7 @@ func (client ActivityLogAlertsClient) ListBySubscriptionIDPreparer(ctx context.C return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the // http.Response Body if it receives an error. func (client ActivityLogAlertsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error) { @@ -365,6 +387,7 @@ func (client ActivityLogAlertsClient) ListBySubscriptionIDSender(req *http.Reque azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always // closes the http.Response Body. func (client ActivityLogAlertsClient) ListBySubscriptionIDResponder(resp *http.Response) (result ActivityLogAlertList, err error) { @@ -378,6 +401,7 @@ func (client ActivityLogAlertsClient) ListBySubscriptionIDResponder(resp *http.R return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Update updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method. // // resourceGroupName is the name of the resource group. activityLogAlertName is the name of the activity log alert. @@ -404,6 +428,7 @@ func (client ActivityLogAlertsClient) Update(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdatePreparer prepares the Update request. func (client ActivityLogAlertsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, activityLogAlertName string, activityLogAlertPatch ActivityLogAlertPatchBody) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -427,6 +452,7 @@ func (client ActivityLogAlertsClient) UpdatePreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client ActivityLogAlertsClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -434,6 +460,7 @@ func (client ActivityLogAlertsClient) UpdateSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client ActivityLogAlertsClient) UpdateResponder(resp *http.Response) (result ActivityLogAlertResource, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertruleincidents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertruleincidents.go index f3d8fc8b20ab..5a14d2e05375 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertruleincidents.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertruleincidents.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AlertRuleIncidentsClient is the monitor Management Client type AlertRuleIncidentsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewAlertRuleIncidentsClient creates an instance of the AlertRuleIncidentsClient client. func NewAlertRuleIncidentsClient(subscriptionID string) AlertRuleIncidentsClient { return NewAlertRuleIncidentsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewAlertRuleIncidentsClientWithBaseURI creates an instance of the AlertRuleIncidentsClient client. func NewAlertRuleIncidentsClientWithBaseURI(baseURI string, subscriptionID string) AlertRuleIncidentsClient { return AlertRuleIncidentsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get gets an incident associated to an alert rule // // resourceGroupName is the name of the resource group. ruleName is the name of the rule. incidentName is the name @@ -65,6 +69,7 @@ func (client AlertRuleIncidentsClient) Get(ctx context.Context, resourceGroupNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client AlertRuleIncidentsClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string, incidentName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -87,6 +92,7 @@ func (client AlertRuleIncidentsClient) GetPreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client AlertRuleIncidentsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -94,6 +100,7 @@ func (client AlertRuleIncidentsClient) GetSender(req *http.Request) (*http.Respo azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client AlertRuleIncidentsClient) GetResponder(resp *http.Response) (result Incident, err error) { @@ -107,6 +114,7 @@ func (client AlertRuleIncidentsClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByAlertRule gets a list of incidents associated to an alert rule // // resourceGroupName is the name of the resource group. ruleName is the name of the rule. @@ -132,6 +140,7 @@ func (client AlertRuleIncidentsClient) ListByAlertRule(ctx context.Context, reso return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByAlertRulePreparer prepares the ListByAlertRule request. func (client AlertRuleIncidentsClient) ListByAlertRulePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -153,6 +162,7 @@ func (client AlertRuleIncidentsClient) ListByAlertRulePreparer(ctx context.Conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByAlertRuleSender sends the ListByAlertRule request. The method will close the // http.Response Body if it receives an error. func (client AlertRuleIncidentsClient) ListByAlertRuleSender(req *http.Request) (*http.Response, error) { @@ -160,6 +170,7 @@ func (client AlertRuleIncidentsClient) ListByAlertRuleSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByAlertRuleResponder handles the response to the ListByAlertRule request. The method always // closes the http.Response Body. func (client AlertRuleIncidentsClient) ListByAlertRuleResponder(resp *http.Response) (result IncidentListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertrules.go index 0c1145b37220..f31713af2eaf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/alertrules.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AlertRulesClient is the monitor Management Client type AlertRulesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewAlertRulesClient creates an instance of the AlertRulesClient client. func NewAlertRulesClient(subscriptionID string) AlertRulesClient { return NewAlertRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewAlertRulesClientWithBaseURI creates an instance of the AlertRulesClient client. func NewAlertRulesClientWithBaseURI(baseURI string, subscriptionID string) AlertRulesClient { return AlertRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdate creates or updates an alert rule. // // resourceGroupName is the name of the resource group. ruleName is the name of the rule. parameters is the @@ -76,6 +80,7 @@ func (client AlertRulesClient) CreateOrUpdate(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client AlertRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, parameters AlertRuleResource) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -99,6 +104,7 @@ func (client AlertRulesClient) CreateOrUpdatePreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client AlertRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -106,6 +112,7 @@ func (client AlertRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client AlertRulesClient) CreateOrUpdateResponder(resp *http.Response) (result AlertRuleResource, err error) { @@ -119,6 +126,7 @@ func (client AlertRulesClient) CreateOrUpdateResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Delete deletes an alert rule // // resourceGroupName is the name of the resource group. ruleName is the name of the rule. @@ -144,6 +152,7 @@ func (client AlertRulesClient) Delete(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeletePreparer prepares the Delete request. func (client AlertRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -165,6 +174,7 @@ func (client AlertRulesClient) DeletePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client AlertRulesClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -172,6 +182,7 @@ func (client AlertRulesClient) DeleteSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client AlertRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -184,6 +195,7 @@ func (client AlertRulesClient) DeleteResponder(resp *http.Response) (result auto return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get gets an alert rule // // resourceGroupName is the name of the resource group. ruleName is the name of the rule. @@ -209,6 +221,7 @@ func (client AlertRulesClient) Get(ctx context.Context, resourceGroupName string return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client AlertRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, ruleName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -230,6 +243,7 @@ func (client AlertRulesClient) GetPreparer(ctx context.Context, resourceGroupNam return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client AlertRulesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -237,6 +251,7 @@ func (client AlertRulesClient) GetSender(req *http.Request) (*http.Response, err azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client AlertRulesClient) GetResponder(resp *http.Response) (result AlertRuleResource, err error) { @@ -250,6 +265,7 @@ func (client AlertRulesClient) GetResponder(resp *http.Response) (result AlertRu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroup list the alert rules within a resource group. // // resourceGroupName is the name of the resource group. @@ -275,6 +291,7 @@ func (client AlertRulesClient) ListByResourceGroup(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client AlertRulesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -295,6 +312,7 @@ func (client AlertRulesClient) ListByResourceGroupPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client AlertRulesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -302,6 +320,7 @@ func (client AlertRulesClient) ListByResourceGroupSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client AlertRulesClient) ListByResourceGroupResponder(resp *http.Response) (result AlertRuleResourceCollection, err error) { @@ -315,6 +334,7 @@ func (client AlertRulesClient) ListByResourceGroupResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Update updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method. // // resourceGroupName is the name of the resource group. ruleName is the name of the rule. alertRulesResource is @@ -341,6 +361,7 @@ func (client AlertRulesClient) Update(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdatePreparer prepares the Update request. func (client AlertRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ruleName string, alertRulesResource AlertRuleResourcePatch) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -364,6 +385,7 @@ func (client AlertRulesClient) UpdatePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client AlertRulesClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -371,6 +393,7 @@ func (client AlertRulesClient) UpdateSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client AlertRulesClient) UpdateResponder(resp *http.Response) (result AlertRuleResource, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/autoscalesettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/autoscalesettings.go index d93536ada7b7..679a101c7b8e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/autoscalesettings.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/autoscalesettings.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleSettingsClient is the monitor Management Client type AutoscaleSettingsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewAutoscaleSettingsClient creates an instance of the AutoscaleSettingsClient client. func NewAutoscaleSettingsClient(subscriptionID string) AutoscaleSettingsClient { return NewAutoscaleSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewAutoscaleSettingsClientWithBaseURI creates an instance of the AutoscaleSettingsClient client. func NewAutoscaleSettingsClientWithBaseURI(baseURI string, subscriptionID string) AutoscaleSettingsClient { return AutoscaleSettingsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdate creates or updates an autoscale setting. // // resourceGroupName is the name of the resource group. autoscaleSettingName is the autoscale setting name. @@ -75,6 +79,7 @@ func (client AutoscaleSettingsClient) CreateOrUpdate(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client AutoscaleSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string, parameters AutoscaleSettingResource) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -98,6 +103,7 @@ func (client AutoscaleSettingsClient) CreateOrUpdatePreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client AutoscaleSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -105,6 +111,7 @@ func (client AutoscaleSettingsClient) CreateOrUpdateSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client AutoscaleSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result AutoscaleSettingResource, err error) { @@ -118,6 +125,7 @@ func (client AutoscaleSettingsClient) CreateOrUpdateResponder(resp *http.Respons return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Delete deletes and autoscale setting // // resourceGroupName is the name of the resource group. autoscaleSettingName is the autoscale setting name. @@ -143,6 +151,7 @@ func (client AutoscaleSettingsClient) Delete(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeletePreparer prepares the Delete request. func (client AutoscaleSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -164,6 +173,7 @@ func (client AutoscaleSettingsClient) DeletePreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client AutoscaleSettingsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -171,6 +181,7 @@ func (client AutoscaleSettingsClient) DeleteSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client AutoscaleSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -183,6 +194,7 @@ func (client AutoscaleSettingsClient) DeleteResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get gets an autoscale setting // // resourceGroupName is the name of the resource group. autoscaleSettingName is the autoscale setting name. @@ -208,6 +220,7 @@ func (client AutoscaleSettingsClient) Get(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client AutoscaleSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -229,6 +242,7 @@ func (client AutoscaleSettingsClient) GetPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client AutoscaleSettingsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -236,6 +250,7 @@ func (client AutoscaleSettingsClient) GetSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client AutoscaleSettingsClient) GetResponder(resp *http.Response) (result AutoscaleSettingResource, err error) { @@ -249,6 +264,7 @@ func (client AutoscaleSettingsClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroup lists the autoscale settings for a resource group // // resourceGroupName is the name of the resource group. @@ -275,6 +291,7 @@ func (client AutoscaleSettingsClient) ListByResourceGroup(ctx context.Context, r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client AutoscaleSettingsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -295,6 +312,7 @@ func (client AutoscaleSettingsClient) ListByResourceGroupPreparer(ctx context.Co return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client AutoscaleSettingsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -302,6 +320,7 @@ func (client AutoscaleSettingsClient) ListByResourceGroupSender(req *http.Reques azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client AutoscaleSettingsClient) ListByResourceGroupResponder(resp *http.Response) (result AutoscaleSettingResourceCollection, err error) { @@ -336,12 +355,14 @@ func (client AutoscaleSettingsClient) listByResourceGroupNextResults(lastResults return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required. func (client AutoscaleSettingsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AutoscaleSettingResourceCollectionIterator, err error) { result.page, err = client.ListByResourceGroup(ctx, resourceGroupName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Update updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method. // // resourceGroupName is the name of the resource group. autoscaleSettingName is the autoscale setting name. @@ -368,6 +389,7 @@ func (client AutoscaleSettingsClient) Update(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdatePreparer prepares the Update request. func (client AutoscaleSettingsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, autoscaleSettingName string, autoscaleSettingResource AutoscaleSettingResourcePatch) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -391,6 +413,7 @@ func (client AutoscaleSettingsClient) UpdatePreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client AutoscaleSettingsClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -398,6 +421,7 @@ func (client AutoscaleSettingsClient) UpdateSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client AutoscaleSettingsClient) UpdateResponder(resp *http.Response) (result AutoscaleSettingResource, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/client.go index 5ed388022a2b..bf56ea6ed5e9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/client.go @@ -29,6 +29,7 @@ const ( DefaultBaseURI = "https://management.azure.com" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // BaseClient is the base client for Insights. type BaseClient struct { autorest.Client @@ -36,11 +37,13 @@ type BaseClient struct { SubscriptionID string } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // New creates an instance of the BaseClient client. func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettings.go index 95ed5682be15..0655ffd3f034 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettings.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettings.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettingsClient is the monitor Management Client type DiagnosticSettingsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewDiagnosticSettingsClient creates an instance of the DiagnosticSettingsClient client. func NewDiagnosticSettingsClient(subscriptionID string) DiagnosticSettingsClient { return NewDiagnosticSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewDiagnosticSettingsClientWithBaseURI creates an instance of the DiagnosticSettingsClient client. func NewDiagnosticSettingsClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsClient { return DiagnosticSettingsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdate creates or updates diagnostic settings for the specified resource. // // resourceURI is the identifier of the resource. parameters is parameters supplied to the operation. name is the @@ -65,6 +69,7 @@ func (client DiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, resou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client DiagnosticSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceURI string, parameters DiagnosticSettingsResource, name string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -87,6 +92,7 @@ func (client DiagnosticSettingsClient) CreateOrUpdatePreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DiagnosticSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -94,6 +100,7 @@ func (client DiagnosticSettingsClient) CreateOrUpdateSender(req *http.Request) ( autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client DiagnosticSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result DiagnosticSettingsResource, err error) { @@ -107,6 +114,7 @@ func (client DiagnosticSettingsClient) CreateOrUpdateResponder(resp *http.Respon return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Delete deletes existing diagnostic settings for the specified resource. // // resourceURI is the identifier of the resource. name is the name of the diagnostic setting. @@ -132,6 +140,7 @@ func (client DiagnosticSettingsClient) Delete(ctx context.Context, resourceURI s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeletePreparer prepares the Delete request. func (client DiagnosticSettingsClient) DeletePreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -152,6 +161,7 @@ func (client DiagnosticSettingsClient) DeletePreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DiagnosticSettingsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -159,6 +169,7 @@ func (client DiagnosticSettingsClient) DeleteSender(req *http.Request) (*http.Re autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client DiagnosticSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -171,6 +182,7 @@ func (client DiagnosticSettingsClient) DeleteResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get gets the active diagnostic settings for the specified resource. // // resourceURI is the identifier of the resource. name is the name of the diagnostic setting. @@ -196,6 +208,7 @@ func (client DiagnosticSettingsClient) Get(ctx context.Context, resourceURI stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client DiagnosticSettingsClient) GetPreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -216,6 +229,7 @@ func (client DiagnosticSettingsClient) GetPreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DiagnosticSettingsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -223,6 +237,7 @@ func (client DiagnosticSettingsClient) GetSender(req *http.Request) (*http.Respo autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client DiagnosticSettingsClient) GetResponder(resp *http.Response) (result DiagnosticSettingsResource, err error) { @@ -236,6 +251,7 @@ func (client DiagnosticSettingsClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // List gets the active diagnostic settings list for the specified resource. // // resourceURI is the identifier of the resource. @@ -261,6 +277,7 @@ func (client DiagnosticSettingsClient) List(ctx context.Context, resourceURI str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListPreparer prepares the List request. func (client DiagnosticSettingsClient) ListPreparer(ctx context.Context, resourceURI string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -280,6 +297,7 @@ func (client DiagnosticSettingsClient) ListPreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client DiagnosticSettingsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -287,6 +305,7 @@ func (client DiagnosticSettingsClient) ListSender(req *http.Request) (*http.Resp autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client DiagnosticSettingsClient) ListResponder(resp *http.Response) (result DiagnosticSettingsResourceCollection, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettingscategory.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettingscategory.go index 8862f852c9c0..a93d8a64bd4b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettingscategory.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/diagnosticsettingscategory.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettingsCategoryClient is the monitor Management Client type DiagnosticSettingsCategoryClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewDiagnosticSettingsCategoryClient creates an instance of the DiagnosticSettingsCategoryClient client. func NewDiagnosticSettingsCategoryClient(subscriptionID string) DiagnosticSettingsCategoryClient { return NewDiagnosticSettingsCategoryClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewDiagnosticSettingsCategoryClientWithBaseURI creates an instance of the DiagnosticSettingsCategoryClient client. func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsCategoryClient { return DiagnosticSettingsCategoryClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get gets the diagnostic settings category for the specified resource. // // resourceURI is the identifier of the resource. name is the name of the diagnostic setting. @@ -64,6 +68,7 @@ func (client DiagnosticSettingsCategoryClient) Get(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client DiagnosticSettingsCategoryClient) GetPreparer(ctx context.Context, resourceURI string, name string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -84,6 +89,7 @@ func (client DiagnosticSettingsCategoryClient) GetPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DiagnosticSettingsCategoryClient) GetSender(req *http.Request) (*http.Response, error) { @@ -91,6 +97,7 @@ func (client DiagnosticSettingsCategoryClient) GetSender(req *http.Request) (*ht autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client DiagnosticSettingsCategoryClient) GetResponder(resp *http.Response) (result DiagnosticSettingsCategoryResource, err error) { @@ -104,6 +111,7 @@ func (client DiagnosticSettingsCategoryClient) GetResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // List lists the diagnostic settings categories for the specified resource. // // resourceURI is the identifier of the resource. @@ -129,6 +137,7 @@ func (client DiagnosticSettingsCategoryClient) List(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListPreparer prepares the List request. func (client DiagnosticSettingsCategoryClient) ListPreparer(ctx context.Context, resourceURI string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -148,6 +157,7 @@ func (client DiagnosticSettingsCategoryClient) ListPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client DiagnosticSettingsCategoryClient) ListSender(req *http.Request) (*http.Response, error) { @@ -155,6 +165,7 @@ func (client DiagnosticSettingsCategoryClient) ListSender(req *http.Request) (*h autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client DiagnosticSettingsCategoryClient) ListResponder(resp *http.Response) (result DiagnosticSettingsCategoryResourceCollection, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/logprofiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/logprofiles.go index ab273d46afa4..fa976b3f1577 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/logprofiles.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/logprofiles.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // LogProfilesClient is the monitor Management Client type LogProfilesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewLogProfilesClient creates an instance of the LogProfilesClient client. func NewLogProfilesClient(subscriptionID string) LogProfilesClient { return NewLogProfilesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewLogProfilesClientWithBaseURI creates an instance of the LogProfilesClient client. func NewLogProfilesClientWithBaseURI(baseURI string, subscriptionID string) LogProfilesClient { return LogProfilesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdate create or update a log profile in Azure Monitoring REST API. // // logProfileName is the name of the log profile. parameters is parameters supplied to the operation. @@ -79,6 +83,7 @@ func (client LogProfilesClient) CreateOrUpdate(ctx context.Context, logProfileNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client LogProfilesClient) CreateOrUpdatePreparer(ctx context.Context, logProfileName string, parameters LogProfileResource) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -101,6 +106,7 @@ func (client LogProfilesClient) CreateOrUpdatePreparer(ctx context.Context, logP return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client LogProfilesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -108,6 +114,7 @@ func (client LogProfilesClient) CreateOrUpdateSender(req *http.Request) (*http.R azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client LogProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result LogProfileResource, err error) { @@ -121,6 +128,7 @@ func (client LogProfilesClient) CreateOrUpdateResponder(resp *http.Response) (re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Delete deletes the log profile. // // logProfileName is the name of the log profile. @@ -146,6 +154,7 @@ func (client LogProfilesClient) Delete(ctx context.Context, logProfileName strin return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeletePreparer prepares the Delete request. func (client LogProfilesClient) DeletePreparer(ctx context.Context, logProfileName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -166,6 +175,7 @@ func (client LogProfilesClient) DeletePreparer(ctx context.Context, logProfileNa return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client LogProfilesClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -173,6 +183,7 @@ func (client LogProfilesClient) DeleteSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client LogProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -185,6 +196,7 @@ func (client LogProfilesClient) DeleteResponder(resp *http.Response) (result aut return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Get gets the log profile. // // logProfileName is the name of the log profile. @@ -210,6 +222,7 @@ func (client LogProfilesClient) Get(ctx context.Context, logProfileName string) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetPreparer prepares the Get request. func (client LogProfilesClient) GetPreparer(ctx context.Context, logProfileName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -230,6 +243,7 @@ func (client LogProfilesClient) GetPreparer(ctx context.Context, logProfileName return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client LogProfilesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -237,6 +251,7 @@ func (client LogProfilesClient) GetSender(req *http.Request) (*http.Response, er azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client LogProfilesClient) GetResponder(resp *http.Response) (result LogProfileResource, err error) { @@ -250,6 +265,7 @@ func (client LogProfilesClient) GetResponder(resp *http.Response) (result LogPro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // List list the log profiles. func (client LogProfilesClient) List(ctx context.Context) (result LogProfileCollection, err error) { req, err := client.ListPreparer(ctx) @@ -273,6 +289,7 @@ func (client LogProfilesClient) List(ctx context.Context) (result LogProfileColl return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListPreparer prepares the List request. func (client LogProfilesClient) ListPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -292,6 +309,7 @@ func (client LogProfilesClient) ListPreparer(ctx context.Context) (*http.Request return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client LogProfilesClient) ListSender(req *http.Request) (*http.Response, error) { @@ -299,6 +317,7 @@ func (client LogProfilesClient) ListSender(req *http.Request) (*http.Response, e azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client LogProfilesClient) ListResponder(resp *http.Response) (result LogProfileCollection, err error) { @@ -312,6 +331,7 @@ func (client LogProfilesClient) ListResponder(resp *http.Response) (result LogPr return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Update updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method. // // logProfileName is the name of the log profile. logProfilesResource is parameters supplied to the operation. @@ -337,6 +357,7 @@ func (client LogProfilesClient) Update(ctx context.Context, logProfileName strin return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdatePreparer prepares the Update request. func (client LogProfilesClient) UpdatePreparer(ctx context.Context, logProfileName string, logProfilesResource LogProfileResourcePatch) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -359,6 +380,7 @@ func (client LogProfilesClient) UpdatePreparer(ctx context.Context, logProfileNa return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client LogProfilesClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -366,6 +388,7 @@ func (client LogProfilesClient) UpdateSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client LogProfilesClient) UpdateResponder(resp *http.Response) (result LogProfileResource, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/models.go index decb179ef30c..aece5f5fa3c1 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/models.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // CategoryType enumerates the values for category type. type CategoryType string @@ -35,11 +36,13 @@ const ( Metrics CategoryType = "Metrics" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleCategoryTypeValues returns an array of possible values for the CategoryType const type. func PossibleCategoryTypeValues() []CategoryType { return []CategoryType{Logs, Metrics} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ComparisonOperationType enumerates the values for comparison operation type. type ComparisonOperationType string @@ -58,11 +61,13 @@ const ( NotEquals ComparisonOperationType = "NotEquals" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleComparisonOperationTypeValues returns an array of possible values for the ComparisonOperationType const type. func PossibleComparisonOperationTypeValues() []ComparisonOperationType { return []ComparisonOperationType{Equals, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, NotEquals} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ConditionOperator enumerates the values for condition operator. type ConditionOperator string @@ -77,11 +82,13 @@ const ( ConditionOperatorLessThanOrEqual ConditionOperator = "LessThanOrEqual" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleConditionOperatorValues returns an array of possible values for the ConditionOperator const type. func PossibleConditionOperatorValues() []ConditionOperator { return []ConditionOperator{ConditionOperatorGreaterThan, ConditionOperatorGreaterThanOrEqual, ConditionOperatorLessThan, ConditionOperatorLessThanOrEqual} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MetricStatisticType enumerates the values for metric statistic type. type MetricStatisticType string @@ -96,11 +103,13 @@ const ( Sum MetricStatisticType = "Sum" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleMetricStatisticTypeValues returns an array of possible values for the MetricStatisticType const type. func PossibleMetricStatisticTypeValues() []MetricStatisticType { return []MetricStatisticType{Average, Max, Min, Sum} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // OdataType enumerates the values for odata type. type OdataType string @@ -113,11 +122,13 @@ const ( OdataTypeRuleDataSource OdataType = "RuleDataSource" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleOdataTypeValues returns an array of possible values for the OdataType const type. func PossibleOdataTypeValues() []OdataType { return []OdataType{OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource, OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource, OdataTypeRuleDataSource} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // OdataTypeBasicRuleAction enumerates the values for odata type basic rule action. type OdataTypeBasicRuleAction string @@ -130,11 +141,13 @@ const ( OdataTypeRuleAction OdataTypeBasicRuleAction = "RuleAction" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleOdataTypeBasicRuleActionValues returns an array of possible values for the OdataTypeBasicRuleAction const type. func PossibleOdataTypeBasicRuleActionValues() []OdataTypeBasicRuleAction { return []OdataTypeBasicRuleAction{OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction, OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction, OdataTypeRuleAction} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // OdataTypeBasicRuleCondition enumerates the values for odata type basic rule condition. type OdataTypeBasicRuleCondition string @@ -149,11 +162,13 @@ const ( OdataTypeRuleCondition OdataTypeBasicRuleCondition = "RuleCondition" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleOdataTypeBasicRuleConditionValues returns an array of possible values for the OdataTypeBasicRuleCondition const type. func PossibleOdataTypeBasicRuleConditionValues() []OdataTypeBasicRuleCondition { return []OdataTypeBasicRuleCondition{OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition, OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition, OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition, OdataTypeRuleCondition} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ReceiverStatus enumerates the values for receiver status. type ReceiverStatus string @@ -166,11 +181,13 @@ const ( NotSpecified ReceiverStatus = "NotSpecified" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleReceiverStatusValues returns an array of possible values for the ReceiverStatus const type. func PossibleReceiverStatusValues() []ReceiverStatus { return []ReceiverStatus{Disabled, Enabled, NotSpecified} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RecurrenceFrequency enumerates the values for recurrence frequency. type RecurrenceFrequency string @@ -193,11 +210,13 @@ const ( Year RecurrenceFrequency = "Year" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleRecurrenceFrequencyValues returns an array of possible values for the RecurrenceFrequency const type. func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency { return []RecurrenceFrequency{Day, Hour, Minute, Month, None, Second, Week, Year} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ScaleDirection enumerates the values for scale direction. type ScaleDirection string @@ -210,11 +229,13 @@ const ( ScaleDirectionNone ScaleDirection = "None" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleScaleDirectionValues returns an array of possible values for the ScaleDirection const type. func PossibleScaleDirectionValues() []ScaleDirection { return []ScaleDirection{ScaleDirectionDecrease, ScaleDirectionIncrease, ScaleDirectionNone} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ScaleType enumerates the values for scale type. type ScaleType string @@ -227,11 +248,13 @@ const ( PercentChangeCount ScaleType = "PercentChangeCount" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleScaleTypeValues returns an array of possible values for the ScaleType const type. func PossibleScaleTypeValues() []ScaleType { return []ScaleType{ChangeCount, ExactCount, PercentChangeCount} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // TimeAggregationOperator enumerates the values for time aggregation operator. type TimeAggregationOperator string @@ -248,11 +271,13 @@ const ( TimeAggregationOperatorTotal TimeAggregationOperator = "Total" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleTimeAggregationOperatorValues returns an array of possible values for the TimeAggregationOperator const type. func PossibleTimeAggregationOperatorValues() []TimeAggregationOperator { return []TimeAggregationOperator{TimeAggregationOperatorAverage, TimeAggregationOperatorLast, TimeAggregationOperatorMaximum, TimeAggregationOperatorMinimum, TimeAggregationOperatorTotal} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // TimeAggregationType enumerates the values for time aggregation type. type TimeAggregationType string @@ -269,11 +294,13 @@ const ( TimeAggregationTypeTotal TimeAggregationType = "Total" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // PossibleTimeAggregationTypeValues returns an array of possible values for the TimeAggregationType const type. func PossibleTimeAggregationTypeValues() []TimeAggregationType { return []TimeAggregationType{TimeAggregationTypeAverage, TimeAggregationTypeCount, TimeAggregationTypeMaximum, TimeAggregationTypeMinimum, TimeAggregationTypeTotal} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActionGroup an Azure action group. type ActionGroup struct { // GroupShortName - The short name of the action group. This will be used in SMS messages. @@ -294,6 +321,7 @@ type ActionGroup struct { AutomationRunbookReceivers *[]AutomationRunbookReceiver `json:"automationRunbookReceivers,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActionGroupList a list of action groups. type ActionGroupList struct { autorest.Response `json:"-"` @@ -303,12 +331,14 @@ type ActionGroupList struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActionGroupPatch an Azure action group for patch operations. type ActionGroupPatch struct { // Enabled - Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated. Enabled *bool `json:"enabled,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActionGroupPatchBody an action group object for the body of patch operations. type ActionGroupPatchBody struct { // Tags - Resource tags @@ -317,6 +347,7 @@ type ActionGroupPatchBody struct { *ActionGroupPatch `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for ActionGroupPatchBody. func (agpb ActionGroupPatchBody) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -329,6 +360,7 @@ func (agpb ActionGroupPatchBody) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for ActionGroupPatchBody struct. func (agpb *ActionGroupPatchBody) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -362,6 +394,7 @@ func (agpb *ActionGroupPatchBody) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActionGroupResource an action group resource. type ActionGroupResource struct { autorest.Response `json:"-"` @@ -379,6 +412,7 @@ type ActionGroupResource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for ActionGroupResource. func (agr ActionGroupResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -403,6 +437,7 @@ func (agr ActionGroupResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for ActionGroupResource struct. func (agr *ActionGroupResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -472,6 +507,7 @@ func (agr *ActionGroupResource) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlert an Azure activity log alert. type ActivityLogAlert struct { // Scopes - A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item. @@ -486,6 +522,7 @@ type ActivityLogAlert struct { Description *string `json:"description,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertActionGroup a pointer to an Azure Action Group. type ActivityLogAlertActionGroup struct { // ActionGroupID - The resourceId of the action group. This cannot be null or empty. @@ -494,6 +531,7 @@ type ActivityLogAlertActionGroup struct { WebhookProperties map[string]*string `json:"webhookProperties"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for ActivityLogAlertActionGroup. func (alaag ActivityLogAlertActionGroup) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -506,12 +544,14 @@ func (alaag ActivityLogAlertActionGroup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertActionList a list of activity log alert actions. type ActivityLogAlertActionList struct { // ActionGroups - The list of activity log alerts. ActionGroups *[]ActivityLogAlertActionGroup `json:"actionGroups,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertAllOfCondition an Activity Log alert condition that is met when all its member conditions are // met. type ActivityLogAlertAllOfCondition struct { @@ -519,6 +559,7 @@ type ActivityLogAlertAllOfCondition struct { AllOf *[]ActivityLogAlertLeafCondition `json:"allOf,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertLeafCondition an Activity Log alert condition that is met by comparing an activity log field and // value. type ActivityLogAlertLeafCondition struct { @@ -528,6 +569,7 @@ type ActivityLogAlertLeafCondition struct { Equals *string `json:"equals,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertList a list of activity log alerts. type ActivityLogAlertList struct { autorest.Response `json:"-"` @@ -537,12 +579,14 @@ type ActivityLogAlertList struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertPatch an Azure activity log alert for patch operations. type ActivityLogAlertPatch struct { // Enabled - Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated. Enabled *bool `json:"enabled,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertPatchBody an activity log alert object for the body of patch operations. type ActivityLogAlertPatchBody struct { // Tags - Resource tags @@ -551,6 +595,7 @@ type ActivityLogAlertPatchBody struct { *ActivityLogAlertPatch `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for ActivityLogAlertPatchBody. func (alapb ActivityLogAlertPatchBody) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -563,6 +608,7 @@ func (alapb ActivityLogAlertPatchBody) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for ActivityLogAlertPatchBody struct. func (alapb *ActivityLogAlertPatchBody) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -596,6 +642,7 @@ func (alapb *ActivityLogAlertPatchBody) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ActivityLogAlertResource an activity log alert resource. type ActivityLogAlertResource struct { autorest.Response `json:"-"` @@ -613,6 +660,7 @@ type ActivityLogAlertResource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for ActivityLogAlertResource. func (alar ActivityLogAlertResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -637,6 +685,7 @@ func (alar ActivityLogAlertResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for ActivityLogAlertResource struct. func (alar *ActivityLogAlertResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -706,6 +755,7 @@ func (alar *ActivityLogAlertResource) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AlertRule an alert rule. type AlertRule struct { // Name - the name of the alert rule. @@ -722,6 +772,7 @@ type AlertRule struct { LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for AlertRule struct. func (ar *AlertRule) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -789,6 +840,7 @@ func (ar *AlertRule) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AlertRuleResource the alert rule resource. type AlertRuleResource struct { autorest.Response `json:"-"` @@ -806,6 +858,7 @@ type AlertRuleResource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for AlertRuleResource. func (arr AlertRuleResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -830,6 +883,7 @@ func (arr AlertRuleResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for AlertRuleResource struct. func (arr *AlertRuleResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -899,6 +953,7 @@ func (arr *AlertRuleResource) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AlertRuleResourceCollection represents a collection of alert rule resources. type AlertRuleResourceCollection struct { autorest.Response `json:"-"` @@ -906,6 +961,7 @@ type AlertRuleResourceCollection struct { Value *[]AlertRuleResource `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AlertRuleResourcePatch the alert rule object for patch operations. type AlertRuleResourcePatch struct { // Tags - Resource tags @@ -914,6 +970,7 @@ type AlertRuleResourcePatch struct { *AlertRule `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for AlertRuleResourcePatch. func (arrp AlertRuleResourcePatch) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -926,6 +983,7 @@ func (arrp AlertRuleResourcePatch) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for AlertRuleResourcePatch struct. func (arrp *AlertRuleResourcePatch) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -959,6 +1017,7 @@ func (arrp *AlertRuleResourcePatch) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutomationRunbookReceiver the Azure Automation Runbook notification receiver. type AutomationRunbookReceiver struct { // AutomationAccountID - The Azure automation account Id which holds this runbook and authenticate to Azure resource. @@ -975,6 +1034,7 @@ type AutomationRunbookReceiver struct { ServiceURI *string `json:"serviceUri,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleNotification autoscale notification. type AutoscaleNotification struct { // Operation - the operation associated with the notification and its value must be "scale" @@ -985,6 +1045,7 @@ type AutoscaleNotification struct { Webhooks *[]WebhookNotification `json:"webhooks,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleProfile autoscale profile. type AutoscaleProfile struct { // Name - the name of the profile. @@ -999,6 +1060,7 @@ type AutoscaleProfile struct { Recurrence *Recurrence `json:"recurrence,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleSetting a setting that contains all of the configuration for the automatic scaling of a resource. type AutoscaleSetting struct { // Profiles - the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. @@ -1013,6 +1075,7 @@ type AutoscaleSetting struct { TargetResourceURI *string `json:"targetResourceUri,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleSettingResource the autoscale setting resource. type AutoscaleSettingResource struct { autorest.Response `json:"-"` @@ -1030,6 +1093,7 @@ type AutoscaleSettingResource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for AutoscaleSettingResource. func (asr AutoscaleSettingResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1054,6 +1118,7 @@ func (asr AutoscaleSettingResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for AutoscaleSettingResource struct. func (asr *AutoscaleSettingResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1123,6 +1188,7 @@ func (asr *AutoscaleSettingResource) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleSettingResourceCollection represents a collection of autoscale setting resources. type AutoscaleSettingResourceCollection struct { autorest.Response `json:"-"` @@ -1132,6 +1198,7 @@ type AutoscaleSettingResourceCollection struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleSettingResourceCollectionIterator provides access to a complete listing of AutoscaleSettingResource // values. type AutoscaleSettingResourceCollectionIterator struct { @@ -1139,6 +1206,7 @@ type AutoscaleSettingResourceCollectionIterator struct { page AutoscaleSettingResourceCollectionPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *AutoscaleSettingResourceCollectionIterator) Next() error { @@ -1155,16 +1223,19 @@ func (iter *AutoscaleSettingResourceCollectionIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter AutoscaleSettingResourceCollectionIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Response returns the raw server response from the last page request. func (iter AutoscaleSettingResourceCollectionIterator) Response() AutoscaleSettingResourceCollection { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter AutoscaleSettingResourceCollectionIterator) Value() AutoscaleSettingResource { @@ -1174,6 +1245,7 @@ func (iter AutoscaleSettingResourceCollectionIterator) Value() AutoscaleSettingR return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // IsEmpty returns true if the ListResult contains no values. func (asrc AutoscaleSettingResourceCollection) IsEmpty() bool { return asrc.Value == nil || len(*asrc.Value) == 0 @@ -1191,12 +1263,14 @@ func (asrc AutoscaleSettingResourceCollection) autoscaleSettingResourceCollectio autorest.WithBaseURL(to.String(asrc.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleSettingResourceCollectionPage contains a page of AutoscaleSettingResource values. type AutoscaleSettingResourceCollectionPage struct { fn func(AutoscaleSettingResourceCollection) (AutoscaleSettingResourceCollection, error) asrc AutoscaleSettingResourceCollection } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *AutoscaleSettingResourceCollectionPage) Next() error { @@ -1208,16 +1282,19 @@ func (page *AutoscaleSettingResourceCollectionPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page AutoscaleSettingResourceCollectionPage) NotDone() bool { return !page.asrc.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Response returns the raw server response from the last page request. func (page AutoscaleSettingResourceCollectionPage) Response() AutoscaleSettingResourceCollection { return page.asrc } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Values returns the slice of values for the current page or nil if there are no values. func (page AutoscaleSettingResourceCollectionPage) Values() []AutoscaleSettingResource { if page.asrc.IsEmpty() { @@ -1226,6 +1303,7 @@ func (page AutoscaleSettingResourceCollectionPage) Values() []AutoscaleSettingRe return *page.asrc.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AutoscaleSettingResourcePatch the autoscale setting object for patch operations. type AutoscaleSettingResourcePatch struct { // Tags - Resource tags @@ -1234,6 +1312,7 @@ type AutoscaleSettingResourcePatch struct { *AutoscaleSetting `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for AutoscaleSettingResourcePatch. func (asrp AutoscaleSettingResourcePatch) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1246,6 +1325,7 @@ func (asrp AutoscaleSettingResourcePatch) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for AutoscaleSettingResourcePatch struct. func (asrp *AutoscaleSettingResourcePatch) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1279,6 +1359,7 @@ func (asrp *AutoscaleSettingResourcePatch) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AzureAppPushReceiver the Azure mobile App push notification receiver. type AzureAppPushReceiver struct { // Name - The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group. @@ -1287,6 +1368,7 @@ type AzureAppPushReceiver struct { EmailAddress *string `json:"emailAddress,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettings the diagnostic settings. type DiagnosticSettings struct { // StorageAccountID - The resource ID of the storage account to which you would like to send Diagnostic Logs. @@ -1303,12 +1385,14 @@ type DiagnosticSettings struct { WorkspaceID *string `json:"workspaceId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettingsCategory the diagnostic settings Category. type DiagnosticSettingsCategory struct { // CategoryType - The type of the diagnostic settings category. Possible values include: 'Metrics', 'Logs' CategoryType CategoryType `json:"categoryType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettingsCategoryResource the diagnostic settings category resource. type DiagnosticSettingsCategoryResource struct { autorest.Response `json:"-"` @@ -1321,6 +1405,7 @@ type DiagnosticSettingsCategoryResource struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for DiagnosticSettingsCategoryResource. func (dscr DiagnosticSettingsCategoryResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1339,6 +1424,7 @@ func (dscr DiagnosticSettingsCategoryResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for DiagnosticSettingsCategoryResource struct. func (dscr *DiagnosticSettingsCategoryResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1390,6 +1476,7 @@ func (dscr *DiagnosticSettingsCategoryResource) UnmarshalJSON(body []byte) error return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettingsCategoryResourceCollection represents a collection of diagnostic setting category resources. type DiagnosticSettingsCategoryResourceCollection struct { autorest.Response `json:"-"` @@ -1397,6 +1484,7 @@ type DiagnosticSettingsCategoryResourceCollection struct { Value *[]DiagnosticSettingsCategoryResource `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettingsResource the diagnostic setting resource. type DiagnosticSettingsResource struct { autorest.Response `json:"-"` @@ -1409,6 +1497,7 @@ type DiagnosticSettingsResource struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for DiagnosticSettingsResource. func (dsr DiagnosticSettingsResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1427,6 +1516,7 @@ func (dsr DiagnosticSettingsResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for DiagnosticSettingsResource struct. func (dsr *DiagnosticSettingsResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1478,6 +1568,7 @@ func (dsr *DiagnosticSettingsResource) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // DiagnosticSettingsResourceCollection represents a collection of alert rule resources. type DiagnosticSettingsResourceCollection struct { autorest.Response `json:"-"` @@ -1485,6 +1576,7 @@ type DiagnosticSettingsResourceCollection struct { Value *[]DiagnosticSettingsResource `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // EmailNotification email notification of an autoscale event. type EmailNotification struct { // SendToSubscriptionAdministrator - a value indicating whether to send email to subscription administrator. @@ -1495,6 +1587,7 @@ type EmailNotification struct { CustomEmails *[]string `json:"customEmails,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // EmailReceiver an email receiver. type EmailReceiver struct { // Name - The name of the email receiver. Names must be unique across all receivers within an action group. @@ -1505,12 +1598,14 @@ type EmailReceiver struct { Status ReceiverStatus `json:"status,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // EnableRequest describes a receiver that should be resubscribed. type EnableRequest struct { // ReceiverName - The name of the receiver to resubscribe. ReceiverName *string `json:"receiverName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ErrorResponse describes the format of Error response. type ErrorResponse struct { // Code - Error code @@ -1519,6 +1614,7 @@ type ErrorResponse struct { Message *string `json:"message,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Incident an alert incident indicates the activation status of an alert rule. type Incident struct { autorest.Response `json:"-"` @@ -1534,6 +1630,7 @@ type Incident struct { ResolvedTime *date.Time `json:"resolvedTime,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // IncidentListResult the List incidents operation response. type IncidentListResult struct { autorest.Response `json:"-"` @@ -1541,6 +1638,7 @@ type IncidentListResult struct { Value *[]Incident `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ItsmReceiver an Itsm receiver. type ItsmReceiver struct { // Name - The name of the Itsm receiver. Names must be unique across all receivers within an action group. @@ -1555,6 +1653,7 @@ type ItsmReceiver struct { Region *string `json:"region,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // LocationThresholdRuleCondition a rule condition based on a certain number of locations failing. type LocationThresholdRuleCondition struct { // WindowSize - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. @@ -1567,6 +1666,7 @@ type LocationThresholdRuleCondition struct { OdataType OdataTypeBasicRuleCondition `json:"odata.type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for LocationThresholdRuleCondition. func (ltrc LocationThresholdRuleCondition) MarshalJSON() ([]byte, error) { ltrc.OdataType = OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition @@ -1584,31 +1684,37 @@ func (ltrc LocationThresholdRuleCondition) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsThresholdRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition. func (ltrc LocationThresholdRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition. func (ltrc LocationThresholdRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool) { return <rc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsManagementEventRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition. func (ltrc LocationThresholdRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition. func (ltrc LocationThresholdRuleCondition) AsRuleCondition() (*RuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleCondition is the BasicRuleCondition implementation for LocationThresholdRuleCondition. func (ltrc LocationThresholdRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool) { return <rc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for LocationThresholdRuleCondition struct. func (ltrc *LocationThresholdRuleCondition) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1659,6 +1765,7 @@ func (ltrc *LocationThresholdRuleCondition) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // LogProfileCollection represents a collection of log profiles. type LogProfileCollection struct { autorest.Response `json:"-"` @@ -1666,6 +1773,7 @@ type LogProfileCollection struct { Value *[]LogProfileResource `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // LogProfileProperties the log profile properties. type LogProfileProperties struct { // StorageAccountID - the resource id of the storage account to which you would like to send the Activity Log. @@ -1680,6 +1788,7 @@ type LogProfileProperties struct { RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // LogProfileResource the log profile resource. type LogProfileResource struct { autorest.Response `json:"-"` @@ -1697,6 +1806,7 @@ type LogProfileResource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for LogProfileResource. func (lpr LogProfileResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1721,6 +1831,7 @@ func (lpr LogProfileResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for LogProfileResource struct. func (lpr *LogProfileResource) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1790,6 +1901,7 @@ func (lpr *LogProfileResource) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // LogProfileResourcePatch the log profile resource for patch operations. type LogProfileResourcePatch struct { // Tags - Resource tags @@ -1798,6 +1910,7 @@ type LogProfileResourcePatch struct { *LogProfileProperties `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for LogProfileResourcePatch. func (lprp LogProfileResourcePatch) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1810,6 +1923,7 @@ func (lprp LogProfileResourcePatch) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for LogProfileResourcePatch struct. func (lprp *LogProfileResourcePatch) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1843,6 +1957,7 @@ func (lprp *LogProfileResourcePatch) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // LogSettings part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. type LogSettings struct { // Category - Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. @@ -1853,6 +1968,7 @@ type LogSettings struct { RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ManagementEventAggregationCondition how the data that is collected should be combined over time. type ManagementEventAggregationCondition struct { // Operator - the condition operator. Possible values include: 'ConditionOperatorGreaterThan', 'ConditionOperatorGreaterThanOrEqual', 'ConditionOperatorLessThan', 'ConditionOperatorLessThanOrEqual' @@ -1863,6 +1979,7 @@ type ManagementEventAggregationCondition struct { WindowSize *string `json:"windowSize,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ManagementEventRuleCondition a management event rule condition. type ManagementEventRuleCondition struct { // Aggregation - How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate. @@ -1873,6 +1990,7 @@ type ManagementEventRuleCondition struct { OdataType OdataTypeBasicRuleCondition `json:"odata.type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for ManagementEventRuleCondition. func (merc ManagementEventRuleCondition) MarshalJSON() ([]byte, error) { merc.OdataType = OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition @@ -1887,31 +2005,37 @@ func (merc ManagementEventRuleCondition) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsThresholdRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition. func (merc ManagementEventRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition. func (merc ManagementEventRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsManagementEventRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition. func (merc ManagementEventRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool) { return &merc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition. func (merc ManagementEventRuleCondition) AsRuleCondition() (*RuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleCondition is the BasicRuleCondition implementation for ManagementEventRuleCondition. func (merc ManagementEventRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool) { return &merc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for ManagementEventRuleCondition struct. func (merc *ManagementEventRuleCondition) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1953,6 +2077,7 @@ func (merc *ManagementEventRuleCondition) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MetricSettings part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. type MetricSettings struct { // TimeGrain - the timegrain of the metric in ISO8601 format. @@ -1965,6 +2090,7 @@ type MetricSettings struct { RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MetricTrigger the trigger that results in a scaling action. type MetricTrigger struct { // MetricName - the name of the metric that defines what the rule monitors. @@ -1985,6 +2111,7 @@ type MetricTrigger struct { Threshold *float64 `json:"threshold,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Operation microsoft Insights API operation definition. type Operation struct { // Name - Operation name: {provider}/{resource}/{operation} @@ -1993,6 +2120,7 @@ type Operation struct { Display *OperationDisplay `json:"display,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // OperationDisplay display metadata associated with the operation. type OperationDisplay struct { // Provider - Service provider: Microsoft.Insights @@ -2003,6 +2131,7 @@ type OperationDisplay struct { Operation *string `json:"operation,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // OperationListResult result of the request to list Microsoft.Insights operations. It contains a list of // operations and a URL link to get the next set of results. type OperationListResult struct { @@ -2013,6 +2142,7 @@ type OperationListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ProxyOnlyResource a proxy only azure resource object type ProxyOnlyResource struct { // ID - Azure resource Id @@ -2023,6 +2153,7 @@ type ProxyOnlyResource struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Recurrence the repeating times at which this profile begins. This element is not used if the FixedDate element // is used. type Recurrence struct { @@ -2032,6 +2163,7 @@ type Recurrence struct { Schedule *RecurrentSchedule `json:"schedule,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RecurrentSchedule the scheduling constraints for when the profile begins. type RecurrentSchedule struct { // TimeZone - the timezone for the hours of the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time @@ -2044,6 +2176,7 @@ type RecurrentSchedule struct { Minutes *[]int32 `json:"minutes,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Resource an azure resource object type Resource struct { // ID - Azure resource Id @@ -2058,6 +2191,7 @@ type Resource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for Resource. func (r Resource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2079,6 +2213,7 @@ func (r Resource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RetentionPolicy specifies the retention policy for the log. type RetentionPolicy struct { // Enabled - a value indicating whether the retention policy is enabled. @@ -2087,6 +2222,7 @@ type RetentionPolicy struct { Days *int32 `json:"days,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // BasicRuleAction the action that is performed when the alert rule becomes active, and when an alert condition is // resolved. type BasicRuleAction interface { @@ -2095,6 +2231,7 @@ type BasicRuleAction interface { AsRuleAction() (*RuleAction, bool) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleAction the action that is performed when the alert rule becomes active, and when an alert condition is // resolved. type RuleAction struct { @@ -2143,6 +2280,7 @@ func unmarshalBasicRuleActionArray(body []byte) ([]BasicRuleAction, error) { return raArray, nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for RuleAction. func (ra RuleAction) MarshalJSON() ([]byte, error) { ra.OdataType = OdataTypeRuleAction @@ -2153,26 +2291,31 @@ func (ra RuleAction) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleEmailAction is the BasicRuleAction implementation for RuleAction. func (ra RuleAction) AsRuleEmailAction() (*RuleEmailAction, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleWebhookAction is the BasicRuleAction implementation for RuleAction. func (ra RuleAction) AsRuleWebhookAction() (*RuleWebhookAction, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleAction is the BasicRuleAction implementation for RuleAction. func (ra RuleAction) AsRuleAction() (*RuleAction, bool) { return &ra, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleAction is the BasicRuleAction implementation for RuleAction. func (ra RuleAction) AsBasicRuleAction() (BasicRuleAction, bool) { return &ra, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // BasicRuleCondition the condition that results in the alert rule being activated. type BasicRuleCondition interface { AsThresholdRuleCondition() (*ThresholdRuleCondition, bool) @@ -2181,6 +2324,7 @@ type BasicRuleCondition interface { AsRuleCondition() (*RuleCondition, bool) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleCondition the condition that results in the alert rule being activated. type RuleCondition struct { // DataSource - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource. @@ -2234,6 +2378,7 @@ func unmarshalBasicRuleConditionArray(body []byte) ([]BasicRuleCondition, error) return rcArray, nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for RuleCondition. func (rc RuleCondition) MarshalJSON() ([]byte, error) { rc.OdataType = OdataTypeRuleCondition @@ -2245,31 +2390,37 @@ func (rc RuleCondition) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsThresholdRuleCondition is the BasicRuleCondition implementation for RuleCondition. func (rc RuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for RuleCondition. func (rc RuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsManagementEventRuleCondition is the BasicRuleCondition implementation for RuleCondition. func (rc RuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleCondition is the BasicRuleCondition implementation for RuleCondition. func (rc RuleCondition) AsRuleCondition() (*RuleCondition, bool) { return &rc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleCondition is the BasicRuleCondition implementation for RuleCondition. func (rc RuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool) { return &rc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for RuleCondition struct. func (rc *RuleCondition) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2302,6 +2453,7 @@ func (rc *RuleCondition) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // BasicRuleDataSource the resource from which the rule collects its data. type BasicRuleDataSource interface { AsRuleMetricDataSource() (*RuleMetricDataSource, bool) @@ -2309,6 +2461,7 @@ type BasicRuleDataSource interface { AsRuleDataSource() (*RuleDataSource, bool) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleDataSource the resource from which the rule collects its data. type RuleDataSource struct { // ResourceURI - the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule. @@ -2358,6 +2511,7 @@ func unmarshalBasicRuleDataSourceArray(body []byte) ([]BasicRuleDataSource, erro return rdsArray, nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for RuleDataSource. func (rds RuleDataSource) MarshalJSON() ([]byte, error) { rds.OdataType = OdataTypeRuleDataSource @@ -2371,26 +2525,31 @@ func (rds RuleDataSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleMetricDataSource is the BasicRuleDataSource implementation for RuleDataSource. func (rds RuleDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleManagementEventDataSource is the BasicRuleDataSource implementation for RuleDataSource. func (rds RuleDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleDataSource is the BasicRuleDataSource implementation for RuleDataSource. func (rds RuleDataSource) AsRuleDataSource() (*RuleDataSource, bool) { return &rds, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleDataSource is the BasicRuleDataSource implementation for RuleDataSource. func (rds RuleDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool) { return &rds, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleEmailAction specifies the action to send email when the rule condition is evaluated. The discriminator is // always RuleEmailAction in this case. type RuleEmailAction struct { @@ -2402,6 +2561,7 @@ type RuleEmailAction struct { OdataType OdataTypeBasicRuleAction `json:"odata.type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for RuleEmailAction. func (rea RuleEmailAction) MarshalJSON() ([]byte, error) { rea.OdataType = OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction @@ -2418,32 +2578,38 @@ func (rea RuleEmailAction) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleEmailAction is the BasicRuleAction implementation for RuleEmailAction. func (rea RuleEmailAction) AsRuleEmailAction() (*RuleEmailAction, bool) { return &rea, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleWebhookAction is the BasicRuleAction implementation for RuleEmailAction. func (rea RuleEmailAction) AsRuleWebhookAction() (*RuleWebhookAction, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleAction is the BasicRuleAction implementation for RuleEmailAction. func (rea RuleEmailAction) AsRuleAction() (*RuleAction, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleAction is the BasicRuleAction implementation for RuleEmailAction. func (rea RuleEmailAction) AsBasicRuleAction() (BasicRuleAction, bool) { return &rea, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleManagementEventClaimsDataSource the claims for a rule management event data source. type RuleManagementEventClaimsDataSource struct { // EmailAddress - the email address. EmailAddress *string `json:"emailAddress,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleManagementEventDataSource a rule management event data source. The discriminator fields is always // RuleManagementEventDataSource in this case. type RuleManagementEventDataSource struct { @@ -2471,6 +2637,7 @@ type RuleManagementEventDataSource struct { OdataType OdataType `json:"odata.type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for RuleManagementEventDataSource. func (rmeds RuleManagementEventDataSource) MarshalJSON() ([]byte, error) { rmeds.OdataType = OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource @@ -2511,26 +2678,31 @@ func (rmeds RuleManagementEventDataSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleMetricDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource. func (rmeds RuleManagementEventDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleManagementEventDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource. func (rmeds RuleManagementEventDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool) { return &rmeds, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource. func (rmeds RuleManagementEventDataSource) AsRuleDataSource() (*RuleDataSource, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleDataSource is the BasicRuleDataSource implementation for RuleManagementEventDataSource. func (rmeds RuleManagementEventDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool) { return &rmeds, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleMetricDataSource a rule metric data source. The discriminator value is always RuleMetricDataSource in this // case. type RuleMetricDataSource struct { @@ -2542,6 +2714,7 @@ type RuleMetricDataSource struct { OdataType OdataType `json:"odata.type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for RuleMetricDataSource. func (rmds RuleMetricDataSource) MarshalJSON() ([]byte, error) { rmds.OdataType = OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource @@ -2558,26 +2731,31 @@ func (rmds RuleMetricDataSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleMetricDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource. func (rmds RuleMetricDataSource) AsRuleMetricDataSource() (*RuleMetricDataSource, bool) { return &rmds, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleManagementEventDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource. func (rmds RuleMetricDataSource) AsRuleManagementEventDataSource() (*RuleManagementEventDataSource, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource. func (rmds RuleMetricDataSource) AsRuleDataSource() (*RuleDataSource, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleDataSource is the BasicRuleDataSource implementation for RuleMetricDataSource. func (rmds RuleMetricDataSource) AsBasicRuleDataSource() (BasicRuleDataSource, bool) { return &rmds, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // RuleWebhookAction specifies the action to post to service when the rule condition is evaluated. The // discriminator is always RuleWebhookAction in this case. type RuleWebhookAction struct { @@ -2589,6 +2767,7 @@ type RuleWebhookAction struct { OdataType OdataTypeBasicRuleAction `json:"odata.type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for RuleWebhookAction. func (rwa RuleWebhookAction) MarshalJSON() ([]byte, error) { rwa.OdataType = OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction @@ -2605,26 +2784,31 @@ func (rwa RuleWebhookAction) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleEmailAction is the BasicRuleAction implementation for RuleWebhookAction. func (rwa RuleWebhookAction) AsRuleEmailAction() (*RuleEmailAction, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleWebhookAction is the BasicRuleAction implementation for RuleWebhookAction. func (rwa RuleWebhookAction) AsRuleWebhookAction() (*RuleWebhookAction, bool) { return &rwa, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleAction is the BasicRuleAction implementation for RuleWebhookAction. func (rwa RuleWebhookAction) AsRuleAction() (*RuleAction, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleAction is the BasicRuleAction implementation for RuleWebhookAction. func (rwa RuleWebhookAction) AsBasicRuleAction() (BasicRuleAction, bool) { return &rwa, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ScaleAction the parameters for the scaling action. type ScaleAction struct { // Direction - the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'ScaleDirectionNone', 'ScaleDirectionIncrease', 'ScaleDirectionDecrease' @@ -2637,6 +2821,7 @@ type ScaleAction struct { Cooldown *string `json:"cooldown,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ScaleCapacity the number of instances that can be used during this profile. type ScaleCapacity struct { // Minimum - the minimum number of instances for the resource. @@ -2647,6 +2832,7 @@ type ScaleCapacity struct { Default *string `json:"default,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ScaleRule a rule that provide the triggers and parameters for the scaling action. type ScaleRule struct { // MetricTrigger - the trigger that results in a scaling action. @@ -2655,6 +2841,7 @@ type ScaleRule struct { ScaleAction *ScaleAction `json:"scaleAction,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // SmsReceiver an SMS receiver. type SmsReceiver struct { // Name - The name of the SMS receiver. Names must be unique across all receivers within an action group. @@ -2667,6 +2854,7 @@ type SmsReceiver struct { Status ReceiverStatus `json:"status,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ThresholdRuleCondition a rule condition based on a metric crossing a threshold. type ThresholdRuleCondition struct { // Operator - the operator used to compare the data and the threshold. Possible values include: 'ConditionOperatorGreaterThan', 'ConditionOperatorGreaterThanOrEqual', 'ConditionOperatorLessThan', 'ConditionOperatorLessThanOrEqual' @@ -2683,6 +2871,7 @@ type ThresholdRuleCondition struct { OdataType OdataTypeBasicRuleCondition `json:"odata.type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for ThresholdRuleCondition. func (trc ThresholdRuleCondition) MarshalJSON() ([]byte, error) { trc.OdataType = OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition @@ -2706,31 +2895,37 @@ func (trc ThresholdRuleCondition) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsThresholdRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition. func (trc ThresholdRuleCondition) AsThresholdRuleCondition() (*ThresholdRuleCondition, bool) { return &trc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsLocationThresholdRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition. func (trc ThresholdRuleCondition) AsLocationThresholdRuleCondition() (*LocationThresholdRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsManagementEventRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition. func (trc ThresholdRuleCondition) AsManagementEventRuleCondition() (*ManagementEventRuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition. func (trc ThresholdRuleCondition) AsRuleCondition() (*RuleCondition, bool) { return nil, false } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // AsBasicRuleCondition is the BasicRuleCondition implementation for ThresholdRuleCondition. func (trc ThresholdRuleCondition) AsBasicRuleCondition() (BasicRuleCondition, bool) { return &trc, true } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UnmarshalJSON is the custom unmarshaler for ThresholdRuleCondition struct. func (trc *ThresholdRuleCondition) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2799,6 +2994,7 @@ func (trc *ThresholdRuleCondition) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // TimeWindow a specific date-time for the profile. type TimeWindow struct { // TimeZone - the timezone of the start and end times for the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time @@ -2809,6 +3005,7 @@ type TimeWindow struct { End *date.Time `json:"end,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // WebhookNotification webhook notification of an autoscale event. type WebhookNotification struct { // ServiceURI - the service address to receive the notification. @@ -2817,6 +3014,7 @@ type WebhookNotification struct { Properties map[string]*string `json:"properties"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // MarshalJSON is the custom marshaler for WebhookNotification. func (wn WebhookNotification) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2829,6 +3027,7 @@ func (wn WebhookNotification) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // WebhookReceiver a webhook receiver. type WebhookReceiver struct { // Name - The name of the webhook receiver. Names must be unique across all receivers within an action group. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/operations.go index bcfbfcf93b3d..0f8daa94860a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/operations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/operations.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // OperationsClient is the monitor Management Client type OperationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewOperationsClient creates an instance of the OperationsClient client. func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // List lists all of the available operations from Microsoft.Insights provider. func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) { req, err := client.ListPreparer(ctx) @@ -62,6 +66,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2015-04-01" @@ -77,6 +82,7 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -84,6 +90,7 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/version.go index c33ff9d7cbc9..6b4f11815f00 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights/version.go @@ -18,12 +18,13 @@ import "github.com/Azure/azure-sdk-for-go/version" // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. - +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { return "Azure-SDK-For-Go/" + version.Number + " insights/2017-05-01-preview" } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2017-05-01-preview/insights instead. // Version returns the semantic version (see http://semver.org) of the client. func Version() string { return version.Number diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationgateways.go index b8e5d3d6a5cb..7206327b0cee 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationgateways.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationgateways.go @@ -41,9 +41,10 @@ func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID stri } // BackendHealth gets the backend health of the specified application gateway in a resource group. -// -// resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application -// gateway. expand is expands BackendAddressPool and BackendHttpSettings referenced in backend health. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationGatewayName - the name of the application gateway. +// expand - expands BackendAddressPool and BackendHttpSettings referenced in backend health. func (client ApplicationGatewaysClient) BackendHealth(ctx context.Context, resourceGroupName string, applicationGatewayName string, expand string) (result ApplicationGatewaysBackendHealthFuture, err error) { req, err := client.BackendHealthPreparer(ctx, resourceGroupName, applicationGatewayName, expand) if err != nil { @@ -113,9 +114,10 @@ func (client ApplicationGatewaysClient) BackendHealthResponder(resp *http.Respon } // CreateOrUpdate creates or updates the specified application gateway. -// -// resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application -// gateway. parameters is parameters supplied to the create or update application gateway operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationGatewayName - the name of the application gateway. +// parameters - parameters supplied to the create or update application gateway operation. func (client ApplicationGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (result ApplicationGatewaysCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -196,9 +198,9 @@ func (client ApplicationGatewaysClient) CreateOrUpdateResponder(resp *http.Respo } // Delete deletes the specified application gateway. -// -// resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application -// gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationGatewayName - the name of the application gateway. func (client ApplicationGatewaysClient) Delete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, applicationGatewayName) if err != nil { @@ -264,9 +266,9 @@ func (client ApplicationGatewaysClient) DeleteResponder(resp *http.Response) (re } // Get gets the specified application gateway. -// -// resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application -// gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationGatewayName - the name of the application gateway. func (client ApplicationGatewaysClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, applicationGatewayName) if err != nil { @@ -331,8 +333,8 @@ func (client ApplicationGatewaysClient) GetResponder(resp *http.Response) (resul } // GetSslPredefinedPolicy gets Ssl predefined policy with the specified policy name. -// -// predefinedPolicyName is name of Ssl predefined policy. +// Parameters: +// predefinedPolicyName - name of Ssl predefined policy. func (client ApplicationGatewaysClient) GetSslPredefinedPolicy(ctx context.Context, predefinedPolicyName string) (result ApplicationGatewaySslPredefinedPolicy, err error) { req, err := client.GetSslPredefinedPolicyPreparer(ctx, predefinedPolicyName) if err != nil { @@ -396,8 +398,8 @@ func (client ApplicationGatewaysClient) GetSslPredefinedPolicyResponder(resp *ht } // List lists all application gateways in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client ApplicationGatewaysClient) List(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -793,9 +795,9 @@ func (client ApplicationGatewaysClient) ListAvailableWafRuleSetsResponder(resp * } // Start starts the specified application gateway. -// -// resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application -// gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationGatewayName - the name of the application gateway. func (client ApplicationGatewaysClient) Start(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStartFuture, err error) { req, err := client.StartPreparer(ctx, resourceGroupName, applicationGatewayName) if err != nil { @@ -861,9 +863,9 @@ func (client ApplicationGatewaysClient) StartResponder(resp *http.Response) (res } // Stop stops the specified application gateway in a resource group. -// -// resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application -// gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationGatewayName - the name of the application gateway. func (client ApplicationGatewaysClient) Stop(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStopFuture, err error) { req, err := client.StopPreparer(ctx, resourceGroupName, applicationGatewayName) if err != nil { @@ -929,9 +931,10 @@ func (client ApplicationGatewaysClient) StopResponder(resp *http.Response) (resu } // UpdateTags updates the specified application gateway tags. -// -// resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application -// gateway. parameters is parameters supplied to update application gateway tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationGatewayName - the name of the application gateway. +// parameters - parameters supplied to update application gateway tags. func (client ApplicationGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters TagsObject) (result ApplicationGatewaysUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, applicationGatewayName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationsecuritygroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationsecuritygroups.go index d363a4dd227d..133c1552c7e9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationsecuritygroups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/applicationsecuritygroups.go @@ -40,9 +40,10 @@ func NewApplicationSecurityGroupsClientWithBaseURI(baseURI string, subscriptionI } // CreateOrUpdate creates or updates an application security group. -// -// resourceGroupName is the name of the resource group. applicationSecurityGroupName is the name of the application -// security group. parameters is parameters supplied to the create or update ApplicationSecurityGroup operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationSecurityGroupName - the name of the application security group. +// parameters - parameters supplied to the create or update ApplicationSecurityGroup operation. func (client ApplicationSecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters ApplicationSecurityGroup) (result ApplicationSecurityGroupsCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, applicationSecurityGroupName, parameters) if err != nil { @@ -111,9 +112,9 @@ func (client ApplicationSecurityGroupsClient) CreateOrUpdateResponder(resp *http } // Delete deletes the specified application security group. -// -// resourceGroupName is the name of the resource group. applicationSecurityGroupName is the name of the application -// security group. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationSecurityGroupName - the name of the application security group. func (client ApplicationSecurityGroupsClient) Delete(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result ApplicationSecurityGroupsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, applicationSecurityGroupName) if err != nil { @@ -179,9 +180,9 @@ func (client ApplicationSecurityGroupsClient) DeleteResponder(resp *http.Respons } // Get gets information about the specified application security group. -// -// resourceGroupName is the name of the resource group. applicationSecurityGroupName is the name of the application -// security group. +// Parameters: +// resourceGroupName - the name of the resource group. +// applicationSecurityGroupName - the name of the application security group. func (client ApplicationSecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result ApplicationSecurityGroup, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, applicationSecurityGroupName) if err != nil { @@ -246,8 +247,8 @@ func (client ApplicationSecurityGroupsClient) GetResponder(resp *http.Response) } // List gets all the application security groups in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client ApplicationSecurityGroupsClient) List(ctx context.Context, resourceGroupName string) (result ApplicationSecurityGroupListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/availableendpointservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/availableendpointservices.go index a7cf1080cf5a..33c9771c97c2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/availableendpointservices.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/availableendpointservices.go @@ -40,8 +40,8 @@ func NewAvailableEndpointServicesClientWithBaseURI(baseURI string, subscriptionI } // List list what values of endpoint services are available for use. -// -// location is the location to check available endpoint services. +// Parameters: +// location - the location to check available endpoint services. func (client AvailableEndpointServicesClient) List(ctx context.Context, location string) (result EndpointServicesListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, location) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/client.go index 3c5bc3888085..3358b9975442 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/client.go @@ -54,9 +54,10 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } // CheckDNSNameAvailability checks whether a domain name in the cloudapp.azure.com zone is available for use. -// -// location is the location of the domain name. domainNameLabel is the domain name to be verified. It must conform -// to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. +// Parameters: +// location - the location of the domain name. +// domainNameLabel - the domain name to be verified. It must conform to the following regular expression: +// ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. func (client BaseClient) CheckDNSNameAvailability(ctx context.Context, location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error) { req, err := client.CheckDNSNameAvailabilityPreparer(ctx, location, domainNameLabel) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/defaultsecurityrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/defaultsecurityrules.go index 94666cae9888..6d42c7f8f666 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/defaultsecurityrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/defaultsecurityrules.go @@ -40,9 +40,10 @@ func NewDefaultSecurityRulesClientWithBaseURI(baseURI string, subscriptionID str } // Get get the specified default network security rule. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. defaultSecurityRuleName is the name of the default security rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. +// defaultSecurityRuleName - the name of the default security rule. func (client DefaultSecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (result SecurityRule, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName) if err != nil { @@ -108,9 +109,9 @@ func (client DefaultSecurityRulesClient) GetResponder(resp *http.Response) (resu } // List gets all default security rules in a network security group. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. func (client DefaultSecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, networkSecurityGroupName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitauthorizations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitauthorizations.go index 222ffd7f4c72..8e947afac02f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitauthorizations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitauthorizations.go @@ -42,10 +42,12 @@ func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subsc } // CreateOrUpdate creates or updates an authorization in the specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// authorizationName is the name of the authorization. authorizationParameters is parameters supplied to the create -// or update express route circuit authorization operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// authorizationName - the name of the authorization. +// authorizationParameters - parameters supplied to the create or update express route circuit authorization +// operation. func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (result ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, circuitName, authorizationName, authorizationParameters) if err != nil { @@ -115,9 +117,10 @@ func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder(re } // Delete deletes the specified authorization from the specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// authorizationName is the name of the authorization. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// authorizationName - the name of the authorization. func (client ExpressRouteCircuitAuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorizationsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, circuitName, authorizationName) if err != nil { @@ -184,9 +187,10 @@ func (client ExpressRouteCircuitAuthorizationsClient) DeleteResponder(resp *http } // Get gets the specified authorization from the specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// authorizationName is the name of the authorization. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// authorizationName - the name of the authorization. func (client ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorization, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, circuitName, authorizationName) if err != nil { @@ -252,8 +256,9 @@ func (client ExpressRouteCircuitAuthorizationsClient) GetResponder(resp *http.Re } // List gets all authorizations in an express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the circuit. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the circuit. func (client ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, circuitName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitpeerings.go index 991a96093a15..5813098efc78 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitpeerings.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuitpeerings.go @@ -40,10 +40,11 @@ func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptio } // CreateOrUpdate creates or updates a peering in the specified express route circuits. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// peeringName is the name of the peering. peeringParameters is parameters supplied to the create or update express -// route circuit peering operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// peeringName - the name of the peering. +// peeringParameters - parameters supplied to the create or update express route circuit peering operation. func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (result ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, circuitName, peeringName, peeringParameters) if err != nil { @@ -113,9 +114,10 @@ func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder(resp *ht } // Delete deletes the specified peering from the specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// peeringName is the name of the peering. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// peeringName - the name of the peering. func (client ExpressRouteCircuitPeeringsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeeringsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, circuitName, peeringName) if err != nil { @@ -182,9 +184,10 @@ func (client ExpressRouteCircuitPeeringsClient) DeleteResponder(resp *http.Respo } // Get gets the specified authorization from the specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// peeringName is the name of the peering. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// peeringName - the name of the peering. func (client ExpressRouteCircuitPeeringsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeering, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, circuitName, peeringName) if err != nil { @@ -250,8 +253,9 @@ func (client ExpressRouteCircuitPeeringsClient) GetResponder(resp *http.Response } // List gets all peerings in a specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. func (client ExpressRouteCircuitPeeringsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, circuitName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuits.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuits.go index 20c4d7efee14..add90435b89d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuits.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/expressroutecircuits.go @@ -40,9 +40,10 @@ func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID str } // CreateOrUpdate creates or updates an express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the circuit. parameters is -// parameters supplied to the create or update express route circuit operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the circuit. +// parameters - parameters supplied to the create or update express route circuit operation. func (client ExpressRouteCircuitsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (result ExpressRouteCircuitsCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, circuitName, parameters) if err != nil { @@ -111,8 +112,9 @@ func (client ExpressRouteCircuitsClient) CreateOrUpdateResponder(resp *http.Resp } // Delete deletes the specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. func (client ExpressRouteCircuitsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, circuitName) if err != nil { @@ -178,8 +180,9 @@ func (client ExpressRouteCircuitsClient) DeleteResponder(resp *http.Response) (r } // Get gets information about the specified express route circuit. -// -// resourceGroupName is the name of the resource group. circuitName is the name of express route circuit. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of express route circuit. func (client ExpressRouteCircuitsClient) Get(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, circuitName) if err != nil { @@ -244,9 +247,10 @@ func (client ExpressRouteCircuitsClient) GetResponder(resp *http.Response) (resu } // GetPeeringStats gets all stats from an express route circuit in a resource group. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// peeringName is the name of the peering. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// peeringName - the name of the peering. func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitStats, err error) { req, err := client.GetPeeringStatsPreparer(ctx, resourceGroupName, circuitName, peeringName) if err != nil { @@ -312,8 +316,9 @@ func (client ExpressRouteCircuitsClient) GetPeeringStatsResponder(resp *http.Res } // GetStats gets all the stats from an express route circuit in a resource group. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. func (client ExpressRouteCircuitsClient) GetStats(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error) { req, err := client.GetStatsPreparer(ctx, resourceGroupName, circuitName) if err != nil { @@ -378,8 +383,8 @@ func (client ExpressRouteCircuitsClient) GetStatsResponder(resp *http.Response) } // List gets all the express route circuits in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client ExpressRouteCircuitsClient) List(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -561,9 +566,11 @@ func (client ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context) (r } // ListArpTable gets the currently advertised ARP table associated with the express route circuit in a resource group. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// peeringName is the name of the peering. devicePath is the path of the device. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// peeringName - the name of the peering. +// devicePath - the path of the device. func (client ExpressRouteCircuitsClient) ListArpTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListArpTableFuture, err error) { req, err := client.ListArpTablePreparer(ctx, resourceGroupName, circuitName, peeringName, devicePath) if err != nil { @@ -633,9 +640,11 @@ func (client ExpressRouteCircuitsClient) ListArpTableResponder(resp *http.Respon // ListRoutesTable gets the currently advertised routes table associated with the express route circuit in a resource // group. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// peeringName is the name of the peering. devicePath is the path of the device. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// peeringName - the name of the peering. +// devicePath - the path of the device. func (client ExpressRouteCircuitsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableFuture, err error) { req, err := client.ListRoutesTablePreparer(ctx, resourceGroupName, circuitName, peeringName, devicePath) if err != nil { @@ -705,9 +714,11 @@ func (client ExpressRouteCircuitsClient) ListRoutesTableResponder(resp *http.Res // ListRoutesTableSummary gets the currently advertised routes table summary associated with the express route circuit // in a resource group. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. -// peeringName is the name of the peering. devicePath is the path of the device. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the express route circuit. +// peeringName - the name of the peering. +// devicePath - the path of the device. func (client ExpressRouteCircuitsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableSummaryFuture, err error) { req, err := client.ListRoutesTableSummaryPreparer(ctx, resourceGroupName, circuitName, peeringName, devicePath) if err != nil { @@ -776,9 +787,10 @@ func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder(resp *h } // UpdateTags updates an express route circuit tags. -// -// resourceGroupName is the name of the resource group. circuitName is the name of the circuit. parameters is -// parameters supplied to update express route circuit tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// circuitName - the name of the circuit. +// parameters - parameters supplied to update express route circuit tags. func (client ExpressRouteCircuitsClient) UpdateTags(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject) (result ExpressRouteCircuitsUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, circuitName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/inboundnatrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/inboundnatrules.go index 638b72c6fcc6..3820400e26e7 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/inboundnatrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/inboundnatrules.go @@ -41,10 +41,11 @@ func NewInboundNatRulesClientWithBaseURI(baseURI string, subscriptionID string) } // CreateOrUpdate creates or updates a load balancer inbound nat rule. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// inboundNatRuleName is the name of the inbound nat rule. inboundNatRuleParameters is parameters supplied to the -// create or update inbound nat rule operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// inboundNatRuleName - the name of the inbound nat rule. +// inboundNatRuleParameters - parameters supplied to the create or update inbound nat rule operation. func (client InboundNatRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule) (result InboundNatRulesCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: inboundNatRuleParameters, @@ -133,9 +134,10 @@ func (client InboundNatRulesClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes the specified load balancer inbound nat rule. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// inboundNatRuleName is the name of the inbound nat rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// inboundNatRuleName - the name of the inbound nat rule. func (client InboundNatRulesClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string) (result InboundNatRulesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, loadBalancerName, inboundNatRuleName) if err != nil { @@ -202,9 +204,11 @@ func (client InboundNatRulesClient) DeleteResponder(resp *http.Response) (result } // Get gets the specified load balancer inbound nat rule. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// inboundNatRuleName is the name of the inbound nat rule. expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// inboundNatRuleName - the name of the inbound nat rule. +// expand - expands referenced resources. func (client InboundNatRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, expand string) (result InboundNatRule, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, loadBalancerName, inboundNatRuleName, expand) if err != nil { @@ -273,8 +277,9 @@ func (client InboundNatRulesClient) GetResponder(resp *http.Response) (result In } // List gets all the inbound nat rules in a load balancer. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. func (client InboundNatRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InboundNatRuleListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, loadBalancerName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceipconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceipconfigurations.go index 2dd80011c8c5..98599a39a704 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceipconfigurations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceipconfigurations.go @@ -40,9 +40,10 @@ func NewInterfaceIPConfigurationsClientWithBaseURI(baseURI string, subscriptionI } // Get gets the specified network interface ip configuration. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. -// IPConfigurationName is the name of the ip configuration name. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. +// IPConfigurationName - the name of the ip configuration name. func (client InterfaceIPConfigurationsClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, IPConfigurationName string) (result InterfaceIPConfiguration, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, networkInterfaceName, IPConfigurationName) if err != nil { @@ -108,8 +109,9 @@ func (client InterfaceIPConfigurationsClient) GetResponder(resp *http.Response) } // List get all ip configurations in a network interface -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. func (client InterfaceIPConfigurationsClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceIPConfigurationListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, networkInterfaceName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceloadbalancers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceloadbalancers.go index 70ce83314ff8..1e817547c421 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceloadbalancers.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaceloadbalancers.go @@ -40,8 +40,9 @@ func NewInterfaceLoadBalancersClientWithBaseURI(baseURI string, subscriptionID s } // List list all load balancers in a network interface. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. func (client InterfaceLoadBalancersClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceLoadBalancerListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, networkInterfaceName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaces.go index c0618178f81e..55a0fe6d9cf4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaces.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/interfaces.go @@ -40,9 +40,10 @@ func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) Inter } // CreateOrUpdate creates or updates a network interface. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. -// parameters is parameters supplied to the create or update network interface operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. +// parameters - parameters supplied to the create or update network interface operation. func (client InterfacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (result InterfacesCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, networkInterfaceName, parameters) if err != nil { @@ -111,8 +112,9 @@ func (client InterfacesClient) CreateOrUpdateResponder(resp *http.Response) (res } // Delete deletes the specified network interface. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. func (client InterfacesClient) Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, networkInterfaceName) if err != nil { @@ -178,9 +180,10 @@ func (client InterfacesClient) DeleteResponder(resp *http.Response) (result auto } // Get gets information about the specified network interface. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. -// expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. +// expand - expands referenced resources. func (client InterfacesClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (result Interface, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, networkInterfaceName, expand) if err != nil { @@ -248,8 +251,9 @@ func (client InterfacesClient) GetResponder(resp *http.Response) (result Interfa } // GetEffectiveRouteTable gets all route tables applied to a network interface. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. func (client InterfacesClient) GetEffectiveRouteTable(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesGetEffectiveRouteTableFuture, err error) { req, err := client.GetEffectiveRouteTablePreparer(ctx, resourceGroupName, networkInterfaceName) if err != nil { @@ -317,11 +321,13 @@ func (client InterfacesClient) GetEffectiveRouteTableResponder(resp *http.Respon // GetVirtualMachineScaleSetIPConfiguration get the specified network interface ip configuration in a virtual machine // scale set. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the name of the -// network interface. IPConfigurationName is the name of the ip configuration. expand is expands referenced -// resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. +// virtualmachineIndex - the virtual machine index. +// networkInterfaceName - the name of the network interface. +// IPConfigurationName - the name of the ip configuration. +// expand - expands referenced resources. func (client InterfacesClient) GetVirtualMachineScaleSetIPConfiguration(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, expand string) (result InterfaceIPConfiguration, err error) { req, err := client.GetVirtualMachineScaleSetIPConfigurationPreparer(ctx, resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, IPConfigurationName, expand) if err != nil { @@ -392,10 +398,12 @@ func (client InterfacesClient) GetVirtualMachineScaleSetIPConfigurationResponder } // GetVirtualMachineScaleSetNetworkInterface get the specified network interface in a virtual machine scale set. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the name of the -// network interface. expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. +// virtualmachineIndex - the virtual machine index. +// networkInterfaceName - the name of the network interface. +// expand - expands referenced resources. func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result Interface, err error) { req, err := client.GetVirtualMachineScaleSetNetworkInterfacePreparer(ctx, resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand) if err != nil { @@ -465,8 +473,8 @@ func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponde } // List gets all network interfaces in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client InterfacesClient) List(ctx context.Context, resourceGroupName string) (result InterfaceListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -648,8 +656,9 @@ func (client InterfacesClient) ListAllComplete(ctx context.Context) (result Inte } // ListEffectiveNetworkSecurityGroups gets all network security groups applied to a network interface. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. func (client InterfacesClient) ListEffectiveNetworkSecurityGroups(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesListEffectiveNetworkSecurityGroupsFuture, err error) { req, err := client.ListEffectiveNetworkSecurityGroupsPreparer(ctx, resourceGroupName, networkInterfaceName) if err != nil { @@ -717,10 +726,12 @@ func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsResponder(resp // ListVirtualMachineScaleSetIPConfigurations get the specified network interface ip configuration in a virtual machine // scale set. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the name of the -// network interface. expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. +// virtualmachineIndex - the virtual machine index. +// networkInterfaceName - the name of the network interface. +// expand - expands referenced resources. func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurations(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result InterfaceIPConfigurationListResultPage, err error) { result.fn = client.listVirtualMachineScaleSetIPConfigurationsNextResults req, err := client.ListVirtualMachineScaleSetIPConfigurationsPreparer(ctx, resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand) @@ -818,9 +829,9 @@ func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsComplet } // ListVirtualMachineScaleSetNetworkInterfaces gets all network interfaces in a virtual machine scale set. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResultPage, err error) { result.fn = client.listVirtualMachineScaleSetNetworkInterfacesNextResults req, err := client.ListVirtualMachineScaleSetNetworkInterfacesPreparer(ctx, resourceGroupName, virtualMachineScaleSetName) @@ -914,9 +925,10 @@ func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComple // ListVirtualMachineScaleSetVMNetworkInterfaces gets information about all network interfaces in a virtual machine in // a virtual machine scale set. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. virtualmachineIndex is the virtual machine index. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. +// virtualmachineIndex - the virtual machine index. func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResultPage, err error) { result.fn = client.listVirtualMachineScaleSetVMNetworkInterfacesNextResults req, err := client.ListVirtualMachineScaleSetVMNetworkInterfacesPreparer(ctx, resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex) @@ -1010,9 +1022,10 @@ func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComp } // UpdateTags updates a network interface tags. -// -// resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. -// parameters is parameters supplied to update network interface tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkInterfaceName - the name of the network interface. +// parameters - parameters supplied to update network interface tags. func (client InterfacesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters TagsObject) (result InterfacesUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, networkInterfaceName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerbackendaddresspools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerbackendaddresspools.go index ba40d22e4b06..ea449f5b7174 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerbackendaddresspools.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerbackendaddresspools.go @@ -41,9 +41,10 @@ func NewLoadBalancerBackendAddressPoolsClientWithBaseURI(baseURI string, subscri } // Get gets load balancer backend address pool. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// backendAddressPoolName is the name of the backend address pool. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// backendAddressPoolName - the name of the backend address pool. func (client LoadBalancerBackendAddressPoolsClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (result BackendAddressPool, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, loadBalancerName, backendAddressPoolName) if err != nil { @@ -109,8 +110,9 @@ func (client LoadBalancerBackendAddressPoolsClient) GetResponder(resp *http.Resp } // List gets all the load balancer backed address pools. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. func (client LoadBalancerBackendAddressPoolsClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerBackendAddressPoolListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, loadBalancerName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerfrontendipconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerfrontendipconfigurations.go index 36b9abee94de..142a7f863643 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerfrontendipconfigurations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerfrontendipconfigurations.go @@ -42,9 +42,10 @@ func NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI(baseURI string, su } // Get gets load balancer frontend IP configuration. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// frontendIPConfigurationName is the name of the frontend IP configuration. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// frontendIPConfigurationName - the name of the frontend IP configuration. func (client LoadBalancerFrontendIPConfigurationsClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, frontendIPConfigurationName string) (result FrontendIPConfiguration, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, loadBalancerName, frontendIPConfigurationName) if err != nil { @@ -110,8 +111,9 @@ func (client LoadBalancerFrontendIPConfigurationsClient) GetResponder(resp *http } // List gets all the load balancer frontend IP configurations. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. func (client LoadBalancerFrontendIPConfigurationsClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerFrontendIPConfigurationListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, loadBalancerName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerloadbalancingrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerloadbalancingrules.go index f8ef90aaff5d..afc0d13884ab 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerloadbalancingrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerloadbalancingrules.go @@ -41,9 +41,10 @@ func NewLoadBalancerLoadBalancingRulesClientWithBaseURI(baseURI string, subscrip } // Get gets the specified load balancer load balancing rule. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// loadBalancingRuleName is the name of the load balancing rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// loadBalancingRuleName - the name of the load balancing rule. func (client LoadBalancerLoadBalancingRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, loadBalancingRuleName string) (result LoadBalancingRule, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, loadBalancerName, loadBalancingRuleName) if err != nil { @@ -109,8 +110,9 @@ func (client LoadBalancerLoadBalancingRulesClient) GetResponder(resp *http.Respo } // List gets all the load balancing rules in a load balancer. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. func (client LoadBalancerLoadBalancingRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerLoadBalancingRuleListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, loadBalancerName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancernetworkinterfaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancernetworkinterfaces.go index 20809d284ef8..0ec6f68d0624 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancernetworkinterfaces.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancernetworkinterfaces.go @@ -41,8 +41,9 @@ func NewLoadBalancerNetworkInterfacesClientWithBaseURI(baseURI string, subscript } // List gets associated load balancer network interfaces. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. func (client LoadBalancerNetworkInterfacesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InterfaceListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, loadBalancerName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerprobes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerprobes.go index ae7ba4ebdf00..55a86c7da98f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerprobes.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancerprobes.go @@ -40,9 +40,10 @@ func NewLoadBalancerProbesClientWithBaseURI(baseURI string, subscriptionID strin } // Get gets load balancer probe. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// probeName is the name of the probe. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// probeName - the name of the probe. func (client LoadBalancerProbesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, probeName string) (result Probe, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, loadBalancerName, probeName) if err != nil { @@ -108,8 +109,9 @@ func (client LoadBalancerProbesClient) GetResponder(resp *http.Response) (result } // List gets all the load balancer probes. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. func (client LoadBalancerProbesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerProbeListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, loadBalancerName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancers.go index c98266dde99c..d2706bd2bea3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancers.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/loadbalancers.go @@ -40,9 +40,10 @@ func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) Lo } // CreateOrUpdate creates or updates a load balancer. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// parameters is parameters supplied to the create or update load balancer operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// parameters - parameters supplied to the create or update load balancer operation. func (client LoadBalancersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (result LoadBalancersCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, loadBalancerName, parameters) if err != nil { @@ -111,8 +112,9 @@ func (client LoadBalancersClient) CreateOrUpdateResponder(resp *http.Response) ( } // Delete deletes the specified load balancer. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. func (client LoadBalancersClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancersDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, loadBalancerName) if err != nil { @@ -178,9 +180,10 @@ func (client LoadBalancersClient) DeleteResponder(resp *http.Response) (result a } // Get gets the specified load balancer. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. expand -// is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// expand - expands referenced resources. func (client LoadBalancersClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (result LoadBalancer, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, loadBalancerName, expand) if err != nil { @@ -248,8 +251,8 @@ func (client LoadBalancersClient) GetResponder(resp *http.Response) (result Load } // List gets all the load balancers in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client LoadBalancersClient) List(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -431,9 +434,10 @@ func (client LoadBalancersClient) ListAllComplete(ctx context.Context) (result L } // UpdateTags updates a load balancer tags. -// -// resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. -// parameters is parameters supplied to update load balancer tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// loadBalancerName - the name of the load balancer. +// parameters - parameters supplied to update load balancer tags. func (client LoadBalancersClient) UpdateTags(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters TagsObject) (result LoadBalancersUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, loadBalancerName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/localnetworkgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/localnetworkgateways.go index eb7e739d7be0..7872ca81439c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/localnetworkgateways.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/localnetworkgateways.go @@ -41,9 +41,10 @@ func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID str } // CreateOrUpdate creates or updates a local network gateway in the specified resource group. -// -// resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network -// gateway. parameters is parameters supplied to the create or update local network gateway operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// localNetworkGatewayName - the name of the local network gateway. +// parameters - parameters supplied to the create or update local network gateway operation. func (client LocalNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (result LocalNetworkGatewaysCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: localNetworkGatewayName, @@ -120,9 +121,9 @@ func (client LocalNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Resp } // Delete deletes the specified local network gateway. -// -// resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network -// gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// localNetworkGatewayName - the name of the local network gateway. func (client LocalNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGatewaysDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: localNetworkGatewayName, @@ -194,9 +195,9 @@ func (client LocalNetworkGatewaysClient) DeleteResponder(resp *http.Response) (r } // Get gets the specified local network gateway in a resource group. -// -// resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network -// gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// localNetworkGatewayName - the name of the local network gateway. func (client LocalNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: localNetworkGatewayName, @@ -267,8 +268,8 @@ func (client LocalNetworkGatewaysClient) GetResponder(resp *http.Response) (resu } // List gets all the local network gateways in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client LocalNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -360,9 +361,10 @@ func (client LocalNetworkGatewaysClient) ListComplete(ctx context.Context, resou } // UpdateTags updates a local network gateway tags. -// -// resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network -// gateway. parameters is parameters supplied to update local network gateway tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// localNetworkGatewayName - the name of the local network gateway. +// parameters - parameters supplied to update local network gateway tags. func (client LocalNetworkGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters TagsObject) (result LocalNetworkGatewaysUpdateTagsFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: localNetworkGatewayName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/packetcaptures.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/packetcaptures.go index 5bcadba85943..36bf64892572 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/packetcaptures.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/packetcaptures.go @@ -41,10 +41,11 @@ func NewPacketCapturesClientWithBaseURI(baseURI string, subscriptionID string) P } // Create create and start a packet capture on the specified VM. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// packetCaptureName is the name of the packet capture session. parameters is parameters that define the create -// packet capture operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// packetCaptureName - the name of the packet capture session. +// parameters - parameters that define the create packet capture operation. func (client PacketCapturesClient) Create(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture) (result PacketCapturesCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -123,9 +124,10 @@ func (client PacketCapturesClient) CreateResponder(resp *http.Response) (result } // Delete deletes the specified packet capture session. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// packetCaptureName is the name of the packet capture session. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// packetCaptureName - the name of the packet capture session. func (client PacketCapturesClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, networkWatcherName, packetCaptureName) if err != nil { @@ -192,9 +194,10 @@ func (client PacketCapturesClient) DeleteResponder(resp *http.Response) (result } // Get gets a packet capture session by name. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// packetCaptureName is the name of the packet capture session. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// packetCaptureName - the name of the packet capture session. func (client PacketCapturesClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCaptureResult, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, networkWatcherName, packetCaptureName) if err != nil { @@ -260,9 +263,10 @@ func (client PacketCapturesClient) GetResponder(resp *http.Response) (result Pac } // GetStatus query the status of a running packet capture session. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the Network Watcher -// resource. packetCaptureName is the name given to the packet capture session. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the Network Watcher resource. +// packetCaptureName - the name given to the packet capture session. func (client PacketCapturesClient) GetStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesGetStatusFuture, err error) { req, err := client.GetStatusPreparer(ctx, resourceGroupName, networkWatcherName, packetCaptureName) if err != nil { @@ -330,9 +334,9 @@ func (client PacketCapturesClient) GetStatusResponder(resp *http.Response) (resu } // List lists all packet capture sessions within the specified resource group. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the Network Watcher -// resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the Network Watcher resource. func (client PacketCapturesClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string) (result PacketCaptureListResult, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, networkWatcherName) if err != nil { @@ -397,9 +401,10 @@ func (client PacketCapturesClient) ListResponder(resp *http.Response) (result Pa } // Stop stops a specified packet capture session. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// packetCaptureName is the name of the packet capture session. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// packetCaptureName - the name of the packet capture session. func (client PacketCapturesClient) Stop(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesStopFuture, err error) { req, err := client.StopPreparer(ctx, resourceGroupName, networkWatcherName, packetCaptureName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/publicipaddresses.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/publicipaddresses.go index b86e02ead56a..301b84597169 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/publicipaddresses.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/publicipaddresses.go @@ -41,9 +41,10 @@ func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string } // CreateOrUpdate creates or updates a static or dynamic public IP address. -// -// resourceGroupName is the name of the resource group. publicIPAddressName is the name of the public IP address. -// parameters is parameters supplied to the create or update public IP address operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// publicIPAddressName - the name of the public IP address. +// parameters - parameters supplied to the create or update public IP address operation. func (client PublicIPAddressesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress) (result PublicIPAddressesCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -123,8 +124,9 @@ func (client PublicIPAddressesClient) CreateOrUpdateResponder(resp *http.Respons } // Delete deletes the specified public IP address. -// -// resourceGroupName is the name of the resource group. publicIPAddressName is the name of the subnet. +// Parameters: +// resourceGroupName - the name of the resource group. +// publicIPAddressName - the name of the subnet. func (client PublicIPAddressesClient) Delete(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result PublicIPAddressesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, publicIPAddressName) if err != nil { @@ -190,9 +192,10 @@ func (client PublicIPAddressesClient) DeleteResponder(resp *http.Response) (resu } // Get gets the specified public IP address in a specified resource group. -// -// resourceGroupName is the name of the resource group. publicIPAddressName is the name of the subnet. expand is -// expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// publicIPAddressName - the name of the subnet. +// expand - expands referenced resources. func (client PublicIPAddressesClient) Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, publicIPAddressName, expand) if err != nil { @@ -260,11 +263,14 @@ func (client PublicIPAddressesClient) GetResponder(resp *http.Response) (result } // GetVirtualMachineScaleSetPublicIPAddress get the specified public IP address in a virtual machine scale set. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the name of the -// network interface. IPConfigurationName is the name of the IP configuration. publicIPAddressName is the name of -// the public IP Address. expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. +// virtualmachineIndex - the virtual machine index. +// networkInterfaceName - the name of the network interface. +// IPConfigurationName - the name of the IP configuration. +// publicIPAddressName - the name of the public IP Address. +// expand - expands referenced resources. func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error) { req, err := client.GetVirtualMachineScaleSetPublicIPAddressPreparer(ctx, resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, IPConfigurationName, publicIPAddressName, expand) if err != nil { @@ -336,8 +342,8 @@ func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressRe } // List gets all public IP addresses in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client PublicIPAddressesClient) List(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -520,9 +526,9 @@ func (client PublicIPAddressesClient) ListAllComplete(ctx context.Context) (resu // ListVirtualMachineScaleSetPublicIPAddresses gets information about all public IP addresses on a virtual machine // scale set level. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result PublicIPAddressListResultPage, err error) { result.fn = client.listVirtualMachineScaleSetPublicIPAddressesNextResults req, err := client.ListVirtualMachineScaleSetPublicIPAddressesPreparer(ctx, resourceGroupName, virtualMachineScaleSetName) @@ -616,10 +622,12 @@ func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresse // ListVirtualMachineScaleSetVMPublicIPAddresses gets information about all public IP addresses in a virtual machine IP // configuration in a virtual machine scale set. -// -// resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual -// machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the network -// interface name. IPConfigurationName is the IP configuration name. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualMachineScaleSetName - the name of the virtual machine scale set. +// virtualmachineIndex - the virtual machine index. +// networkInterfaceName - the network interface name. +// IPConfigurationName - the IP configuration name. func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResultPage, err error) { result.fn = client.listVirtualMachineScaleSetVMPublicIPAddressesNextResults req, err := client.ListVirtualMachineScaleSetVMPublicIPAddressesPreparer(ctx, resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, IPConfigurationName) @@ -715,9 +723,10 @@ func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddres } // UpdateTags updates public IP address tags. -// -// resourceGroupName is the name of the resource group. publicIPAddressName is the name of the public IP address. -// parameters is parameters supplied to update public IP address tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// publicIPAddressName - the name of the public IP address. +// parameters - parameters supplied to update public IP address tags. func (client PublicIPAddressesClient) UpdateTags(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters TagsObject) (result PublicIPAddressesUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, publicIPAddressName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilterrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilterrules.go index c065aee2c106..152ac5e1dc52 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilterrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilterrules.go @@ -41,10 +41,11 @@ func NewRouteFilterRulesClientWithBaseURI(baseURI string, subscriptionID string) } // CreateOrUpdate creates or updates a route in the specified route filter. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName -// is the name of the route filter rule. routeFilterRuleParameters is parameters supplied to the create or update -// route filter rule operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. +// ruleName - the name of the route filter rule. +// routeFilterRuleParameters - parameters supplied to the create or update route filter rule operation. func (client RouteFilterRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule) (result RouteFilterRulesCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: routeFilterRuleParameters, @@ -123,9 +124,10 @@ func (client RouteFilterRulesClient) CreateOrUpdateResponder(resp *http.Response } // Delete deletes the specified rule from a route filter. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName -// is the name of the rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. +// ruleName - the name of the rule. func (client RouteFilterRulesClient) Delete(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result RouteFilterRulesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, routeFilterName, ruleName) if err != nil { @@ -192,9 +194,10 @@ func (client RouteFilterRulesClient) DeleteResponder(resp *http.Response) (resul } // Get gets the specified rule from a route filter. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName -// is the name of the rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. +// ruleName - the name of the rule. func (client RouteFilterRulesClient) Get(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result RouteFilterRule, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, routeFilterName, ruleName) if err != nil { @@ -260,8 +263,9 @@ func (client RouteFilterRulesClient) GetResponder(resp *http.Response) (result R } // ListByRouteFilter gets all RouteFilterRules in a route filter. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. func (client RouteFilterRulesClient) ListByRouteFilter(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFilterRuleListResultPage, err error) { result.fn = client.listByRouteFilterNextResults req, err := client.ListByRouteFilterPreparer(ctx, resourceGroupName, routeFilterName) @@ -354,10 +358,11 @@ func (client RouteFilterRulesClient) ListByRouteFilterComplete(ctx context.Conte } // Update updates a route in the specified route filter. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName -// is the name of the route filter rule. routeFilterRuleParameters is parameters supplied to the update route -// filter rule operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. +// ruleName - the name of the route filter rule. +// routeFilterRuleParameters - parameters supplied to the update route filter rule operation. func (client RouteFilterRulesClient) Update(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters PatchRouteFilterRule) (result RouteFilterRulesUpdateFuture, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, routeFilterName, ruleName, routeFilterRuleParameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilters.go index fbab9c77ef64..db8f0ecc1c1a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilters.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routefilters.go @@ -40,9 +40,10 @@ func NewRouteFiltersClientWithBaseURI(baseURI string, subscriptionID string) Rou } // CreateOrUpdate creates or updates a route filter in a specified resource group. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. -// routeFilterParameters is parameters supplied to the create or update route filter operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. +// routeFilterParameters - parameters supplied to the create or update route filter operation. func (client RouteFiltersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter) (result RouteFiltersCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, routeFilterName, routeFilterParameters) if err != nil { @@ -111,8 +112,9 @@ func (client RouteFiltersClient) CreateOrUpdateResponder(resp *http.Response) (r } // Delete deletes the specified route filter. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. func (client RouteFiltersClient) Delete(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFiltersDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, routeFilterName) if err != nil { @@ -178,9 +180,10 @@ func (client RouteFiltersClient) DeleteResponder(resp *http.Response) (result au } // Get gets the specified route filter. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. expand is -// expands referenced express route bgp peering resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. +// expand - expands referenced express route bgp peering resources. func (client RouteFiltersClient) Get(ctx context.Context, resourceGroupName string, routeFilterName string, expand string) (result RouteFilter, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, routeFilterName, expand) if err != nil { @@ -338,8 +341,8 @@ func (client RouteFiltersClient) ListComplete(ctx context.Context) (result Route } // ListByResourceGroup gets all route filters in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client RouteFiltersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RouteFilterListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -431,9 +434,10 @@ func (client RouteFiltersClient) ListByResourceGroupComplete(ctx context.Context } // Update updates a route filter in a specified resource group. -// -// resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. -// routeFilterParameters is parameters supplied to the update route filter operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeFilterName - the name of the route filter. +// routeFilterParameters - parameters supplied to the update route filter operation. func (client RouteFiltersClient) Update(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters PatchRouteFilter) (result RouteFiltersUpdateFuture, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, routeFilterName, routeFilterParameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routes.go index 15aaf8da4c0a..8d4054bd5771 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routes.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routes.go @@ -40,9 +40,11 @@ func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesCli } // CreateOrUpdate creates or updates a route in the specified route table. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is -// the name of the route. routeParameters is parameters supplied to the create or update route operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. +// routeName - the name of the route. +// routeParameters - parameters supplied to the create or update route operation. func (client RoutesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route) (result RoutesCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, routeTableName, routeName, routeParameters) if err != nil { @@ -112,9 +114,10 @@ func (client RoutesClient) CreateOrUpdateResponder(resp *http.Response) (result } // Delete deletes the specified route from a route table. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is -// the name of the route. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. +// routeName - the name of the route. func (client RoutesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result RoutesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, routeTableName, routeName) if err != nil { @@ -181,9 +184,10 @@ func (client RoutesClient) DeleteResponder(resp *http.Response) (result autorest } // Get gets the specified route from a route table. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is -// the name of the route. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. +// routeName - the name of the route. func (client RoutesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result Route, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, routeTableName, routeName) if err != nil { @@ -249,8 +253,9 @@ func (client RoutesClient) GetResponder(resp *http.Response) (result Route, err } // List gets all routes in a route table. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. func (client RoutesClient) List(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, routeTableName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routetables.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routetables.go index 96f09cc83b87..f953d9e82224 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routetables.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/routetables.go @@ -40,9 +40,10 @@ func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) Rout } // CreateOrUpdate create or updates a route table in a specified resource group. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. parameters -// is parameters supplied to the create or update route table operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. +// parameters - parameters supplied to the create or update route table operation. func (client RouteTablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable) (result RouteTablesCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, routeTableName, parameters) if err != nil { @@ -111,8 +112,9 @@ func (client RouteTablesClient) CreateOrUpdateResponder(resp *http.Response) (re } // Delete deletes the specified route table. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. func (client RouteTablesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteTablesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, routeTableName) if err != nil { @@ -178,9 +180,10 @@ func (client RouteTablesClient) DeleteResponder(resp *http.Response) (result aut } // Get gets the specified route table. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. expand is -// expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. +// expand - expands referenced resources. func (client RouteTablesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (result RouteTable, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, routeTableName, expand) if err != nil { @@ -248,8 +251,8 @@ func (client RouteTablesClient) GetResponder(resp *http.Response) (result RouteT } // List gets all route tables in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client RouteTablesClient) List(ctx context.Context, resourceGroupName string) (result RouteTableListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -431,9 +434,10 @@ func (client RouteTablesClient) ListAllComplete(ctx context.Context) (result Rou } // UpdateTags updates a route table tags. -// -// resourceGroupName is the name of the resource group. routeTableName is the name of the route table. parameters -// is parameters supplied to update route table tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// routeTableName - the name of the route table. +// parameters - parameters supplied to update route table tags. func (client RouteTablesClient) UpdateTags(ctx context.Context, resourceGroupName string, routeTableName string, parameters TagsObject) (result RouteTablesUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, routeTableName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securitygroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securitygroups.go index 45bd81d8d910..d8ab89df0dff 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securitygroups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securitygroups.go @@ -40,9 +40,10 @@ func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) S } // CreateOrUpdate creates or updates a network security group in the specified resource group. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. parameters is parameters supplied to the create or update network security group operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. +// parameters - parameters supplied to the create or update network security group operation. func (client SecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup) (result SecurityGroupsCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, networkSecurityGroupName, parameters) if err != nil { @@ -111,9 +112,9 @@ func (client SecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes the specified network security group. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. func (client SecurityGroupsClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityGroupsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, networkSecurityGroupName) if err != nil { @@ -179,9 +180,10 @@ func (client SecurityGroupsClient) DeleteResponder(resp *http.Response) (result } // Get gets the specified network security group. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. +// expand - expands referenced resources. func (client SecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, expand string) (result SecurityGroup, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, networkSecurityGroupName, expand) if err != nil { @@ -249,8 +251,8 @@ func (client SecurityGroupsClient) GetResponder(resp *http.Response) (result Sec } // List gets all network security groups in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client SecurityGroupsClient) List(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -432,9 +434,10 @@ func (client SecurityGroupsClient) ListAllComplete(ctx context.Context) (result } // UpdateTags updates a network security group tags. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. parameters is parameters supplied to update network security group tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. +// parameters - parameters supplied to update network security group tags. func (client SecurityGroupsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters TagsObject) (result SecurityGroupsUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, networkSecurityGroupName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securityrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securityrules.go index 9b383fa6b263..d7489b377973 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securityrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/securityrules.go @@ -40,10 +40,11 @@ func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) Se } // CreateOrUpdate creates or updates a security rule in the specified network security group. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. securityRuleName is the name of the security rule. securityRuleParameters is parameters supplied -// to the create or update network security rule operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. +// securityRuleName - the name of the security rule. +// securityRuleParameters - parameters supplied to the create or update network security rule operation. func (client SecurityRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (result SecurityRulesCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, networkSecurityGroupName, securityRuleName, securityRuleParameters) if err != nil { @@ -113,9 +114,10 @@ func (client SecurityRulesClient) CreateOrUpdateResponder(resp *http.Response) ( } // Delete deletes the specified network security rule. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. securityRuleName is the name of the security rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. +// securityRuleName - the name of the security rule. func (client SecurityRulesClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRulesDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, networkSecurityGroupName, securityRuleName) if err != nil { @@ -182,9 +184,10 @@ func (client SecurityRulesClient) DeleteResponder(resp *http.Response) (result a } // Get get the specified network security rule. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. securityRuleName is the name of the security rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. +// securityRuleName - the name of the security rule. func (client SecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRule, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, networkSecurityGroupName, securityRuleName) if err != nil { @@ -250,9 +253,9 @@ func (client SecurityRulesClient) GetResponder(resp *http.Response) (result Secu } // List gets all security rules in a network security group. -// -// resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network -// security group. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkSecurityGroupName - the name of the network security group. func (client SecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, networkSecurityGroupName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/subnets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/subnets.go index aff59d8d54fd..16d25635463d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/subnets.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/subnets.go @@ -40,10 +40,11 @@ func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsC } // CreateOrUpdate creates or updates a subnet in the specified virtual network. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// subnetName is the name of the subnet. subnetParameters is parameters supplied to the create or update subnet -// operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// subnetName - the name of the subnet. +// subnetParameters - parameters supplied to the create or update subnet operation. func (client SubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (result SubnetsCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, virtualNetworkName, subnetName, subnetParameters) if err != nil { @@ -113,9 +114,10 @@ func (client SubnetsClient) CreateOrUpdateResponder(resp *http.Response) (result } // Delete deletes the specified subnet. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// subnetName is the name of the subnet. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// subnetName - the name of the subnet. func (client SubnetsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result SubnetsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, virtualNetworkName, subnetName) if err != nil { @@ -182,9 +184,11 @@ func (client SubnetsClient) DeleteResponder(resp *http.Response) (result autores } // Get gets the specified subnet by virtual network and resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// subnetName is the name of the subnet. expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// subnetName - the name of the subnet. +// expand - expands referenced resources. func (client SubnetsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result Subnet, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, virtualNetworkName, subnetName, expand) if err != nil { @@ -253,8 +257,9 @@ func (client SubnetsClient) GetResponder(resp *http.Response) (result Subnet, er } // List gets all subnets in a virtual network. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. func (client SubnetsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, virtualNetworkName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/usages.go index 0fb38cab0629..356764fdb2fb 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/usages.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/usages.go @@ -41,8 +41,8 @@ func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesCli } // List list network usages for a subscription. -// -// location is the location where resource usage is queried. +// Parameters: +// location - the location where resource usage is queried. func (client UsagesClient) List(ctx context.Context, location string) (result UsagesListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: location, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgatewayconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgatewayconnections.go index c1a9267b83f6..011f852f3abf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgatewayconnections.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgatewayconnections.go @@ -42,10 +42,10 @@ func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscr } // CreateOrUpdate creates or updates a virtual network gateway connection in the specified resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the -// virtual network gateway connection. parameters is parameters supplied to the create or update virtual network -// gateway connection operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. +// parameters - parameters supplied to the create or update virtual network gateway connection operation. func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (result VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -127,9 +127,9 @@ func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder(res } // Delete deletes the specified virtual network Gateway connection. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the -// virtual network gateway connection. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. func (client VirtualNetworkGatewayConnectionsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnectionsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, virtualNetworkGatewayConnectionName) if err != nil { @@ -195,9 +195,9 @@ func (client VirtualNetworkGatewayConnectionsClient) DeleteResponder(resp *http. } // Get gets the specified virtual network gateway connection by resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the -// virtual network gateway connection. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. func (client VirtualNetworkGatewayConnectionsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnection, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, virtualNetworkGatewayConnectionName) if err != nil { @@ -263,9 +263,9 @@ func (client VirtualNetworkGatewayConnectionsClient) GetResponder(resp *http.Res // GetSharedKey the Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified // virtual network gateway connection shared key through Network resource provider. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network -// gateway connection shared key name. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the virtual network gateway connection shared key name. func (client VirtualNetworkGatewayConnectionsClient) GetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result ConnectionSharedKey, err error) { req, err := client.GetSharedKeyPreparer(ctx, resourceGroupName, virtualNetworkGatewayConnectionName) if err != nil { @@ -331,8 +331,8 @@ func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder(resp // List the List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections // created. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client VirtualNetworkGatewayConnectionsClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayConnectionListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -426,10 +426,11 @@ func (client VirtualNetworkGatewayConnectionsClient) ListComplete(ctx context.Co // ResetSharedKey the VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway // connection shared key for passed virtual network gateway connection in the specified resource group through Network // resource provider. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network -// gateway connection reset shared key Name. parameters is parameters supplied to the begin reset virtual network -// gateway connection shared key operation through network resource provider. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the virtual network gateway connection reset shared key Name. +// parameters - parameters supplied to the begin reset virtual network gateway connection shared key operation +// through network resource provider. func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (result VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -509,10 +510,11 @@ func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder(res // SetSharedKey the Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection // shared key for passed virtual network gateway connection in the specified resource group through Network resource // provider. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network -// gateway connection name. parameters is parameters supplied to the Begin Set Virtual Network Gateway connection -// Shared key operation throughNetwork resource provider. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the virtual network gateway connection name. +// parameters - parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation +// throughNetwork resource provider. func (client VirtualNetworkGatewayConnectionsClient) SetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (result VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -587,10 +589,10 @@ func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder(resp } // UpdateTags updates a virtual network gateway connection tags. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the -// virtual network gateway connection. parameters is parameters supplied to update virtual network gateway -// connection tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. +// parameters - parameters supplied to update virtual network gateway connection tags. func (client VirtualNetworkGatewayConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters TagsObject) (result VirtualNetworkGatewayConnectionsUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, virtualNetworkGatewayConnectionName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgateways.go index 1d4f2672b52a..5c027ce5df59 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgateways.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkgateways.go @@ -41,9 +41,10 @@ func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID s } // CreateOrUpdate creates or updates a virtual network gateway in the specified resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. parameters is parameters supplied to create or update virtual network gateway operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. +// parameters - parameters supplied to create or update virtual network gateway operation. func (client VirtualNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (result VirtualNetworkGatewaysCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -118,9 +119,9 @@ func (client VirtualNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Re } // Delete deletes the specified virtual network gateway. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. func (client VirtualNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, virtualNetworkGatewayName) if err != nil { @@ -187,10 +188,10 @@ func (client VirtualNetworkGatewaysClient) DeleteResponder(resp *http.Response) // Generatevpnclientpackage generates VPN client package for P2S client of the virtual network gateway in the specified // resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. parameters is parameters supplied to the generate virtual network gateway VPN client package -// operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. +// parameters - parameters supplied to the generate virtual network gateway VPN client package operation. func (client VirtualNetworkGatewaysClient) Generatevpnclientpackage(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result VirtualNetworkGatewaysGeneratevpnclientpackageFuture, err error) { req, err := client.GeneratevpnclientpackagePreparer(ctx, resourceGroupName, virtualNetworkGatewayName, parameters) if err != nil { @@ -260,10 +261,10 @@ func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder(res // GenerateVpnProfile generates VPN profile for P2S client of the virtual network gateway in the specified resource // group. Used for IKEV2 and radius based authentication. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. parameters is parameters supplied to the generate virtual network gateway VPN client package -// operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. +// parameters - parameters supplied to the generate virtual network gateway VPN client package operation. func (client VirtualNetworkGatewaysClient) GenerateVpnProfile(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result VirtualNetworkGatewaysGenerateVpnProfileFuture, err error) { req, err := client.GenerateVpnProfilePreparer(ctx, resourceGroupName, virtualNetworkGatewayName, parameters) if err != nil { @@ -332,9 +333,9 @@ func (client VirtualNetworkGatewaysClient) GenerateVpnProfileResponder(resp *htt } // Get gets the specified virtual network gateway by resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. func (client VirtualNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGateway, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, virtualNetworkGatewayName) if err != nil { @@ -400,9 +401,10 @@ func (client VirtualNetworkGatewaysClient) GetResponder(resp *http.Response) (re // GetAdvertisedRoutes this operation retrieves a list of routes the virtual network gateway is advertising to the // specified peer. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. peer is the IP address of the peer +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. +// peer - the IP address of the peer func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutes(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (result VirtualNetworkGatewaysGetAdvertisedRoutesFuture, err error) { req, err := client.GetAdvertisedRoutesPreparer(ctx, resourceGroupName, virtualNetworkGatewayName, peer) if err != nil { @@ -470,9 +472,10 @@ func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesResponder(resp *ht } // GetBgpPeerStatus the GetBgpPeerStatus operation retrieves the status of all BGP peers. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. peer is the IP address of the peer to retrieve the status of. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. +// peer - the IP address of the peer to retrieve the status of. func (client VirtualNetworkGatewaysClient) GetBgpPeerStatus(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (result VirtualNetworkGatewaysGetBgpPeerStatusFuture, err error) { req, err := client.GetBgpPeerStatusPreparer(ctx, resourceGroupName, virtualNetworkGatewayName, peer) if err != nil { @@ -543,9 +546,9 @@ func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusResponder(resp *http. // GetLearnedRoutes this operation retrieves a list of routes the virtual network gateway has learned, including routes // learned from BGP peers. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. func (client VirtualNetworkGatewaysClient) GetLearnedRoutes(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetLearnedRoutesFuture, err error) { req, err := client.GetLearnedRoutesPreparer(ctx, resourceGroupName, virtualNetworkGatewayName) if err != nil { @@ -613,9 +616,9 @@ func (client VirtualNetworkGatewaysClient) GetLearnedRoutesResponder(resp *http. // GetVpnProfilePackageURL gets pre-generated VPN profile for P2S client of the virtual network gateway in the // specified resource group. The profile needs to be generated first using generateVpnProfile. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURL(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetVpnProfilePackageURLFuture, err error) { req, err := client.GetVpnProfilePackageURLPreparer(ctx, resourceGroupName, virtualNetworkGatewayName) if err != nil { @@ -682,8 +685,8 @@ func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLResponder(resp } // List gets all virtual network gateways by resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client VirtualNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -775,9 +778,9 @@ func (client VirtualNetworkGatewaysClient) ListComplete(ctx context.Context, res } // ListConnections gets all the connections in a virtual network gateway. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. func (client VirtualNetworkGatewaysClient) ListConnections(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewayListConnectionsResultPage, err error) { result.fn = client.listConnectionsNextResults req, err := client.ListConnectionsPreparer(ctx, resourceGroupName, virtualNetworkGatewayName) @@ -870,10 +873,11 @@ func (client VirtualNetworkGatewaysClient) ListConnectionsComplete(ctx context.C } // Reset resets the primary of the virtual network gateway in the specified resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. gatewayVip is virtual network gateway vip address supplied to the begin reset of the -// active-active feature enabled gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. +// gatewayVip - virtual network gateway vip address supplied to the begin reset of the active-active feature +// enabled gateway. func (client VirtualNetworkGatewaysClient) Reset(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string) (result VirtualNetworkGatewaysResetFuture, err error) { req, err := client.ResetPreparer(ctx, resourceGroupName, virtualNetworkGatewayName, gatewayVip) if err != nil { @@ -943,9 +947,9 @@ func (client VirtualNetworkGatewaysClient) ResetResponder(resp *http.Response) ( } // SupportedVpnDevices gets a xml format representation for supported vpn devices. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. func (client VirtualNetworkGatewaysClient) SupportedVpnDevices(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result String, err error) { req, err := client.SupportedVpnDevicesPreparer(ctx, resourceGroupName, virtualNetworkGatewayName) if err != nil { @@ -1010,9 +1014,10 @@ func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesResponder(resp *ht } // UpdateTags updates a virtual network gateway tags. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual -// network gateway. parameters is parameters supplied to update virtual network gateway tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayName - the name of the virtual network gateway. +// parameters - parameters supplied to update virtual network gateway tags. func (client VirtualNetworkGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters TagsObject) (result VirtualNetworkGatewaysUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, virtualNetworkGatewayName, parameters) if err != nil { @@ -1081,10 +1086,11 @@ func (client VirtualNetworkGatewaysClient) UpdateTagsResponder(resp *http.Respon } // VpnDeviceConfigurationScript gets a xml format representation for vpn device configuration script. -// -// resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the -// virtual network gateway connection for which the configuration script is generated. parameters is parameters -// supplied to the generate vpn device script operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection for which the +// configuration script is generated. +// parameters - parameters supplied to the generate vpn device script operation. func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnDeviceScriptParameters) (result String, err error) { req, err := client.VpnDeviceConfigurationScriptPreparer(ctx, resourceGroupName, virtualNetworkGatewayConnectionName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkpeerings.go index 1f9badee0b69..47c8df88da5e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkpeerings.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworkpeerings.go @@ -40,10 +40,12 @@ func NewVirtualNetworkPeeringsClientWithBaseURI(baseURI string, subscriptionID s } // CreateOrUpdate creates or updates a peering in the specified virtual network. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// virtualNetworkPeeringName is the name of the peering. virtualNetworkPeeringParameters is parameters supplied to -// the create or update virtual network peering operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// virtualNetworkPeeringName - the name of the peering. +// virtualNetworkPeeringParameters - parameters supplied to the create or update virtual network peering +// operation. func (client VirtualNetworkPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering) (result VirtualNetworkPeeringsCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, virtualNetworkPeeringParameters) if err != nil { @@ -113,9 +115,10 @@ func (client VirtualNetworkPeeringsClient) CreateOrUpdateResponder(resp *http.Re } // Delete deletes the specified virtual network peering. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// virtualNetworkPeeringName is the name of the virtual network peering. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// virtualNetworkPeeringName - the name of the virtual network peering. func (client VirtualNetworkPeeringsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result VirtualNetworkPeeringsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, virtualNetworkName, virtualNetworkPeeringName) if err != nil { @@ -182,9 +185,10 @@ func (client VirtualNetworkPeeringsClient) DeleteResponder(resp *http.Response) } // Get gets the specified virtual network peering. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// virtualNetworkPeeringName is the name of the virtual network peering. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// virtualNetworkPeeringName - the name of the virtual network peering. func (client VirtualNetworkPeeringsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result VirtualNetworkPeering, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, virtualNetworkName, virtualNetworkPeeringName) if err != nil { @@ -250,8 +254,9 @@ func (client VirtualNetworkPeeringsClient) GetResponder(resp *http.Response) (re } // List gets all virtual network peerings in a virtual network. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. func (client VirtualNetworkPeeringsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkPeeringListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, virtualNetworkName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworks.go index e98e7155fd59..cdc9dbf334b5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworks.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/virtualnetworks.go @@ -40,9 +40,10 @@ func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) } // CheckIPAddressAvailability checks whether a private IP address is available for use. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// IPAddress is the private IP address to be verified. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// IPAddress - the private IP address to be verified. func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, IPAddress string) (result IPAddressAvailabilityResult, err error) { req, err := client.CheckIPAddressAvailabilityPreparer(ctx, resourceGroupName, virtualNetworkName, IPAddress) if err != nil { @@ -110,9 +111,10 @@ func (client VirtualNetworksClient) CheckIPAddressAvailabilityResponder(resp *ht } // CreateOrUpdate creates or updates a virtual network in the specified resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// parameters is parameters supplied to the create or update virtual network operation +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// parameters - parameters supplied to the create or update virtual network operation func (client VirtualNetworksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (result VirtualNetworksCreateOrUpdateFuture, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, virtualNetworkName, parameters) if err != nil { @@ -181,8 +183,9 @@ func (client VirtualNetworksClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes the specified virtual network. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. func (client VirtualNetworksClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworksDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, virtualNetworkName) if err != nil { @@ -248,9 +251,10 @@ func (client VirtualNetworksClient) DeleteResponder(resp *http.Response) (result } // Get gets the specified virtual network by resource group. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// expand is expands referenced resources. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// expand - expands referenced resources. func (client VirtualNetworksClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (result VirtualNetwork, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, virtualNetworkName, expand) if err != nil { @@ -318,8 +322,8 @@ func (client VirtualNetworksClient) GetResponder(resp *http.Response) (result Vi } // List gets all virtual networks in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client VirtualNetworksClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName) @@ -501,8 +505,9 @@ func (client VirtualNetworksClient) ListAllComplete(ctx context.Context) (result } // ListUsage lists usage stats. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. func (client VirtualNetworksClient) ListUsage(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkListUsageResultPage, err error) { result.fn = client.listUsageNextResults req, err := client.ListUsagePreparer(ctx, resourceGroupName, virtualNetworkName) @@ -595,9 +600,10 @@ func (client VirtualNetworksClient) ListUsageComplete(ctx context.Context, resou } // UpdateTags updates a virtual network tags. -// -// resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. -// parameters is parameters supplied to update virtual network tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// virtualNetworkName - the name of the virtual network. +// parameters - parameters supplied to update virtual network tags. func (client VirtualNetworksClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters TagsObject) (result VirtualNetworksUpdateTagsFuture, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, virtualNetworkName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/watchers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/watchers.go index e09c6dca1052..25c50de7dd11 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/watchers.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/watchers.go @@ -42,9 +42,10 @@ func NewWatchersClientWithBaseURI(baseURI string, subscriptionID string) Watcher // CheckConnectivity verifies the possibility of establishing a direct TCP connection from a virtual machine to a given // endpoint including another VM or an arbitrary remote server. -// -// resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the -// network watcher resource. parameters is parameters that determine how the connectivity check will be performed. +// Parameters: +// resourceGroupName - the name of the network watcher resource group. +// networkWatcherName - the name of the network watcher resource. +// parameters - parameters that determine how the connectivity check will be performed. func (client WatchersClient) CheckConnectivity(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters) (result WatchersCheckConnectivityFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -121,9 +122,10 @@ func (client WatchersClient) CheckConnectivityResponder(resp *http.Response) (re } // CreateOrUpdate creates or updates a network watcher in the specified resource group. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// parameters is parameters that define the network watcher resource. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// parameters - parameters that define the network watcher resource. func (client WatchersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters Watcher) (result Watcher, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, networkWatcherName, parameters) if err != nil { @@ -190,8 +192,9 @@ func (client WatchersClient) CreateOrUpdateResponder(resp *http.Response) (resul } // Delete deletes the specified network watcher resource. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. func (client WatchersClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string) (result WatchersDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, networkWatcherName) if err != nil { @@ -257,8 +260,9 @@ func (client WatchersClient) DeleteResponder(resp *http.Response) (result autore } // Get gets the specified network watcher by resource group. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. func (client WatchersClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string) (result Watcher, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, networkWatcherName) if err != nil { @@ -324,9 +328,10 @@ func (client WatchersClient) GetResponder(resp *http.Response) (result Watcher, // GetAzureReachabilityReport gets the relative latency score for internet service providers from a specified location // to Azure regions. -// -// resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the -// network watcher resource. parameters is parameters that determine Azure reachability report configuration. +// Parameters: +// resourceGroupName - the name of the network watcher resource group. +// networkWatcherName - the name of the network watcher resource. +// parameters - parameters that determine Azure reachability report configuration. func (client WatchersClient) GetAzureReachabilityReport(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AzureReachabilityReportParameters) (result WatchersGetAzureReachabilityReportFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -404,9 +409,10 @@ func (client WatchersClient) GetAzureReachabilityReportResponder(resp *http.Resp } // GetFlowLogStatus queries status of flow log on a specified resource. -// -// resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the -// network watcher resource. parameters is parameters that define a resource to query flow log status. +// Parameters: +// resourceGroupName - the name of the network watcher resource group. +// networkWatcherName - the name of the network watcher resource. +// parameters - parameters that define a resource to query flow log status. func (client WatchersClient) GetFlowLogStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters) (result WatchersGetFlowLogStatusFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -481,9 +487,10 @@ func (client WatchersClient) GetFlowLogStatusResponder(resp *http.Response) (res } // GetNextHop gets the next hop from the specified VM. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// parameters is parameters that define the source and destination endpoint. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// parameters - parameters that define the source and destination endpoint. func (client WatchersClient) GetNextHop(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters NextHopParameters) (result WatchersGetNextHopFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -560,9 +567,10 @@ func (client WatchersClient) GetNextHopResponder(resp *http.Response) (result Ne } // GetTopology gets the current network topology by resource group. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// parameters is parameters that define the representation of topology. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// parameters - parameters that define the representation of topology. func (client WatchersClient) GetTopology(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TopologyParameters) (result Topology, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -635,9 +643,10 @@ func (client WatchersClient) GetTopologyResponder(resp *http.Response) (result T } // GetTroubleshooting initiate troubleshooting on a specified resource -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher -// resource. parameters is parameters that define the resource to troubleshoot. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher resource. +// parameters - parameters that define the resource to troubleshoot. func (client WatchersClient) GetTroubleshooting(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters) (result WatchersGetTroubleshootingFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -716,9 +725,10 @@ func (client WatchersClient) GetTroubleshootingResponder(resp *http.Response) (r } // GetTroubleshootingResult get the last completed troubleshooting result on a specified resource -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher -// resource. parameters is parameters that define the resource to query the troubleshooting result. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher resource. +// parameters - parameters that define the resource to query the troubleshooting result. func (client WatchersClient) GetTroubleshootingResult(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters) (result WatchersGetTroubleshootingResultFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -793,9 +803,10 @@ func (client WatchersClient) GetTroubleshootingResultResponder(resp *http.Respon } // GetVMSecurityRules gets the configured and effective security group rules on the specified VM. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// parameters is parameters that define the VM to check security groups for. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// parameters - parameters that define the VM to check security groups for. func (client WatchersClient) GetVMSecurityRules(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters) (result WatchersGetVMSecurityRulesFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -870,8 +881,8 @@ func (client WatchersClient) GetVMSecurityRulesResponder(resp *http.Response) (r } // List gets all network watchers by resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client WatchersClient) List(ctx context.Context, resourceGroupName string) (result WatcherListResult, err error) { req, err := client.ListPreparer(ctx, resourceGroupName) if err != nil { @@ -997,9 +1008,10 @@ func (client WatchersClient) ListAllResponder(resp *http.Response) (result Watch } // ListAvailableProviders lists all available internet service providers for a specified Azure region. -// -// resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the -// network watcher resource. parameters is parameters that scope the list of available providers. +// Parameters: +// resourceGroupName - the name of the network watcher resource group. +// networkWatcherName - the name of the network watcher resource. +// parameters - parameters that scope the list of available providers. func (client WatchersClient) ListAvailableProviders(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AvailableProvidersListParameters) (result WatchersListAvailableProvidersFuture, err error) { req, err := client.ListAvailableProvidersPreparer(ctx, resourceGroupName, networkWatcherName, parameters) if err != nil { @@ -1068,9 +1080,10 @@ func (client WatchersClient) ListAvailableProvidersResponder(resp *http.Response } // SetFlowLogConfiguration configures flow log on a specified resource. -// -// resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the -// network watcher resource. parameters is parameters that define the configuration of flow log. +// Parameters: +// resourceGroupName - the name of the network watcher resource group. +// networkWatcherName - the name of the network watcher resource. +// parameters - parameters that define the configuration of flow log. func (client WatchersClient) SetFlowLogConfiguration(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogInformation) (result WatchersSetFlowLogConfigurationFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -1149,9 +1162,10 @@ func (client WatchersClient) SetFlowLogConfigurationResponder(resp *http.Respons } // UpdateTags updates a network watcher tags. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// parameters is parameters supplied to update network watcher tags. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// parameters - parameters supplied to update network watcher tags. func (client WatchersClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TagsObject) (result Watcher, err error) { req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, networkWatcherName, parameters) if err != nil { @@ -1218,9 +1232,10 @@ func (client WatchersClient) UpdateTagsResponder(resp *http.Response) (result Wa } // VerifyIPFlow verify IP flow from the specified VM to a location given the currently configured NSG rules. -// -// resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. -// parameters is parameters that define the IP flow to be verified. +// Parameters: +// resourceGroupName - the name of the resource group. +// networkWatcherName - the name of the network watcher. +// parameters - parameters that define the IP flow to be verified. func (client WatchersClient) VerifyIPFlow(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters) (result WatchersVerifyIPFlowFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go index 2cbc44bf4686..c771ab075150 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go @@ -29,6 +29,7 @@ const ( DefaultBaseURI = "https://management.azure.com" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // BaseClient is the base client for Operationalinsights. type BaseClient struct { autorest.Client @@ -36,11 +37,13 @@ type BaseClient struct { SubscriptionID string } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // New creates an instance of the BaseClient client. func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go index aa4c93cd407d..342b185e2e81 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DataSourcesClient is the operational Insights Client type DataSourcesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewDataSourcesClient creates an instance of the DataSourcesClient client. func NewDataSourcesClient(subscriptionID string) DataSourcesClient { return NewDataSourcesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewDataSourcesClientWithBaseURI creates an instance of the DataSourcesClient client. func NewDataSourcesClientWithBaseURI(baseURI string, subscriptionID string) DataSourcesClient { return DataSourcesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdate create or update a data source. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -77,6 +81,7 @@ func (client DataSourcesClient) CreateOrUpdate(ctx context.Context, resourceGrou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client DataSourcesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceName string, parameters DataSource) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -101,6 +106,7 @@ func (client DataSourcesClient) CreateOrUpdatePreparer(ctx context.Context, reso return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DataSourcesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -108,6 +114,7 @@ func (client DataSourcesClient) CreateOrUpdateSender(req *http.Request) (*http.R azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client DataSourcesClient) CreateOrUpdateResponder(resp *http.Response) (result DataSource, err error) { @@ -121,6 +128,7 @@ func (client DataSourcesClient) CreateOrUpdateResponder(resp *http.Response) (re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Delete deletes a data source instance. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -155,6 +163,7 @@ func (client DataSourcesClient) Delete(ctx context.Context, resourceGroupName st return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeletePreparer prepares the Delete request. func (client DataSourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -177,6 +186,7 @@ func (client DataSourcesClient) DeletePreparer(ctx context.Context, resourceGrou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DataSourcesClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -184,6 +194,7 @@ func (client DataSourcesClient) DeleteSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client DataSourcesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -196,6 +207,7 @@ func (client DataSourcesClient) DeleteResponder(resp *http.Response) (result aut return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Get gets a datasource instance. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -230,6 +242,7 @@ func (client DataSourcesClient) Get(ctx context.Context, resourceGroupName strin return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetPreparer prepares the Get request. func (client DataSourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, dataSourceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -252,6 +265,7 @@ func (client DataSourcesClient) GetPreparer(ctx context.Context, resourceGroupNa return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DataSourcesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -259,6 +273,7 @@ func (client DataSourcesClient) GetSender(req *http.Request) (*http.Response, er azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client DataSourcesClient) GetResponder(resp *http.Response) (result DataSource, err error) { @@ -272,6 +287,7 @@ func (client DataSourcesClient) GetResponder(resp *http.Response) (result DataSo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspace gets the first page of data source instances in a workspace with the link to the next page. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is the @@ -308,6 +324,7 @@ func (client DataSourcesClient) ListByWorkspace(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspacePreparer prepares the ListByWorkspace request. func (client DataSourcesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, filter string, skiptoken string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -333,6 +350,7 @@ func (client DataSourcesClient) ListByWorkspacePreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspaceSender sends the ListByWorkspace request. The method will close the // http.Response Body if it receives an error. func (client DataSourcesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) { @@ -340,6 +358,7 @@ func (client DataSourcesClient) ListByWorkspaceSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always // closes the http.Response Body. func (client DataSourcesClient) ListByWorkspaceResponder(resp *http.Response) (result DataSourceListResult, err error) { @@ -374,6 +393,7 @@ func (client DataSourcesClient) listByWorkspaceNextResults(lastResults DataSourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required. func (client DataSourcesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, filter string, skiptoken string) (result DataSourceListResultIterator, err error) { result.page, err = client.ListByWorkspace(ctx, resourceGroupName, workspaceName, filter, skiptoken) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go index b260876d8222..fbf8bfcf8171 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // LinkedServicesClient is the operational Insights Client type LinkedServicesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewLinkedServicesClient creates an instance of the LinkedServicesClient client. func NewLinkedServicesClient(subscriptionID string) LinkedServicesClient { return NewLinkedServicesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewLinkedServicesClientWithBaseURI creates an instance of the LinkedServicesClient client. func NewLinkedServicesClientWithBaseURI(baseURI string, subscriptionID string) LinkedServicesClient { return LinkedServicesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdate create or update a linked service. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -78,6 +82,7 @@ func (client LinkedServicesClient) CreateOrUpdate(ctx context.Context, resourceG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client LinkedServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string, parameters LinkedService) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -102,6 +107,7 @@ func (client LinkedServicesClient) CreateOrUpdatePreparer(ctx context.Context, r return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -109,6 +115,7 @@ func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*htt azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client LinkedServicesClient) CreateOrUpdateResponder(resp *http.Response) (result LinkedService, err error) { @@ -122,6 +129,7 @@ func (client LinkedServicesClient) CreateOrUpdateResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Delete deletes a linked service instance. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -157,6 +165,7 @@ func (client LinkedServicesClient) Delete(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeletePreparer prepares the Delete request. func (client LinkedServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -179,6 +188,7 @@ func (client LinkedServicesClient) DeletePreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -186,6 +196,7 @@ func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client LinkedServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -198,6 +209,7 @@ func (client LinkedServicesClient) DeleteResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Get gets a linked service instance. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -233,6 +245,7 @@ func (client LinkedServicesClient) Get(ctx context.Context, resourceGroupName st return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetPreparer prepares the Get request. func (client LinkedServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, linkedServiceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -255,6 +268,7 @@ func (client LinkedServicesClient) GetPreparer(ctx context.Context, resourceGrou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -262,6 +276,7 @@ func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client LinkedServicesClient) GetResponder(resp *http.Response) (result LinkedService, err error) { @@ -275,6 +290,7 @@ func (client LinkedServicesClient) GetResponder(resp *http.Response) (result Lin return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspace gets the linked services instances in a workspace. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -309,6 +325,7 @@ func (client LinkedServicesClient) ListByWorkspace(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspacePreparer prepares the ListByWorkspace request. func (client LinkedServicesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -330,6 +347,7 @@ func (client LinkedServicesClient) ListByWorkspacePreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspaceSender sends the ListByWorkspace request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) { @@ -337,6 +355,7 @@ func (client LinkedServicesClient) ListByWorkspaceSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always // closes the http.Response Body. func (client LinkedServicesClient) ListByWorkspaceResponder(resp *http.Response) (result LinkedServiceListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go index 0b88290b2e9f..2b1707a29313 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go @@ -26,6 +26,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DataSourceKind enumerates the values for data source kind. type DataSourceKind string @@ -62,11 +63,13 @@ const ( WindowsPerformanceCounter DataSourceKind = "WindowsPerformanceCounter" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // PossibleDataSourceKindValues returns an array of possible values for the DataSourceKind const type. func PossibleDataSourceKindValues() []DataSourceKind { return []DataSourceKind{AzureActivityLog, ChangeTrackingCustomRegistry, ChangeTrackingDefaultPath, ChangeTrackingDefaultRegistry, ChangeTrackingPath, CustomLog, CustomLogCollection, GenericDataSource, IISLogs, LinuxPerformanceCollection, LinuxPerformanceObject, LinuxSyslog, LinuxSyslogCollection, WindowsEvent, WindowsPerformanceCounter} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // EntityStatus enumerates the values for entity status. type EntityStatus string @@ -85,17 +88,21 @@ const ( Succeeded EntityStatus = "Succeeded" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // PossibleEntityStatusValues returns an array of possible values for the EntityStatus const type. func PossibleEntityStatusValues() []EntityStatus { return []EntityStatus{Canceled, Creating, Deleting, Failed, ProvisioningAccount, Succeeded} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // SkuNameEnum enumerates the values for sku name enum. type SkuNameEnum string const ( // Free ... Free SkuNameEnum = "Free" + // PerGB2018 ... + PerGB2018 SkuNameEnum = "PerGB2018" // PerNode ... PerNode SkuNameEnum = "PerNode" // Premium ... @@ -108,11 +115,13 @@ const ( Unlimited SkuNameEnum = "Unlimited" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // PossibleSkuNameEnumValues returns an array of possible values for the SkuNameEnum const type. func PossibleSkuNameEnumValues() []SkuNameEnum { - return []SkuNameEnum{Free, PerNode, Premium, Standalone, Standard, Unlimited} + return []SkuNameEnum{Free, PerGB2018, PerNode, Premium, Standalone, Standard, Unlimited} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DataSource datasources under OMS Workspace. type DataSource struct { autorest.Response `json:"-"` @@ -132,6 +141,7 @@ type DataSource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // MarshalJSON is the custom marshaler for DataSource. func (ds DataSource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -157,12 +167,14 @@ func (ds DataSource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DataSourceFilter dataSource filter. Right now, only filter by kind is supported. type DataSourceFilter struct { // Kind - Possible values include: 'AzureActivityLog', 'ChangeTrackingPath', 'ChangeTrackingDefaultPath', 'ChangeTrackingDefaultRegistry', 'ChangeTrackingCustomRegistry', 'CustomLog', 'CustomLogCollection', 'GenericDataSource', 'IISLogs', 'LinuxPerformanceObject', 'LinuxPerformanceCollection', 'LinuxSyslog', 'LinuxSyslogCollection', 'WindowsEvent', 'WindowsPerformanceCounter' Kind DataSourceKind `json:"kind,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DataSourceListResult the list data source by workspace operation response. type DataSourceListResult struct { autorest.Response `json:"-"` @@ -172,12 +184,14 @@ type DataSourceListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DataSourceListResultIterator provides access to a complete listing of DataSource values. type DataSourceListResultIterator struct { i int page DataSourceListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *DataSourceListResultIterator) Next() error { @@ -194,16 +208,19 @@ func (iter *DataSourceListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter DataSourceListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Response returns the raw server response from the last page request. func (iter DataSourceListResultIterator) Response() DataSourceListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter DataSourceListResultIterator) Value() DataSource { @@ -213,6 +230,7 @@ func (iter DataSourceListResultIterator) Value() DataSource { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // IsEmpty returns true if the ListResult contains no values. func (dslr DataSourceListResult) IsEmpty() bool { return dslr.Value == nil || len(*dslr.Value) == 0 @@ -230,12 +248,14 @@ func (dslr DataSourceListResult) dataSourceListResultPreparer() (*http.Request, autorest.WithBaseURL(to.String(dslr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DataSourceListResultPage contains a page of DataSource values. type DataSourceListResultPage struct { fn func(DataSourceListResult) (DataSourceListResult, error) dslr DataSourceListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *DataSourceListResultPage) Next() error { @@ -247,16 +267,19 @@ func (page *DataSourceListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page DataSourceListResultPage) NotDone() bool { return !page.dslr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Response returns the raw server response from the last page request. func (page DataSourceListResultPage) Response() DataSourceListResult { return page.dslr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Values returns the slice of values for the current page or nil if there are no values. func (page DataSourceListResultPage) Values() []DataSource { if page.dslr.IsEmpty() { @@ -265,6 +288,7 @@ func (page DataSourceListResultPage) Values() []DataSource { return *page.dslr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // IntelligencePack intelligence Pack containing a string name and boolean indicating if it's enabled. type IntelligencePack struct { // Name - The name of the intelligence pack. @@ -275,6 +299,7 @@ type IntelligencePack struct { DisplayName *string `json:"displayName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // LinkedService the top level Linked service resource container. type LinkedService struct { autorest.Response `json:"-"` @@ -290,6 +315,7 @@ type LinkedService struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // MarshalJSON is the custom marshaler for LinkedService. func (ls LinkedService) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -311,6 +337,7 @@ func (ls LinkedService) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UnmarshalJSON is the custom unmarshaler for LinkedService struct. func (ls *LinkedService) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -371,6 +398,7 @@ func (ls *LinkedService) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // LinkedServiceListResult the list linked service operation response. type LinkedServiceListResult struct { autorest.Response `json:"-"` @@ -378,24 +406,28 @@ type LinkedServiceListResult struct { Value *[]LinkedService `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // LinkedServiceProperties linked service properties. type LinkedServiceProperties struct { // ResourceID - The resource id of the resource that will be linked to the workspace. ResourceID *string `json:"resourceId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListIntelligencePack ... type ListIntelligencePack struct { autorest.Response `json:"-"` Value *[]IntelligencePack `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ManagementGroup a management group that is connected to a workspace type ManagementGroup struct { // ManagementGroupProperties - The properties of the management group. *ManagementGroupProperties `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // MarshalJSON is the custom marshaler for ManagementGroup. func (mg ManagementGroup) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -405,6 +437,7 @@ func (mg ManagementGroup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UnmarshalJSON is the custom unmarshaler for ManagementGroup struct. func (mg *ManagementGroup) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -429,6 +462,7 @@ func (mg *ManagementGroup) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ManagementGroupProperties management group properties. type ManagementGroupProperties struct { // ServerCount - The number of servers connected to the management group. @@ -449,6 +483,7 @@ type ManagementGroupProperties struct { Sku *string `json:"sku,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // MetricName the name of a metric. type MetricName struct { // Value - The system name of the metric. @@ -457,6 +492,7 @@ type MetricName struct { LocalizedValue *string `json:"localizedValue,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Operation supported operation of OperationalInsights resource provider. type Operation struct { // Name - Operation name: {provider}/{resource}/{operation} @@ -465,6 +501,7 @@ type Operation struct { Display *OperationDisplay `json:"display,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // OperationDisplay display metadata associated with the operation. type OperationDisplay struct { // Provider - Service provider: Microsoft OperationsManagement. @@ -475,6 +512,7 @@ type OperationDisplay struct { Operation *string `json:"operation,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // OperationListResult result of the request to list solution operations. type OperationListResult struct { autorest.Response `json:"-"` @@ -484,12 +522,14 @@ type OperationListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // OperationListResultIterator provides access to a complete listing of Operation values. type OperationListResultIterator struct { i int page OperationListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *OperationListResultIterator) Next() error { @@ -506,16 +546,19 @@ func (iter *OperationListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter OperationListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Response returns the raw server response from the last page request. func (iter OperationListResultIterator) Response() OperationListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter OperationListResultIterator) Value() Operation { @@ -525,6 +568,7 @@ func (iter OperationListResultIterator) Value() Operation { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // IsEmpty returns true if the ListResult contains no values. func (olr OperationListResult) IsEmpty() bool { return olr.Value == nil || len(*olr.Value) == 0 @@ -542,12 +586,14 @@ func (olr OperationListResult) operationListResultPreparer() (*http.Request, err autorest.WithBaseURL(to.String(olr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // OperationListResultPage contains a page of Operation values. type OperationListResultPage struct { fn func(OperationListResult) (OperationListResult, error) olr OperationListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *OperationListResultPage) Next() error { @@ -559,16 +605,19 @@ func (page *OperationListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page OperationListResultPage) NotDone() bool { return !page.olr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Response returns the raw server response from the last page request. func (page OperationListResultPage) Response() OperationListResult { return page.olr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Values returns the slice of values for the current page or nil if there are no values. func (page OperationListResultPage) Values() []Operation { if page.olr.IsEmpty() { @@ -577,6 +626,7 @@ func (page OperationListResultPage) Values() []Operation { return *page.olr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ProxyResource common properties of proxy resource. type ProxyResource struct { // ID - Resource ID. @@ -589,6 +639,7 @@ type ProxyResource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // MarshalJSON is the custom marshaler for ProxyResource. func (pr ProxyResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -607,6 +658,7 @@ func (pr ProxyResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Resource the resource definition. type Resource struct { // ID - Resource Id @@ -621,6 +673,7 @@ type Resource struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // MarshalJSON is the custom marshaler for Resource. func (r Resource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -642,6 +695,7 @@ func (r Resource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // SharedKeys the shared keys for a workspace. type SharedKeys struct { autorest.Response `json:"-"` @@ -651,12 +705,14 @@ type SharedKeys struct { SecondarySharedKey *string `json:"secondarySharedKey,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Sku the SKU (tier) of a workspace. type Sku struct { - // Name - The name of the SKU. Possible values include: 'Free', 'Standard', 'Premium', 'Unlimited', 'PerNode', 'Standalone' + // Name - The name of the SKU. Possible values include: 'Free', 'Standard', 'Premium', 'Unlimited', 'PerNode', 'PerGB2018', 'Standalone' Name SkuNameEnum `json:"name,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UsageMetric a metric describing the usage of a resource. type UsageMetric struct { // Name - The name of the metric. @@ -673,6 +729,7 @@ type UsageMetric struct { QuotaPeriod *string `json:"quotaPeriod,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Workspace the top level Workspace resource container. type Workspace struct { autorest.Response `json:"-"` @@ -692,6 +749,7 @@ type Workspace struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // MarshalJSON is the custom marshaler for Workspace. func (w Workspace) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -719,6 +777,7 @@ func (w Workspace) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UnmarshalJSON is the custom unmarshaler for Workspace struct. func (w *Workspace) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -797,6 +856,7 @@ func (w *Workspace) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // WorkspaceListManagementGroupsResult the list workspace managmement groups operation response. type WorkspaceListManagementGroupsResult struct { autorest.Response `json:"-"` @@ -804,6 +864,7 @@ type WorkspaceListManagementGroupsResult struct { Value *[]ManagementGroup `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // WorkspaceListResult the list workspaces operation response. type WorkspaceListResult struct { autorest.Response `json:"-"` @@ -811,6 +872,7 @@ type WorkspaceListResult struct { Value *[]Workspace `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // WorkspaceListUsagesResult the list workspace usages operation response. type WorkspaceListUsagesResult struct { autorest.Response `json:"-"` @@ -818,6 +880,7 @@ type WorkspaceListUsagesResult struct { Value *[]UsageMetric `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // WorkspaceProperties workspace properties. type WorkspaceProperties struct { // ProvisioningState - The provisioning state of the workspace. Possible values include: 'Creating', 'Succeeded', 'Failed', 'Canceled', 'Deleting', 'ProvisioningAccount' @@ -834,6 +897,7 @@ type WorkspaceProperties struct { RetentionInDays *int32 `json:"retentionInDays,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type WorkspacesCreateOrUpdateFuture struct { @@ -841,6 +905,7 @@ type WorkspacesCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future WorkspacesCreateOrUpdateFuture) Result(client WorkspacesClient) (w Workspace, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go index 3df445e34f5f..acbf0e1e8146 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // OperationsClient is the operational Insights Client type OperationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewOperationsClient creates an instance of the OperationsClient client. func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // List lists all of the available OperationalInsights Rest API operations. func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) { result.fn = client.listNextResults @@ -63,6 +67,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2015-11-01-preview" @@ -78,6 +83,7 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -85,6 +91,7 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { @@ -119,6 +126,7 @@ func (client OperationsClient) listNextResults(lastResults OperationListResult) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) { result.page, err = client.List(ctx) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/version.go index d15046da501b..32430ea08157 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/version.go @@ -18,12 +18,13 @@ import "github.com/Azure/azure-sdk-for-go/version" // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. - +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { return "Azure-SDK-For-Go/" + version.Number + " operationalinsights/2015-11-01-preview" } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Version returns the semantic version (see http://semver.org) of the client. func Version() string { return version.Number diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go index 141a5eddff9e..5a1ac4043a4d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // WorkspacesClient is the operational Insights Client type WorkspacesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewWorkspacesClient creates an instance of the WorkspacesClient client. func NewWorkspacesClient(subscriptionID string) WorkspacesClient { return NewWorkspacesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client. func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient { return WorkspacesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdate create or update a workspace. // // resourceGroupName is the resource group name of the workspace. workspaceName is the name of the workspace. @@ -75,6 +79,7 @@ func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -98,6 +103,7 @@ func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error) { @@ -113,6 +119,7 @@ func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future W return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error) { @@ -126,6 +133,7 @@ func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Delete deletes a workspace instance. // // resourceGroupName is the resource group name of the workspace. workspaceName is name of the Log Analytics @@ -152,6 +160,7 @@ func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeletePreparer prepares the Delete request. func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -173,6 +182,7 @@ func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -180,6 +190,7 @@ func (client WorkspacesClient) DeleteSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -192,6 +203,7 @@ func (client WorkspacesClient) DeleteResponder(resp *http.Response) (result auto return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DisableIntelligencePack disables an intelligence pack for a given workspace. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -226,6 +238,7 @@ func (client WorkspacesClient) DisableIntelligencePack(ctx context.Context, reso return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DisableIntelligencePackPreparer prepares the DisableIntelligencePack request. func (client WorkspacesClient) DisableIntelligencePackPreparer(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -248,6 +261,7 @@ func (client WorkspacesClient) DisableIntelligencePackPreparer(ctx context.Conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DisableIntelligencePackSender sends the DisableIntelligencePack request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) DisableIntelligencePackSender(req *http.Request) (*http.Response, error) { @@ -255,6 +269,7 @@ func (client WorkspacesClient) DisableIntelligencePackSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // DisableIntelligencePackResponder handles the response to the DisableIntelligencePack request. The method always // closes the http.Response Body. func (client WorkspacesClient) DisableIntelligencePackResponder(resp *http.Response) (result autorest.Response, err error) { @@ -267,6 +282,7 @@ func (client WorkspacesClient) DisableIntelligencePackResponder(resp *http.Respo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // EnableIntelligencePack enables an intelligence pack for a given workspace. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -301,6 +317,7 @@ func (client WorkspacesClient) EnableIntelligencePack(ctx context.Context, resou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // EnableIntelligencePackPreparer prepares the EnableIntelligencePack request. func (client WorkspacesClient) EnableIntelligencePackPreparer(ctx context.Context, resourceGroupName string, workspaceName string, intelligencePackName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -323,6 +340,7 @@ func (client WorkspacesClient) EnableIntelligencePackPreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // EnableIntelligencePackSender sends the EnableIntelligencePack request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) EnableIntelligencePackSender(req *http.Request) (*http.Response, error) { @@ -330,6 +348,7 @@ func (client WorkspacesClient) EnableIntelligencePackSender(req *http.Request) ( azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // EnableIntelligencePackResponder handles the response to the EnableIntelligencePack request. The method always // closes the http.Response Body. func (client WorkspacesClient) EnableIntelligencePackResponder(resp *http.Response) (result autorest.Response, err error) { @@ -342,6 +361,7 @@ func (client WorkspacesClient) EnableIntelligencePackResponder(resp *http.Respon return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Get gets a workspace instance. // // resourceGroupName is the resource group name of the workspace. workspaceName is name of the Log Analytics @@ -368,6 +388,7 @@ func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetPreparer prepares the Get request. func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -389,6 +410,7 @@ func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupNam return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -396,6 +418,7 @@ func (client WorkspacesClient) GetSender(req *http.Request) (*http.Response, err azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error) { @@ -409,6 +432,7 @@ func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetSharedKeys gets the shared keys for a workspace. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is name @@ -443,6 +467,7 @@ func (client WorkspacesClient) GetSharedKeys(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetSharedKeysPreparer prepares the GetSharedKeys request. func (client WorkspacesClient) GetSharedKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -464,6 +489,7 @@ func (client WorkspacesClient) GetSharedKeysPreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetSharedKeysSender sends the GetSharedKeys request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) GetSharedKeysSender(req *http.Request) (*http.Response, error) { @@ -471,6 +497,7 @@ func (client WorkspacesClient) GetSharedKeysSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // GetSharedKeysResponder handles the response to the GetSharedKeys request. The method always // closes the http.Response Body. func (client WorkspacesClient) GetSharedKeysResponder(resp *http.Response) (result SharedKeys, err error) { @@ -484,6 +511,7 @@ func (client WorkspacesClient) GetSharedKeysResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // List gets the workspaces in a subscription. func (client WorkspacesClient) List(ctx context.Context) (result WorkspaceListResult, err error) { req, err := client.ListPreparer(ctx) @@ -507,6 +535,7 @@ func (client WorkspacesClient) List(ctx context.Context) (result WorkspaceListRe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListPreparer prepares the List request. func (client WorkspacesClient) ListPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -526,6 +555,7 @@ func (client WorkspacesClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) ListSender(req *http.Request) (*http.Response, error) { @@ -533,6 +563,7 @@ func (client WorkspacesClient) ListSender(req *http.Request) (*http.Response, er azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client WorkspacesClient) ListResponder(resp *http.Response) (result WorkspaceListResult, err error) { @@ -546,6 +577,7 @@ func (client WorkspacesClient) ListResponder(resp *http.Response) (result Worksp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByResourceGroup gets workspaces in a resource group. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -579,6 +611,7 @@ func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -599,6 +632,7 @@ func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -606,6 +640,7 @@ func (client WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceListResult, err error) { @@ -619,6 +654,7 @@ func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListIntelligencePacks lists all the intelligence packs possible and whether they are enabled or disabled for a given // workspace. // @@ -654,6 +690,7 @@ func (client WorkspacesClient) ListIntelligencePacks(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListIntelligencePacksPreparer prepares the ListIntelligencePacks request. func (client WorkspacesClient) ListIntelligencePacksPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -675,6 +712,7 @@ func (client WorkspacesClient) ListIntelligencePacksPreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListIntelligencePacksSender sends the ListIntelligencePacks request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) ListIntelligencePacksSender(req *http.Request) (*http.Response, error) { @@ -682,6 +720,7 @@ func (client WorkspacesClient) ListIntelligencePacksSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListIntelligencePacksResponder handles the response to the ListIntelligencePacks request. The method always // closes the http.Response Body. func (client WorkspacesClient) ListIntelligencePacksResponder(resp *http.Response) (result ListIntelligencePack, err error) { @@ -695,6 +734,7 @@ func (client WorkspacesClient) ListIntelligencePacksResponder(resp *http.Respons return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListManagementGroups gets a list of management groups connected to a workspace. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is the @@ -729,6 +769,7 @@ func (client WorkspacesClient) ListManagementGroups(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListManagementGroupsPreparer prepares the ListManagementGroups request. func (client WorkspacesClient) ListManagementGroupsPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -750,6 +791,7 @@ func (client WorkspacesClient) ListManagementGroupsPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListManagementGroupsSender sends the ListManagementGroups request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) ListManagementGroupsSender(req *http.Request) (*http.Response, error) { @@ -757,6 +799,7 @@ func (client WorkspacesClient) ListManagementGroupsSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListManagementGroupsResponder handles the response to the ListManagementGroups request. The method always // closes the http.Response Body. func (client WorkspacesClient) ListManagementGroupsResponder(resp *http.Response) (result WorkspaceListManagementGroupsResult, err error) { @@ -770,6 +813,7 @@ func (client WorkspacesClient) ListManagementGroupsResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListUsages gets a list of usage metrics for a workspace. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. workspaceName is the @@ -804,6 +848,7 @@ func (client WorkspacesClient) ListUsages(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListUsagesPreparer prepares the ListUsages request. func (client WorkspacesClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -825,6 +870,7 @@ func (client WorkspacesClient) ListUsagesPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListUsagesSender sends the ListUsages request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) ListUsagesSender(req *http.Request) (*http.Response, error) { @@ -832,6 +878,7 @@ func (client WorkspacesClient) ListUsagesSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // ListUsagesResponder handles the response to the ListUsages request. The method always // closes the http.Response Body. func (client WorkspacesClient) ListUsagesResponder(resp *http.Response) (result WorkspaceListUsagesResult, err error) { @@ -845,6 +892,7 @@ func (client WorkspacesClient) ListUsagesResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // Update updates a workspace. // // resourceGroupName is the resource group name of the workspace. workspaceName is the name of the workspace. @@ -879,6 +927,7 @@ func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UpdatePreparer prepares the Update request. func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -902,6 +951,7 @@ func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, error) { @@ -909,6 +959,7 @@ func (client WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go index 819be16528c8..a8ab93f0c720 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go @@ -29,6 +29,7 @@ const ( DefaultBaseURI = "https://management.azure.com" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // BaseClient is the base client for Operationsmanagement. type BaseClient struct { autorest.Client @@ -39,11 +40,13 @@ type BaseClient struct { ResourceName string } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // New creates an instance of the BaseClient client. func New(subscriptionID string, providerName string, resourceType string, resourceName string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) BaseClient { return BaseClient{ diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go index f998f2b803ff..209e0a50691f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementAssociationsClient is the operations Management Client type ManagementAssociationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewManagementAssociationsClient creates an instance of the ManagementAssociationsClient client. func NewManagementAssociationsClient(subscriptionID string, providerName string, resourceType string, resourceName string) ManagementAssociationsClient { return NewManagementAssociationsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewManagementAssociationsClientWithBaseURI creates an instance of the ManagementAssociationsClient client. func NewManagementAssociationsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) ManagementAssociationsClient { return ManagementAssociationsClient{NewWithBaseURI(baseURI, subscriptionID, providerName, resourceType, resourceName)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdate creates or updates the ManagementAssociation. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -78,6 +82,7 @@ func (client ManagementAssociationsClient) CreateOrUpdate(ctx context.Context, r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ManagementAssociationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managementAssociationName string, parameters ManagementAssociation) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -104,6 +109,7 @@ func (client ManagementAssociationsClient) CreateOrUpdatePreparer(ctx context.Co return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ManagementAssociationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -111,6 +117,7 @@ func (client ManagementAssociationsClient) CreateOrUpdateSender(req *http.Reques azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ManagementAssociationsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagementAssociation, err error) { @@ -124,6 +131,7 @@ func (client ManagementAssociationsClient) CreateOrUpdateResponder(resp *http.Re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Delete deletes the ManagementAssociation in the subscription. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -158,6 +166,7 @@ func (client ManagementAssociationsClient) Delete(ctx context.Context, resourceG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeletePreparer prepares the Delete request. func (client ManagementAssociationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managementAssociationName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -182,6 +191,7 @@ func (client ManagementAssociationsClient) DeletePreparer(ctx context.Context, r return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ManagementAssociationsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -189,6 +199,7 @@ func (client ManagementAssociationsClient) DeleteSender(req *http.Request) (*htt azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ManagementAssociationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -201,6 +212,7 @@ func (client ManagementAssociationsClient) DeleteResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Get retrieves the user ManagementAssociation. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -235,6 +247,7 @@ func (client ManagementAssociationsClient) Get(ctx context.Context, resourceGrou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetPreparer prepares the Get request. func (client ManagementAssociationsClient) GetPreparer(ctx context.Context, resourceGroupName string, managementAssociationName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -259,6 +272,7 @@ func (client ManagementAssociationsClient) GetPreparer(ctx context.Context, reso return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ManagementAssociationsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -266,6 +280,7 @@ func (client ManagementAssociationsClient) GetSender(req *http.Request) (*http.R azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ManagementAssociationsClient) GetResponder(resp *http.Response) (result ManagementAssociation, err error) { @@ -279,6 +294,7 @@ func (client ManagementAssociationsClient) GetResponder(resp *http.Response) (re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscription retrieves the ManagementAssociatons list. func (client ManagementAssociationsClient) ListBySubscription(ctx context.Context) (result ManagementAssociationPropertiesList, err error) { req, err := client.ListBySubscriptionPreparer(ctx) @@ -302,6 +318,7 @@ func (client ManagementAssociationsClient) ListBySubscription(ctx context.Contex return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionPreparer prepares the ListBySubscription request. func (client ManagementAssociationsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -321,6 +338,7 @@ func (client ManagementAssociationsClient) ListBySubscriptionPreparer(ctx contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionSender sends the ListBySubscription request. The method will close the // http.Response Body if it receives an error. func (client ManagementAssociationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) { @@ -328,6 +346,7 @@ func (client ManagementAssociationsClient) ListBySubscriptionSender(req *http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always // closes the http.Response Body. func (client ManagementAssociationsClient) ListBySubscriptionResponder(resp *http.Response) (result ManagementAssociationPropertiesList, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go index a12703784566..cbeb266e4e84 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementConfigurationsClient is the operations Management Client type ManagementConfigurationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewManagementConfigurationsClient creates an instance of the ManagementConfigurationsClient client. func NewManagementConfigurationsClient(subscriptionID string, providerName string, resourceType string, resourceName string) ManagementConfigurationsClient { return NewManagementConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewManagementConfigurationsClientWithBaseURI creates an instance of the ManagementConfigurationsClient client. func NewManagementConfigurationsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) ManagementConfigurationsClient { return ManagementConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID, providerName, resourceType, resourceName)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdate creates or updates the ManagementConfiguration. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -81,6 +85,7 @@ func (client ManagementConfigurationsClient) CreateOrUpdate(ctx context.Context, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ManagementConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managementConfigurationName string, parameters ManagementConfiguration) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -104,6 +109,7 @@ func (client ManagementConfigurationsClient) CreateOrUpdatePreparer(ctx context. return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ManagementConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -111,6 +117,7 @@ func (client ManagementConfigurationsClient) CreateOrUpdateSender(req *http.Requ azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ManagementConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagementConfiguration, err error) { @@ -124,6 +131,7 @@ func (client ManagementConfigurationsClient) CreateOrUpdateResponder(resp *http. return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Delete deletes the ManagementConfiguration in the subscription. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -158,6 +166,7 @@ func (client ManagementConfigurationsClient) Delete(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeletePreparer prepares the Delete request. func (client ManagementConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, managementConfigurationName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -179,6 +188,7 @@ func (client ManagementConfigurationsClient) DeletePreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ManagementConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -186,6 +196,7 @@ func (client ManagementConfigurationsClient) DeleteSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ManagementConfigurationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -198,6 +209,7 @@ func (client ManagementConfigurationsClient) DeleteResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Get retrieves the user ManagementConfiguration. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -232,6 +244,7 @@ func (client ManagementConfigurationsClient) Get(ctx context.Context, resourceGr return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetPreparer prepares the Get request. func (client ManagementConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, managementConfigurationName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -253,6 +266,7 @@ func (client ManagementConfigurationsClient) GetPreparer(ctx context.Context, re return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ManagementConfigurationsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -260,6 +274,7 @@ func (client ManagementConfigurationsClient) GetSender(req *http.Request) (*http azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ManagementConfigurationsClient) GetResponder(resp *http.Response) (result ManagementConfiguration, err error) { @@ -273,6 +288,7 @@ func (client ManagementConfigurationsClient) GetResponder(resp *http.Response) ( return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscription retrieves the ManagementConfigurations list. func (client ManagementConfigurationsClient) ListBySubscription(ctx context.Context) (result ManagementConfigurationPropertiesList, err error) { req, err := client.ListBySubscriptionPreparer(ctx) @@ -296,6 +312,7 @@ func (client ManagementConfigurationsClient) ListBySubscription(ctx context.Cont return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionPreparer prepares the ListBySubscription request. func (client ManagementConfigurationsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -315,6 +332,7 @@ func (client ManagementConfigurationsClient) ListBySubscriptionPreparer(ctx cont return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionSender sends the ListBySubscription request. The method will close the // http.Response Body if it receives an error. func (client ManagementConfigurationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) { @@ -322,6 +340,7 @@ func (client ManagementConfigurationsClient) ListBySubscriptionSender(req *http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always // closes the http.Response Body. func (client ManagementConfigurationsClient) ListBySubscriptionResponder(resp *http.Response) (result ManagementConfigurationPropertiesList, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/models.go index 34fc539c9135..e55b77ea52da 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/models.go @@ -21,6 +21,7 @@ import ( "github.com/Azure/go-autorest/autorest" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ArmTemplateParameter parameter to pass to ARM template type ArmTemplateParameter struct { // Name - name of the parameter. @@ -29,12 +30,14 @@ type ArmTemplateParameter struct { Value *string `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CodeMessageError the error body contract. type CodeMessageError struct { // Error - The error details for a failed request. Error *CodeMessageErrorError `json:"error,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CodeMessageErrorError the error details for a failed request. type CodeMessageErrorError struct { // Code - The error type. @@ -43,6 +46,7 @@ type CodeMessageErrorError struct { Message *string `json:"message,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementAssociation the container for solution. type ManagementAssociation struct { autorest.Response `json:"-"` @@ -58,6 +62,7 @@ type ManagementAssociation struct { Properties *ManagementAssociationProperties `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementAssociationProperties managementAssociation properties supported by the OperationsManagement resource // provider. type ManagementAssociationProperties struct { @@ -65,6 +70,7 @@ type ManagementAssociationProperties struct { ApplicationID *string `json:"applicationId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementAssociationPropertiesList the list of ManagementAssociation response type ManagementAssociationPropertiesList struct { autorest.Response `json:"-"` @@ -72,6 +78,7 @@ type ManagementAssociationPropertiesList struct { Value *[]ManagementAssociation `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementConfiguration the container for solution. type ManagementConfiguration struct { autorest.Response `json:"-"` @@ -87,6 +94,7 @@ type ManagementConfiguration struct { Properties *ManagementConfigurationProperties `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementConfigurationProperties managementConfiguration properties supported by the OperationsManagement // resource provider. type ManagementConfigurationProperties struct { @@ -102,6 +110,7 @@ type ManagementConfigurationProperties struct { Template interface{} `json:"template,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ManagementConfigurationPropertiesList the list of ManagementConfiguration response type ManagementConfigurationPropertiesList struct { autorest.Response `json:"-"` @@ -109,6 +118,7 @@ type ManagementConfigurationPropertiesList struct { Value *[]ManagementConfiguration `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Operation supported operation of OperationsManagement resource provider. type Operation struct { // Name - Operation name: {provider}/{resource}/{operation} @@ -117,6 +127,7 @@ type Operation struct { Display *OperationDisplay `json:"display,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // OperationDisplay display metadata associated with the operation. type OperationDisplay struct { // Provider - Service provider: Microsoft OperationsManagement. @@ -127,6 +138,7 @@ type OperationDisplay struct { Operation *string `json:"operation,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // OperationListResult result of the request to list solution operations. type OperationListResult struct { autorest.Response `json:"-"` @@ -134,6 +146,7 @@ type OperationListResult struct { Value *[]Operation `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Solution the container for solution. type Solution struct { autorest.Response `json:"-"` @@ -151,6 +164,7 @@ type Solution struct { Properties *SolutionProperties `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // SolutionPlan plan for solution object supported by the OperationsManagement resource provider. type SolutionPlan struct { // Name - name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything. @@ -163,6 +177,7 @@ type SolutionPlan struct { Product *string `json:"product,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // SolutionProperties solution properties supported by the OperationsManagement resource provider. type SolutionProperties struct { // WorkspaceResourceID - The azure resourceId for the workspace where the solution will be deployed/enabled. @@ -175,6 +190,7 @@ type SolutionProperties struct { ReferencedResources *[]string `json:"referencedResources,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // SolutionPropertiesList the list of solution response type SolutionPropertiesList struct { autorest.Response `json:"-"` diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go index f64d685b2d26..dd78b1cb4f1f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go @@ -24,21 +24,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // OperationsClient is the operations Management Client type OperationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewOperationsClient creates an instance of the OperationsClient client. func NewOperationsClient(subscriptionID string, providerName string, resourceType string, resourceName string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID, providerName, resourceType, resourceName)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // List lists all of the available OperationsManagement Rest API operations. func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) { req, err := client.ListPreparer(ctx) @@ -62,6 +66,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2015-11-01-preview" @@ -77,6 +82,7 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -84,6 +90,7 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go index d5ae4a51718f..3389e157f9c1 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go @@ -25,21 +25,25 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // SolutionsClient is the operations Management Client type SolutionsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewSolutionsClient creates an instance of the SolutionsClient client. func NewSolutionsClient(subscriptionID string, providerName string, resourceType string, resourceName string) SolutionsClient { return NewSolutionsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // NewSolutionsClientWithBaseURI creates an instance of the SolutionsClient client. func NewSolutionsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) SolutionsClient { return SolutionsClient{NewWithBaseURI(baseURI, subscriptionID, providerName, resourceType, resourceName)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdate creates or updates the Solution. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. solutionName is user @@ -77,6 +81,7 @@ func (client SolutionsClient) CreateOrUpdate(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client SolutionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, solutionName string, parameters Solution) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -100,6 +105,7 @@ func (client SolutionsClient) CreateOrUpdatePreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client SolutionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -107,6 +113,7 @@ func (client SolutionsClient) CreateOrUpdateSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client SolutionsClient) CreateOrUpdateResponder(resp *http.Response) (result Solution, err error) { @@ -120,6 +127,7 @@ func (client SolutionsClient) CreateOrUpdateResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Delete deletes the solution in the subscription. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. solutionName is user @@ -154,6 +162,7 @@ func (client SolutionsClient) Delete(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeletePreparer prepares the Delete request. func (client SolutionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -175,6 +184,7 @@ func (client SolutionsClient) DeletePreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client SolutionsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -182,6 +192,7 @@ func (client SolutionsClient) DeleteSender(req *http.Request) (*http.Response, e azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client SolutionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -194,6 +205,7 @@ func (client SolutionsClient) DeleteResponder(resp *http.Response) (result autor return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Get retrieves the user solution. // // resourceGroupName is the name of the resource group to get. The name is case insensitive. solutionName is user @@ -228,6 +240,7 @@ func (client SolutionsClient) Get(ctx context.Context, resourceGroupName string, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetPreparer prepares the Get request. func (client SolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -249,6 +262,7 @@ func (client SolutionsClient) GetPreparer(ctx context.Context, resourceGroupName return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client SolutionsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -256,6 +270,7 @@ func (client SolutionsClient) GetSender(req *http.Request) (*http.Response, erro azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client SolutionsClient) GetResponder(resp *http.Response) (result Solution, err error) { @@ -269,6 +284,7 @@ func (client SolutionsClient) GetResponder(resp *http.Response) (result Solution return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListByResourceGroup retrieves the solution list. It will retrieve both first party and third party solutions // // resourceGroupName is the name of the resource group to get. The name is case insensitive. @@ -302,6 +318,7 @@ func (client SolutionsClient) ListByResourceGroup(ctx context.Context, resourceG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client SolutionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -322,6 +339,7 @@ func (client SolutionsClient) ListByResourceGroupPreparer(ctx context.Context, r return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client SolutionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -329,6 +347,7 @@ func (client SolutionsClient) ListByResourceGroupSender(req *http.Request) (*htt azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client SolutionsClient) ListByResourceGroupResponder(resp *http.Response) (result SolutionPropertiesList, err error) { @@ -342,6 +361,7 @@ func (client SolutionsClient) ListByResourceGroupResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscription retrieves the solution list. It will retrieve both first party and third party solutions func (client SolutionsClient) ListBySubscription(ctx context.Context) (result SolutionPropertiesList, err error) { req, err := client.ListBySubscriptionPreparer(ctx) @@ -365,6 +385,7 @@ func (client SolutionsClient) ListBySubscription(ctx context.Context) (result So return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionPreparer prepares the ListBySubscription request. func (client SolutionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -384,6 +405,7 @@ func (client SolutionsClient) ListBySubscriptionPreparer(ctx context.Context) (* return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionSender sends the ListBySubscription request. The method will close the // http.Response Body if it receives an error. func (client SolutionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) { @@ -391,6 +413,7 @@ func (client SolutionsClient) ListBySubscriptionSender(req *http.Request) (*http azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always // closes the http.Response Body. func (client SolutionsClient) ListBySubscriptionResponder(resp *http.Response) (result SolutionPropertiesList, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/version.go index f33e0e91aa51..714ccbcdda6a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/version.go @@ -18,12 +18,13 @@ import "github.com/Azure/azure-sdk-for-go/version" // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. - +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { return "Azure-SDK-For-Go/" + version.Number + " operationsmanagement/2015-11-01-preview" } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement instead. // Version returns the semantic version (see http://semver.org) of the client. func Version() string { return version.Number diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/registeredidentities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/registeredidentities.go index fbcb373245b1..994ec88b42b8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/registeredidentities.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/registeredidentities.go @@ -40,9 +40,10 @@ func NewRegisteredIdentitiesClientWithBaseURI(baseURI string, subscriptionID str } // Delete unregisters the given container from your Recovery Services vault. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. identityName is name of the protection container to unregister. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. +// identityName - name of the protection container to unregister. func (client RegisteredIdentitiesClient) Delete(ctx context.Context, resourceGroupName string, vaultName string, identityName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, vaultName, identityName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/replicationusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/replicationusages.go index 49a1080905de..29d3d209e2f6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/replicationusages.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/replicationusages.go @@ -40,9 +40,9 @@ func NewReplicationUsagesClientWithBaseURI(baseURI string, subscriptionID string } // List fetches the replication usages of the vault. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. func (client ReplicationUsagesClient) List(ctx context.Context, resourceGroupName string, vaultName string) (result ReplicationUsageList, err error) { req, err := client.ListPreparer(ctx, resourceGroupName, vaultName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/usages.go index ab0ffa61edbc..985bd2a76122 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/usages.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/usages.go @@ -40,9 +40,9 @@ func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesCli } // ListByVaults fetches the usages of the vault. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. func (client UsagesClient) ListByVaults(ctx context.Context, resourceGroupName string, vaultName string) (result VaultUsageList, err error) { req, err := client.ListByVaultsPreparer(ctx, resourceGroupName, vaultName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultcertificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultcertificates.go index 7e738045842a..8639e9abaf96 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultcertificates.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultcertificates.go @@ -40,10 +40,11 @@ func NewVaultCertificatesClientWithBaseURI(baseURI string, subscriptionID string } // Create uploads a certificate for a resource. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. certificateName is certificate friendly name. certificateRequest is -// input parameters for uploading the vault certificate. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. +// certificateName - certificate friendly name. +// certificateRequest - input parameters for uploading the vault certificate. func (client VaultCertificatesClient) Create(ctx context.Context, resourceGroupName string, vaultName string, certificateName string, certificateRequest CertificateRequest) (result VaultCertificateResponse, err error) { req, err := client.CreatePreparer(ctx, resourceGroupName, vaultName, certificateName, certificateRequest) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultextendedinfo.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultextendedinfo.go index 3ae2a6dbd95e..356f0da79765 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultextendedinfo.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaultextendedinfo.go @@ -40,9 +40,10 @@ func NewVaultExtendedInfoClientWithBaseURI(baseURI string, subscriptionID string } // CreateOrUpdate create vault extended info. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. resourceResourceExtendedInfoDetails is details of ResourceExtendedInfo +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. +// resourceResourceExtendedInfoDetails - details of ResourceExtendedInfo func (client VaultExtendedInfoClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, resourceResourceExtendedInfoDetails VaultExtendedInfoResource) (result VaultExtendedInfoResource, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, vaultName, resourceResourceExtendedInfoDetails) if err != nil { @@ -109,9 +110,9 @@ func (client VaultExtendedInfoClient) CreateOrUpdateResponder(resp *http.Respons } // Get get the vault extended info. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. func (client VaultExtendedInfoClient) Get(ctx context.Context, resourceGroupName string, vaultName string) (result VaultExtendedInfoResource, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, vaultName) if err != nil { @@ -176,9 +177,10 @@ func (client VaultExtendedInfoClient) GetResponder(resp *http.Response) (result } // Update update vault extended info. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. resourceResourceExtendedInfoDetails is details of ResourceExtendedInfo +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. +// resourceResourceExtendedInfoDetails - details of ResourceExtendedInfo func (client VaultExtendedInfoClient) Update(ctx context.Context, resourceGroupName string, vaultName string, resourceResourceExtendedInfoDetails VaultExtendedInfoResource) (result VaultExtendedInfoResource, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, vaultName, resourceResourceExtendedInfoDetails) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaults.go index 472d5877692b..64cc9d7dce75 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaults.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/vaults.go @@ -40,9 +40,10 @@ func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsCli } // CreateOrUpdate creates or updates a Recovery Services vault. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. vault is recovery Services Vault to be created. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. +// vault - recovery Services Vault to be created. func (client VaultsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, vault Vault) (result Vault, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, vaultName, vault) if err != nil { @@ -109,9 +110,9 @@ func (client VaultsClient) CreateOrUpdateResponder(resp *http.Response) (result } // Delete deletes a vault. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. func (client VaultsClient) Delete(ctx context.Context, resourceGroupName string, vaultName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, vaultName) if err != nil { @@ -175,9 +176,9 @@ func (client VaultsClient) DeleteResponder(resp *http.Response) (result autorest } // Get get the Vault details. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. func (client VaultsClient) Get(ctx context.Context, resourceGroupName string, vaultName string) (result Vault, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, vaultName) if err != nil { @@ -242,8 +243,8 @@ func (client VaultsClient) GetResponder(resp *http.Response) (result Vault, err } // ListByResourceGroup retrieve a list of Vaults. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. func (client VaultsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VaultListPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -425,9 +426,10 @@ func (client VaultsClient) ListBySubscriptionIDComplete(ctx context.Context) (re } // Update updates the vault. -// -// resourceGroupName is the name of the resource group where the recovery services vault is present. vaultName is -// the name of the recovery services vault. vault is recovery Services Vault to be created. +// Parameters: +// resourceGroupName - the name of the resource group where the recovery services vault is present. +// vaultName - the name of the recovery services vault. +// vault - recovery Services Vault to be created. func (client VaultsClient) Update(ctx context.Context, resourceGroupName string, vaultName string, vault PatchVault) (result Vault, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, vaultName, vault) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/firewallrules.go index 6d215106efe3..7dffed644438 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/firewallrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/firewallrules.go @@ -41,10 +41,11 @@ func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) Fi } // CreateOrUpdate create or update a redis cache firewall rule -// -// resourceGroupName is the name of the resource group. cacheName is the name of the Redis cache. ruleName is the -// name of the firewall rule. parameters is parameters supplied to the create or update redis firewall rule -// operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// cacheName - the name of the Redis cache. +// ruleName - the name of the firewall rule. +// parameters - parameters supplied to the create or update redis firewall rule operation. func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, cacheName string, ruleName string, parameters FirewallRuleCreateParameters) (result FirewallRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -121,9 +122,10 @@ func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) ( } // Delete deletes a single firewall rule in a specified redis cache. -// -// resourceGroupName is the name of the resource group. cacheName is the name of the Redis cache. ruleName is the -// name of the firewall rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// cacheName - the name of the Redis cache. +// ruleName - the name of the firewall rule. func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, cacheName string, ruleName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, cacheName, ruleName) if err != nil { @@ -188,9 +190,10 @@ func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result a } // Get gets a single firewall rule in a specified redis cache. -// -// resourceGroupName is the name of the resource group. cacheName is the name of the Redis cache. ruleName is the -// name of the firewall rule. +// Parameters: +// resourceGroupName - the name of the resource group. +// cacheName - the name of the Redis cache. +// ruleName - the name of the firewall rule. func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, cacheName string, ruleName string) (result FirewallRule, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, cacheName, ruleName) if err != nil { @@ -256,8 +259,9 @@ func (client FirewallRulesClient) GetResponder(resp *http.Response) (result Fire } // ListByRedisResource gets all firewall rules in the specified redis cache. -// -// resourceGroupName is the name of the resource group. cacheName is the name of the Redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// cacheName - the name of the Redis cache. func (client FirewallRulesClient) ListByRedisResource(ctx context.Context, resourceGroupName string, cacheName string) (result FirewallRuleListResultPage, err error) { result.fn = client.listByRedisResourceNextResults req, err := client.ListByRedisResourcePreparer(ctx, resourceGroupName, cacheName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/linkedserver.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/linkedserver.go index 3f5d7fd641c7..393872ad30ad 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/linkedserver.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/linkedserver.go @@ -41,10 +41,11 @@ func NewLinkedServerClientWithBaseURI(baseURI string, subscriptionID string) Lin } // Create adds a linked server to the Redis cache (requires Premium SKU). -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. linkedServerName is -// the name of the linked server that is being added to the Redis cache. parameters is parameters supplied to the -// Create Linked server operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// linkedServerName - the name of the linked server that is being added to the Redis cache. +// parameters - parameters supplied to the Create Linked server operation. func (client LinkedServerClient) Create(ctx context.Context, resourceGroupName string, name string, linkedServerName string, parameters LinkedServerCreateParameters) (result LinkedServerCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -123,9 +124,10 @@ func (client LinkedServerClient) CreateResponder(resp *http.Response) (result Li } // Delete deletes the linked server from a redis cache (requires Premium SKU). -// -// resourceGroupName is the name of the resource group. name is the name of the redis cache. linkedServerName is -// the name of the linked server that is being added to the Redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the redis cache. +// linkedServerName - the name of the linked server that is being added to the Redis cache. func (client LinkedServerClient) Delete(ctx context.Context, resourceGroupName string, name string, linkedServerName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, name, linkedServerName) if err != nil { @@ -190,9 +192,10 @@ func (client LinkedServerClient) DeleteResponder(resp *http.Response) (result au } // Get gets the detailed information about a linked server of a redis cache (requires Premium SKU). -// -// resourceGroupName is the name of the resource group. name is the name of the redis cache. linkedServerName is -// the name of the linked server. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the redis cache. +// linkedServerName - the name of the linked server. func (client LinkedServerClient) Get(ctx context.Context, resourceGroupName string, name string, linkedServerName string) (result LinkedServerWithProperties, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, name, linkedServerName) if err != nil { @@ -258,8 +261,9 @@ func (client LinkedServerClient) GetResponder(resp *http.Response) (result Linke } // List gets the list of linked servers associated with this redis cache (requires Premium SKU). -// -// resourceGroupName is the name of the resource group. name is the name of the redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the redis cache. func (client LinkedServerClient) List(ctx context.Context, resourceGroupName string, name string) (result LinkedServerWithPropertiesListPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, resourceGroupName, name) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go index f24c2b011669..a92e1abcc981 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go @@ -41,9 +41,10 @@ func NewPatchSchedulesClientWithBaseURI(baseURI string, subscriptionID string) P } // CreateOrUpdate create or replace the patching schedule for Redis cache (requires Premium SKU). -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. parameters is -// parameters to set the patching schedule for Redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// parameters - parameters to set the patching schedule for Redis cache. func (client PatchSchedulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, parameters PatchSchedule) (result PatchSchedule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -118,8 +119,9 @@ func (client PatchSchedulesClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes the patching schedule of a redis cache (requires Premium SKU). -// -// resourceGroupName is the name of the resource group. name is the name of the redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the redis cache. func (client PatchSchedulesClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, name) if err != nil { @@ -184,8 +186,9 @@ func (client PatchSchedulesClient) DeleteResponder(resp *http.Response) (result } // Get gets the patching schedule of a redis cache (requires Premium SKU). -// -// resourceGroupName is the name of the resource group. name is the name of the redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the redis cache. func (client PatchSchedulesClient) Get(ctx context.Context, resourceGroupName string, name string) (result PatchSchedule, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, name) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go index 888a76908d29..7deb4ffc0048 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go @@ -41,8 +41,8 @@ func NewClientWithBaseURI(baseURI string, subscriptionID string) Client { } // CheckNameAvailability checks that the redis cache name is valid and is not already in use. -// -// parameters is parameters supplied to the CheckNameAvailability Redis operation. +// Parameters: +// parameters - parameters supplied to the CheckNameAvailability Redis operation. func (client Client) CheckNameAvailability(ctx context.Context, parameters CheckNameAvailabilityParameters) (result autorest.Response, err error) { req, err := client.CheckNameAvailabilityPreparer(ctx, parameters) if err != nil { @@ -106,9 +106,10 @@ func (client Client) CheckNameAvailabilityResponder(resp *http.Response) (result } // Create create or replace (overwrite/recreate, with potential downtime) an existing Redis cache. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. parameters is -// parameters supplied to the Create Redis operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// parameters - parameters supplied to the Create Redis operation. func (client Client) Create(ctx context.Context, resourceGroupName string, name string, parameters CreateParameters) (result CreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -191,8 +192,9 @@ func (client Client) CreateResponder(resp *http.Response) (result ResourceType, } // Delete deletes a Redis cache. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. func (client Client) Delete(ctx context.Context, resourceGroupName string, name string) (result DeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, name) if err != nil { @@ -258,9 +260,10 @@ func (client Client) DeleteResponder(resp *http.Response) (result autorest.Respo } // ExportData export data from the redis cache to blobs in a container. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. parameters is -// parameters for Redis export operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// parameters - parameters for Redis export operation. func (client Client) ExportData(ctx context.Context, resourceGroupName string, name string, parameters ExportRDBParameters) (result ExportDataFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -336,9 +339,10 @@ func (client Client) ExportDataResponder(resp *http.Response) (result autorest.R // ForceReboot reboot specified Redis node(s). This operation requires write permission to the cache resource. There // can be potential data loss. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. parameters is -// specifies which Redis node(s) to reboot. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// parameters - specifies which Redis node(s) to reboot. func (client Client) ForceReboot(ctx context.Context, resourceGroupName string, name string, parameters RebootParameters) (result ForceRebootResponse, err error) { req, err := client.ForceRebootPreparer(ctx, resourceGroupName, name, parameters) if err != nil { @@ -405,8 +409,9 @@ func (client Client) ForceRebootResponder(resp *http.Response) (result ForceRebo } // Get gets a Redis cache (resource description). -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. func (client Client) Get(ctx context.Context, resourceGroupName string, name string) (result ResourceType, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, name) if err != nil { @@ -471,9 +476,10 @@ func (client Client) GetResponder(resp *http.Response) (result ResourceType, err } // ImportData import data into Redis cache. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. parameters is -// parameters for Redis import operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// parameters - parameters for Redis import operation. func (client Client) ImportData(ctx context.Context, resourceGroupName string, name string, parameters ImportRDBParameters) (result ImportDataFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -637,8 +643,8 @@ func (client Client) ListComplete(ctx context.Context) (result ListResultIterato } // ListByResourceGroup lists all Redis caches in a resource group. -// -// resourceGroupName is the name of the resource group. +// Parameters: +// resourceGroupName - the name of the resource group. func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -730,8 +736,9 @@ func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGr } // ListKeys retrieve a Redis cache's access keys. This operation requires write permission to the cache resource. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. func (client Client) ListKeys(ctx context.Context, resourceGroupName string, name string) (result AccessKeys, err error) { req, err := client.ListKeysPreparer(ctx, resourceGroupName, name) if err != nil { @@ -796,9 +803,10 @@ func (client Client) ListKeysResponder(resp *http.Response) (result AccessKeys, } // ListUpgradeNotifications gets any upgrade notifications for a Redis cache. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. history is how many -// minutes in past to look for upgrade notifications +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// history - how many minutes in past to look for upgrade notifications func (client Client) ListUpgradeNotifications(ctx context.Context, resourceGroupName string, name string, history float64) (result NotificationListResponse, err error) { req, err := client.ListUpgradeNotificationsPreparer(ctx, resourceGroupName, name, history) if err != nil { @@ -864,9 +872,10 @@ func (client Client) ListUpgradeNotificationsResponder(resp *http.Response) (res } // RegenerateKey regenerate Redis cache's access keys. This operation requires write permission to the cache resource. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. parameters is -// specifies which key to regenerate. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// parameters - specifies which key to regenerate. func (client Client) RegenerateKey(ctx context.Context, resourceGroupName string, name string, parameters RegenerateKeyParameters) (result AccessKeys, err error) { req, err := client.RegenerateKeyPreparer(ctx, resourceGroupName, name, parameters) if err != nil { @@ -933,9 +942,10 @@ func (client Client) RegenerateKeyResponder(resp *http.Response) (result AccessK } // Update update an existing Redis cache. -// -// resourceGroupName is the name of the resource group. name is the name of the Redis cache. parameters is -// parameters supplied to the Update Redis operation. +// Parameters: +// resourceGroupName - the name of the resource group. +// name - the name of the Redis cache. +// parameters - parameters supplied to the Update Redis operation. func (client Client) Update(ctx context.Context, resourceGroupName string, name string, parameters UpdateParameters) (result ResourceType, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, name, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go index 33474add3b69..ecbd691263a4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go @@ -42,8 +42,8 @@ func NewClientWithBaseURI(baseURI string) Client { } // Get gets details about a specified subscription. -// -// subscriptionID is the ID of the target subscription. +// Parameters: +// subscriptionID - the ID of the target subscription. func (client Client) Get(ctx context.Context, subscriptionID string) (result Subscription, err error) { req, err := client.GetPreparer(ctx, subscriptionID) if err != nil { @@ -193,8 +193,8 @@ func (client Client) ListComplete(ctx context.Context) (result ListResultIterato // ListLocations this operation provides all the locations that are available for resource providers; however, each // resource provider may support a subset of this list. -// -// subscriptionID is the ID of the target subscription. +// Parameters: +// subscriptionID - the ID of the target subscription. func (client Client) ListLocations(ctx context.Context, subscriptionID string) (result LocationListResult, err error) { req, err := client.ListLocationsPreparer(ctx, subscriptionID) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/managementlocks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/managementlocks.go index f5253b4c72b7..f197b767b846 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/managementlocks.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/managementlocks.go @@ -45,10 +45,11 @@ func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) // lock. To create management locks, you must have access to Microsoft.Authorization/* or // Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted // those actions. -// -// resourceGroupName is the name of the resource group to lock. lockName is the lock name. The lock name can be a -// maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters. parameters is the -// management lock parameters. +// Parameters: +// resourceGroupName - the name of the resource group to lock. +// lockName - the lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, +// \, ?, /, or any control characters. +// parameters - the management lock parameters. func (client ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -127,12 +128,15 @@ func (client ManagementLocksClient) CreateOrUpdateAtResourceGroupLevelResponder( // CreateOrUpdateAtResourceLevel when you apply a lock at a parent scope, all child resources inherit the same lock. To // create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* // actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions. -// -// resourceGroupName is the name of the resource group containing the resource to lock. resourceProviderNamespace -// is the resource provider namespace of the resource to lock. parentResourcePath is the parent resource identity. -// resourceType is the resource type of the resource to lock. resourceName is the name of the resource to lock. -// lockName is the name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, -// \, ?, /, or any control characters. parameters is parameters for creating or updating a management lock. +// Parameters: +// resourceGroupName - the name of the resource group containing the resource to lock. +// resourceProviderNamespace - the resource provider namespace of the resource to lock. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the resource to lock. +// resourceName - the name of the resource to lock. +// lockName - the name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, +// :, \, ?, /, or any control characters. +// parameters - parameters for creating or updating a management lock. func (client ManagementLocksClient) CreateOrUpdateAtResourceLevel(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -216,9 +220,10 @@ func (client ManagementLocksClient) CreateOrUpdateAtResourceLevelResponder(resp // lock. To create management locks, you must have access to Microsoft.Authorization/* or // Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted // those actions. -// -// lockName is the name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, -// \, ?, /, or any control characters. parameters is the management lock parameters. +// Parameters: +// lockName - the name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, +// :, \, ?, /, or any control characters. +// parameters - the management lock parameters. func (client ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel(ctx context.Context, lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -290,12 +295,14 @@ func (client ManagementLocksClient) CreateOrUpdateAtSubscriptionLevelResponder(r } // CreateOrUpdateByScope create or update a management lock by scope. -// -// scope is the scope for the lock. When providing a scope for the assignment, use +// Parameters: +// scope - the scope for the lock. When providing a scope for the assignment, use // '/subscriptions/{subscriptionId}' for subscriptions, // '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and // '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' -// for resources. lockName is the name of lock. parameters is create or update management lock parameters. +// for resources. +// lockName - the name of lock. +// parameters - create or update management lock parameters. func (client ManagementLocksClient) CreateOrUpdateByScope(ctx context.Context, scope string, lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -369,8 +376,9 @@ func (client ManagementLocksClient) CreateOrUpdateByScopeResponder(resp *http.Re // DeleteAtResourceGroupLevel to delete management locks, you must have access to Microsoft.Authorization/* or // Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted // those actions. -// -// resourceGroupName is the name of the resource group containing the lock. lockName is the name of lock to delete. +// Parameters: +// resourceGroupName - the name of the resource group containing the lock. +// lockName - the name of lock to delete. func (client ManagementLocksClient) DeleteAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -444,12 +452,13 @@ func (client ManagementLocksClient) DeleteAtResourceGroupLevelResponder(resp *ht // DeleteAtResourceLevel to delete management locks, you must have access to Microsoft.Authorization/* or // Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted // those actions. -// -// resourceGroupName is the name of the resource group containing the resource with the lock to delete. -// resourceProviderNamespace is the resource provider namespace of the resource with the lock to delete. -// parentResourcePath is the parent resource identity. resourceType is the resource type of the resource with the -// lock to delete. resourceName is the name of the resource with the lock to delete. lockName is the name of the -// lock to delete. +// Parameters: +// resourceGroupName - the name of the resource group containing the resource with the lock to delete. +// resourceProviderNamespace - the resource provider namespace of the resource with the lock to delete. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the resource with the lock to delete. +// resourceName - the name of the resource with the lock to delete. +// lockName - the name of the lock to delete. func (client ManagementLocksClient) DeleteAtResourceLevel(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -527,8 +536,8 @@ func (client ManagementLocksClient) DeleteAtResourceLevelResponder(resp *http.Re // DeleteAtSubscriptionLevel to delete management locks, you must have access to Microsoft.Authorization/* or // Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted // those actions. -// -// lockName is the name of lock to delete. +// Parameters: +// lockName - the name of lock to delete. func (client ManagementLocksClient) DeleteAtSubscriptionLevel(ctx context.Context, lockName string) (result autorest.Response, err error) { req, err := client.DeleteAtSubscriptionLevelPreparer(ctx, lockName) if err != nil { @@ -591,8 +600,9 @@ func (client ManagementLocksClient) DeleteAtSubscriptionLevelResponder(resp *htt } // DeleteByScope delete a management lock by scope. -// -// scope is the scope for the lock. lockName is the name of lock. +// Parameters: +// scope - the scope for the lock. +// lockName - the name of lock. func (client ManagementLocksClient) DeleteByScope(ctx context.Context, scope string, lockName string) (result autorest.Response, err error) { req, err := client.DeleteByScopePreparer(ctx, scope, lockName) if err != nil { @@ -655,8 +665,9 @@ func (client ManagementLocksClient) DeleteByScopeResponder(resp *http.Response) } // GetAtResourceGroupLevel gets a management lock at the resource group level. -// -// resourceGroupName is the name of the locked resource group. lockName is the name of the lock to get. +// Parameters: +// resourceGroupName - the name of the locked resource group. +// lockName - the name of the lock to get. func (client ManagementLocksClient) GetAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string) (result ManagementLockObject, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -729,11 +740,13 @@ func (client ManagementLocksClient) GetAtResourceGroupLevelResponder(resp *http. } // GetAtResourceLevel get the management lock of a resource or any level below resource. -// -// resourceGroupName is the name of the resource group. resourceProviderNamespace is the namespace of the resource -// provider. parentResourcePath is an extra path parameter needed in some services, like SQL Databases. -// resourceType is the type of the resource. resourceName is the name of the resource. lockName is the name of -// lock. +// Parameters: +// resourceGroupName - the name of the resource group. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - an extra path parameter needed in some services, like SQL Databases. +// resourceType - the type of the resource. +// resourceName - the name of the resource. +// lockName - the name of lock. func (client ManagementLocksClient) GetAtResourceLevel(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string) (result ManagementLockObject, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -810,8 +823,8 @@ func (client ManagementLocksClient) GetAtResourceLevelResponder(resp *http.Respo } // GetAtSubscriptionLevel gets a management lock at the subscription level. -// -// lockName is the name of the lock to get. +// Parameters: +// lockName - the name of the lock to get. func (client ManagementLocksClient) GetAtSubscriptionLevel(ctx context.Context, lockName string) (result ManagementLockObject, err error) { req, err := client.GetAtSubscriptionLevelPreparer(ctx, lockName) if err != nil { @@ -875,8 +888,9 @@ func (client ManagementLocksClient) GetAtSubscriptionLevelResponder(resp *http.R } // GetByScope get a management lock by scope. -// -// scope is the scope for the lock. lockName is the name of lock. +// Parameters: +// scope - the scope for the lock. +// lockName - the name of lock. func (client ManagementLocksClient) GetByScope(ctx context.Context, scope string, lockName string) (result ManagementLockObject, err error) { req, err := client.GetByScopePreparer(ctx, scope, lockName) if err != nil { @@ -940,9 +954,9 @@ func (client ManagementLocksClient) GetByScopeResponder(resp *http.Response) (re } // ListAtResourceGroupLevel gets all the management locks for a resource group. -// -// resourceGroupName is the name of the resource group containing the locks to get. filter is the filter to apply -// on the operation. +// Parameters: +// resourceGroupName - the name of the resource group containing the locks to get. +// filter - the filter to apply on the operation. func (client ManagementLocksClient) ListAtResourceGroupLevel(ctx context.Context, resourceGroupName string, filter string) (result ManagementLockListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1045,11 +1059,14 @@ func (client ManagementLocksClient) ListAtResourceGroupLevelComplete(ctx context } // ListAtResourceLevel gets all the management locks for a resource or any level below resource. -// -// resourceGroupName is the name of the resource group containing the locked resource. The name is case -// insensitive. resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the -// parent resource identity. resourceType is the resource type of the locked resource. resourceName is the name of -// the locked resource. filter is the filter to apply on the operation. +// Parameters: +// resourceGroupName - the name of the resource group containing the locked resource. The name is case +// insensitive. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the locked resource. +// resourceName - the name of the locked resource. +// filter - the filter to apply on the operation. func (client ManagementLocksClient) ListAtResourceLevel(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (result ManagementLockListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1156,8 +1173,8 @@ func (client ManagementLocksClient) ListAtResourceLevelComplete(ctx context.Cont } // ListAtSubscriptionLevel gets all the management locks for a subscription. -// -// filter is the filter to apply on the operation. +// Parameters: +// filter - the filter to apply on the operation. func (client ManagementLocksClient) ListAtSubscriptionLevel(ctx context.Context, filter string) (result ManagementLockListResultPage, err error) { result.fn = client.listAtSubscriptionLevelNextResults req, err := client.ListAtSubscriptionLevelPreparer(ctx, filter) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/assignments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/assignments.go index 379c11663deb..decb6eeee722 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/assignments.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/assignments.go @@ -43,9 +43,10 @@ func NewAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) Assi // Create policy assignments are inherited by child resources. For example, when you apply a policy to a resource group // that policy is assigned to all resources in the group. -// -// scope is the scope of the policy assignment. policyAssignmentName is the name of the policy assignment. -// parameters is parameters for the policy assignment. +// Parameters: +// scope - the scope of the policy assignment. +// policyAssignmentName - the name of the policy assignment. +// parameters - parameters for the policy assignment. func (client AssignmentsClient) Create(ctx context.Context, scope string, policyAssignmentName string, parameters Assignment) (result Assignment, err error) { req, err := client.CreatePreparer(ctx, scope, policyAssignmentName, parameters) if err != nil { @@ -116,10 +117,10 @@ func (client AssignmentsClient) CreateResponder(resp *http.Response) (result Ass // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for resource groups, and // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider-namespace}/{resource-type}/{resource-name}' // for resources. -// -// policyAssignmentID is the ID of the policy assignment to create. Use the format -// '/{scope}/providers/Microsoft.Authorization/policyAssignments/{policy-assignment-name}'. parameters is -// parameters for policy assignment. +// Parameters: +// policyAssignmentID - the ID of the policy assignment to create. Use the format +// '/{scope}/providers/Microsoft.Authorization/policyAssignments/{policy-assignment-name}'. +// parameters - parameters for policy assignment. func (client AssignmentsClient) CreateByID(ctx context.Context, policyAssignmentID string, parameters Assignment) (result Assignment, err error) { req, err := client.CreateByIDPreparer(ctx, policyAssignmentID, parameters) if err != nil { @@ -184,9 +185,9 @@ func (client AssignmentsClient) CreateByIDResponder(resp *http.Response) (result } // Delete deletes a policy assignment. -// -// scope is the scope of the policy assignment. policyAssignmentName is the name of the policy assignment to -// delete. +// Parameters: +// scope - the scope of the policy assignment. +// policyAssignmentName - the name of the policy assignment to delete. func (client AssignmentsClient) Delete(ctx context.Context, scope string, policyAssignmentName string) (result Assignment, err error) { req, err := client.DeletePreparer(ctx, scope, policyAssignmentName) if err != nil { @@ -253,8 +254,8 @@ func (client AssignmentsClient) DeleteResponder(resp *http.Response) (result Ass // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for resource groups, and // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider-namespace}/{resource-type}/{resource-name}' // for resources. -// -// policyAssignmentID is the ID of the policy assignment to delete. Use the format +// Parameters: +// policyAssignmentID - the ID of the policy assignment to delete. Use the format // '/{scope}/providers/Microsoft.Authorization/policyAssignments/{policy-assignment-name}'. func (client AssignmentsClient) DeleteByID(ctx context.Context, policyAssignmentID string) (result Assignment, err error) { req, err := client.DeleteByIDPreparer(ctx, policyAssignmentID) @@ -318,8 +319,9 @@ func (client AssignmentsClient) DeleteByIDResponder(resp *http.Response) (result } // Get gets a policy assignment. -// -// scope is the scope of the policy assignment. policyAssignmentName is the name of the policy assignment to get. +// Parameters: +// scope - the scope of the policy assignment. +// policyAssignmentName - the name of the policy assignment to get. func (client AssignmentsClient) Get(ctx context.Context, scope string, policyAssignmentName string) (result Assignment, err error) { req, err := client.GetPreparer(ctx, scope, policyAssignmentName) if err != nil { @@ -386,8 +388,8 @@ func (client AssignmentsClient) GetResponder(resp *http.Response) (result Assign // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for resource groups, and // '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider-namespace}/{resource-type}/{resource-name}' // for resources. -// -// policyAssignmentID is the ID of the policy assignment to get. Use the format +// Parameters: +// policyAssignmentID - the ID of the policy assignment to get. Use the format // '/{scope}/providers/Microsoft.Authorization/policyAssignments/{policy-assignment-name}'. func (client AssignmentsClient) GetByID(ctx context.Context, policyAssignmentID string) (result Assignment, err error) { req, err := client.GetByIDPreparer(ctx, policyAssignmentID) @@ -451,8 +453,8 @@ func (client AssignmentsClient) GetByIDResponder(resp *http.Response) (result As } // List gets all the policy assignments for a subscription. -// -// filter is the filter to apply on the operation. +// Parameters: +// filter - the filter to apply on the operation. func (client AssignmentsClient) List(ctx context.Context, filter string) (result AssignmentListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, filter) @@ -546,11 +548,13 @@ func (client AssignmentsClient) ListComplete(ctx context.Context, filter string) } // ListForResource gets policy assignments for a resource. -// -// resourceGroupName is the name of the resource group containing the resource. The name is case insensitive. -// resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the parent resource -// path. resourceType is the resource type. resourceName is the name of the resource with policy assignments. -// filter is the filter to apply on the operation. +// Parameters: +// resourceGroupName - the name of the resource group containing the resource. The name is case insensitive. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource path. +// resourceType - the resource type. +// resourceName - the name of the resource with policy assignments. +// filter - the filter to apply on the operation. func (client AssignmentsClient) ListForResource(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (result AssignmentListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -657,9 +661,9 @@ func (client AssignmentsClient) ListForResourceComplete(ctx context.Context, res } // ListForResourceGroup gets policy assignments for the resource group. -// -// resourceGroupName is the name of the resource group that contains policy assignments. filter is the filter to -// apply on the operation. +// Parameters: +// resourceGroupName - the name of the resource group that contains policy assignments. +// filter - the filter to apply on the operation. func (client AssignmentsClient) ListForResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result AssignmentListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/definitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/definitions.go index ee27acc17a0a..94f5f6a2a78f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/definitions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/definitions.go @@ -41,9 +41,9 @@ func NewDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) Defi } // CreateOrUpdate creates or updates a policy definition. -// -// policyDefinitionName is the name of the policy definition to create. parameters is the policy definition -// properties. +// Parameters: +// policyDefinitionName - the name of the policy definition to create. +// parameters - the policy definition properties. func (client DefinitionsClient) CreateOrUpdate(ctx context.Context, policyDefinitionName string, parameters Definition) (result Definition, err error) { req, err := client.CreateOrUpdatePreparer(ctx, policyDefinitionName, parameters) if err != nil { @@ -109,9 +109,10 @@ func (client DefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (re } // CreateOrUpdateAtManagementGroup creates or updates a policy definition at management group level. -// -// policyDefinitionName is the name of the policy definition to create. parameters is the policy definition -// properties. managementGroupID is the ID of the management group. +// Parameters: +// policyDefinitionName - the name of the policy definition to create. +// parameters - the policy definition properties. +// managementGroupID - the ID of the management group. func (client DefinitionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, policyDefinitionName string, parameters Definition, managementGroupID string) (result Definition, err error) { req, err := client.CreateOrUpdateAtManagementGroupPreparer(ctx, policyDefinitionName, parameters, managementGroupID) if err != nil { @@ -177,8 +178,8 @@ func (client DefinitionsClient) CreateOrUpdateAtManagementGroupResponder(resp *h } // Delete deletes a policy definition. -// -// policyDefinitionName is the name of the policy definition to delete. +// Parameters: +// policyDefinitionName - the name of the policy definition to delete. func (client DefinitionsClient) Delete(ctx context.Context, policyDefinitionName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, policyDefinitionName) if err != nil { @@ -241,9 +242,9 @@ func (client DefinitionsClient) DeleteResponder(resp *http.Response) (result aut } // DeleteAtManagementGroup deletes a policy definition at management group level. -// -// policyDefinitionName is the name of the policy definition to delete. managementGroupID is the ID of the -// management group. +// Parameters: +// policyDefinitionName - the name of the policy definition to delete. +// managementGroupID - the ID of the management group. func (client DefinitionsClient) DeleteAtManagementGroup(ctx context.Context, policyDefinitionName string, managementGroupID string) (result autorest.Response, err error) { req, err := client.DeleteAtManagementGroupPreparer(ctx, policyDefinitionName, managementGroupID) if err != nil { @@ -306,8 +307,8 @@ func (client DefinitionsClient) DeleteAtManagementGroupResponder(resp *http.Resp } // Get gets the policy definition. -// -// policyDefinitionName is the name of the policy definition to get. +// Parameters: +// policyDefinitionName - the name of the policy definition to get. func (client DefinitionsClient) Get(ctx context.Context, policyDefinitionName string) (result Definition, err error) { req, err := client.GetPreparer(ctx, policyDefinitionName) if err != nil { @@ -371,9 +372,9 @@ func (client DefinitionsClient) GetResponder(resp *http.Response) (result Defini } // GetAtManagementGroup gets the policy definition at management group level. -// -// policyDefinitionName is the name of the policy definition to get. managementGroupID is the ID of the management -// group. +// Parameters: +// policyDefinitionName - the name of the policy definition to get. +// managementGroupID - the ID of the management group. func (client DefinitionsClient) GetAtManagementGroup(ctx context.Context, policyDefinitionName string, managementGroupID string) (result Definition, err error) { req, err := client.GetAtManagementGroupPreparer(ctx, policyDefinitionName, managementGroupID) if err != nil { @@ -437,8 +438,8 @@ func (client DefinitionsClient) GetAtManagementGroupResponder(resp *http.Respons } // GetBuiltIn gets the built in policy definition. -// -// policyDefinitionName is the name of the built in policy definition to get. +// Parameters: +// policyDefinitionName - the name of the built in policy definition to get. func (client DefinitionsClient) GetBuiltIn(ctx context.Context, policyDefinitionName string) (result Definition, err error) { req, err := client.GetBuiltInPreparer(ctx, policyDefinitionName) if err != nil { @@ -677,8 +678,8 @@ func (client DefinitionsClient) ListBuiltInComplete(ctx context.Context) (result } // ListByManagementGroup gets all the policy definitions for a subscription at management group level. -// -// managementGroupID is the ID of the management group. +// Parameters: +// managementGroupID - the ID of the management group. func (client DefinitionsClient) ListByManagementGroup(ctx context.Context, managementGroupID string) (result DefinitionListResultPage, err error) { result.fn = client.listByManagementGroupNextResults req, err := client.ListByManagementGroupPreparer(ctx, managementGroupID) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deploymentoperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deploymentoperations.go index 6511bc72bf5c..7ca7a807d32a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deploymentoperations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deploymentoperations.go @@ -41,9 +41,10 @@ func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID str } // Get gets a deployments operation. -// -// resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of -// the deployment. operationID is the ID of the operation to get. +// Parameters: +// resourceGroupName - the name of the resource group. The name is case insensitive. +// deploymentName - the name of the deployment. +// operationID - the ID of the operation to get. func (client DeploymentOperationsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -121,9 +122,10 @@ func (client DeploymentOperationsClient) GetResponder(resp *http.Response) (resu } // List gets all deployments operations for a deployment. -// -// resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of -// the deployment with the operation to get. top is the number of results to return. +// Parameters: +// resourceGroupName - the name of the resource group. The name is case insensitive. +// deploymentName - the name of the deployment with the operation to get. +// top - the number of results to return. func (client DeploymentOperationsClient) List(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deployments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deployments.go index 17e338c23f45..df1779aff929 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deployments.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/deployments.go @@ -43,9 +43,9 @@ func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) Depl // Cancel you can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is // canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running // template deployment and leaves the resource group partially deployed. -// -// resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of -// the deployment to cancel. +// Parameters: +// resourceGroupName - the name of the resource group. The name is case insensitive. +// deploymentName - the name of the deployment to cancel. func (client DeploymentsClient) Cancel(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -121,9 +121,10 @@ func (client DeploymentsClient) CancelResponder(resp *http.Response) (result aut } // CheckExistence checks whether the deployment exists. -// -// resourceGroupName is the name of the resource group with the deployment to check. The name is case insensitive. -// deploymentName is the name of the deployment to check. +// Parameters: +// resourceGroupName - the name of the resource group with the deployment to check. The name is case +// insensitive. +// deploymentName - the name of the deployment to check. func (client DeploymentsClient) CheckExistence(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -199,10 +200,11 @@ func (client DeploymentsClient) CheckExistenceResponder(resp *http.Response) (re } // CreateOrUpdate you can provide the template and parameters directly in the request or link to JSON files. -// -// resourceGroupName is the name of the resource group to deploy the resources to. The name is case insensitive. -// The resource group must already exist. deploymentName is the name of the deployment. parameters is additional -// parameters supplied to the operation. +// Parameters: +// resourceGroupName - the name of the resource group to deploy the resources to. The name is case insensitive. +// The resource group must already exist. +// deploymentName - the name of the deployment. +// parameters - additional parameters supplied to the operation. func (client DeploymentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -296,9 +298,10 @@ func (client DeploymentsClient) CreateOrUpdateResponder(resp *http.Response) (re // process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the // URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the // Location header returns an error-level status code. -// -// resourceGroupName is the name of the resource group with the deployment to delete. The name is case insensitive. -// deploymentName is the name of the deployment to delete. +// Parameters: +// resourceGroupName - the name of the resource group with the deployment to delete. The name is case +// insensitive. +// deploymentName - the name of the deployment to delete. func (client DeploymentsClient) Delete(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentsDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -376,9 +379,9 @@ func (client DeploymentsClient) DeleteResponder(resp *http.Response) (result aut } // ExportTemplate exports the template used for specified deployment. -// -// resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of -// the deployment from which to get the template. +// Parameters: +// resourceGroupName - the name of the resource group. The name is case insensitive. +// deploymentName - the name of the deployment from which to get the template. func (client DeploymentsClient) ExportTemplate(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExportResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -455,9 +458,9 @@ func (client DeploymentsClient) ExportTemplateResponder(resp *http.Response) (re } // Get gets a deployment. -// -// resourceGroupName is the name of the resource group. The name is case insensitive. deploymentName is the name of -// the deployment to get. +// Parameters: +// resourceGroupName - the name of the resource group. The name is case insensitive. +// deploymentName - the name of the deployment to get. func (client DeploymentsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExtended, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -534,10 +537,12 @@ func (client DeploymentsClient) GetResponder(resp *http.Response) (result Deploy } // ListByResourceGroup get all the deployments for a resource group. -// -// resourceGroupName is the name of the resource group with the deployments to get. The name is case insensitive. -// filter is the filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. -// top is the number of results to get. If null is passed, returns all deployments. +// Parameters: +// resourceGroupName - the name of the resource group with the deployments to get. The name is case +// insensitive. +// filter - the filter to apply on the operation. For example, you can use $filter=provisioningState eq +// '{state}'. +// top - the number of results to get. If null is passed, returns all deployments. func (client DeploymentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DeploymentListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -644,9 +649,11 @@ func (client DeploymentsClient) ListByResourceGroupComplete(ctx context.Context, // Validate validates whether the specified template is syntactically correct and will be accepted by Azure Resource // Manager.. -// -// resourceGroupName is the name of the resource group the template will be deployed to. The name is case -// insensitive. deploymentName is the name of the deployment. parameters is parameters to validate. +// Parameters: +// resourceGroupName - the name of the resource group the template will be deployed to. The name is case +// insensitive. +// deploymentName - the name of the deployment. +// parameters - parameters to validate. func (client DeploymentsClient) Validate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/groups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/groups.go index 519ba3ada919..ad361bc9d3c2 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/groups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/groups.go @@ -41,8 +41,8 @@ func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsCli } // CheckExistence checks whether a resource group exists. -// -// resourceGroupName is the name of the resource group to check. The name is case insensitive. +// Parameters: +// resourceGroupName - the name of the resource group to check. The name is case insensitive. func (client GroupsClient) CheckExistence(ctx context.Context, resourceGroupName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -113,9 +113,9 @@ func (client GroupsClient) CheckExistenceResponder(resp *http.Response) (result } // CreateOrUpdate creates or updates a resource group. -// -// resourceGroupName is the name of the resource group to create or update. parameters is parameters supplied to -// the create or update a resource group. +// Parameters: +// resourceGroupName - the name of the resource group to create or update. +// parameters - parameters supplied to the create or update a resource group. func (client GroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, parameters Group) (result Group, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -192,8 +192,8 @@ func (client GroupsClient) CreateOrUpdateResponder(resp *http.Response) (result // Delete when you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes // all of its template deployments and currently stored operations. -// -// resourceGroupName is the name of the resource group to delete. The name is case insensitive. +// Parameters: +// resourceGroupName - the name of the resource group to delete. The name is case insensitive. func (client GroupsClient) Delete(ctx context.Context, resourceGroupName string) (result GroupsDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -266,9 +266,9 @@ func (client GroupsClient) DeleteResponder(resp *http.Response) (result autorest } // ExportTemplate captures the specified resource group as a template. -// -// resourceGroupName is the name of the resource group to export as a template. parameters is parameters for -// exporting the template. +// Parameters: +// resourceGroupName - the name of the resource group to export as a template. +// parameters - parameters for exporting the template. func (client GroupsClient) ExportTemplate(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest) (result GroupExportResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -342,8 +342,8 @@ func (client GroupsClient) ExportTemplateResponder(resp *http.Response) (result } // Get gets a resource group. -// -// resourceGroupName is the name of the resource group to get. The name is case insensitive. +// Parameters: +// resourceGroupName - the name of the resource group to get. The name is case insensitive. func (client GroupsClient) Get(ctx context.Context, resourceGroupName string) (result Group, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -415,9 +415,9 @@ func (client GroupsClient) GetResponder(resp *http.Response) (result Group, err } // List gets all the resource groups for a subscription. -// -// filter is the filter to apply on the operation. top is the number of results to return. If null is passed, -// returns all resource groups. +// Parameters: +// filter - the filter to apply on the operation. +// top - the number of results to return. If null is passed, returns all resource groups. func (client GroupsClient) List(ctx context.Context, filter string, top *int32) (result GroupListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, filter, top) @@ -515,9 +515,9 @@ func (client GroupsClient) ListComplete(ctx context.Context, filter string, top // Update resource groups can be updated through a simple PATCH operation to a group address. The format of the request // is the same as that for creating a resource group. If a field is unspecified, the current value is retained. -// -// resourceGroupName is the name of the resource group to update. The name is case insensitive. parameters is -// parameters supplied to update a resource group. +// Parameters: +// resourceGroupName - the name of the resource group to update. The name is case insensitive. +// parameters - parameters supplied to update a resource group. func (client GroupsClient) Update(ctx context.Context, resourceGroupName string, parameters GroupPatchable) (result Group, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/providers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/providers.go index 8a744050e1db..d1b998cf59e3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/providers.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/providers.go @@ -40,9 +40,10 @@ func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) Provid } // Get gets the specified resource provider. -// -// resourceProviderNamespace is the namespace of the resource provider. expand is the $expand query parameter. For -// example, to include property aliases in response, use $expand=resourceTypes/aliases. +// Parameters: +// resourceProviderNamespace - the namespace of the resource provider. +// expand - the $expand query parameter. For example, to include property aliases in response, use +// $expand=resourceTypes/aliases. func (client ProvidersClient) Get(ctx context.Context, resourceProviderNamespace string, expand string) (result Provider, err error) { req, err := client.GetPreparer(ctx, resourceProviderNamespace, expand) if err != nil { @@ -109,10 +110,11 @@ func (client ProvidersClient) GetResponder(resp *http.Response) (result Provider } // List gets all resource providers for a subscription. -// -// top is the number of results to return. If null is passed returns all deployments. expand is the properties to -// include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider -// metadata. To include property aliases in response, use $expand=resourceTypes/aliases. +// Parameters: +// top - the number of results to return. If null is passed returns all deployments. +// expand - the properties to include in the results. For example, use &$expand=metadata in the query string to +// retrieve resource provider metadata. To include property aliases in response, use +// $expand=resourceTypes/aliases. func (client ProvidersClient) List(ctx context.Context, top *int32, expand string) (result ProviderListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, top, expand) @@ -209,8 +211,8 @@ func (client ProvidersClient) ListComplete(ctx context.Context, top *int32, expa } // Register registers a subscription with a resource provider. -// -// resourceProviderNamespace is the namespace of the resource provider to register. +// Parameters: +// resourceProviderNamespace - the namespace of the resource provider to register. func (client ProvidersClient) Register(ctx context.Context, resourceProviderNamespace string) (result Provider, err error) { req, err := client.RegisterPreparer(ctx, resourceProviderNamespace) if err != nil { @@ -274,8 +276,8 @@ func (client ProvidersClient) RegisterResponder(resp *http.Response) (result Pro } // Unregister unregisters a subscription from a resource provider. -// -// resourceProviderNamespace is the namespace of the resource provider to unregister. +// Parameters: +// resourceProviderNamespace - the namespace of the resource provider to unregister. func (client ProvidersClient) Unregister(ctx context.Context, resourceProviderNamespace string) (result Provider, err error) { req, err := client.UnregisterPreparer(ctx, resourceProviderNamespace) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/resources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/resources.go index 1e6765e3f2c5..5ea79e2684d3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/resources.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/resources.go @@ -41,11 +41,13 @@ func NewClientWithBaseURI(baseURI string, subscriptionID string) Client { } // CheckExistence checks whether a resource exists. -// -// resourceGroupName is the name of the resource group containing the resource to check. The name is case -// insensitive. resourceProviderNamespace is the resource provider of the resource to check. parentResourcePath is -// the parent resource identity. resourceType is the resource type. resourceName is the name of the resource to -// check whether it exists. +// Parameters: +// resourceGroupName - the name of the resource group containing the resource to check. The name is case +// insensitive. +// resourceProviderNamespace - the resource provider of the resource to check. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type. +// resourceName - the name of the resource to check whether it exists. func (client Client) CheckExistence(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -120,8 +122,8 @@ func (client Client) CheckExistenceResponder(resp *http.Response) (result autore } // CheckExistenceByID checks by ID whether a resource exists. -// -// resourceID is the fully qualified ID of the resource, including the resource name and resource type. Use the +// Parameters: +// resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the // format, // /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} func (client Client) CheckExistenceByID(ctx context.Context, resourceID string) (result autorest.Response, err error) { @@ -185,11 +187,13 @@ func (client Client) CheckExistenceByIDResponder(resp *http.Response) (result au } // CreateOrUpdate creates a resource. -// -// resourceGroupName is the name of the resource group for the resource. The name is case insensitive. -// resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the parent resource -// identity. resourceType is the resource type of the resource to create. resourceName is the name of the resource -// to create. parameters is parameters for creating or updating the resource. +// Parameters: +// resourceGroupName - the name of the resource group for the resource. The name is case insensitive. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the resource to create. +// resourceName - the name of the resource to create. +// parameters - parameters for creating or updating the resource. func (client Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result CreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -272,11 +276,11 @@ func (client Client) CreateOrUpdateResponder(resp *http.Response) (result Generi } // CreateOrUpdateByID create a resource by ID. -// -// resourceID is the fully qualified ID of the resource, including the resource name and resource type. Use the +// Parameters: +// resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the // format, // /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} -// parameters is create or update resource parameters. +// parameters - create or update resource parameters. func (client Client) CreateOrUpdateByID(ctx context.Context, resourceID string, parameters GenericResource) (result CreateOrUpdateByIDFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -350,10 +354,13 @@ func (client Client) CreateOrUpdateByIDResponder(resp *http.Response) (result Ge } // Delete deletes a resource. -// -// resourceGroupName is the name of the resource group that contains the resource to delete. The name is case -// insensitive. resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the -// parent resource identity. resourceType is the resource type. resourceName is the name of the resource to delete. +// Parameters: +// resourceGroupName - the name of the resource group that contains the resource to delete. The name is case +// insensitive. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type. +// resourceName - the name of the resource to delete. func (client Client) Delete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result DeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -430,8 +437,8 @@ func (client Client) DeleteResponder(resp *http.Response) (result autorest.Respo } // DeleteByID deletes a resource by ID. -// -// resourceID is the fully qualified ID of the resource, including the resource name and resource type. Use the +// Parameters: +// resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the // format, // /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} func (client Client) DeleteByID(ctx context.Context, resourceID string) (result DeleteByIDFuture, err error) { @@ -497,11 +504,13 @@ func (client Client) DeleteByIDResponder(resp *http.Response) (result autorest.R } // Get gets a resource. -// -// resourceGroupName is the name of the resource group containing the resource to get. The name is case -// insensitive. resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the -// parent resource identity. resourceType is the resource type of the resource. resourceName is the name of the -// resource to get. +// Parameters: +// resourceGroupName - the name of the resource group containing the resource to get. The name is case +// insensitive. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the resource. +// resourceName - the name of the resource to get. func (client Client) Get(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result GenericResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -577,8 +586,8 @@ func (client Client) GetResponder(resp *http.Response) (result GenericResource, } // GetByID gets a resource by ID. -// -// resourceID is the fully qualified ID of the resource, including the resource name and resource type. Use the +// Parameters: +// resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the // format, // /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} func (client Client) GetByID(ctx context.Context, resourceID string) (result GenericResource, err error) { @@ -643,9 +652,10 @@ func (client Client) GetByIDResponder(resp *http.Response) (result GenericResour } // List get all the resources in a subscription. -// -// filter is the filter to apply on the operation. expand is the $expand query parameter. top is the number of -// results to return. If null is passed, returns all resource groups. +// Parameters: +// filter - the filter to apply on the operation. +// expand - the $expand query parameter. +// top - the number of results to return. If null is passed, returns all resource groups. func (client Client) List(ctx context.Context, filter string, expand string, top *int32) (result ListResultPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, filter, expand, top) @@ -745,10 +755,11 @@ func (client Client) ListComplete(ctx context.Context, filter string, expand str } // ListByResourceGroup get all the resources for a resource group. -// -// resourceGroupName is the resource group with the resources to get. filter is the filter to apply on the -// operation. expand is the $expand query parameter top is the number of results to return. If null is passed, -// returns all resources. +// Parameters: +// resourceGroupName - the resource group with the resources to get. +// filter - the filter to apply on the operation. +// expand - the $expand query parameter +// top - the number of results to return. If null is passed, returns all resources. func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (result ListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -859,9 +870,9 @@ func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGr // MoveResources the resources to move must be in the same source resource group. The target resource group may be in a // different subscription. When moving resources, both the source group and the target group are locked for the // duration of the operation. Write and delete operations are blocked on the groups until the move completes. -// -// sourceResourceGroupName is the name of the resource group containing the resources to move. parameters is -// parameters for moving resources. +// Parameters: +// sourceResourceGroupName - the name of the resource group containing the resources to move. +// parameters - parameters for moving resources. func (client Client) MoveResources(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo) (result MoveResourcesFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: sourceResourceGroupName, @@ -936,11 +947,13 @@ func (client Client) MoveResourcesResponder(resp *http.Response) (result autores } // Update updates a resource. -// -// resourceGroupName is the name of the resource group for the resource. The name is case insensitive. -// resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the parent resource -// identity. resourceType is the resource type of the resource to update. resourceName is the name of the resource -// to update. parameters is parameters for updating the resource. +// Parameters: +// resourceGroupName - the name of the resource group for the resource. The name is case insensitive. +// resourceProviderNamespace - the namespace of the resource provider. +// parentResourcePath - the parent resource identity. +// resourceType - the resource type of the resource to update. +// resourceName - the name of the resource to update. +// parameters - parameters for updating the resource. func (client Client) Update(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result UpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1020,11 +1033,11 @@ func (client Client) UpdateResponder(resp *http.Response) (result GenericResourc } // UpdateByID updates a resource by ID. -// -// resourceID is the fully qualified ID of the resource, including the resource name and resource type. Use the +// Parameters: +// resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the // format, // /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} -// parameters is update resource parameters. +// parameters - update resource parameters. func (client Client) UpdateByID(ctx context.Context, resourceID string, parameters GenericResource) (result UpdateByIDFuture, err error) { req, err := client.UpdateByIDPreparer(ctx, resourceID, parameters) if err != nil { @@ -1095,9 +1108,9 @@ func (client Client) UpdateByIDResponder(resp *http.Response) (result GenericRes // subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it // returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to // check the result of the long-running operation. -// -// sourceResourceGroupName is the name of the resource group containing the resources to validate for move. -// parameters is parameters for moving resources. +// Parameters: +// sourceResourceGroupName - the name of the resource group containing the resources to validate for move. +// parameters - parameters for moving resources. func (client Client) ValidateMoveResources(ctx context.Context, sourceResourceGroupName string, parameters MoveInfo) (result ValidateMoveResourcesFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: sourceResourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/tags.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/tags.go index 0a43a24a9bfa..f692f8027fcb 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/tags.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/tags.go @@ -41,8 +41,8 @@ func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient // CreateOrUpdate the tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure // have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes. -// -// tagName is the name of the tag to create. +// Parameters: +// tagName - the name of the tag to create. func (client TagsClient) CreateOrUpdate(ctx context.Context, tagName string) (result TagDetails, err error) { req, err := client.CreateOrUpdatePreparer(ctx, tagName) if err != nil { @@ -106,8 +106,9 @@ func (client TagsClient) CreateOrUpdateResponder(resp *http.Response) (result Ta } // CreateOrUpdateValue creates a tag value. The name of the tag must already exist. -// -// tagName is the name of the tag. tagValue is the value of the tag to create. +// Parameters: +// tagName - the name of the tag. +// tagValue - the value of the tag to create. func (client TagsClient) CreateOrUpdateValue(ctx context.Context, tagName string, tagValue string) (result TagValue, err error) { req, err := client.CreateOrUpdateValuePreparer(ctx, tagName, tagValue) if err != nil { @@ -172,8 +173,8 @@ func (client TagsClient) CreateOrUpdateValueResponder(resp *http.Response) (resu } // Delete you must remove all values from a resource tag before you can delete it. -// -// tagName is the name of the tag. +// Parameters: +// tagName - the name of the tag. func (client TagsClient) Delete(ctx context.Context, tagName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, tagName) if err != nil { @@ -236,8 +237,9 @@ func (client TagsClient) DeleteResponder(resp *http.Response) (result autorest.R } // DeleteValue deletes a tag value. -// -// tagName is the name of the tag. tagValue is the value of the tag to delete. +// Parameters: +// tagName - the name of the tag. +// tagValue - the value of the tag to delete. func (client TagsClient) DeleteValue(ctx context.Context, tagName string, tagValue string) (result autorest.Response, err error) { req, err := client.DeleteValuePreparer(ctx, tagName, tagValue) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/adminkeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/adminkeys.go index 44a870417c91..fe8147dfd28c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/adminkeys.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/adminkeys.go @@ -41,11 +41,12 @@ func NewAdminKeysClientWithBaseURI(baseURI string, subscriptionID string) AdminK } // Get gets the primary and secondary admin API keys for the specified Azure Search service. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service -// associated with the specified resource group. clientRequestID is a client-generated GUID value that identifies -// this request. If specified, this will be included in response information as a way to track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service associated with the specified resource group. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client AdminKeysClient) Get(ctx context.Context, resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (result AdminKeyResult, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, searchServiceName, clientRequestID) if err != nil { @@ -114,12 +115,13 @@ func (client AdminKeysClient) GetResponder(resp *http.Response) (result AdminKey } // Regenerate regenerates either the primary or secondary admin API key. You can only regenerate one key at a time. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service -// associated with the specified resource group. keyKind is specifies which key to regenerate. Valid values include -// 'primary' and 'secondary'. clientRequestID is a client-generated GUID value that identifies this request. If -// specified, this will be included in response information as a way to track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service associated with the specified resource group. +// keyKind - specifies which key to regenerate. Valid values include 'primary' and 'secondary'. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client AdminKeysClient) Regenerate(ctx context.Context, resourceGroupName string, searchServiceName string, keyKind AdminKeyKind, clientRequestID *uuid.UUID) (result AdminKeyResult, err error) { req, err := client.RegeneratePreparer(ctx, resourceGroupName, searchServiceName, keyKind, clientRequestID) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/querykeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/querykeys.go index f997840bd21a..f775a92175dc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/querykeys.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/querykeys.go @@ -41,12 +41,13 @@ func NewQueryKeysClientWithBaseURI(baseURI string, subscriptionID string) QueryK } // Create generates a new query key for the specified Search service. You can create up to 50 query keys per service. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service -// associated with the specified resource group. name is the name of the new query API key. clientRequestID is a -// client-generated GUID value that identifies this request. If specified, this will be included in response -// information as a way to track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service associated with the specified resource group. +// name - the name of the new query API key. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client QueryKeysClient) Create(ctx context.Context, resourceGroupName string, searchServiceName string, name string, clientRequestID *uuid.UUID) (result QueryKey, err error) { req, err := client.CreatePreparer(ctx, resourceGroupName, searchServiceName, name, clientRequestID) if err != nil { @@ -117,12 +118,13 @@ func (client QueryKeysClient) CreateResponder(resp *http.Response) (result Query // Delete deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for // regenerating a query key is to delete and then recreate it. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service -// associated with the specified resource group. key is the query key to be deleted. Query keys are identified by -// value, not by name. clientRequestID is a client-generated GUID value that identifies this request. If specified, -// this will be included in response information as a way to track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service associated with the specified resource group. +// key - the query key to be deleted. Query keys are identified by value, not by name. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client QueryKeysClient) Delete(ctx context.Context, resourceGroupName string, searchServiceName string, key string, clientRequestID *uuid.UUID) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, searchServiceName, key, clientRequestID) if err != nil { @@ -191,11 +193,12 @@ func (client QueryKeysClient) DeleteResponder(resp *http.Response) (result autor } // ListBySearchService returns the list of query API keys for the given Azure Search service. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service -// associated with the specified resource group. clientRequestID is a client-generated GUID value that identifies -// this request. If specified, this will be included in response information as a way to track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service associated with the specified resource group. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client QueryKeysClient) ListBySearchService(ctx context.Context, resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (result ListQueryKeysResult, err error) { req, err := client.ListBySearchServicePreparer(ctx, resourceGroupName, searchServiceName, clientRequestID) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/services.go b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/services.go index 23b70cf2cce6..b7f1d5bd363e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/services.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/services.go @@ -43,10 +43,10 @@ func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) Service // CheckNameAvailability checks whether or not the given Search service name is available for use. Search service names // must be globally unique since they are part of the service URI (https://.search.windows.net). -// -// checkNameAvailabilityInput is the resource name and type to check. clientRequestID is a client-generated GUID -// value that identifies this request. If specified, this will be included in response information as a way to -// track the request. +// Parameters: +// checkNameAvailabilityInput - the resource name and type to check. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client ServicesClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput, clientRequestID *uuid.UUID) (result CheckNameAvailabilityOutput, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: checkNameAvailabilityInput, @@ -123,16 +123,17 @@ func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) // CreateOrUpdate creates or updates a Search service in the given resource group. If the Search service already // exists, all properties will be updated with the given values. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service to -// create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as -// the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters -// in length. Search service names must be globally unique since they are part of the service URI -// (https://.search.windows.net). You cannot change the service name after the service is created. service is -// the definition of the Search service to create or update. clientRequestID is a client-generated GUID value that -// identifies this request. If specified, this will be included in response information as a way to track the -// request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service to create or update. Search service names must only +// contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot +// contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be +// globally unique since they are part of the service URI (https://.search.windows.net). You cannot +// change the service name after the service is created. +// service - the definition of the Search service to create or update. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, searchServiceName string, service Service, clientRequestID *uuid.UUID) (result ServicesCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: service, @@ -220,11 +221,12 @@ func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (resul } // Delete deletes a Search service in the given resource group, along with its associated resources. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service -// associated with the specified resource group. clientRequestID is a client-generated GUID value that identifies -// this request. If specified, this will be included in response information as a way to track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service associated with the specified resource group. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client ServicesClient) Delete(ctx context.Context, resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, searchServiceName, clientRequestID) if err != nil { @@ -292,11 +294,12 @@ func (client ServicesClient) DeleteResponder(resp *http.Response) (result autore } // Get gets the Search service with the given name in the given resource group. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service -// associated with the specified resource group. clientRequestID is a client-generated GUID value that identifies -// this request. If specified, this will be included in response information as a way to track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service associated with the specified resource group. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client ServicesClient) Get(ctx context.Context, resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (result Service, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, searchServiceName, clientRequestID) if err != nil { @@ -365,11 +368,11 @@ func (client ServicesClient) GetResponder(resp *http.Response) (result Service, } // ListByResourceGroup gets a list of all Search services in the given resource group. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. clientRequestID is a client-generated GUID value that -// identifies this request. If specified, this will be included in response information as a way to track the -// request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client ServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, clientRequestID *uuid.UUID) (result ServiceListResult, err error) { req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName, clientRequestID) if err != nil { @@ -437,12 +440,13 @@ func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) ( } // Update updates an existing Search service in the given resource group. -// -// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value -// from the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service to -// update. service is the definition of the Search service to update. clientRequestID is a client-generated GUID -// value that identifies this request. If specified, this will be included in response information as a way to -// track the request. +// Parameters: +// resourceGroupName - the name of the resource group within the current subscription. You can obtain this +// value from the Azure Resource Manager API or the portal. +// searchServiceName - the name of the Azure Search service to update. +// service - the definition of the Search service to update. +// clientRequestID - a client-generated GUID value that identifies this request. If specified, this will be +// included in response information as a way to track the request. func (client ServicesClient) Update(ctx context.Context, resourceGroupName string, searchServiceName string, service Service, clientRequestID *uuid.UUID) (result Service, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, searchServiceName, service, clientRequestID) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/disasterrecoveryconfigs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/disasterrecoveryconfigs.go index 385acea7ea44..5c5ea8b847e3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/disasterrecoveryconfigs.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/disasterrecoveryconfigs.go @@ -42,9 +42,10 @@ func NewDisasterRecoveryConfigsClientWithBaseURI(baseURI string, subscriptionID // BreakPairing this operation disables the Disaster Recovery and stops replicating changes from primary to secondary // namespaces -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) BreakPairing(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -122,9 +123,10 @@ func (client DisasterRecoveryConfigsClient) BreakPairingResponder(resp *http.Res } // CheckNameAvailabilityMethod check the give namespace name availability. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name parameters is parameters to check availability of the given namespace name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// parameters - parameters to check availability of the given namespace name func (client DisasterRecoveryConfigsClient) CheckNameAvailabilityMethod(ctx context.Context, resourceGroupName string, namespaceName string, parameters CheckNameAvailability) (result CheckNameAvailabilityResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -203,10 +205,11 @@ func (client DisasterRecoveryConfigsClient) CheckNameAvailabilityMethodResponder } // CreateOrUpdate creates or updates a new Alias(Disaster Recovery configuration) -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name parameters is parameters required to create an -// Alias(Disaster Recovery configuration) +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name +// parameters - parameters required to create an Alias(Disaster Recovery configuration) func (client DisasterRecoveryConfigsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, alias string, parameters ArmDisasterRecovery) (result ArmDisasterRecovery, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -287,9 +290,10 @@ func (client DisasterRecoveryConfigsClient) CreateOrUpdateResponder(resp *http.R } // Delete deletes an Alias(Disaster Recovery configuration) -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -367,9 +371,10 @@ func (client DisasterRecoveryConfigsClient) DeleteResponder(resp *http.Response) } // FailOver envokes GEO DR failover and reconfigure the alias to point to the secondary namespace -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) FailOver(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -447,9 +452,10 @@ func (client DisasterRecoveryConfigsClient) FailOverResponder(resp *http.Respons } // Get retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result ArmDisasterRecovery, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -528,9 +534,11 @@ func (client DisasterRecoveryConfigsClient) GetResponder(resp *http.Response) (r } // GetAuthorizationRule gets an authorization rule for a namespace by rule name. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name +// authorizationRuleName - the authorizationrule name. func (client DisasterRecoveryConfigsClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (result SBAuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -613,9 +621,9 @@ func (client DisasterRecoveryConfigsClient) GetAuthorizationRuleResponder(resp * } // List gets all Alias(Disaster Recovery configurations) -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name func (client DisasterRecoveryConfigsClient) List(ctx context.Context, resourceGroupName string, namespaceName string) (result ArmDisasterRecoveryListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -718,9 +726,10 @@ func (client DisasterRecoveryConfigsClient) ListComplete(ctx context.Context, re } // ListAuthorizationRules gets the authorization rules for a namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name func (client DisasterRecoveryConfigsClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, alias string) (result SBAuthorizationRuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -827,9 +836,11 @@ func (client DisasterRecoveryConfigsClient) ListAuthorizationRulesComplete(ctx c } // ListKeys gets the primary and secondary connection strings for the namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name alias is the Disaster Recovery configuration name authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// alias - the Disaster Recovery configuration name +// authorizationRuleName - the authorizationrule name. func (client DisasterRecoveryConfigsClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, alias string, authorizationRuleName string) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/eventhubs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/eventhubs.go index c1cabbfc1027..c0b9ea632162 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/eventhubs.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/eventhubs.go @@ -41,9 +41,9 @@ func NewEventHubsClientWithBaseURI(baseURI string, subscriptionID string) EventH } // ListByNamespace gets all the Event Hubs in a service bus Namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name func (client EventHubsClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string) (result EventHubListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/migrationconfigs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/migrationconfigs.go new file mode 100644 index 000000000000..cb865975dfda --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/migrationconfigs.go @@ -0,0 +1,546 @@ +package servicebus + +// 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. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/Azure/go-autorest/autorest/validation" + "net/http" +) + +// MigrationConfigsClient is the azure Service Bus client +type MigrationConfigsClient struct { + BaseClient +} + +// NewMigrationConfigsClient creates an instance of the MigrationConfigsClient client. +func NewMigrationConfigsClient(subscriptionID string) MigrationConfigsClient { + return NewMigrationConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewMigrationConfigsClientWithBaseURI creates an instance of the MigrationConfigsClient client. +func NewMigrationConfigsClientWithBaseURI(baseURI string, subscriptionID string) MigrationConfigsClient { + return MigrationConfigsClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// CompleteMigration this operation Completes Migration of entities by pointing the connection strings to Premium +// namespace and any enties created after the operation will be under Premium Namespace. CompleteMigration operation +// will fail when entity migration is in-progress. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +func (client MigrationConfigsClient) CompleteMigration(ctx context.Context, resourceGroupName string, namespaceName string) (result autorest.Response, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: namespaceName, + Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + return result, validation.NewError("servicebus.MigrationConfigsClient", "CompleteMigration", err.Error()) + } + + req, err := client.CompleteMigrationPreparer(ctx, resourceGroupName, namespaceName) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "CompleteMigration", nil, "Failure preparing request") + return + } + + resp, err := client.CompleteMigrationSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "CompleteMigration", resp, "Failure sending request") + return + } + + result, err = client.CompleteMigrationResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "CompleteMigration", resp, "Failure responding to request") + } + + return +} + +// CompleteMigrationPreparer prepares the CompleteMigration request. +func (client MigrationConfigsClient) CompleteMigrationPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "configName": autorest.Encode("path", "$default"), + "namespaceName": autorest.Encode("path", namespaceName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-04-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsPost(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}/upgrade", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// CompleteMigrationSender sends the CompleteMigration request. The method will close the +// http.Response Body if it receives an error. +func (client MigrationConfigsClient) CompleteMigrationSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// CompleteMigrationResponder handles the response to the CompleteMigration request. The method always +// closes the http.Response Body. +func (client MigrationConfigsClient) CompleteMigrationResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByClosing()) + result.Response = resp + return +} + +// CreateAndStartMigration creates Migration configuration and starts migration of enties from Standard to Premium +// namespace +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// parameters - parameters required to create Migration Configuration +func (client MigrationConfigsClient) CreateAndStartMigration(ctx context.Context, resourceGroupName string, namespaceName string, parameters MigrationConfigProperties) (result MigrationConfigsCreateAndStartMigrationFuture, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: namespaceName, + Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}, + {TargetValue: parameters, + Constraints: []validation.Constraint{{Target: "parameters.MigrationConfigPropertiesProperties", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "parameters.MigrationConfigPropertiesProperties.TargetNamespace", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.MigrationConfigPropertiesProperties.PostMigrationName", Name: validation.Null, Rule: true, Chain: nil}, + }}}}}); err != nil { + return result, validation.NewError("servicebus.MigrationConfigsClient", "CreateAndStartMigration", err.Error()) + } + + req, err := client.CreateAndStartMigrationPreparer(ctx, resourceGroupName, namespaceName, parameters) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "CreateAndStartMigration", nil, "Failure preparing request") + return + } + + result, err = client.CreateAndStartMigrationSender(req) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "CreateAndStartMigration", result.Response(), "Failure sending request") + return + } + + return +} + +// CreateAndStartMigrationPreparer prepares the CreateAndStartMigration request. +func (client MigrationConfigsClient) CreateAndStartMigrationPreparer(ctx context.Context, resourceGroupName string, namespaceName string, parameters MigrationConfigProperties) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "configName": autorest.Encode("path", "$default"), + "namespaceName": autorest.Encode("path", namespaceName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-04-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsContentType("application/json; charset=utf-8"), + autorest.AsPut(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}", pathParameters), + autorest.WithJSON(parameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// CreateAndStartMigrationSender sends the CreateAndStartMigration request. The method will close the +// http.Response Body if it receives an error. +func (client MigrationConfigsClient) CreateAndStartMigrationSender(req *http.Request) (future MigrationConfigsCreateAndStartMigrationFuture, err error) { + sender := autorest.DecorateSender(client, azure.DoRetryWithRegistration(client.Client)) + future.Future = azure.NewFuture(req) + future.req = req + _, err = future.Done(sender) + if err != nil { + return + } + err = autorest.Respond(future.Response(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated)) + return +} + +// CreateAndStartMigrationResponder handles the response to the CreateAndStartMigration request. The method always +// closes the http.Response Body. +func (client MigrationConfigsClient) CreateAndStartMigrationResponder(resp *http.Response) (result MigrationConfigProperties, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// Delete deletes a MigrationConfiguration +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +func (client MigrationConfigsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string) (result autorest.Response, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: namespaceName, + Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + return result, validation.NewError("servicebus.MigrationConfigsClient", "Delete", err.Error()) + } + + req, err := client.DeletePreparer(ctx, resourceGroupName, namespaceName) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Delete", nil, "Failure preparing request") + return + } + + resp, err := client.DeleteSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Delete", resp, "Failure sending request") + return + } + + result, err = client.DeleteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Delete", resp, "Failure responding to request") + } + + return +} + +// DeletePreparer prepares the Delete request. +func (client MigrationConfigsClient) DeletePreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "configName": autorest.Encode("path", "$default"), + "namespaceName": autorest.Encode("path", namespaceName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-04-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsDelete(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// DeleteSender sends the Delete request. The method will close the +// http.Response Body if it receives an error. +func (client MigrationConfigsClient) DeleteSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// DeleteResponder handles the response to the Delete request. The method always +// closes the http.Response Body. +func (client MigrationConfigsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), + autorest.ByClosing()) + result.Response = resp + return +} + +// Get retrieves Migration Config +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +func (client MigrationConfigsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string) (result MigrationConfigProperties, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: namespaceName, + Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + return result, validation.NewError("servicebus.MigrationConfigsClient", "Get", err.Error()) + } + + req, err := client.GetPreparer(ctx, resourceGroupName, namespaceName) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Get", nil, "Failure preparing request") + return + } + + resp, err := client.GetSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Get", resp, "Failure sending request") + return + } + + result, err = client.GetResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Get", resp, "Failure responding to request") + } + + return +} + +// GetPreparer prepares the Get request. +func (client MigrationConfigsClient) GetPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "configName": autorest.Encode("path", "$default"), + "namespaceName": autorest.Encode("path", namespaceName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-04-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSender sends the Get request. The method will close the +// http.Response Body if it receives an error. +func (client MigrationConfigsClient) GetSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetResponder handles the response to the Get request. The method always +// closes the http.Response Body. +func (client MigrationConfigsClient) GetResponder(resp *http.Response) (result MigrationConfigProperties, 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 all migrationConfigurations +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +func (client MigrationConfigsClient) List(ctx context.Context, resourceGroupName string, namespaceName string) (result MigrationConfigListResultPage, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: namespaceName, + Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + return result, validation.NewError("servicebus.MigrationConfigsClient", "List", err.Error()) + } + + result.fn = client.listNextResults + req, err := client.ListPreparer(ctx, resourceGroupName, namespaceName) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "List", nil, "Failure preparing request") + return + } + + resp, err := client.ListSender(req) + if err != nil { + result.mclr.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "List", resp, "Failure sending request") + return + } + + result.mclr, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "List", resp, "Failure responding to request") + } + + return +} + +// ListPreparer prepares the List request. +func (client MigrationConfigsClient) ListPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "namespaceName": autorest.Encode("path", namespaceName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-04-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSender sends the List request. The method will close the +// http.Response Body if it receives an error. +func (client MigrationConfigsClient) ListSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListResponder handles the response to the List request. The method always +// closes the http.Response Body. +func (client MigrationConfigsClient) ListResponder(resp *http.Response) (result MigrationConfigListResult, 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 MigrationConfigsClient) listNextResults(lastResults MigrationConfigListResult) (result MigrationConfigListResult, err error) { + req, err := lastResults.migrationConfigListResultPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "listNextResults", 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, "servicebus.MigrationConfigsClient", "listNextResults", resp, "Failure sending next results request") + } + result, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "listNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListComplete enumerates all values, automatically crossing page boundaries as required. +func (client MigrationConfigsClient) ListComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result MigrationConfigListResultIterator, err error) { + result.page, err = client.List(ctx, resourceGroupName, namespaceName) + return +} + +// Revert this operation reverts Migration +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +func (client MigrationConfigsClient) Revert(ctx context.Context, resourceGroupName string, namespaceName string) (result autorest.Response, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: namespaceName, + Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + return result, validation.NewError("servicebus.MigrationConfigsClient", "Revert", err.Error()) + } + + req, err := client.RevertPreparer(ctx, resourceGroupName, namespaceName) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Revert", nil, "Failure preparing request") + return + } + + resp, err := client.RevertSender(req) + if err != nil { + result.Response = resp + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Revert", resp, "Failure sending request") + return + } + + result, err = client.RevertResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsClient", "Revert", resp, "Failure responding to request") + } + + return +} + +// RevertPreparer prepares the Revert request. +func (client MigrationConfigsClient) RevertPreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "configName": autorest.Encode("path", "$default"), + "namespaceName": autorest.Encode("path", namespaceName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2017-04-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsPost(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}/revert", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// RevertSender sends the Revert request. The method will close the +// http.Response Body if it receives an error. +func (client MigrationConfigsClient) RevertSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// RevertResponder handles the response to the Revert request. The method always +// closes the http.Response Body. +func (client MigrationConfigsClient) RevertResponder(resp *http.Response) (result autorest.Response, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByClosing()) + result.Response = resp + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/models.go index 9ea717acc832..11fb5f557b47 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/models.go @@ -820,6 +820,249 @@ type MessageCountDetails struct { TransferDeadLetterMessageCount *int64 `json:"transferDeadLetterMessageCount,omitempty"` } +// MigrationConfigListResult the result of the List migrationConfigurations operation. +type MigrationConfigListResult struct { + autorest.Response `json:"-"` + // Value - List of Migration Configs + Value *[]MigrationConfigProperties `json:"value,omitempty"` + // NextLink - Link to the next set of results. Not empty if Value contains incomplete list of migrationConfigurations + NextLink *string `json:"nextLink,omitempty"` +} + +// MigrationConfigListResultIterator provides access to a complete listing of MigrationConfigProperties values. +type MigrationConfigListResultIterator struct { + i int + page MigrationConfigListResultPage +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *MigrationConfigListResultIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter MigrationConfigListResultIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter MigrationConfigListResultIterator) Response() MigrationConfigListResult { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter MigrationConfigListResultIterator) Value() MigrationConfigProperties { + if !iter.page.NotDone() { + return MigrationConfigProperties{} + } + return iter.page.Values()[iter.i] +} + +// IsEmpty returns true if the ListResult contains no values. +func (mclr MigrationConfigListResult) IsEmpty() bool { + return mclr.Value == nil || len(*mclr.Value) == 0 +} + +// migrationConfigListResultPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (mclr MigrationConfigListResult) migrationConfigListResultPreparer() (*http.Request, error) { + if mclr.NextLink == nil || len(to.String(mclr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(mclr.NextLink))) +} + +// MigrationConfigListResultPage contains a page of MigrationConfigProperties values. +type MigrationConfigListResultPage struct { + fn func(MigrationConfigListResult) (MigrationConfigListResult, error) + mclr MigrationConfigListResult +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *MigrationConfigListResultPage) Next() error { + next, err := page.fn(page.mclr) + if err != nil { + return err + } + page.mclr = next + return nil +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page MigrationConfigListResultPage) NotDone() bool { + return !page.mclr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page MigrationConfigListResultPage) Response() MigrationConfigListResult { + return page.mclr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page MigrationConfigListResultPage) Values() []MigrationConfigProperties { + if page.mclr.IsEmpty() { + return nil + } + return *page.mclr.Value +} + +// MigrationConfigProperties single item in List or Get Migration Config operation +type MigrationConfigProperties struct { + autorest.Response `json:"-"` + // MigrationConfigPropertiesProperties - Properties required to the Create Migration Configuration + *MigrationConfigPropertiesProperties `json:"properties,omitempty"` + // ID - Resource Id + ID *string `json:"id,omitempty"` + // Name - Resource name + Name *string `json:"name,omitempty"` + // Type - Resource type + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for MigrationConfigProperties. +func (mcp MigrationConfigProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if mcp.MigrationConfigPropertiesProperties != nil { + objectMap["properties"] = mcp.MigrationConfigPropertiesProperties + } + if mcp.ID != nil { + objectMap["id"] = mcp.ID + } + if mcp.Name != nil { + objectMap["name"] = mcp.Name + } + if mcp.Type != nil { + objectMap["type"] = mcp.Type + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for MigrationConfigProperties struct. +func (mcp *MigrationConfigProperties) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var migrationConfigPropertiesProperties MigrationConfigPropertiesProperties + err = json.Unmarshal(*v, &migrationConfigPropertiesProperties) + if err != nil { + return err + } + mcp.MigrationConfigPropertiesProperties = &migrationConfigPropertiesProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + mcp.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + mcp.Name = &name + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + mcp.Type = &typeVar + } + } + } + + return nil +} + +// MigrationConfigPropertiesProperties properties required to the Create Migration Configuration +type MigrationConfigPropertiesProperties struct { + // ProvisioningState - Provisioning state of Migration Configuration + ProvisioningState *string `json:"provisioningState,omitempty"` + // TargetNamespace - Existing premium Namespace ARM Id name which has no entities, will be used for migration + TargetNamespace *string `json:"targetNamespace,omitempty"` + // PostMigrationName - Name to access Standard Namespace after migration + PostMigrationName *string `json:"postMigrationName,omitempty"` +} + +// MigrationConfigsCreateAndStartMigrationFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. +type MigrationConfigsCreateAndStartMigrationFuture struct { + azure.Future + req *http.Request +} + +// Result returns the result of the asynchronous operation. +// If the operation has not completed it will return an error. +func (future MigrationConfigsCreateAndStartMigrationFuture) Result(client MigrationConfigsClient) (mcp MigrationConfigProperties, err error) { + var done bool + done, err = future.Done(client) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsCreateAndStartMigrationFuture", "Result", future.Response(), "Polling failure") + return + } + if !done { + return mcp, azure.NewAsyncOpIncompleteError("servicebus.MigrationConfigsCreateAndStartMigrationFuture") + } + if future.PollingMethod() == azure.PollingLocation { + mcp, err = client.CreateAndStartMigrationResponder(future.Response()) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsCreateAndStartMigrationFuture", "Result", future.Response(), "Failure responding to request") + } + return + } + var req *http.Request + var resp *http.Response + if future.PollingURL() != "" { + req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil) + if err != nil { + return + } + } else { + req = autorest.ChangeToGet(future.req) + } + resp, err = autorest.SendWithSender(client, req, + autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsCreateAndStartMigrationFuture", "Result", resp, "Failure sending request") + return + } + mcp, err = client.CreateAndStartMigrationResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "servicebus.MigrationConfigsCreateAndStartMigrationFuture", "Result", resp, "Failure responding to request") + } + return +} + // NamespacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type NamespacesCreateOrUpdateFuture struct { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/namespaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/namespaces.go index 9ccdc5e617c5..6ff40a7ffb13 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/namespaces.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/namespaces.go @@ -41,8 +41,8 @@ func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) Names } // CheckNameAvailabilityMethod check the give namespace name availability. -// -// parameters is parameters to check availability of the given namespace name +// Parameters: +// parameters - parameters to check availability of the given namespace name func (client NamespacesClient) CheckNameAvailabilityMethod(ctx context.Context, parameters CheckNameAvailability) (result CheckNameAvailabilityResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: parameters, @@ -114,9 +114,10 @@ func (client NamespacesClient) CheckNameAvailabilityMethodResponder(resp *http.R // CreateOrUpdate creates or updates a service namespace. Once created, this namespace's resource manifest is // immutable. This operation is idempotent. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name. parameters is parameters supplied to create a namespace resource. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name. +// parameters - parameters supplied to create a namespace resource. func (client NamespacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespace) (result NamespacesCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -192,9 +193,11 @@ func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (res } // CreateOrUpdateAuthorizationRule creates or updates an authorization rule for a namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name authorizationRuleName is the authorizationrule name. parameters is the shared access authorization rule. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// authorizationRuleName - the authorizationrule name. +// parameters - the shared access authorization rule. func (client NamespacesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters SBAuthorizationRule) (result SBAuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -278,9 +281,9 @@ func (client NamespacesClient) CreateOrUpdateAuthorizationRuleResponder(resp *ht } // Delete deletes an existing namespace. This operation also removes all associated resources under the namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name func (client NamespacesClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string) (result NamespacesDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -356,9 +359,10 @@ func (client NamespacesClient) DeleteResponder(resp *http.Response) (result auto } // DeleteAuthorizationRule deletes a namespace authorization rule. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// authorizationRuleName - the authorizationrule name. func (client NamespacesClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -436,9 +440,9 @@ func (client NamespacesClient) DeleteAuthorizationRuleResponder(resp *http.Respo } // Get gets a description for the specified namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name func (client NamespacesClient) Get(ctx context.Context, resourceGroupName string, namespaceName string) (result SBNamespace, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -513,9 +517,10 @@ func (client NamespacesClient) GetResponder(resp *http.Response) (result SBNames } // GetAuthorizationRule gets an authorization rule for a namespace by rule name. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// authorizationRuleName - the authorizationrule name. func (client NamespacesClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result SBAuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -684,9 +689,9 @@ func (client NamespacesClient) ListComplete(ctx context.Context) (result SBNames } // ListAuthorizationRules gets the authorization rules for a namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name func (client NamespacesClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string) (result SBAuthorizationRuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -789,8 +794,8 @@ func (client NamespacesClient) ListAuthorizationRulesComplete(ctx context.Contex } // ListByResourceGroup gets the available namespaces within a resource group. -// -// resourceGroupName is name of the Resource group within the Azure subscription. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. func (client NamespacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SBNamespaceListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -889,9 +894,10 @@ func (client NamespacesClient) ListByResourceGroupComplete(ctx context.Context, } // ListKeys gets the primary and secondary connection strings for the namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// authorizationRuleName - the authorizationrule name. func (client NamespacesClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -970,10 +976,11 @@ func (client NamespacesClient) ListKeysResponder(resp *http.Response) (result Ac } // RegenerateKeys regenerates the primary or secondary connection strings for the namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name authorizationRuleName is the authorizationrule name. parameters is parameters supplied to regenerate the -// authorization rule. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// authorizationRuleName - the authorizationrule name. +// parameters - parameters supplied to regenerate the authorization rule. func (client NamespacesClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1055,9 +1062,10 @@ func (client NamespacesClient) RegenerateKeysResponder(resp *http.Response) (res // Update updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is // idempotent. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name parameters is parameters supplied to update a namespace resource. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// parameters - parameters supplied to update a namespace resource. func (client NamespacesClient) Update(ctx context.Context, resourceGroupName string, namespaceName string, parameters SBNamespaceUpdateParameters) (result SBNamespace, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/queues.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/queues.go index 99c25e9dbd98..63588cc1144b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/queues.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/queues.go @@ -41,9 +41,11 @@ func NewQueuesClientWithBaseURI(baseURI string, subscriptionID string) QueuesCli } // CreateOrUpdate creates or updates a Service Bus queue. This operation is idempotent. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. parameters is parameters supplied to create or update a queue resource. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. +// parameters - parameters supplied to create or update a queue resource. func (client QueuesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, parameters SBQueue) (result SBQueue, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -123,10 +125,12 @@ func (client QueuesClient) CreateOrUpdateResponder(resp *http.Response) (result } // CreateOrUpdateAuthorizationRule creates an authorization rule for a queue. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. authorizationRuleName is the authorizationrule name. parameters is the shared -// access authorization rule. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. +// authorizationRuleName - the authorizationrule name. +// parameters - the shared access authorization rule. func (client QueuesClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters SBAuthorizationRule) (result SBAuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -213,9 +217,10 @@ func (client QueuesClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.R } // Delete deletes a queue from the specified namespace in a resource group. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. func (client QueuesClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, queueName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -292,9 +297,11 @@ func (client QueuesClient) DeleteResponder(resp *http.Response) (result autorest } // DeleteAuthorizationRule deletes a queue authorization rule. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. +// authorizationRuleName - the authorizationrule name. func (client QueuesClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -375,9 +382,10 @@ func (client QueuesClient) DeleteAuthorizationRuleResponder(resp *http.Response) } // Get returns a description for the specified queue. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. func (client QueuesClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, queueName string) (result SBQueue, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -455,9 +463,11 @@ func (client QueuesClient) GetResponder(resp *http.Response) (result SBQueue, er } // GetAuthorizationRule gets an authorization rule for a queue by rule name. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. +// authorizationRuleName - the authorizationrule name. func (client QueuesClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result SBAuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -539,9 +549,10 @@ func (client QueuesClient) GetAuthorizationRuleResponder(resp *http.Response) (r } // ListAuthorizationRules gets all authorization rules for a queue. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. func (client QueuesClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, queueName string) (result SBAuthorizationRuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -647,22 +658,36 @@ func (client QueuesClient) ListAuthorizationRulesComplete(ctx context.Context, r } // ListByNamespace gets the queues within a namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name -func (client QueuesClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string) (result SBQueueListResultPage, err error) { +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// skip - skip is only used if a previous operation returned a partial result. If a previous response contains +// a nextLink element, the value of the nextLink element will include a skip parameter that specifies a +// starting point to use for subsequent calls. +// top - may be used to limit the number of results to the most recent N usageDetails. +func (client QueuesClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBQueueListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: namespaceName, Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, - {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}, + {TargetValue: skip, + Constraints: []validation.Constraint{{Target: "skip", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "skip", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "skip", Name: validation.InclusiveMinimum, Rule: 0, Chain: nil}, + }}}}, + {TargetValue: top, + Constraints: []validation.Constraint{{Target: "top", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "top", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "top", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil}, + }}}}}); err != nil { return result, validation.NewError("servicebus.QueuesClient", "ListByNamespace", err.Error()) } result.fn = client.listByNamespaceNextResults - req, err := client.ListByNamespacePreparer(ctx, resourceGroupName, namespaceName) + req, err := client.ListByNamespacePreparer(ctx, resourceGroupName, namespaceName, skip, top) if err != nil { err = autorest.NewErrorWithError(err, "servicebus.QueuesClient", "ListByNamespace", nil, "Failure preparing request") return @@ -684,7 +709,7 @@ func (client QueuesClient) ListByNamespace(ctx context.Context, resourceGroupNam } // ListByNamespacePreparer prepares the ListByNamespace request. -func (client QueuesClient) ListByNamespacePreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { +func (client QueuesClient) ListByNamespacePreparer(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (*http.Request, error) { pathParameters := map[string]interface{}{ "namespaceName": autorest.Encode("path", namespaceName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -695,6 +720,12 @@ func (client QueuesClient) ListByNamespacePreparer(ctx context.Context, resource queryParameters := map[string]interface{}{ "api-version": APIVersion, } + if skip != nil { + queryParameters["$skip"] = autorest.Encode("query", *skip) + } + if top != nil { + queryParameters["$top"] = autorest.Encode("query", *top) + } preparer := autorest.CreatePreparer( autorest.AsGet(), @@ -746,15 +777,17 @@ func (client QueuesClient) listByNamespaceNextResults(lastResults SBQueueListRes } // ListByNamespaceComplete enumerates all values, automatically crossing page boundaries as required. -func (client QueuesClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result SBQueueListResultIterator, err error) { - result.page, err = client.ListByNamespace(ctx, resourceGroupName, namespaceName) +func (client QueuesClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBQueueListResultIterator, err error) { + result.page, err = client.ListByNamespace(ctx, resourceGroupName, namespaceName, skip, top) return } // ListKeys primary and secondary connection strings to the queue. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. +// authorizationRuleName - the authorizationrule name. func (client QueuesClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -836,10 +869,12 @@ func (client QueuesClient) ListKeysResponder(resp *http.Response) (result Access } // RegenerateKeys regenerates the primary or secondary connection strings to the queue. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name queueName is the queue name. authorizationRuleName is the authorizationrule name. parameters is parameters -// supplied to regenerate the authorization rule. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// queueName - the queue name. +// authorizationRuleName - the authorizationrule name. +// parameters - parameters supplied to regenerate the authorization rule. func (client QueuesClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/regions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/regions.go index cacff1f5f776..ac86b2c6d748 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/regions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/regions.go @@ -41,8 +41,8 @@ func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsC } // ListBySku gets the available Regions for a given sku -// -// sku is the sku type. +// Parameters: +// sku - the sku type. func (client RegionsClient) ListBySku(ctx context.Context, sku string) (result PremiumMessagingRegionsListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: sku, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/rules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/rules.go index 6a6892fb8afe..ecd6ca245c25 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/rules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/rules.go @@ -41,10 +41,13 @@ func NewRulesClientWithBaseURI(baseURI string, subscriptionID string) RulesClien } // CreateOrUpdate creates a new rule and updates an existing rule -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. subscriptionName is the subscription name. ruleName is the rule name. -// parameters is parameters supplied to create a rule. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// subscriptionName - the subscription name. +// ruleName - the rule name. +// parameters - parameters supplied to create a rule. func (client RulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string, parameters Rule) (result Rule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -132,9 +135,12 @@ func (client RulesClient) CreateOrUpdateResponder(resp *http.Response) (result R } // Delete deletes an existing rule. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. subscriptionName is the subscription name. ruleName is the rule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// subscriptionName - the subscription name. +// ruleName - the rule name. func (client RulesClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -219,9 +225,12 @@ func (client RulesClient) DeleteResponder(resp *http.Response) (result autorest. } // Get retrieves the description for the specified rule. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. subscriptionName is the subscription name. ruleName is the rule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// subscriptionName - the subscription name. +// ruleName - the rule name. func (client RulesClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, ruleName string) (result Rule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -307,10 +316,16 @@ func (client RulesClient) GetResponder(resp *http.Response) (result Rule, err er } // ListBySubscriptions list all the rules within given topic-subscription -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. subscriptionName is the subscription name. -func (client RulesClient) ListBySubscriptions(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result RuleListResultPage, err error) { +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// subscriptionName - the subscription name. +// skip - skip is only used if a previous operation returned a partial result. If a previous response contains +// a nextLink element, the value of the nextLink element will include a skip parameter that specifies a +// starting point to use for subsequent calls. +// top - may be used to limit the number of results to the most recent N usageDetails. +func (client RulesClient) ListBySubscriptions(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, skip *int32, top *int32) (result RuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, @@ -322,12 +337,22 @@ func (client RulesClient) ListBySubscriptions(ctx context.Context, resourceGroup Constraints: []validation.Constraint{{Target: "topicName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: subscriptionName, Constraints: []validation.Constraint{{Target: "subscriptionName", Name: validation.MaxLength, Rule: 50, Chain: nil}, - {Target: "subscriptionName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + {Target: "subscriptionName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: skip, + Constraints: []validation.Constraint{{Target: "skip", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "skip", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "skip", Name: validation.InclusiveMinimum, Rule: 0, Chain: nil}, + }}}}, + {TargetValue: top, + Constraints: []validation.Constraint{{Target: "top", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "top", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "top", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil}, + }}}}}); err != nil { return result, validation.NewError("servicebus.RulesClient", "ListBySubscriptions", err.Error()) } result.fn = client.listBySubscriptionsNextResults - req, err := client.ListBySubscriptionsPreparer(ctx, resourceGroupName, namespaceName, topicName, subscriptionName) + req, err := client.ListBySubscriptionsPreparer(ctx, resourceGroupName, namespaceName, topicName, subscriptionName, skip, top) if err != nil { err = autorest.NewErrorWithError(err, "servicebus.RulesClient", "ListBySubscriptions", nil, "Failure preparing request") return @@ -349,7 +374,7 @@ func (client RulesClient) ListBySubscriptions(ctx context.Context, resourceGroup } // ListBySubscriptionsPreparer prepares the ListBySubscriptions request. -func (client RulesClient) ListBySubscriptionsPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (*http.Request, error) { +func (client RulesClient) ListBySubscriptionsPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, skip *int32, top *int32) (*http.Request, error) { pathParameters := map[string]interface{}{ "namespaceName": autorest.Encode("path", namespaceName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -362,6 +387,12 @@ func (client RulesClient) ListBySubscriptionsPreparer(ctx context.Context, resou queryParameters := map[string]interface{}{ "api-version": APIVersion, } + if skip != nil { + queryParameters["$skip"] = autorest.Encode("query", *skip) + } + if top != nil { + queryParameters["$top"] = autorest.Encode("query", *top) + } preparer := autorest.CreatePreparer( autorest.AsGet(), @@ -413,7 +444,7 @@ func (client RulesClient) listBySubscriptionsNextResults(lastResults RuleListRes } // ListBySubscriptionsComplete enumerates all values, automatically crossing page boundaries as required. -func (client RulesClient) ListBySubscriptionsComplete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result RuleListResultIterator, err error) { - result.page, err = client.ListBySubscriptions(ctx, resourceGroupName, namespaceName, topicName, subscriptionName) +func (client RulesClient) ListBySubscriptionsComplete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, skip *int32, top *int32) (result RuleListResultIterator, err error) { + result.page, err = client.ListBySubscriptions(ctx, resourceGroupName, namespaceName, topicName, subscriptionName, skip, top) return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/subscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/subscriptions.go index 7e6fd5a4ae08..c0b63ff12988 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/subscriptions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/subscriptions.go @@ -41,10 +41,12 @@ func NewSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) Su } // CreateOrUpdate creates a topic subscription. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. subscriptionName is the subscription name. parameters is parameters supplied -// to create a subscription resource. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// subscriptionName - the subscription name. +// parameters - parameters supplied to create a subscription resource. func (client SubscriptionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string, parameters SBSubscription) (result SBSubscription, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -128,9 +130,11 @@ func (client SubscriptionsClient) CreateOrUpdateResponder(resp *http.Response) ( } // Delete deletes a subscription from the specified topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. subscriptionName is the subscription name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// subscriptionName - the subscription name. func (client SubscriptionsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -211,9 +215,11 @@ func (client SubscriptionsClient) DeleteResponder(resp *http.Response) (result a } // Get returns a subscription description for the specified topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. subscriptionName is the subscription name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// subscriptionName - the subscription name. func (client SubscriptionsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, subscriptionName string) (result SBSubscription, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -295,10 +301,15 @@ func (client SubscriptionsClient) GetResponder(resp *http.Response) (result SBSu } // ListByTopic list all the subscriptions under a specified topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. -func (client SubscriptionsClient) ListByTopic(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result SBSubscriptionListResultPage, err error) { +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// skip - skip is only used if a previous operation returned a partial result. If a previous response contains +// a nextLink element, the value of the nextLink element will include a skip parameter that specifies a +// starting point to use for subsequent calls. +// top - may be used to limit the number of results to the most recent N usageDetails. +func (client SubscriptionsClient) ListByTopic(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, skip *int32, top *int32) (result SBSubscriptionListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, @@ -307,12 +318,22 @@ func (client SubscriptionsClient) ListByTopic(ctx context.Context, resourceGroup Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}, {TargetValue: topicName, - Constraints: []validation.Constraint{{Target: "topicName", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil { + Constraints: []validation.Constraint{{Target: "topicName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, + {TargetValue: skip, + Constraints: []validation.Constraint{{Target: "skip", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "skip", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "skip", Name: validation.InclusiveMinimum, Rule: 0, Chain: nil}, + }}}}, + {TargetValue: top, + Constraints: []validation.Constraint{{Target: "top", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "top", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "top", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil}, + }}}}}); err != nil { return result, validation.NewError("servicebus.SubscriptionsClient", "ListByTopic", err.Error()) } result.fn = client.listByTopicNextResults - req, err := client.ListByTopicPreparer(ctx, resourceGroupName, namespaceName, topicName) + req, err := client.ListByTopicPreparer(ctx, resourceGroupName, namespaceName, topicName, skip, top) if err != nil { err = autorest.NewErrorWithError(err, "servicebus.SubscriptionsClient", "ListByTopic", nil, "Failure preparing request") return @@ -334,7 +355,7 @@ func (client SubscriptionsClient) ListByTopic(ctx context.Context, resourceGroup } // ListByTopicPreparer prepares the ListByTopic request. -func (client SubscriptionsClient) ListByTopicPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (*http.Request, error) { +func (client SubscriptionsClient) ListByTopicPreparer(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, skip *int32, top *int32) (*http.Request, error) { pathParameters := map[string]interface{}{ "namespaceName": autorest.Encode("path", namespaceName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -346,6 +367,12 @@ func (client SubscriptionsClient) ListByTopicPreparer(ctx context.Context, resou queryParameters := map[string]interface{}{ "api-version": APIVersion, } + if skip != nil { + queryParameters["$skip"] = autorest.Encode("query", *skip) + } + if top != nil { + queryParameters["$top"] = autorest.Encode("query", *top) + } preparer := autorest.CreatePreparer( autorest.AsGet(), @@ -397,7 +424,7 @@ func (client SubscriptionsClient) listByTopicNextResults(lastResults SBSubscript } // ListByTopicComplete enumerates all values, automatically crossing page boundaries as required. -func (client SubscriptionsClient) ListByTopicComplete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result SBSubscriptionListResultIterator, err error) { - result.page, err = client.ListByTopic(ctx, resourceGroupName, namespaceName, topicName) +func (client SubscriptionsClient) ListByTopicComplete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, skip *int32, top *int32) (result SBSubscriptionListResultIterator, err error) { + result.page, err = client.ListByTopic(ctx, resourceGroupName, namespaceName, topicName, skip, top) return } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/topics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/topics.go index 32fa0fd7d6d9..85b93c8219f1 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/topics.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/topics.go @@ -41,9 +41,11 @@ func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsCli } // CreateOrUpdate creates a topic in the specified namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. parameters is parameters supplied to create a topic resource. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// parameters - parameters supplied to create a topic resource. func (client TopicsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, parameters SBTopic) (result SBTopic, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -123,10 +125,12 @@ func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result } // CreateOrUpdateAuthorizationRule creates an authorizatio rule for the specified topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. authorizationRuleName is the authorizationrule name. parameters is the shared -// access authorization rule. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// authorizationRuleName - the authorizationrule name. +// parameters - the shared access authorization rule. func (client TopicsClient) CreateOrUpdateAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters SBAuthorizationRule) (result SBAuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -213,9 +217,10 @@ func (client TopicsClient) CreateOrUpdateAuthorizationRuleResponder(resp *http.R } // Delete deletes a topic from the specified namespace and resource group. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. func (client TopicsClient) Delete(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -292,9 +297,11 @@ func (client TopicsClient) DeleteResponder(resp *http.Response) (result autorest } // DeleteAuthorizationRule deletes a topic authorization rule. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// authorizationRuleName - the authorizationrule name. func (client TopicsClient) DeleteAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -375,9 +382,10 @@ func (client TopicsClient) DeleteAuthorizationRuleResponder(resp *http.Response) } // Get returns a description for the specified topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. func (client TopicsClient) Get(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result SBTopic, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -455,9 +463,11 @@ func (client TopicsClient) GetResponder(resp *http.Response) (result SBTopic, er } // GetAuthorizationRule returns the specified authorization rule. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// authorizationRuleName - the authorizationrule name. func (client TopicsClient) GetAuthorizationRule(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result SBAuthorizationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -539,9 +549,10 @@ func (client TopicsClient) GetAuthorizationRuleResponder(resp *http.Response) (r } // ListAuthorizationRules gets authorization rules for a topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. func (client TopicsClient) ListAuthorizationRules(ctx context.Context, resourceGroupName string, namespaceName string, topicName string) (result SBAuthorizationRuleListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -647,22 +658,36 @@ func (client TopicsClient) ListAuthorizationRulesComplete(ctx context.Context, r } // ListByNamespace gets all the topics in a namespace. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name -func (client TopicsClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string) (result SBTopicListResultPage, err error) { +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// skip - skip is only used if a previous operation returned a partial result. If a previous response contains +// a nextLink element, the value of the nextLink element will include a skip parameter that specifies a +// starting point to use for subsequent calls. +// top - may be used to limit the number of results to the most recent N usageDetails. +func (client TopicsClient) ListByNamespace(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBTopicListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}}}, {TargetValue: namespaceName, Constraints: []validation.Constraint{{Target: "namespaceName", Name: validation.MaxLength, Rule: 50, Chain: nil}, - {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}}); err != nil { + {Target: "namespaceName", Name: validation.MinLength, Rule: 6, Chain: nil}}}, + {TargetValue: skip, + Constraints: []validation.Constraint{{Target: "skip", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "skip", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "skip", Name: validation.InclusiveMinimum, Rule: 0, Chain: nil}, + }}}}, + {TargetValue: top, + Constraints: []validation.Constraint{{Target: "top", Name: validation.Null, Rule: false, + Chain: []validation.Constraint{{Target: "top", Name: validation.InclusiveMaximum, Rule: 1000, Chain: nil}, + {Target: "top", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil}, + }}}}}); err != nil { return result, validation.NewError("servicebus.TopicsClient", "ListByNamespace", err.Error()) } result.fn = client.listByNamespaceNextResults - req, err := client.ListByNamespacePreparer(ctx, resourceGroupName, namespaceName) + req, err := client.ListByNamespacePreparer(ctx, resourceGroupName, namespaceName, skip, top) if err != nil { err = autorest.NewErrorWithError(err, "servicebus.TopicsClient", "ListByNamespace", nil, "Failure preparing request") return @@ -684,7 +709,7 @@ func (client TopicsClient) ListByNamespace(ctx context.Context, resourceGroupNam } // ListByNamespacePreparer prepares the ListByNamespace request. -func (client TopicsClient) ListByNamespacePreparer(ctx context.Context, resourceGroupName string, namespaceName string) (*http.Request, error) { +func (client TopicsClient) ListByNamespacePreparer(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (*http.Request, error) { pathParameters := map[string]interface{}{ "namespaceName": autorest.Encode("path", namespaceName), "resourceGroupName": autorest.Encode("path", resourceGroupName), @@ -695,6 +720,12 @@ func (client TopicsClient) ListByNamespacePreparer(ctx context.Context, resource queryParameters := map[string]interface{}{ "api-version": APIVersion, } + if skip != nil { + queryParameters["$skip"] = autorest.Encode("query", *skip) + } + if top != nil { + queryParameters["$top"] = autorest.Encode("query", *top) + } preparer := autorest.CreatePreparer( autorest.AsGet(), @@ -746,15 +777,17 @@ func (client TopicsClient) listByNamespaceNextResults(lastResults SBTopicListRes } // ListByNamespaceComplete enumerates all values, automatically crossing page boundaries as required. -func (client TopicsClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string) (result SBTopicListResultIterator, err error) { - result.page, err = client.ListByNamespace(ctx, resourceGroupName, namespaceName) +func (client TopicsClient) ListByNamespaceComplete(ctx context.Context, resourceGroupName string, namespaceName string, skip *int32, top *int32) (result SBTopicListResultIterator, err error) { + result.page, err = client.ListByNamespace(ctx, resourceGroupName, namespaceName, skip, top) return } // ListKeys gets the primary and secondary connection strings for the topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. authorizationRuleName is the authorizationrule name. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// authorizationRuleName - the authorizationrule name. func (client TopicsClient) ListKeys(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -836,10 +869,12 @@ func (client TopicsClient) ListKeysResponder(resp *http.Response) (result Access } // RegenerateKeys regenerates primary or secondary connection strings for the topic. -// -// resourceGroupName is name of the Resource group within the Azure subscription. namespaceName is the namespace -// name topicName is the topic name. authorizationRuleName is the authorizationrule name. parameters is parameters -// supplied to regenerate the authorization rule. +// Parameters: +// resourceGroupName - name of the Resource group within the Azure subscription. +// namespaceName - the namespace name +// topicName - the topic name. +// authorizationRuleName - the authorizationrule name. +// parameters - parameters supplied to regenerate the authorization rule. func (client TopicsClient) RegenerateKeys(ctx context.Context, resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters RegenerateAccessKeyParameters) (result AccessKeys, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionpolicies.go index 0d976685371b..31557e2a2a52 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionpolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionpolicies.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionPoliciesClient is the the Azure SQL Database management API provides a RESTful set of web // services that interact with Azure SQL Database services to manage your databases. The API enables you to create, // retrieve, update, and delete databases. @@ -32,17 +33,20 @@ type BackupLongTermRetentionPoliciesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewBackupLongTermRetentionPoliciesClient creates an instance of the BackupLongTermRetentionPoliciesClient client. func NewBackupLongTermRetentionPoliciesClient(subscriptionID string) BackupLongTermRetentionPoliciesClient { return NewBackupLongTermRetentionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewBackupLongTermRetentionPoliciesClientWithBaseURI creates an instance of the BackupLongTermRetentionPoliciesClient // client. func NewBackupLongTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupLongTermRetentionPoliciesClient { return BackupLongTermRetentionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a database backup long term retention policy // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -71,6 +75,7 @@ func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdate(ctx context.C return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters BackupLongTermRetentionPolicy) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -96,6 +101,7 @@ func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdatePreparer(ctx c return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateSender(req *http.Request) (future BackupLongTermRetentionPoliciesCreateOrUpdateFuture, err error) { @@ -111,6 +117,7 @@ func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateSender(req *ht return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupLongTermRetentionPolicy, err error) { @@ -124,6 +131,7 @@ func (client BackupLongTermRetentionPoliciesClient) CreateOrUpdateResponder(resp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get returns a database backup long term retention policy // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -151,6 +159,7 @@ func (client BackupLongTermRetentionPoliciesClient) Get(ctx context.Context, res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client BackupLongTermRetentionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -174,6 +183,7 @@ func (client BackupLongTermRetentionPoliciesClient) GetPreparer(ctx context.Cont return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client BackupLongTermRetentionPoliciesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -181,6 +191,7 @@ func (client BackupLongTermRetentionPoliciesClient) GetSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client BackupLongTermRetentionPoliciesClient) GetResponder(resp *http.Response) (result BackupLongTermRetentionPolicy, err error) { @@ -194,6 +205,7 @@ func (client BackupLongTermRetentionPoliciesClient) GetResponder(resp *http.Resp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase returns a database backup long term retention policy // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -221,6 +233,7 @@ func (client BackupLongTermRetentionPoliciesClient) ListByDatabase(ctx context.C return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client BackupLongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -243,6 +256,7 @@ func (client BackupLongTermRetentionPoliciesClient) ListByDatabasePreparer(ctx c return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client BackupLongTermRetentionPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -250,6 +264,7 @@ func (client BackupLongTermRetentionPoliciesClient) ListByDatabaseSender(req *ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client BackupLongTermRetentionPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result BackupLongTermRetentionPolicyListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionvaults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionvaults.go index 1a67bbc0210c..0f79b0981d15 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionvaults.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/backuplongtermretentionvaults.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionVaultsClient is the the Azure SQL Database management API provides a RESTful set of web // services that interact with Azure SQL Database services to manage your databases. The API enables you to create, // retrieve, update, and delete databases. @@ -32,17 +33,20 @@ type BackupLongTermRetentionVaultsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewBackupLongTermRetentionVaultsClient creates an instance of the BackupLongTermRetentionVaultsClient client. func NewBackupLongTermRetentionVaultsClient(subscriptionID string) BackupLongTermRetentionVaultsClient { return NewBackupLongTermRetentionVaultsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewBackupLongTermRetentionVaultsClientWithBaseURI creates an instance of the BackupLongTermRetentionVaultsClient // client. func NewBackupLongTermRetentionVaultsClientWithBaseURI(baseURI string, subscriptionID string) BackupLongTermRetentionVaultsClient { return BackupLongTermRetentionVaultsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate updates a server backup long term retention vault // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -71,6 +75,7 @@ func (client BackupLongTermRetentionVaultsClient) CreateOrUpdate(ctx context.Con return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client BackupLongTermRetentionVaultsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters BackupLongTermRetentionVault) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -95,6 +100,7 @@ func (client BackupLongTermRetentionVaultsClient) CreateOrUpdatePreparer(ctx con return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client BackupLongTermRetentionVaultsClient) CreateOrUpdateSender(req *http.Request) (future BackupLongTermRetentionVaultsCreateOrUpdateFuture, err error) { @@ -110,6 +116,7 @@ func (client BackupLongTermRetentionVaultsClient) CreateOrUpdateSender(req *http return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client BackupLongTermRetentionVaultsClient) CreateOrUpdateResponder(resp *http.Response) (result BackupLongTermRetentionVault, err error) { @@ -123,6 +130,7 @@ func (client BackupLongTermRetentionVaultsClient) CreateOrUpdateResponder(resp * return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a server backup long term retention vault // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -149,6 +157,7 @@ func (client BackupLongTermRetentionVaultsClient) Get(ctx context.Context, resou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client BackupLongTermRetentionVaultsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -171,6 +180,7 @@ func (client BackupLongTermRetentionVaultsClient) GetPreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client BackupLongTermRetentionVaultsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -178,6 +188,7 @@ func (client BackupLongTermRetentionVaultsClient) GetSender(req *http.Request) ( azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client BackupLongTermRetentionVaultsClient) GetResponder(resp *http.Response) (result BackupLongTermRetentionVault, err error) { @@ -191,6 +202,7 @@ func (client BackupLongTermRetentionVaultsClient) GetResponder(resp *http.Respon return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer gets server backup long term retention vaults in a server // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -217,6 +229,7 @@ func (client BackupLongTermRetentionVaultsClient) ListByServer(ctx context.Conte return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client BackupLongTermRetentionVaultsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -238,6 +251,7 @@ func (client BackupLongTermRetentionVaultsClient) ListByServerPreparer(ctx conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client BackupLongTermRetentionVaultsClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -245,6 +259,7 @@ func (client BackupLongTermRetentionVaultsClient) ListByServerSender(req *http.R azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client BackupLongTermRetentionVaultsClient) ListByServerResponder(resp *http.Response) (result BackupLongTermRetentionVaultListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/capabilities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/capabilities.go index cc587af8e212..9e478bec88d5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/capabilities.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/capabilities.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CapabilitiesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type CapabilitiesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewCapabilitiesClient creates an instance of the CapabilitiesClient client. func NewCapabilitiesClient(subscriptionID string) CapabilitiesClient { return NewCapabilitiesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewCapabilitiesClientWithBaseURI creates an instance of the CapabilitiesClient client. func NewCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) CapabilitiesClient { return CapabilitiesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocation gets the subscription capabilities available for the specified location. // // locationName is the location name whose capabilities are retrieved. @@ -66,6 +70,7 @@ func (client CapabilitiesClient) ListByLocation(ctx context.Context, locationNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocationPreparer prepares the ListByLocation request. func (client CapabilitiesClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -86,6 +91,7 @@ func (client CapabilitiesClient) ListByLocationPreparer(ctx context.Context, loc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocationSender sends the ListByLocation request. The method will close the // http.Response Body if it receives an error. func (client CapabilitiesClient) ListByLocationSender(req *http.Request) (*http.Response, error) { @@ -93,6 +99,7 @@ func (client CapabilitiesClient) ListByLocationSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocationResponder handles the response to the ListByLocation request. The method always // closes the http.Response Body. func (client CapabilitiesClient) ListByLocationResponder(resp *http.Response) (result LocationCapabilities, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/client.go index 40ec57b36bab..3bb66c3c5b2a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/client.go @@ -30,6 +30,7 @@ const ( DefaultBaseURI = "https://management.azure.com" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BaseClient is the base client for Sql. type BaseClient struct { autorest.Client @@ -37,11 +38,13 @@ type BaseClient struct { SubscriptionID string } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // New creates an instance of the BaseClient client. func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseblobauditingpolicies.go index 8770fc0e82a9..9202465200b9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseblobauditingpolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseblobauditingpolicies.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseBlobAuditingPoliciesClient is the the Azure SQL Database management API provides a RESTful set of web // services that interact with Azure SQL Database services to manage your databases. The API enables you to create, // retrieve, update, and delete databases. @@ -31,17 +32,20 @@ type DatabaseBlobAuditingPoliciesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabaseBlobAuditingPoliciesClient creates an instance of the DatabaseBlobAuditingPoliciesClient client. func NewDatabaseBlobAuditingPoliciesClient(subscriptionID string) DatabaseBlobAuditingPoliciesClient { return NewDatabaseBlobAuditingPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabaseBlobAuditingPoliciesClientWithBaseURI creates an instance of the DatabaseBlobAuditingPoliciesClient // client. func NewDatabaseBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseBlobAuditingPoliciesClient { return DatabaseBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a database's blob auditing policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -70,6 +74,7 @@ func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdate(ctx context.Cont return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseBlobAuditingPolicy) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -95,6 +100,7 @@ func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdatePreparer(ctx cont return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -102,6 +108,7 @@ func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdateSender(req *http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseBlobAuditingPolicy, err error) { @@ -115,6 +122,7 @@ func (client DatabaseBlobAuditingPoliciesClient) CreateOrUpdateResponder(resp *h return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a database's blob auditing policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -142,6 +150,7 @@ func (client DatabaseBlobAuditingPoliciesClient) Get(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client DatabaseBlobAuditingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -165,6 +174,7 @@ func (client DatabaseBlobAuditingPoliciesClient) GetPreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DatabaseBlobAuditingPoliciesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -172,6 +182,7 @@ func (client DatabaseBlobAuditingPoliciesClient) GetSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client DatabaseBlobAuditingPoliciesClient) GetResponder(resp *http.Response) (result DatabaseBlobAuditingPolicy, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databases.go index 164f6b989b2a..06581bab7ca9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databases.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databases.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -32,16 +33,19 @@ type DatabasesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabasesClient creates an instance of the DatabasesClient client. func NewDatabasesClient(subscriptionID string) DatabasesClient { return NewDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client. func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient { return DatabasesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateImportOperation creates an import operation that imports a bacpac into an existing database. The existing // database must be empty. // @@ -71,6 +75,7 @@ func (client DatabasesClient) CreateImportOperation(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateImportOperationPreparer prepares the CreateImportOperation request. func (client DatabasesClient) CreateImportOperationPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ImportExtensionRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -96,6 +101,7 @@ func (client DatabasesClient) CreateImportOperationPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateImportOperationSender sends the CreateImportOperation request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) CreateImportOperationSender(req *http.Request) (future DatabasesCreateImportOperationFuture, err error) { @@ -111,6 +117,7 @@ func (client DatabasesClient) CreateImportOperationSender(req *http.Request) (fu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateImportOperationResponder handles the response to the CreateImportOperation request. The method always // closes the http.Response Body. func (client DatabasesClient) CreateImportOperationResponder(resp *http.Response) (result ImportExportResponse, err error) { @@ -124,6 +131,7 @@ func (client DatabasesClient) CreateImportOperationResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates a new database or updates an existing database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -146,6 +154,7 @@ func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters Database) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -170,6 +179,7 @@ func (client DatabasesClient) CreateOrUpdatePreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future DatabasesCreateOrUpdateFuture, err error) { @@ -185,6 +195,7 @@ func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (future Da return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (result Database, err error) { @@ -198,6 +209,7 @@ func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -225,6 +237,7 @@ func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -247,6 +260,7 @@ func (client DatabasesClient) DeletePreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -254,6 +268,7 @@ func (client DatabasesClient) DeleteSender(req *http.Request) (*http.Response, e azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -266,6 +281,7 @@ func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autor return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Export exports a database to a bacpac. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -296,6 +312,7 @@ func (client DatabasesClient) Export(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ExportPreparer prepares the Export request. func (client DatabasesClient) ExportPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters ExportRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -320,6 +337,7 @@ func (client DatabasesClient) ExportPreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ExportSender sends the Export request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ExportSender(req *http.Request) (future DatabasesExportFuture, err error) { @@ -335,6 +353,7 @@ func (client DatabasesClient) ExportSender(req *http.Request) (future DatabasesE return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ExportResponder handles the response to the Export request. The method always // closes the http.Response Body. func (client DatabasesClient) ExportResponder(resp *http.Response) (result ImportExportResponse, err error) { @@ -348,6 +367,7 @@ func (client DatabasesClient) ExportResponder(resp *http.Response) (result Impor return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -376,6 +396,7 @@ func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, expand string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -401,6 +422,7 @@ func (client DatabasesClient) GetPreparer(ctx context.Context, resourceGroupName return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -408,6 +430,7 @@ func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, erro azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client DatabasesClient) GetResponder(resp *http.Response) (result Database, err error) { @@ -421,6 +444,7 @@ func (client DatabasesClient) GetResponder(resp *http.Response) (result Database return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByElasticPool gets a database inside of an elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -448,6 +472,7 @@ func (client DatabasesClient) GetByElasticPool(ctx context.Context, resourceGrou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByElasticPoolPreparer prepares the GetByElasticPool request. func (client DatabasesClient) GetByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -471,6 +496,7 @@ func (client DatabasesClient) GetByElasticPoolPreparer(ctx context.Context, reso return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByElasticPoolSender sends the GetByElasticPool request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) GetByElasticPoolSender(req *http.Request) (*http.Response, error) { @@ -478,6 +504,7 @@ func (client DatabasesClient) GetByElasticPoolSender(req *http.Request) (*http.R azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByElasticPoolResponder handles the response to the GetByElasticPool request. The method always // closes the http.Response Body. func (client DatabasesClient) GetByElasticPoolResponder(resp *http.Response) (result Database, err error) { @@ -491,6 +518,7 @@ func (client DatabasesClient) GetByElasticPoolResponder(resp *http.Response) (re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByRecommendedElasticPool gets a database inside of a recommented elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -518,6 +546,7 @@ func (client DatabasesClient) GetByRecommendedElasticPool(ctx context.Context, r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByRecommendedElasticPoolPreparer prepares the GetByRecommendedElasticPool request. func (client DatabasesClient) GetByRecommendedElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, recommendedElasticPoolName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -541,6 +570,7 @@ func (client DatabasesClient) GetByRecommendedElasticPoolPreparer(ctx context.Co return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByRecommendedElasticPoolSender sends the GetByRecommendedElasticPool request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) GetByRecommendedElasticPoolSender(req *http.Request) (*http.Response, error) { @@ -548,6 +578,7 @@ func (client DatabasesClient) GetByRecommendedElasticPoolSender(req *http.Reques azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetByRecommendedElasticPoolResponder handles the response to the GetByRecommendedElasticPool request. The method always // closes the http.Response Body. func (client DatabasesClient) GetByRecommendedElasticPoolResponder(resp *http.Response) (result Database, err error) { @@ -561,6 +592,7 @@ func (client DatabasesClient) GetByRecommendedElasticPoolResponder(resp *http.Re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Import imports a bacpac into a new database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -589,6 +621,7 @@ func (client DatabasesClient) Import(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportPreparer prepares the Import request. func (client DatabasesClient) ImportPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ImportRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -612,6 +645,7 @@ func (client DatabasesClient) ImportPreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportSender sends the Import request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ImportSender(req *http.Request) (future DatabasesImportFuture, err error) { @@ -627,6 +661,7 @@ func (client DatabasesClient) ImportSender(req *http.Request) (future DatabasesI return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportResponder handles the response to the Import request. The method always // closes the http.Response Body. func (client DatabasesClient) ImportResponder(resp *http.Response) (result ImportExportResponse, err error) { @@ -640,6 +675,7 @@ func (client DatabasesClient) ImportResponder(resp *http.Response) (result Impor return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPool returns a list of databases in an elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -667,6 +703,7 @@ func (client DatabasesClient) ListByElasticPool(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolPreparer prepares the ListByElasticPool request. func (client DatabasesClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -689,6 +726,7 @@ func (client DatabasesClient) ListByElasticPoolPreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolSender sends the ListByElasticPool request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error) { @@ -696,6 +734,7 @@ func (client DatabasesClient) ListByElasticPoolSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolResponder handles the response to the ListByElasticPool request. The method always // closes the http.Response Body. func (client DatabasesClient) ListByElasticPoolResponder(resp *http.Response) (result DatabaseListResult, err error) { @@ -709,6 +748,7 @@ func (client DatabasesClient) ListByElasticPoolResponder(resp *http.Response) (r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByRecommendedElasticPool returns a list of databases inside a recommented elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -736,6 +776,7 @@ func (client DatabasesClient) ListByRecommendedElasticPool(ctx context.Context, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByRecommendedElasticPoolPreparer prepares the ListByRecommendedElasticPool request. func (client DatabasesClient) ListByRecommendedElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -758,6 +799,7 @@ func (client DatabasesClient) ListByRecommendedElasticPoolPreparer(ctx context.C return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByRecommendedElasticPoolSender sends the ListByRecommendedElasticPool request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ListByRecommendedElasticPoolSender(req *http.Request) (*http.Response, error) { @@ -765,6 +807,7 @@ func (client DatabasesClient) ListByRecommendedElasticPoolSender(req *http.Reque azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByRecommendedElasticPoolResponder handles the response to the ListByRecommendedElasticPool request. The method always // closes the http.Response Body. func (client DatabasesClient) ListByRecommendedElasticPoolResponder(resp *http.Response) (result DatabaseListResult, err error) { @@ -778,6 +821,7 @@ func (client DatabasesClient) ListByRecommendedElasticPoolResponder(resp *http.R return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer returns a list of databases in a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -806,6 +850,7 @@ func (client DatabasesClient) ListByServer(ctx context.Context, resourceGroupNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, expand string, filter string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -833,6 +878,7 @@ func (client DatabasesClient) ListByServerPreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -840,6 +886,7 @@ func (client DatabasesClient) ListByServerSender(req *http.Request) (*http.Respo azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client DatabasesClient) ListByServerResponder(resp *http.Response) (result DatabaseListResult, err error) { @@ -853,6 +900,7 @@ func (client DatabasesClient) ListByServerResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitions returns database metric definitions. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -880,6 +928,7 @@ func (client DatabasesClient) ListMetricDefinitions(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request. func (client DatabasesClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -902,6 +951,7 @@ func (client DatabasesClient) ListMetricDefinitionsPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error) { @@ -909,6 +959,7 @@ func (client DatabasesClient) ListMetricDefinitionsSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always // closes the http.Response Body. func (client DatabasesClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionListResult, err error) { @@ -922,6 +973,7 @@ func (client DatabasesClient) ListMetricDefinitionsResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetrics returns database metrics. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -949,6 +1001,7 @@ func (client DatabasesClient) ListMetrics(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricsPreparer prepares the ListMetrics request. func (client DatabasesClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, filter string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -972,6 +1025,7 @@ func (client DatabasesClient) ListMetricsPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricsSender sends the ListMetrics request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ListMetricsSender(req *http.Request) (*http.Response, error) { @@ -979,6 +1033,7 @@ func (client DatabasesClient) ListMetricsSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricsResponder handles the response to the ListMetrics request. The method always // closes the http.Response Body. func (client DatabasesClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error) { @@ -992,6 +1047,7 @@ func (client DatabasesClient) ListMetricsResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Pause pauses a data warehouse. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -1013,6 +1069,7 @@ func (client DatabasesClient) Pause(ctx context.Context, resourceGroupName strin return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PausePreparer prepares the Pause request. func (client DatabasesClient) PausePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -1035,6 +1092,7 @@ func (client DatabasesClient) PausePreparer(ctx context.Context, resourceGroupNa return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PauseSender sends the Pause request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) PauseSender(req *http.Request) (future DatabasesPauseFuture, err error) { @@ -1050,6 +1108,7 @@ func (client DatabasesClient) PauseSender(req *http.Request) (future DatabasesPa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PauseResponder handles the response to the Pause request. The method always // closes the http.Response Body. func (client DatabasesClient) PauseResponder(resp *http.Response) (result autorest.Response, err error) { @@ -1062,6 +1121,7 @@ func (client DatabasesClient) PauseResponder(resp *http.Response) (result autore return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Resume resumes a data warehouse. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -1083,6 +1143,7 @@ func (client DatabasesClient) Resume(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ResumePreparer prepares the Resume request. func (client DatabasesClient) ResumePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -1105,6 +1166,7 @@ func (client DatabasesClient) ResumePreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ResumeSender sends the Resume request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) ResumeSender(req *http.Request) (future DatabasesResumeFuture, err error) { @@ -1120,6 +1182,7 @@ func (client DatabasesClient) ResumeSender(req *http.Request) (future DatabasesR return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ResumeResponder handles the response to the Resume request. The method always // closes the http.Response Body. func (client DatabasesClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error) { @@ -1132,6 +1195,7 @@ func (client DatabasesClient) ResumeResponder(resp *http.Response) (result autor return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Update updates an existing database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -1153,6 +1217,7 @@ func (client DatabasesClient) Update(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdatePreparer prepares the Update request. func (client DatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseUpdate) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -1177,6 +1242,7 @@ func (client DatabasesClient) UpdatePreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client DatabasesClient) UpdateSender(req *http.Request) (future DatabasesUpdateFuture, err error) { @@ -1192,6 +1258,7 @@ func (client DatabasesClient) UpdateSender(req *http.Request) (future DatabasesU return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client DatabasesClient) UpdateResponder(resp *http.Response) (result Database, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databasethreatdetectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databasethreatdetectionpolicies.go index fdb9dee3f2c9..73bc6a5dfdef 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databasethreatdetectionpolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databasethreatdetectionpolicies.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseThreatDetectionPoliciesClient is the the Azure SQL Database management API provides a RESTful set of web // services that interact with Azure SQL Database services to manage your databases. The API enables you to create, // retrieve, update, and delete databases. @@ -31,17 +32,20 @@ type DatabaseThreatDetectionPoliciesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabaseThreatDetectionPoliciesClient creates an instance of the DatabaseThreatDetectionPoliciesClient client. func NewDatabaseThreatDetectionPoliciesClient(subscriptionID string) DatabaseThreatDetectionPoliciesClient { return NewDatabaseThreatDetectionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabaseThreatDetectionPoliciesClientWithBaseURI creates an instance of the DatabaseThreatDetectionPoliciesClient // client. func NewDatabaseThreatDetectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseThreatDetectionPoliciesClient { return DatabaseThreatDetectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a database's threat detection policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -70,6 +74,7 @@ func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdate(ctx context.C return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DatabaseSecurityAlertPolicy) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -95,6 +100,7 @@ func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdatePreparer(ctx c return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -102,6 +108,7 @@ func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateSender(req *ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error) { @@ -115,6 +122,7 @@ func (client DatabaseThreatDetectionPoliciesClient) CreateOrUpdateResponder(resp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a database's threat detection policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -142,6 +150,7 @@ func (client DatabaseThreatDetectionPoliciesClient) Get(ctx context.Context, res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client DatabaseThreatDetectionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -165,6 +174,7 @@ func (client DatabaseThreatDetectionPoliciesClient) GetPreparer(ctx context.Cont return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DatabaseThreatDetectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -172,6 +182,7 @@ func (client DatabaseThreatDetectionPoliciesClient) GetSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client DatabaseThreatDetectionPoliciesClient) GetResponder(resp *http.Response) (result DatabaseSecurityAlertPolicy, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseusages.go index 2d531bfa202a..3cbb944e1814 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseusages.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/databaseusages.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseUsagesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type DatabaseUsagesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabaseUsagesClient creates an instance of the DatabaseUsagesClient client. func NewDatabaseUsagesClient(subscriptionID string) DatabaseUsagesClient { return NewDatabaseUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDatabaseUsagesClientWithBaseURI creates an instance of the DatabaseUsagesClient client. func NewDatabaseUsagesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseUsagesClient { return DatabaseUsagesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase returns database usages. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client DatabaseUsagesClient) ListByDatabase(ctx context.Context, resourceG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client DatabaseUsagesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client DatabaseUsagesClient) ListByDatabasePreparer(ctx context.Context, r return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client DatabaseUsagesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -97,6 +103,7 @@ func (client DatabaseUsagesClient) ListByDatabaseSender(req *http.Request) (*htt azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client DatabaseUsagesClient) ListByDatabaseResponder(resp *http.Response) (result DatabaseUsageListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingpolicies.go index d462b4be078f..82a0a7000069 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingpolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingpolicies.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingPoliciesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type DataMaskingPoliciesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDataMaskingPoliciesClient creates an instance of the DataMaskingPoliciesClient client. func NewDataMaskingPoliciesClient(subscriptionID string) DataMaskingPoliciesClient { return NewDataMaskingPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDataMaskingPoliciesClientWithBaseURI creates an instance of the DataMaskingPoliciesClient client. func NewDataMaskingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingPoliciesClient { return DataMaskingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a database data masking policy // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client DataMaskingPoliciesClient) CreateOrUpdate(ctx context.Context, reso return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client DataMaskingPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters DataMaskingPolicy) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -93,6 +98,7 @@ func (client DataMaskingPoliciesClient) CreateOrUpdatePreparer(ctx context.Conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DataMaskingPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -100,6 +106,7 @@ func (client DataMaskingPoliciesClient) CreateOrUpdateSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client DataMaskingPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DataMaskingPolicy, err error) { @@ -113,6 +120,7 @@ func (client DataMaskingPoliciesClient) CreateOrUpdateResponder(resp *http.Respo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a database data masking policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -140,6 +148,7 @@ func (client DataMaskingPoliciesClient) Get(ctx context.Context, resourceGroupNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client DataMaskingPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -163,6 +172,7 @@ func (client DataMaskingPoliciesClient) GetPreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DataMaskingPoliciesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -170,6 +180,7 @@ func (client DataMaskingPoliciesClient) GetSender(req *http.Request) (*http.Resp azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client DataMaskingPoliciesClient) GetResponder(resp *http.Response) (result DataMaskingPolicy, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingrules.go index 5eb74d5df714..0b8b90df4056 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/datamaskingrules.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingRulesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -32,16 +33,19 @@ type DataMaskingRulesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDataMaskingRulesClient creates an instance of the DataMaskingRulesClient client. func NewDataMaskingRulesClient(subscriptionID string) DataMaskingRulesClient { return NewDataMaskingRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewDataMaskingRulesClientWithBaseURI creates an instance of the DataMaskingRulesClient client. func NewDataMaskingRulesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingRulesClient { return DataMaskingRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a database data masking rule. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -80,6 +84,7 @@ func (client DataMaskingRulesClient) CreateOrUpdate(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client DataMaskingRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, dataMaskingRuleName string, parameters DataMaskingRule) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -106,6 +111,7 @@ func (client DataMaskingRulesClient) CreateOrUpdatePreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DataMaskingRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -113,6 +119,7 @@ func (client DataMaskingRulesClient) CreateOrUpdateSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client DataMaskingRulesClient) CreateOrUpdateResponder(resp *http.Response) (result DataMaskingRule, err error) { @@ -126,6 +133,7 @@ func (client DataMaskingRulesClient) CreateOrUpdateResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase gets a list of database data masking rules. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -153,6 +161,7 @@ func (client DataMaskingRulesClient) ListByDatabase(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client DataMaskingRulesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -176,6 +185,7 @@ func (client DataMaskingRulesClient) ListByDatabasePreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client DataMaskingRulesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -183,6 +193,7 @@ func (client DataMaskingRulesClient) ListByDatabaseSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client DataMaskingRulesClient) ListByDatabaseResponder(resp *http.Response) (result DataMaskingRuleListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpoolactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpoolactivities.go index 207c81fcc0b2..3b493028d779 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpoolactivities.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpoolactivities.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolActivitiesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type ElasticPoolActivitiesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewElasticPoolActivitiesClient creates an instance of the ElasticPoolActivitiesClient client. func NewElasticPoolActivitiesClient(subscriptionID string) ElasticPoolActivitiesClient { return NewElasticPoolActivitiesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewElasticPoolActivitiesClientWithBaseURI creates an instance of the ElasticPoolActivitiesClient client. func NewElasticPoolActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolActivitiesClient { return ElasticPoolActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPool returns elastic pool activities. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client ElasticPoolActivitiesClient) ListByElasticPool(ctx context.Context, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolPreparer prepares the ListByElasticPool request. func (client ElasticPoolActivitiesClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client ElasticPoolActivitiesClient) ListByElasticPoolPreparer(ctx context. return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolSender sends the ListByElasticPool request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolActivitiesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error) { @@ -97,6 +103,7 @@ func (client ElasticPoolActivitiesClient) ListByElasticPoolSender(req *http.Requ azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolResponder handles the response to the ListByElasticPool request. The method always // closes the http.Response Body. func (client ElasticPoolActivitiesClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolActivityListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpooldatabaseactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpooldatabaseactivities.go index ce30d93c6839..1b1d28e0cfcd 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpooldatabaseactivities.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpooldatabaseactivities.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolDatabaseActivitiesClient is the the Azure SQL Database management API provides a RESTful set of web // services that interact with Azure SQL Database services to manage your databases. The API enables you to create, // retrieve, update, and delete databases. @@ -31,17 +32,20 @@ type ElasticPoolDatabaseActivitiesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewElasticPoolDatabaseActivitiesClient creates an instance of the ElasticPoolDatabaseActivitiesClient client. func NewElasticPoolDatabaseActivitiesClient(subscriptionID string) ElasticPoolDatabaseActivitiesClient { return NewElasticPoolDatabaseActivitiesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewElasticPoolDatabaseActivitiesClientWithBaseURI creates an instance of the ElasticPoolDatabaseActivitiesClient // client. func NewElasticPoolDatabaseActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolDatabaseActivitiesClient { return ElasticPoolDatabaseActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPool returns activity on databases inside of an elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -69,6 +73,7 @@ func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPool(ctx context. return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolPreparer prepares the ListByElasticPool request. func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -91,6 +96,7 @@ func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolPreparer(ctx return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolSender sends the ListByElasticPool request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolSender(req *http.Request) (*http.Response, error) { @@ -98,6 +104,7 @@ func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolSender(req *h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByElasticPoolResponder handles the response to the ListByElasticPool request. The method always // closes the http.Response Body. func (client ElasticPoolDatabaseActivitiesClient) ListByElasticPoolResponder(resp *http.Response) (result ElasticPoolDatabaseActivityListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpools.go index c56f6a3e5738..d4cb52a2e526 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpools.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/elasticpools.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type ElasticPoolsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewElasticPoolsClient creates an instance of the ElasticPoolsClient client. func NewElasticPoolsClient(subscriptionID string) ElasticPoolsClient { return NewElasticPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewElasticPoolsClientWithBaseURI creates an instance of the ElasticPoolsClient client. func NewElasticPoolsClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolsClient { return ElasticPoolsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates a new elastic pool or updates an existing elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -63,6 +67,7 @@ func (client ElasticPoolsClient) CreateOrUpdate(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ElasticPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPool) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -87,6 +92,7 @@ func (client ElasticPoolsClient) CreateOrUpdatePreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolsClient) CreateOrUpdateSender(req *http.Request) (future ElasticPoolsCreateOrUpdateFuture, err error) { @@ -102,6 +108,7 @@ func (client ElasticPoolsClient) CreateOrUpdateSender(req *http.Request) (future return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ElasticPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result ElasticPool, err error) { @@ -115,6 +122,7 @@ func (client ElasticPoolsClient) CreateOrUpdateResponder(resp *http.Response) (r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes the elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -142,6 +150,7 @@ func (client ElasticPoolsClient) Delete(ctx context.Context, resourceGroupName s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client ElasticPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -164,6 +173,7 @@ func (client ElasticPoolsClient) DeletePreparer(ctx context.Context, resourceGro return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolsClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -171,6 +181,7 @@ func (client ElasticPoolsClient) DeleteSender(req *http.Request) (*http.Response azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ElasticPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -183,6 +194,7 @@ func (client ElasticPoolsClient) DeleteResponder(resp *http.Response) (result au return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets an elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -210,6 +222,7 @@ func (client ElasticPoolsClient) Get(ctx context.Context, resourceGroupName stri return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ElasticPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -232,6 +245,7 @@ func (client ElasticPoolsClient) GetPreparer(ctx context.Context, resourceGroupN return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -239,6 +253,7 @@ func (client ElasticPoolsClient) GetSender(req *http.Request) (*http.Response, e azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ElasticPoolsClient) GetResponder(resp *http.Response) (result ElasticPool, err error) { @@ -252,6 +267,7 @@ func (client ElasticPoolsClient) GetResponder(resp *http.Response) (result Elast return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer returns a list of elastic pools in a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -278,6 +294,7 @@ func (client ElasticPoolsClient) ListByServer(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client ElasticPoolsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -299,6 +316,7 @@ func (client ElasticPoolsClient) ListByServerPreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolsClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -306,6 +324,7 @@ func (client ElasticPoolsClient) ListByServerSender(req *http.Request) (*http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client ElasticPoolsClient) ListByServerResponder(resp *http.Response) (result ElasticPoolListResult, err error) { @@ -319,6 +338,7 @@ func (client ElasticPoolsClient) ListByServerResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitions returns elastic pool metric definitions. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -346,6 +366,7 @@ func (client ElasticPoolsClient) ListMetricDefinitions(ctx context.Context, reso return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request. func (client ElasticPoolsClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -368,6 +389,7 @@ func (client ElasticPoolsClient) ListMetricDefinitionsPreparer(ctx context.Conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolsClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error) { @@ -375,6 +397,7 @@ func (client ElasticPoolsClient) ListMetricDefinitionsSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always // closes the http.Response Body. func (client ElasticPoolsClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionListResult, err error) { @@ -388,6 +411,7 @@ func (client ElasticPoolsClient) ListMetricDefinitionsResponder(resp *http.Respo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetrics returns elastic pool metrics. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -415,6 +439,7 @@ func (client ElasticPoolsClient) ListMetrics(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricsPreparer prepares the ListMetrics request. func (client ElasticPoolsClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, filter string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -438,6 +463,7 @@ func (client ElasticPoolsClient) ListMetricsPreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricsSender sends the ListMetrics request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolsClient) ListMetricsSender(req *http.Request) (*http.Response, error) { @@ -445,6 +471,7 @@ func (client ElasticPoolsClient) ListMetricsSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMetricsResponder handles the response to the ListMetrics request. The method always // closes the http.Response Body. func (client ElasticPoolsClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error) { @@ -458,6 +485,7 @@ func (client ElasticPoolsClient) ListMetricsResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Update updates an existing elastic pool. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -479,6 +507,7 @@ func (client ElasticPoolsClient) Update(ctx context.Context, resourceGroupName s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdatePreparer prepares the Update request. func (client ElasticPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, elasticPoolName string, parameters ElasticPoolUpdate) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -503,6 +532,7 @@ func (client ElasticPoolsClient) UpdatePreparer(ctx context.Context, resourceGro return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client ElasticPoolsClient) UpdateSender(req *http.Request) (future ElasticPoolsUpdateFuture, err error) { @@ -518,6 +548,7 @@ func (client ElasticPoolsClient) UpdateSender(req *http.Request) (future Elastic return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client ElasticPoolsClient) UpdateResponder(resp *http.Response) (result ElasticPool, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/encryptionprotectors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/encryptionprotectors.go index 6f96e37ce1fc..dd8349e7399a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/encryptionprotectors.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/encryptionprotectors.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EncryptionProtectorsClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type EncryptionProtectorsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewEncryptionProtectorsClient creates an instance of the EncryptionProtectorsClient client. func NewEncryptionProtectorsClient(subscriptionID string) EncryptionProtectorsClient { return NewEncryptionProtectorsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewEncryptionProtectorsClientWithBaseURI creates an instance of the EncryptionProtectorsClient client. func NewEncryptionProtectorsClientWithBaseURI(baseURI string, subscriptionID string) EncryptionProtectorsClient { return EncryptionProtectorsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate updates an existing encryption protector. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -62,6 +66,7 @@ func (client EncryptionProtectorsClient) CreateOrUpdate(ctx context.Context, res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client EncryptionProtectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters EncryptionProtector) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -86,6 +91,7 @@ func (client EncryptionProtectorsClient) CreateOrUpdatePreparer(ctx context.Cont return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client EncryptionProtectorsClient) CreateOrUpdateSender(req *http.Request) (future EncryptionProtectorsCreateOrUpdateFuture, err error) { @@ -101,6 +107,7 @@ func (client EncryptionProtectorsClient) CreateOrUpdateSender(req *http.Request) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client EncryptionProtectorsClient) CreateOrUpdateResponder(resp *http.Response) (result EncryptionProtector, err error) { @@ -114,6 +121,7 @@ func (client EncryptionProtectorsClient) CreateOrUpdateResponder(resp *http.Resp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a server encryption protector. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -140,6 +148,7 @@ func (client EncryptionProtectorsClient) Get(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client EncryptionProtectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -162,6 +171,7 @@ func (client EncryptionProtectorsClient) GetPreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client EncryptionProtectorsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -169,6 +179,7 @@ func (client EncryptionProtectorsClient) GetSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client EncryptionProtectorsClient) GetResponder(resp *http.Response) (result EncryptionProtector, err error) { @@ -182,6 +193,7 @@ func (client EncryptionProtectorsClient) GetResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer gets a list of server encryption protectors // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -209,6 +221,7 @@ func (client EncryptionProtectorsClient) ListByServer(ctx context.Context, resou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client EncryptionProtectorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -230,6 +243,7 @@ func (client EncryptionProtectorsClient) ListByServerPreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client EncryptionProtectorsClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -237,6 +251,7 @@ func (client EncryptionProtectorsClient) ListByServerSender(req *http.Request) ( azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client EncryptionProtectorsClient) ListByServerResponder(resp *http.Response) (result EncryptionProtectorListResult, err error) { @@ -271,6 +286,7 @@ func (client EncryptionProtectorsClient) listByServerNextResults(lastResults Enc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerComplete enumerates all values, automatically crossing page boundaries as required. func (client EncryptionProtectorsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result EncryptionProtectorListResultIterator, err error) { result.page, err = client.ListByServer(ctx, resourceGroupName, serverName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/failovergroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/failovergroups.go index 06b0ae818b14..0768049eb37d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/failovergroups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/failovergroups.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupsClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -32,16 +33,19 @@ type FailoverGroupsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewFailoverGroupsClient creates an instance of the FailoverGroupsClient client. func NewFailoverGroupsClient(subscriptionID string) FailoverGroupsClient { return NewFailoverGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewFailoverGroupsClientWithBaseURI creates an instance of the FailoverGroupsClient client. func NewFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) FailoverGroupsClient { return FailoverGroupsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a failover group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -72,6 +76,7 @@ func (client FailoverGroupsClient) CreateOrUpdate(ctx context.Context, resourceG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client FailoverGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroup) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -96,6 +101,7 @@ func (client FailoverGroupsClient) CreateOrUpdatePreparer(ctx context.Context, r return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client FailoverGroupsClient) CreateOrUpdateSender(req *http.Request) (future FailoverGroupsCreateOrUpdateFuture, err error) { @@ -111,6 +117,7 @@ func (client FailoverGroupsClient) CreateOrUpdateSender(req *http.Request) (futu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client FailoverGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result FailoverGroup, err error) { @@ -124,6 +131,7 @@ func (client FailoverGroupsClient) CreateOrUpdateResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a failover group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -145,6 +153,7 @@ func (client FailoverGroupsClient) Delete(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client FailoverGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -167,6 +176,7 @@ func (client FailoverGroupsClient) DeletePreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client FailoverGroupsClient) DeleteSender(req *http.Request) (future FailoverGroupsDeleteFuture, err error) { @@ -182,6 +192,7 @@ func (client FailoverGroupsClient) DeleteSender(req *http.Request) (future Failo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client FailoverGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -194,6 +205,7 @@ func (client FailoverGroupsClient) DeleteResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Failover fails over from the current primary server to this server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -215,6 +227,7 @@ func (client FailoverGroupsClient) Failover(ctx context.Context, resourceGroupNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverPreparer prepares the Failover request. func (client FailoverGroupsClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -237,6 +250,7 @@ func (client FailoverGroupsClient) FailoverPreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverSender sends the Failover request. The method will close the // http.Response Body if it receives an error. func (client FailoverGroupsClient) FailoverSender(req *http.Request) (future FailoverGroupsFailoverFuture, err error) { @@ -252,6 +266,7 @@ func (client FailoverGroupsClient) FailoverSender(req *http.Request) (future Fai return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverResponder handles the response to the Failover request. The method always // closes the http.Response Body. func (client FailoverGroupsClient) FailoverResponder(resp *http.Response) (result FailoverGroup, err error) { @@ -265,6 +280,7 @@ func (client FailoverGroupsClient) FailoverResponder(resp *http.Response) (resul return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ForceFailoverAllowDataLoss fails over from the current primary server to this server. This operation might result in // data loss. // @@ -287,6 +303,7 @@ func (client FailoverGroupsClient) ForceFailoverAllowDataLoss(ctx context.Contex return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ForceFailoverAllowDataLossPreparer prepares the ForceFailoverAllowDataLoss request. func (client FailoverGroupsClient) ForceFailoverAllowDataLossPreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -309,6 +326,7 @@ func (client FailoverGroupsClient) ForceFailoverAllowDataLossPreparer(ctx contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ForceFailoverAllowDataLossSender sends the ForceFailoverAllowDataLoss request. The method will close the // http.Response Body if it receives an error. func (client FailoverGroupsClient) ForceFailoverAllowDataLossSender(req *http.Request) (future FailoverGroupsForceFailoverAllowDataLossFuture, err error) { @@ -324,6 +342,7 @@ func (client FailoverGroupsClient) ForceFailoverAllowDataLossSender(req *http.Re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ForceFailoverAllowDataLossResponder handles the response to the ForceFailoverAllowDataLoss request. The method always // closes the http.Response Body. func (client FailoverGroupsClient) ForceFailoverAllowDataLossResponder(resp *http.Response) (result FailoverGroup, err error) { @@ -337,6 +356,7 @@ func (client FailoverGroupsClient) ForceFailoverAllowDataLossResponder(resp *htt return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a failover group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -364,6 +384,7 @@ func (client FailoverGroupsClient) Get(ctx context.Context, resourceGroupName st return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client FailoverGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -386,6 +407,7 @@ func (client FailoverGroupsClient) GetPreparer(ctx context.Context, resourceGrou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client FailoverGroupsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -393,6 +415,7 @@ func (client FailoverGroupsClient) GetSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client FailoverGroupsClient) GetResponder(resp *http.Response) (result FailoverGroup, err error) { @@ -406,6 +429,7 @@ func (client FailoverGroupsClient) GetResponder(resp *http.Response) (result Fai return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer lists the failover groups in a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -434,6 +458,7 @@ func (client FailoverGroupsClient) ListByServer(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client FailoverGroupsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -455,6 +480,7 @@ func (client FailoverGroupsClient) ListByServerPreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client FailoverGroupsClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -462,6 +488,7 @@ func (client FailoverGroupsClient) ListByServerSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client FailoverGroupsClient) ListByServerResponder(resp *http.Response) (result FailoverGroupListResult, err error) { @@ -496,12 +523,14 @@ func (client FailoverGroupsClient) listByServerNextResults(lastResults FailoverG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerComplete enumerates all values, automatically crossing page boundaries as required. func (client FailoverGroupsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result FailoverGroupListResultIterator, err error) { result.page, err = client.ListByServer(ctx, resourceGroupName, serverName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Update updates a failover group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -523,6 +552,7 @@ func (client FailoverGroupsClient) Update(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdatePreparer prepares the Update request. func (client FailoverGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, failoverGroupName string, parameters FailoverGroupUpdate) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -547,6 +577,7 @@ func (client FailoverGroupsClient) UpdatePreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client FailoverGroupsClient) UpdateSender(req *http.Request) (future FailoverGroupsUpdateFuture, err error) { @@ -562,6 +593,7 @@ func (client FailoverGroupsClient) UpdateSender(req *http.Request) (future Failo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client FailoverGroupsClient) UpdateResponder(resp *http.Response) (result FailoverGroup, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/firewallrules.go index 39889599b694..6ddb67e969e0 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/firewallrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/firewallrules.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FirewallRulesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -32,16 +33,19 @@ type FirewallRulesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewFirewallRulesClient creates an instance of the FirewallRulesClient client. func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient { return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client. func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient { return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a firewall rule. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -78,6 +82,7 @@ func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGr return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -102,6 +107,7 @@ func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, re return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -109,6 +115,7 @@ func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error) { @@ -122,6 +129,7 @@ func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) ( return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a firewall rule. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -149,6 +157,7 @@ func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -171,6 +180,7 @@ func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGr return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -178,6 +188,7 @@ func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Respons azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -190,6 +201,7 @@ func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result a return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a firewall rule. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -217,6 +229,7 @@ func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -239,6 +252,7 @@ func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -246,6 +260,7 @@ func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error) { @@ -259,6 +274,7 @@ func (client FirewallRulesClient) GetResponder(resp *http.Response) (result Fire return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer returns a list of firewall rules. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -285,6 +301,7 @@ func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGrou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client FirewallRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -306,6 +323,7 @@ func (client FirewallRulesClient) ListByServerPreparer(ctx context.Context, reso return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client FirewallRulesClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -313,6 +331,7 @@ func (client FirewallRulesClient) ListByServerSender(req *http.Request) (*http.R azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client FirewallRulesClient) ListByServerResponder(resp *http.Response) (result FirewallRuleListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/geobackuppolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/geobackuppolicies.go index fc98307265c5..83e4f2688266 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/geobackuppolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/geobackuppolicies.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GeoBackupPoliciesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -32,16 +33,19 @@ type GeoBackupPoliciesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewGeoBackupPoliciesClient creates an instance of the GeoBackupPoliciesClient client. func NewGeoBackupPoliciesClient(subscriptionID string) GeoBackupPoliciesClient { return NewGeoBackupPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewGeoBackupPoliciesClientWithBaseURI creates an instance of the GeoBackupPoliciesClient client. func NewGeoBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) GeoBackupPoliciesClient { return GeoBackupPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate updates a database geo backup policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -75,6 +79,7 @@ func (client GeoBackupPoliciesClient) CreateOrUpdate(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client GeoBackupPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters GeoBackupPolicy) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -100,6 +105,7 @@ func (client GeoBackupPoliciesClient) CreateOrUpdatePreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client GeoBackupPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -107,6 +113,7 @@ func (client GeoBackupPoliciesClient) CreateOrUpdateSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client GeoBackupPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result GeoBackupPolicy, err error) { @@ -120,6 +127,7 @@ func (client GeoBackupPoliciesClient) CreateOrUpdateResponder(resp *http.Respons return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a geo backup policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -147,6 +155,7 @@ func (client GeoBackupPoliciesClient) Get(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client GeoBackupPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -170,6 +179,7 @@ func (client GeoBackupPoliciesClient) GetPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client GeoBackupPoliciesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -177,6 +187,7 @@ func (client GeoBackupPoliciesClient) GetSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client GeoBackupPoliciesClient) GetResponder(resp *http.Response) (result GeoBackupPolicy, err error) { @@ -190,6 +201,7 @@ func (client GeoBackupPoliciesClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase returns a list of geo backup policies. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -217,6 +229,7 @@ func (client GeoBackupPoliciesClient) ListByDatabase(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client GeoBackupPoliciesClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -239,6 +252,7 @@ func (client GeoBackupPoliciesClient) ListByDatabasePreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client GeoBackupPoliciesClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -246,6 +260,7 @@ func (client GeoBackupPoliciesClient) ListByDatabaseSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client GeoBackupPoliciesClient) ListByDatabaseResponder(resp *http.Response) (result GeoBackupPolicyListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/models.go index 1d14c39e10f3..595240bbddea 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/models.go @@ -27,6 +27,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // AuthenticationType enumerates the values for authentication type. type AuthenticationType string @@ -37,11 +38,13 @@ const ( SQL AuthenticationType = "SQL" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type. func PossibleAuthenticationTypeValues() []AuthenticationType { return []AuthenticationType{ADPassword, SQL} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionPolicyState enumerates the values for backup long term retention policy state. type BackupLongTermRetentionPolicyState string @@ -52,11 +55,13 @@ const ( Enabled BackupLongTermRetentionPolicyState = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleBackupLongTermRetentionPolicyStateValues returns an array of possible values for the BackupLongTermRetentionPolicyState const type. func PossibleBackupLongTermRetentionPolicyStateValues() []BackupLongTermRetentionPolicyState { return []BackupLongTermRetentionPolicyState{Disabled, Enabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BlobAuditingPolicyState enumerates the values for blob auditing policy state. type BlobAuditingPolicyState string @@ -67,11 +72,13 @@ const ( BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleBlobAuditingPolicyStateValues returns an array of possible values for the BlobAuditingPolicyState const type. func PossibleBlobAuditingPolicyStateValues() []BlobAuditingPolicyState { return []BlobAuditingPolicyState{BlobAuditingPolicyStateDisabled, BlobAuditingPolicyStateEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CapabilityStatus enumerates the values for capability status. type CapabilityStatus string @@ -86,11 +93,13 @@ const ( CapabilityStatusVisible CapabilityStatus = "Visible" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleCapabilityStatusValues returns an array of possible values for the CapabilityStatus const type. func PossibleCapabilityStatusValues() []CapabilityStatus { return []CapabilityStatus{CapabilityStatusAvailable, CapabilityStatusDefault, CapabilityStatusDisabled, CapabilityStatusVisible} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CheckNameAvailabilityReason enumerates the values for check name availability reason. type CheckNameAvailabilityReason string @@ -101,11 +110,13 @@ const ( Invalid CheckNameAvailabilityReason = "Invalid" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleCheckNameAvailabilityReasonValues returns an array of possible values for the CheckNameAvailabilityReason const type. func PossibleCheckNameAvailabilityReasonValues() []CheckNameAvailabilityReason { return []CheckNameAvailabilityReason{AlreadyExists, Invalid} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateMode enumerates the values for create mode. type CreateMode string @@ -128,11 +139,13 @@ const ( RestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleCreateModeValues returns an array of possible values for the CreateMode const type. func PossibleCreateModeValues() []CreateMode { return []CreateMode{Copy, Default, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, Restore, RestoreLongTermRetentionBackup} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseEdition enumerates the values for database edition. type DatabaseEdition string @@ -161,11 +174,13 @@ const ( Web DatabaseEdition = "Web" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleDatabaseEditionValues returns an array of possible values for the DatabaseEdition const type. func PossibleDatabaseEditionValues() []DatabaseEdition { return []DatabaseEdition{Basic, Business, DataWarehouse, Free, Premium, PremiumRS, Standard, Stretch, System, System2, Web} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingFunction enumerates the values for data masking function. type DataMaskingFunction string @@ -184,11 +199,13 @@ const ( DataMaskingFunctionText DataMaskingFunction = "Text" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleDataMaskingFunctionValues returns an array of possible values for the DataMaskingFunction const type. func PossibleDataMaskingFunctionValues() []DataMaskingFunction { return []DataMaskingFunction{DataMaskingFunctionCCN, DataMaskingFunctionDefault, DataMaskingFunctionEmail, DataMaskingFunctionNumber, DataMaskingFunctionSSN, DataMaskingFunctionText} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingRuleState enumerates the values for data masking rule state. type DataMaskingRuleState string @@ -199,11 +216,13 @@ const ( DataMaskingRuleStateEnabled DataMaskingRuleState = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleDataMaskingRuleStateValues returns an array of possible values for the DataMaskingRuleState const type. func PossibleDataMaskingRuleStateValues() []DataMaskingRuleState { return []DataMaskingRuleState{DataMaskingRuleStateDisabled, DataMaskingRuleStateEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingState enumerates the values for data masking state. type DataMaskingState string @@ -214,11 +233,13 @@ const ( DataMaskingStateEnabled DataMaskingState = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleDataMaskingStateValues returns an array of possible values for the DataMaskingState const type. func PossibleDataMaskingStateValues() []DataMaskingState { return []DataMaskingState{DataMaskingStateDisabled, DataMaskingStateEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolEdition enumerates the values for elastic pool edition. type ElasticPoolEdition string @@ -231,11 +252,13 @@ const ( ElasticPoolEditionStandard ElasticPoolEdition = "Standard" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleElasticPoolEditionValues returns an array of possible values for the ElasticPoolEdition const type. func PossibleElasticPoolEditionValues() []ElasticPoolEdition { return []ElasticPoolEdition{ElasticPoolEditionBasic, ElasticPoolEditionPremium, ElasticPoolEditionStandard} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolState enumerates the values for elastic pool state. type ElasticPoolState string @@ -248,11 +271,13 @@ const ( ElasticPoolStateReady ElasticPoolState = "Ready" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleElasticPoolStateValues returns an array of possible values for the ElasticPoolState const type. func PossibleElasticPoolStateValues() []ElasticPoolState { return []ElasticPoolState{ElasticPoolStateCreating, ElasticPoolStateDisabled, ElasticPoolStateReady} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupReplicationRole enumerates the values for failover group replication role. type FailoverGroupReplicationRole string @@ -263,11 +288,13 @@ const ( Secondary FailoverGroupReplicationRole = "Secondary" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleFailoverGroupReplicationRoleValues returns an array of possible values for the FailoverGroupReplicationRole const type. func PossibleFailoverGroupReplicationRoleValues() []FailoverGroupReplicationRole { return []FailoverGroupReplicationRole{Primary, Secondary} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GeoBackupPolicyState enumerates the values for geo backup policy state. type GeoBackupPolicyState string @@ -278,11 +305,13 @@ const ( GeoBackupPolicyStateEnabled GeoBackupPolicyState = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleGeoBackupPolicyStateValues returns an array of possible values for the GeoBackupPolicyState const type. func PossibleGeoBackupPolicyStateValues() []GeoBackupPolicyState { return []GeoBackupPolicyState{GeoBackupPolicyStateDisabled, GeoBackupPolicyStateEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IdentityType enumerates the values for identity type. type IdentityType string @@ -291,11 +320,13 @@ const ( SystemAssigned IdentityType = "SystemAssigned" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type. func PossibleIdentityTypeValues() []IdentityType { return []IdentityType{SystemAssigned} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MaxSizeUnits enumerates the values for max size units. type MaxSizeUnits string @@ -310,11 +341,13 @@ const ( Terabytes MaxSizeUnits = "Terabytes" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleMaxSizeUnitsValues returns an array of possible values for the MaxSizeUnits const type. func PossibleMaxSizeUnitsValues() []MaxSizeUnits { return []MaxSizeUnits{Gigabytes, Megabytes, Petabytes, Terabytes} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // OperationOrigin enumerates the values for operation origin. type OperationOrigin string @@ -325,11 +358,13 @@ const ( OperationOriginUser OperationOrigin = "user" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type. func PossibleOperationOriginValues() []OperationOrigin { return []OperationOrigin{OperationOriginSystem, OperationOriginUser} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PerformanceLevelUnit enumerates the values for performance level unit. type PerformanceLevelUnit string @@ -338,11 +373,13 @@ const ( DTU PerformanceLevelUnit = "DTU" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossiblePerformanceLevelUnitValues returns an array of possible values for the PerformanceLevelUnit const type. func PossiblePerformanceLevelUnitValues() []PerformanceLevelUnit { return []PerformanceLevelUnit{DTU} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PrimaryAggregationType enumerates the values for primary aggregation type. type PrimaryAggregationType string @@ -361,11 +398,13 @@ const ( Total PrimaryAggregationType = "Total" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossiblePrimaryAggregationTypeValues returns an array of possible values for the PrimaryAggregationType const type. func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType { return []PrimaryAggregationType{Average, Count, Maximum, Minimum, None, Total} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReadOnlyEndpointFailoverPolicy enumerates the values for read only endpoint failover policy. type ReadOnlyEndpointFailoverPolicy string @@ -376,11 +415,13 @@ const ( ReadOnlyEndpointFailoverPolicyEnabled ReadOnlyEndpointFailoverPolicy = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleReadOnlyEndpointFailoverPolicyValues returns an array of possible values for the ReadOnlyEndpointFailoverPolicy const type. func PossibleReadOnlyEndpointFailoverPolicyValues() []ReadOnlyEndpointFailoverPolicy { return []ReadOnlyEndpointFailoverPolicy{ReadOnlyEndpointFailoverPolicyDisabled, ReadOnlyEndpointFailoverPolicyEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReadScale enumerates the values for read scale. type ReadScale string @@ -391,11 +432,13 @@ const ( ReadScaleEnabled ReadScale = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleReadScaleValues returns an array of possible values for the ReadScale const type. func PossibleReadScaleValues() []ReadScale { return []ReadScale{ReadScaleDisabled, ReadScaleEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReadWriteEndpointFailoverPolicy enumerates the values for read write endpoint failover policy. type ReadWriteEndpointFailoverPolicy string @@ -406,11 +449,13 @@ const ( Manual ReadWriteEndpointFailoverPolicy = "Manual" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleReadWriteEndpointFailoverPolicyValues returns an array of possible values for the ReadWriteEndpointFailoverPolicy const type. func PossibleReadWriteEndpointFailoverPolicyValues() []ReadWriteEndpointFailoverPolicy { return []ReadWriteEndpointFailoverPolicy{Automatic, Manual} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecommendedIndexAction enumerates the values for recommended index action. type RecommendedIndexAction string @@ -423,11 +468,13 @@ const ( Rebuild RecommendedIndexAction = "Rebuild" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleRecommendedIndexActionValues returns an array of possible values for the RecommendedIndexAction const type. func PossibleRecommendedIndexActionValues() []RecommendedIndexAction { return []RecommendedIndexAction{Create, Drop, Rebuild} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecommendedIndexState enumerates the values for recommended index state. type RecommendedIndexState string @@ -456,11 +503,13 @@ const ( Verifying RecommendedIndexState = "Verifying" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleRecommendedIndexStateValues returns an array of possible values for the RecommendedIndexState const type. func PossibleRecommendedIndexStateValues() []RecommendedIndexState { return []RecommendedIndexState{Active, Blocked, Executing, Expired, Ignored, Pending, PendingRevert, Reverted, Reverting, Success, Verifying} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecommendedIndexType enumerates the values for recommended index type. type RecommendedIndexType string @@ -475,11 +524,13 @@ const ( NONCLUSTERED RecommendedIndexType = "NONCLUSTERED" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleRecommendedIndexTypeValues returns an array of possible values for the RecommendedIndexType const type. func PossibleRecommendedIndexTypeValues() []RecommendedIndexType { return []RecommendedIndexType{CLUSTERED, CLUSTEREDCOLUMNSTORE, COLUMNSTORE, NONCLUSTERED} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationRole enumerates the values for replication role. type ReplicationRole string @@ -496,11 +547,13 @@ const ( ReplicationRoleSource ReplicationRole = "Source" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleReplicationRoleValues returns an array of possible values for the ReplicationRole const type. func PossibleReplicationRoleValues() []ReplicationRole { return []ReplicationRole{ReplicationRoleCopy, ReplicationRoleNonReadableSecondary, ReplicationRolePrimary, ReplicationRoleSecondary, ReplicationRoleSource} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationState enumerates the values for replication state. type ReplicationState string @@ -515,11 +568,13 @@ const ( SUSPENDED ReplicationState = "SUSPENDED" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleReplicationStateValues returns an array of possible values for the ReplicationState const type. func PossibleReplicationStateValues() []ReplicationState { return []ReplicationState{CATCHUP, PENDING, SEEDING, SUSPENDED} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorePointType enumerates the values for restore point type. type RestorePointType string @@ -530,11 +585,13 @@ const ( DISCRETE RestorePointType = "DISCRETE" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleRestorePointTypeValues returns an array of possible values for the RestorePointType const type. func PossibleRestorePointTypeValues() []RestorePointType { return []RestorePointType{CONTINUOUS, DISCRETE} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SampleName enumerates the values for sample name. type SampleName string @@ -543,11 +600,13 @@ const ( AdventureWorksLT SampleName = "AdventureWorksLT" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSampleNameValues returns an array of possible values for the SampleName const type. func PossibleSampleNameValues() []SampleName { return []SampleName{AdventureWorksLT} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SecurityAlertPolicyEmailAccountAdmins enumerates the values for security alert policy email account admins. type SecurityAlertPolicyEmailAccountAdmins string @@ -558,11 +617,13 @@ const ( SecurityAlertPolicyEmailAccountAdminsEnabled SecurityAlertPolicyEmailAccountAdmins = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSecurityAlertPolicyEmailAccountAdminsValues returns an array of possible values for the SecurityAlertPolicyEmailAccountAdmins const type. func PossibleSecurityAlertPolicyEmailAccountAdminsValues() []SecurityAlertPolicyEmailAccountAdmins { return []SecurityAlertPolicyEmailAccountAdmins{SecurityAlertPolicyEmailAccountAdminsDisabled, SecurityAlertPolicyEmailAccountAdminsEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SecurityAlertPolicyState enumerates the values for security alert policy state. type SecurityAlertPolicyState string @@ -575,11 +636,13 @@ const ( SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSecurityAlertPolicyStateValues returns an array of possible values for the SecurityAlertPolicyState const type. func PossibleSecurityAlertPolicyStateValues() []SecurityAlertPolicyState { return []SecurityAlertPolicyState{SecurityAlertPolicyStateDisabled, SecurityAlertPolicyStateEnabled, SecurityAlertPolicyStateNew} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SecurityAlertPolicyUseServerDefault enumerates the values for security alert policy use server default. type SecurityAlertPolicyUseServerDefault string @@ -590,11 +653,13 @@ const ( SecurityAlertPolicyUseServerDefaultEnabled SecurityAlertPolicyUseServerDefault = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSecurityAlertPolicyUseServerDefaultValues returns an array of possible values for the SecurityAlertPolicyUseServerDefault const type. func PossibleSecurityAlertPolicyUseServerDefaultValues() []SecurityAlertPolicyUseServerDefault { return []SecurityAlertPolicyUseServerDefault{SecurityAlertPolicyUseServerDefaultDisabled, SecurityAlertPolicyUseServerDefaultEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerConnectionType enumerates the values for server connection type. type ServerConnectionType string @@ -607,11 +672,13 @@ const ( ServerConnectionTypeRedirect ServerConnectionType = "Redirect" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleServerConnectionTypeValues returns an array of possible values for the ServerConnectionType const type. func PossibleServerConnectionTypeValues() []ServerConnectionType { return []ServerConnectionType{ServerConnectionTypeDefault, ServerConnectionTypeProxy, ServerConnectionTypeRedirect} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeyType enumerates the values for server key type. type ServerKeyType string @@ -622,11 +689,13 @@ const ( ServiceManaged ServerKeyType = "ServiceManaged" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleServerKeyTypeValues returns an array of possible values for the ServerKeyType const type. func PossibleServerKeyTypeValues() []ServerKeyType { return []ServerKeyType{AzureKeyVault, ServiceManaged} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceObjectiveName enumerates the values for service objective name. type ServiceObjectiveName string @@ -763,11 +832,13 @@ const ( ServiceObjectiveNameSystem4L ServiceObjectiveName = "System4L" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleServiceObjectiveNameValues returns an array of possible values for the ServiceObjectiveName const type. func PossibleServiceObjectiveNameValues() []ServiceObjectiveName { return []ServiceObjectiveName{ServiceObjectiveNameBasic, ServiceObjectiveNameDS100, ServiceObjectiveNameDS1000, ServiceObjectiveNameDS1200, ServiceObjectiveNameDS1500, ServiceObjectiveNameDS200, ServiceObjectiveNameDS2000, ServiceObjectiveNameDS300, ServiceObjectiveNameDS400, ServiceObjectiveNameDS500, ServiceObjectiveNameDS600, ServiceObjectiveNameDW100, ServiceObjectiveNameDW1000, ServiceObjectiveNameDW10000c, ServiceObjectiveNameDW1000c, ServiceObjectiveNameDW1200, ServiceObjectiveNameDW1500, ServiceObjectiveNameDW15000c, ServiceObjectiveNameDW1500c, ServiceObjectiveNameDW200, ServiceObjectiveNameDW2000, ServiceObjectiveNameDW2000c, ServiceObjectiveNameDW2500c, ServiceObjectiveNameDW300, ServiceObjectiveNameDW3000, ServiceObjectiveNameDW30000c, ServiceObjectiveNameDW3000c, ServiceObjectiveNameDW400, ServiceObjectiveNameDW500, ServiceObjectiveNameDW5000c, ServiceObjectiveNameDW600, ServiceObjectiveNameDW6000, ServiceObjectiveNameDW6000c, ServiceObjectiveNameDW7500c, ServiceObjectiveNameElasticPool, ServiceObjectiveNameFree, ServiceObjectiveNameP1, ServiceObjectiveNameP11, ServiceObjectiveNameP15, ServiceObjectiveNameP2, ServiceObjectiveNameP3, ServiceObjectiveNameP4, ServiceObjectiveNameP6, ServiceObjectiveNamePRS1, ServiceObjectiveNamePRS2, ServiceObjectiveNamePRS4, ServiceObjectiveNamePRS6, ServiceObjectiveNameS0, ServiceObjectiveNameS1, ServiceObjectiveNameS12, ServiceObjectiveNameS2, ServiceObjectiveNameS3, ServiceObjectiveNameS4, ServiceObjectiveNameS6, ServiceObjectiveNameS7, ServiceObjectiveNameS9, ServiceObjectiveNameSystem, ServiceObjectiveNameSystem0, ServiceObjectiveNameSystem1, ServiceObjectiveNameSystem2, ServiceObjectiveNameSystem2L, ServiceObjectiveNameSystem3, ServiceObjectiveNameSystem3L, ServiceObjectiveNameSystem4, ServiceObjectiveNameSystem4L} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // StorageKeyType enumerates the values for storage key type. type StorageKeyType string @@ -778,11 +849,13 @@ const ( StorageAccessKey StorageKeyType = "StorageAccessKey" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleStorageKeyTypeValues returns an array of possible values for the StorageKeyType const type. func PossibleStorageKeyTypeValues() []StorageKeyType { return []StorageKeyType{SharedAccessKey, StorageAccessKey} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentState enumerates the values for sync agent state. type SyncAgentState string @@ -795,11 +868,13 @@ const ( Online SyncAgentState = "Online" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSyncAgentStateValues returns an array of possible values for the SyncAgentState const type. func PossibleSyncAgentStateValues() []SyncAgentState { return []SyncAgentState{NeverConnected, Offline, Online} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncConflictResolutionPolicy enumerates the values for sync conflict resolution policy. type SyncConflictResolutionPolicy string @@ -810,11 +885,13 @@ const ( MemberWin SyncConflictResolutionPolicy = "MemberWin" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSyncConflictResolutionPolicyValues returns an array of possible values for the SyncConflictResolutionPolicy const type. func PossibleSyncConflictResolutionPolicyValues() []SyncConflictResolutionPolicy { return []SyncConflictResolutionPolicy{HubWin, MemberWin} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncDirection enumerates the values for sync direction. type SyncDirection string @@ -827,11 +904,13 @@ const ( OneWayMemberToHub SyncDirection = "OneWayMemberToHub" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSyncDirectionValues returns an array of possible values for the SyncDirection const type. func PossibleSyncDirectionValues() []SyncDirection { return []SyncDirection{Bidirectional, OneWayHubToMember, OneWayMemberToHub} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupLogType enumerates the values for sync group log type. type SyncGroupLogType string @@ -846,11 +925,13 @@ const ( SyncGroupLogTypeWarning SyncGroupLogType = "Warning" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSyncGroupLogTypeValues returns an array of possible values for the SyncGroupLogType const type. func PossibleSyncGroupLogTypeValues() []SyncGroupLogType { return []SyncGroupLogType{SyncGroupLogTypeAll, SyncGroupLogTypeError, SyncGroupLogTypeSuccess, SyncGroupLogTypeWarning} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupState enumerates the values for sync group state. type SyncGroupState string @@ -867,11 +948,13 @@ const ( Warning SyncGroupState = "Warning" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSyncGroupStateValues returns an array of possible values for the SyncGroupState const type. func PossibleSyncGroupStateValues() []SyncGroupState { return []SyncGroupState{Error, Good, NotReady, Progressing, Warning} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMemberDbType enumerates the values for sync member db type. type SyncMemberDbType string @@ -882,11 +965,13 @@ const ( SQLServerDatabase SyncMemberDbType = "SqlServerDatabase" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSyncMemberDbTypeValues returns an array of possible values for the SyncMemberDbType const type. func PossibleSyncMemberDbTypeValues() []SyncMemberDbType { return []SyncMemberDbType{AzureSQLDatabase, SQLServerDatabase} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMemberState enumerates the values for sync member state. type SyncMemberState string @@ -929,11 +1014,13 @@ const ( UnReprovisioned SyncMemberState = "UnReprovisioned" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleSyncMemberStateValues returns an array of possible values for the SyncMemberState const type. func PossibleSyncMemberStateValues() []SyncMemberState { return []SyncMemberState{DeProvisioned, DeProvisionFailed, DeProvisioning, DisabledBackupRestore, DisabledTombstoneCleanup, Provisioned, ProvisionFailed, Provisioning, ReprovisionFailed, Reprovisioning, SyncCancelled, SyncCancelling, SyncFailed, SyncInProgress, SyncSucceeded, SyncSucceededWithWarnings, UnProvisioned, UnReprovisioned} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionActivityStatus enumerates the values for transparent data encryption activity // status. type TransparentDataEncryptionActivityStatus string @@ -945,11 +1032,13 @@ const ( Encrypting TransparentDataEncryptionActivityStatus = "Encrypting" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleTransparentDataEncryptionActivityStatusValues returns an array of possible values for the TransparentDataEncryptionActivityStatus const type. func PossibleTransparentDataEncryptionActivityStatusValues() []TransparentDataEncryptionActivityStatus { return []TransparentDataEncryptionActivityStatus{Decrypting, Encrypting} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionStatus enumerates the values for transparent data encryption status. type TransparentDataEncryptionStatus string @@ -960,11 +1049,13 @@ const ( TransparentDataEncryptionStatusEnabled TransparentDataEncryptionStatus = "Enabled" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleTransparentDataEncryptionStatusValues returns an array of possible values for the TransparentDataEncryptionStatus const type. func PossibleTransparentDataEncryptionStatusValues() []TransparentDataEncryptionStatus { return []TransparentDataEncryptionStatus{TransparentDataEncryptionStatusDisabled, TransparentDataEncryptionStatusEnabled} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnitDefinitionType enumerates the values for unit definition type. type UnitDefinitionType string @@ -983,11 +1074,13 @@ const ( UnitDefinitionTypeSeconds UnitDefinitionType = "Seconds" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleUnitDefinitionTypeValues returns an array of possible values for the UnitDefinitionType const type. func PossibleUnitDefinitionTypeValues() []UnitDefinitionType { return []UnitDefinitionType{UnitDefinitionTypeBytes, UnitDefinitionTypeBytesPerSecond, UnitDefinitionTypeCount, UnitDefinitionTypeCountPerSecond, UnitDefinitionTypePercent, UnitDefinitionTypeSeconds} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnitType enumerates the values for unit type. type UnitType string @@ -1006,11 +1099,13 @@ const ( UnitTypeSeconds UnitType = "seconds" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleUnitTypeValues returns an array of possible values for the UnitType const type. func PossibleUnitTypeValues() []UnitType { return []UnitType{UnitTypeBytes, UnitTypeBytesPerSecond, UnitTypeCount, UnitTypeCountPerSecond, UnitTypePercent, UnitTypeSeconds} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRuleState enumerates the values for virtual network rule state. type VirtualNetworkRuleState string @@ -1027,11 +1122,13 @@ const ( Unknown VirtualNetworkRuleState = "Unknown" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PossibleVirtualNetworkRuleStateValues returns an array of possible values for the VirtualNetworkRuleState const type. func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState { return []VirtualNetworkRuleState{Deleting, Initializing, InProgress, Ready, Unknown} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of // a long-running operation. type BackupLongTermRetentionPoliciesCreateOrUpdateFuture struct { @@ -1039,6 +1136,7 @@ type BackupLongTermRetentionPoliciesCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future BackupLongTermRetentionPoliciesCreateOrUpdateFuture) Result(client BackupLongTermRetentionPoliciesClient) (bltrp BackupLongTermRetentionPolicy, err error) { @@ -1081,6 +1179,7 @@ func (future BackupLongTermRetentionPoliciesCreateOrUpdateFuture) Result(client return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionPolicy a backup long term retention policy type BackupLongTermRetentionPolicy struct { autorest.Response `json:"-"` @@ -1096,6 +1195,7 @@ type BackupLongTermRetentionPolicy struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for BackupLongTermRetentionPolicy. func (bltrp BackupLongTermRetentionPolicy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1117,6 +1217,7 @@ func (bltrp BackupLongTermRetentionPolicy) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for BackupLongTermRetentionPolicy struct. func (bltrp *BackupLongTermRetentionPolicy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1177,6 +1278,7 @@ func (bltrp *BackupLongTermRetentionPolicy) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionPolicyListResult represents the response to a list long-term retention policies request. type BackupLongTermRetentionPolicyListResult struct { autorest.Response `json:"-"` @@ -1184,6 +1286,7 @@ type BackupLongTermRetentionPolicyListResult struct { Value *[]BackupLongTermRetentionPolicy `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionPolicyProperties the properties of a backup long term retention policy type BackupLongTermRetentionPolicyProperties struct { // State - The status of the backup long term retention policy. Possible values include: 'Disabled', 'Enabled' @@ -1192,6 +1295,7 @@ type BackupLongTermRetentionPolicyProperties struct { RecoveryServicesBackupPolicyResourceID *string `json:"recoveryServicesBackupPolicyResourceId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionVault a backup long term retention vault type BackupLongTermRetentionVault struct { autorest.Response `json:"-"` @@ -1207,6 +1311,7 @@ type BackupLongTermRetentionVault struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for BackupLongTermRetentionVault. func (bltrv BackupLongTermRetentionVault) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1228,6 +1333,7 @@ func (bltrv BackupLongTermRetentionVault) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for BackupLongTermRetentionVault struct. func (bltrv *BackupLongTermRetentionVault) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1288,6 +1394,7 @@ func (bltrv *BackupLongTermRetentionVault) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionVaultListResult represents the response to a list vaults request. type BackupLongTermRetentionVaultListResult struct { autorest.Response `json:"-"` @@ -1295,12 +1402,14 @@ type BackupLongTermRetentionVaultListResult struct { Value *[]BackupLongTermRetentionVault `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionVaultProperties the properties of a backup long term retention vault. type BackupLongTermRetentionVaultProperties struct { // RecoveryServicesVaultResourceID - The azure recovery services vault resource id RecoveryServicesVaultResourceID *string `json:"recoveryServicesVaultResourceId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // BackupLongTermRetentionVaultsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type BackupLongTermRetentionVaultsCreateOrUpdateFuture struct { @@ -1308,6 +1417,7 @@ type BackupLongTermRetentionVaultsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future BackupLongTermRetentionVaultsCreateOrUpdateFuture) Result(client BackupLongTermRetentionVaultsClient) (bltrv BackupLongTermRetentionVault, err error) { @@ -1350,6 +1460,7 @@ func (future BackupLongTermRetentionVaultsCreateOrUpdateFuture) Result(client Ba return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CheckNameAvailabilityRequest a request to check whether the specified name for a resource is available. type CheckNameAvailabilityRequest struct { // Name - The name whose availability is to be checked. @@ -1358,6 +1469,7 @@ type CheckNameAvailabilityRequest struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CheckNameAvailabilityResponse a response indicating whether the specified name for a resource is available. type CheckNameAvailabilityResponse struct { autorest.Response `json:"-"` @@ -1371,6 +1483,7 @@ type CheckNameAvailabilityResponse struct { Reason CheckNameAvailabilityReason `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Database represents a database. type Database struct { autorest.Response `json:"-"` @@ -1390,6 +1503,7 @@ type Database struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for Database. func (d Database) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1417,6 +1531,7 @@ func (d Database) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for Database struct. func (d *Database) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1495,6 +1610,7 @@ func (d *Database) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseBlobAuditingPolicy a database blob auditing policy. type DatabaseBlobAuditingPolicy struct { autorest.Response `json:"-"` @@ -1510,6 +1626,7 @@ type DatabaseBlobAuditingPolicy struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for DatabaseBlobAuditingPolicy. func (dbap DatabaseBlobAuditingPolicy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1531,6 +1648,7 @@ func (dbap DatabaseBlobAuditingPolicy) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for DatabaseBlobAuditingPolicy struct. func (dbap *DatabaseBlobAuditingPolicy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1591,6 +1709,7 @@ func (dbap *DatabaseBlobAuditingPolicy) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseBlobAuditingPolicyProperties properties of a database blob auditing policy. type DatabaseBlobAuditingPolicyProperties struct { // State - Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: 'BlobAuditingPolicyStateEnabled', 'BlobAuditingPolicyStateDisabled' @@ -1609,6 +1728,7 @@ type DatabaseBlobAuditingPolicyProperties struct { IsStorageSecondaryKeyInUse *bool `json:"isStorageSecondaryKeyInUse,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseListResult represents the response to a list database request. type DatabaseListResult struct { autorest.Response `json:"-"` @@ -1616,6 +1736,7 @@ type DatabaseListResult struct { Value *[]Database `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseProperties represents the properties of a database. type DatabaseProperties struct { // Collation - The collation of the database. If createMode is not Default, this value is ignored. @@ -1680,6 +1801,7 @@ type DatabaseProperties struct { ZoneRedundant *bool `json:"zoneRedundant,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesCreateImportOperationFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type DatabasesCreateImportOperationFuture struct { @@ -1687,6 +1809,7 @@ type DatabasesCreateImportOperationFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future DatabasesCreateImportOperationFuture) Result(client DatabasesClient) (ier ImportExportResponse, err error) { @@ -1729,6 +1852,7 @@ func (future DatabasesCreateImportOperationFuture) Result(client DatabasesClient return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type DatabasesCreateOrUpdateFuture struct { @@ -1736,6 +1860,7 @@ type DatabasesCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future DatabasesCreateOrUpdateFuture) Result(client DatabasesClient) (d Database, err error) { @@ -1778,6 +1903,7 @@ func (future DatabasesCreateOrUpdateFuture) Result(client DatabasesClient) (d Da return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseSecurityAlertPolicy contains information about a database Threat Detection policy. type DatabaseSecurityAlertPolicy struct { autorest.Response `json:"-"` @@ -1795,6 +1921,7 @@ type DatabaseSecurityAlertPolicy struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for DatabaseSecurityAlertPolicy. func (dsap DatabaseSecurityAlertPolicy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -1819,6 +1946,7 @@ func (dsap DatabaseSecurityAlertPolicy) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for DatabaseSecurityAlertPolicy struct. func (dsap *DatabaseSecurityAlertPolicy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -1888,6 +2016,7 @@ func (dsap *DatabaseSecurityAlertPolicy) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseSecurityAlertPolicyProperties properties for a database Threat Detection policy. type DatabaseSecurityAlertPolicyProperties struct { // State - Specifies the state of the policy. If state is Enabled, storageEndpoint and storageAccountAccessKey are required. Possible values include: 'SecurityAlertPolicyStateNew', 'SecurityAlertPolicyStateEnabled', 'SecurityAlertPolicyStateDisabled' @@ -1908,12 +2037,14 @@ type DatabaseSecurityAlertPolicyProperties struct { UseServerDefault SecurityAlertPolicyUseServerDefault `json:"useServerDefault,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesExportFuture an abstraction for monitoring and retrieving the results of a long-running operation. type DatabasesExportFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future DatabasesExportFuture) Result(client DatabasesClient) (ier ImportExportResponse, err error) { @@ -1956,12 +2087,14 @@ func (future DatabasesExportFuture) Result(client DatabasesClient) (ier ImportEx return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesImportFuture an abstraction for monitoring and retrieving the results of a long-running operation. type DatabasesImportFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future DatabasesImportFuture) Result(client DatabasesClient) (ier ImportExportResponse, err error) { @@ -2004,12 +2137,14 @@ func (future DatabasesImportFuture) Result(client DatabasesClient) (ier ImportEx return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesPauseFuture an abstraction for monitoring and retrieving the results of a long-running operation. type DatabasesPauseFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future DatabasesPauseFuture) Result(client DatabasesClient) (ar autorest.Response, err error) { @@ -2052,12 +2187,14 @@ func (future DatabasesPauseFuture) Result(client DatabasesClient) (ar autorest.R return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation. type DatabasesResumeFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future DatabasesResumeFuture) Result(client DatabasesClient) (ar autorest.Response, err error) { @@ -2100,12 +2237,14 @@ func (future DatabasesResumeFuture) Result(client DatabasesClient) (ar autorest. return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabasesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type DatabasesUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future DatabasesUpdateFuture) Result(client DatabasesClient) (d Database, err error) { @@ -2148,6 +2287,7 @@ func (future DatabasesUpdateFuture) Result(client DatabasesClient) (d Database, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseUpdate represents a database update. type DatabaseUpdate struct { // Tags - Resource tags. @@ -2162,6 +2302,7 @@ type DatabaseUpdate struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for DatabaseUpdate. func (du DatabaseUpdate) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2183,6 +2324,7 @@ func (du DatabaseUpdate) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for DatabaseUpdate struct. func (du *DatabaseUpdate) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2243,6 +2385,7 @@ func (du *DatabaseUpdate) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseUsage the database usages. type DatabaseUsage struct { // Name - The name of the usage metric. @@ -2261,6 +2404,7 @@ type DatabaseUsage struct { NextResetTime *date.Time `json:"nextResetTime,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DatabaseUsageListResult the response to a list database metrics request. type DatabaseUsageListResult struct { autorest.Response `json:"-"` @@ -2268,6 +2412,7 @@ type DatabaseUsageListResult struct { Value *[]DatabaseUsage `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingPolicy represents a database data masking policy. type DataMaskingPolicy struct { autorest.Response `json:"-"` @@ -2285,6 +2430,7 @@ type DataMaskingPolicy struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for DataMaskingPolicy. func (dmp DataMaskingPolicy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2309,6 +2455,7 @@ func (dmp DataMaskingPolicy) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for DataMaskingPolicy struct. func (dmp *DataMaskingPolicy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2378,6 +2525,7 @@ func (dmp *DataMaskingPolicy) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingPolicyProperties the properties of a database data masking policy. type DataMaskingPolicyProperties struct { // DataMaskingState - The state of the data masking policy. Possible values include: 'DataMaskingStateDisabled', 'DataMaskingStateEnabled' @@ -2390,6 +2538,7 @@ type DataMaskingPolicyProperties struct { MaskingLevel *string `json:"maskingLevel,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingRule represents a database data masking rule. type DataMaskingRule struct { autorest.Response `json:"-"` @@ -2407,6 +2556,7 @@ type DataMaskingRule struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for DataMaskingRule. func (dmr DataMaskingRule) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2431,6 +2581,7 @@ func (dmr DataMaskingRule) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for DataMaskingRule struct. func (dmr *DataMaskingRule) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2500,6 +2651,7 @@ func (dmr *DataMaskingRule) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingRuleListResult the response to a list data masking rules request. type DataMaskingRuleListResult struct { autorest.Response `json:"-"` @@ -2507,6 +2659,7 @@ type DataMaskingRuleListResult struct { Value *[]DataMaskingRule `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DataMaskingRuleProperties the properties of a database data masking rule. type DataMaskingRuleProperties struct { // ID - The rule Id. @@ -2535,6 +2688,7 @@ type DataMaskingRuleProperties struct { ReplacementString *string `json:"replacementString,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EditionCapability the edition capability. type EditionCapability struct { // Name - The database edition name. @@ -2547,6 +2701,7 @@ type EditionCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPool represents a database elastic pool. type ElasticPool struct { autorest.Response `json:"-"` @@ -2566,6 +2721,7 @@ type ElasticPool struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ElasticPool. func (ep ElasticPool) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2593,6 +2749,7 @@ func (ep ElasticPool) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ElasticPool struct. func (ep *ElasticPool) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2671,6 +2828,7 @@ func (ep *ElasticPool) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolActivity represents the activity on an elastic pool. type ElasticPoolActivity struct { // Location - The geo-location where the resource lives @@ -2685,6 +2843,7 @@ type ElasticPoolActivity struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ElasticPoolActivity. func (epa ElasticPoolActivity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2706,6 +2865,7 @@ func (epa ElasticPoolActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ElasticPoolActivity struct. func (epa *ElasticPoolActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2766,6 +2926,7 @@ func (epa *ElasticPoolActivity) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolActivityListResult represents the response to a list elastic pool activity request. type ElasticPoolActivityListResult struct { autorest.Response `json:"-"` @@ -2773,6 +2934,7 @@ type ElasticPoolActivityListResult struct { Value *[]ElasticPoolActivity `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolActivityProperties represents the properties of an elastic pool. type ElasticPoolActivityProperties struct { // EndTime - The time the operation finished (ISO8601 format). @@ -2817,6 +2979,7 @@ type ElasticPoolActivityProperties struct { RequestedDtuGuarantee *int32 `json:"requestedDtuGuarantee,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolDatabaseActivity represents the activity on an elastic pool. type ElasticPoolDatabaseActivity struct { // Location - The geo-location where the resource lives @@ -2831,6 +2994,7 @@ type ElasticPoolDatabaseActivity struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ElasticPoolDatabaseActivity. func (epda ElasticPoolDatabaseActivity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -2852,6 +3016,7 @@ func (epda ElasticPoolDatabaseActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ElasticPoolDatabaseActivity struct. func (epda *ElasticPoolDatabaseActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -2912,6 +3077,7 @@ func (epda *ElasticPoolDatabaseActivity) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolDatabaseActivityListResult represents the response to a list elastic pool database activity request. type ElasticPoolDatabaseActivityListResult struct { autorest.Response `json:"-"` @@ -2919,6 +3085,7 @@ type ElasticPoolDatabaseActivityListResult struct { Value *[]ElasticPoolDatabaseActivity `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolDatabaseActivityProperties represents the properties of an elastic pool database activity. type ElasticPoolDatabaseActivityProperties struct { // DatabaseName - The database name. @@ -2953,6 +3120,7 @@ type ElasticPoolDatabaseActivityProperties struct { State *string `json:"state,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolDtuCapability the Elastic Pool DTU capability. type ElasticPoolDtuCapability struct { // Limit - The DTU limit for the pool. @@ -2973,6 +3141,7 @@ type ElasticPoolDtuCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolEditionCapability the elastic pool edition capability. type ElasticPoolEditionCapability struct { // Name - The elastic pool edition name. @@ -2985,6 +3154,7 @@ type ElasticPoolEditionCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolListResult represents the response to a list elastic pool request. type ElasticPoolListResult struct { autorest.Response `json:"-"` @@ -2992,6 +3162,7 @@ type ElasticPoolListResult struct { Value *[]ElasticPool `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolPerDatabaseMaxDtuCapability the max per-database DTU capability. type ElasticPoolPerDatabaseMaxDtuCapability struct { // Limit - The maximum DTUs per database. @@ -3004,6 +3175,7 @@ type ElasticPoolPerDatabaseMaxDtuCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolPerDatabaseMinDtuCapability the minimum per-database DTU capability. type ElasticPoolPerDatabaseMinDtuCapability struct { // Limit - The minimum DTUs per database. @@ -3014,6 +3186,7 @@ type ElasticPoolPerDatabaseMinDtuCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolProperties represents the properties of an elastic pool. type ElasticPoolProperties struct { // CreationDate - The creation date of the elastic pool (ISO8601 format). @@ -3034,6 +3207,7 @@ type ElasticPoolProperties struct { ZoneRedundant *bool `json:"zoneRedundant,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type ElasticPoolsCreateOrUpdateFuture struct { @@ -3041,6 +3215,7 @@ type ElasticPoolsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ElasticPoolsCreateOrUpdateFuture) Result(client ElasticPoolsClient) (ep ElasticPool, err error) { @@ -3083,12 +3258,14 @@ func (future ElasticPoolsCreateOrUpdateFuture) Result(client ElasticPoolsClient) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ElasticPoolsUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ElasticPoolsUpdateFuture) Result(client ElasticPoolsClient) (ep ElasticPool, err error) { @@ -3131,6 +3308,7 @@ func (future ElasticPoolsUpdateFuture) Result(client ElasticPoolsClient) (ep Ela return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ElasticPoolUpdate represents an elastic pool update. type ElasticPoolUpdate struct { // Tags - Resource tags. @@ -3145,6 +3323,7 @@ type ElasticPoolUpdate struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ElasticPoolUpdate. func (epu ElasticPoolUpdate) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -3166,6 +3345,7 @@ func (epu ElasticPoolUpdate) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ElasticPoolUpdate struct. func (epu *ElasticPoolUpdate) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -3226,6 +3406,7 @@ func (epu *ElasticPoolUpdate) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EncryptionProtector the server encryption protector. type EncryptionProtector struct { autorest.Response `json:"-"` @@ -3243,6 +3424,7 @@ type EncryptionProtector struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for EncryptionProtector. func (ep EncryptionProtector) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -3267,6 +3449,7 @@ func (ep EncryptionProtector) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for EncryptionProtector struct. func (ep *EncryptionProtector) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -3336,6 +3519,7 @@ func (ep *EncryptionProtector) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EncryptionProtectorListResult a list of server encryption protectors. type EncryptionProtectorListResult struct { autorest.Response `json:"-"` @@ -3345,12 +3529,14 @@ type EncryptionProtectorListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EncryptionProtectorListResultIterator provides access to a complete listing of EncryptionProtector values. type EncryptionProtectorListResultIterator struct { i int page EncryptionProtectorListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *EncryptionProtectorListResultIterator) Next() error { @@ -3367,16 +3553,19 @@ func (iter *EncryptionProtectorListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter EncryptionProtectorListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter EncryptionProtectorListResultIterator) Response() EncryptionProtectorListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter EncryptionProtectorListResultIterator) Value() EncryptionProtector { @@ -3386,6 +3575,7 @@ func (iter EncryptionProtectorListResultIterator) Value() EncryptionProtector { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (eplr EncryptionProtectorListResult) IsEmpty() bool { return eplr.Value == nil || len(*eplr.Value) == 0 @@ -3403,12 +3593,14 @@ func (eplr EncryptionProtectorListResult) encryptionProtectorListResultPreparer( autorest.WithBaseURL(to.String(eplr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EncryptionProtectorListResultPage contains a page of EncryptionProtector values. type EncryptionProtectorListResultPage struct { fn func(EncryptionProtectorListResult) (EncryptionProtectorListResult, error) eplr EncryptionProtectorListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *EncryptionProtectorListResultPage) Next() error { @@ -3420,16 +3612,19 @@ func (page *EncryptionProtectorListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page EncryptionProtectorListResultPage) NotDone() bool { return !page.eplr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page EncryptionProtectorListResultPage) Response() EncryptionProtectorListResult { return page.eplr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page EncryptionProtectorListResultPage) Values() []EncryptionProtector { if page.eplr.IsEmpty() { @@ -3438,6 +3633,7 @@ func (page EncryptionProtectorListResultPage) Values() []EncryptionProtector { return *page.eplr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EncryptionProtectorProperties properties for an encryption protector execution. type EncryptionProtectorProperties struct { // Subregion - Subregion of the encryption protector. @@ -3452,6 +3648,7 @@ type EncryptionProtectorProperties struct { Thumbprint *string `json:"thumbprint,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // EncryptionProtectorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type EncryptionProtectorsCreateOrUpdateFuture struct { @@ -3459,6 +3656,7 @@ type EncryptionProtectorsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future EncryptionProtectorsCreateOrUpdateFuture) Result(client EncryptionProtectorsClient) (ep EncryptionProtector, err error) { @@ -3501,6 +3699,7 @@ func (future EncryptionProtectorsCreateOrUpdateFuture) Result(client EncryptionP return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ExportRequest export database parameters. type ExportRequest struct { // StorageKeyType - The type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey' @@ -3517,6 +3716,7 @@ type ExportRequest struct { AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroup a failover group. type FailoverGroup struct { autorest.Response `json:"-"` @@ -3534,6 +3734,7 @@ type FailoverGroup struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for FailoverGroup. func (fg FailoverGroup) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -3558,6 +3759,7 @@ func (fg FailoverGroup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for FailoverGroup struct. func (fg *FailoverGroup) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -3627,6 +3829,7 @@ func (fg *FailoverGroup) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupListResult a list of failover groups. type FailoverGroupListResult struct { autorest.Response `json:"-"` @@ -3636,12 +3839,14 @@ type FailoverGroupListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupListResultIterator provides access to a complete listing of FailoverGroup values. type FailoverGroupListResultIterator struct { i int page FailoverGroupListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *FailoverGroupListResultIterator) Next() error { @@ -3658,16 +3863,19 @@ func (iter *FailoverGroupListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter FailoverGroupListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter FailoverGroupListResultIterator) Response() FailoverGroupListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter FailoverGroupListResultIterator) Value() FailoverGroup { @@ -3677,6 +3885,7 @@ func (iter FailoverGroupListResultIterator) Value() FailoverGroup { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (fglr FailoverGroupListResult) IsEmpty() bool { return fglr.Value == nil || len(*fglr.Value) == 0 @@ -3694,12 +3903,14 @@ func (fglr FailoverGroupListResult) failoverGroupListResultPreparer() (*http.Req autorest.WithBaseURL(to.String(fglr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupListResultPage contains a page of FailoverGroup values. type FailoverGroupListResultPage struct { fn func(FailoverGroupListResult) (FailoverGroupListResult, error) fglr FailoverGroupListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *FailoverGroupListResultPage) Next() error { @@ -3711,16 +3922,19 @@ func (page *FailoverGroupListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page FailoverGroupListResultPage) NotDone() bool { return !page.fglr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page FailoverGroupListResultPage) Response() FailoverGroupListResult { return page.fglr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page FailoverGroupListResultPage) Values() []FailoverGroup { if page.fglr.IsEmpty() { @@ -3729,6 +3943,7 @@ func (page FailoverGroupListResultPage) Values() []FailoverGroup { return *page.fglr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupProperties properties of a failover group. type FailoverGroupProperties struct { // ReadWriteEndpoint - Read-write endpoint of the failover group instance. @@ -3745,12 +3960,14 @@ type FailoverGroupProperties struct { Databases *[]string `json:"databases,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupReadOnlyEndpoint read-only endpoint of the failover group instance. type FailoverGroupReadOnlyEndpoint struct { // FailoverPolicy - Failover policy of the read-only endpoint for the failover group. Possible values include: 'ReadOnlyEndpointFailoverPolicyDisabled', 'ReadOnlyEndpointFailoverPolicyEnabled' FailoverPolicy ReadOnlyEndpointFailoverPolicy `json:"failoverPolicy,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupReadWriteEndpoint read-write endpoint of the failover group instance. type FailoverGroupReadWriteEndpoint struct { // FailoverPolicy - Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'Manual', 'Automatic' @@ -3759,6 +3976,7 @@ type FailoverGroupReadWriteEndpoint struct { FailoverWithDataLossGracePeriodMinutes *int32 `json:"failoverWithDataLossGracePeriodMinutes,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type FailoverGroupsCreateOrUpdateFuture struct { @@ -3766,6 +3984,7 @@ type FailoverGroupsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future FailoverGroupsCreateOrUpdateFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error) { @@ -3808,12 +4027,14 @@ func (future FailoverGroupsCreateOrUpdateFuture) Result(client FailoverGroupsCli return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type FailoverGroupsDeleteFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future FailoverGroupsDeleteFuture) Result(client FailoverGroupsClient) (ar autorest.Response, err error) { @@ -3856,6 +4077,7 @@ func (future FailoverGroupsDeleteFuture) Result(client FailoverGroupsClient) (ar return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupsFailoverFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type FailoverGroupsFailoverFuture struct { @@ -3863,6 +4085,7 @@ type FailoverGroupsFailoverFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future FailoverGroupsFailoverFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error) { @@ -3905,6 +4128,7 @@ func (future FailoverGroupsFailoverFuture) Result(client FailoverGroupsClient) ( return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupsForceFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type FailoverGroupsForceFailoverAllowDataLossFuture struct { @@ -3912,6 +4136,7 @@ type FailoverGroupsForceFailoverAllowDataLossFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future FailoverGroupsForceFailoverAllowDataLossFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error) { @@ -3954,12 +4179,14 @@ func (future FailoverGroupsForceFailoverAllowDataLossFuture) Result(client Failo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type FailoverGroupsUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future FailoverGroupsUpdateFuture) Result(client FailoverGroupsClient) (fg FailoverGroup, err error) { @@ -4002,6 +4229,7 @@ func (future FailoverGroupsUpdateFuture) Result(client FailoverGroupsClient) (fg return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupUpdate a failover group update request. type FailoverGroupUpdate struct { // FailoverGroupUpdateProperties - Resource properties. @@ -4010,6 +4238,7 @@ type FailoverGroupUpdate struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for FailoverGroupUpdate. func (fgu FailoverGroupUpdate) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4022,6 +4251,7 @@ func (fgu FailoverGroupUpdate) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for FailoverGroupUpdate struct. func (fgu *FailoverGroupUpdate) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -4055,6 +4285,7 @@ func (fgu *FailoverGroupUpdate) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverGroupUpdateProperties properties of a failover group update. type FailoverGroupUpdateProperties struct { // ReadWriteEndpoint - Read-write endpoint of the failover group instance. @@ -4065,6 +4296,7 @@ type FailoverGroupUpdateProperties struct { Databases *[]string `json:"databases,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FirewallRule represents a server firewall rule. type FirewallRule struct { autorest.Response `json:"-"` @@ -4082,6 +4314,7 @@ type FirewallRule struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for FirewallRule. func (fr FirewallRule) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4106,6 +4339,7 @@ func (fr FirewallRule) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for FirewallRule struct. func (fr *FirewallRule) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -4175,6 +4409,7 @@ func (fr *FirewallRule) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FirewallRuleListResult represents the response to a List Firewall Rules request. type FirewallRuleListResult struct { autorest.Response `json:"-"` @@ -4182,6 +4417,7 @@ type FirewallRuleListResult struct { Value *[]FirewallRule `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FirewallRuleProperties represents the properties of a server firewall rule. type FirewallRuleProperties struct { // StartIPAddress - The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. @@ -4190,6 +4426,7 @@ type FirewallRuleProperties struct { EndIPAddress *string `json:"endIpAddress,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GeoBackupPolicy a database geo backup policy. type GeoBackupPolicy struct { autorest.Response `json:"-"` @@ -4207,6 +4444,7 @@ type GeoBackupPolicy struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for GeoBackupPolicy. func (gbp GeoBackupPolicy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4231,6 +4469,7 @@ func (gbp GeoBackupPolicy) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for GeoBackupPolicy struct. func (gbp *GeoBackupPolicy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -4300,6 +4539,7 @@ func (gbp *GeoBackupPolicy) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GeoBackupPolicyListResult the response to a list geo backup policies request. type GeoBackupPolicyListResult struct { autorest.Response `json:"-"` @@ -4307,6 +4547,7 @@ type GeoBackupPolicyListResult struct { Value *[]GeoBackupPolicy `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GeoBackupPolicyProperties the properties of the geo backup policy. type GeoBackupPolicyProperties struct { // State - The state of the geo backup policy. Possible values include: 'GeoBackupPolicyStateDisabled', 'GeoBackupPolicyStateEnabled' @@ -4315,6 +4556,7 @@ type GeoBackupPolicyProperties struct { StorageType *string `json:"storageType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportExportResponse response for Import/Export Get operation. type ImportExportResponse struct { autorest.Response `json:"-"` @@ -4328,6 +4570,7 @@ type ImportExportResponse struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ImportExportResponse. func (ier ImportExportResponse) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4346,6 +4589,7 @@ func (ier ImportExportResponse) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ImportExportResponse struct. func (ier *ImportExportResponse) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -4397,6 +4641,7 @@ func (ier *ImportExportResponse) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportExportResponseProperties response for Import/Export Status operation. type ImportExportResponseProperties struct { // RequestType - The request type of the operation. @@ -4419,6 +4664,7 @@ type ImportExportResponseProperties struct { ErrorMessage *string `json:"errorMessage,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportExtensionProperties represents the properties for an import operation type ImportExtensionProperties struct { // OperationMode - The type of import operation being performed. This is always Import. @@ -4437,6 +4683,7 @@ type ImportExtensionProperties struct { AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportExtensionRequest import database parameters. type ImportExtensionRequest struct { // Name - The name of the extension. @@ -4447,6 +4694,7 @@ type ImportExtensionRequest struct { *ImportExtensionProperties `json:"properties,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ImportExtensionRequest. func (ier ImportExtensionRequest) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4462,6 +4710,7 @@ func (ier ImportExtensionRequest) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ImportExtensionRequest struct. func (ier *ImportExtensionRequest) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -4504,6 +4753,7 @@ func (ier *ImportExtensionRequest) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ImportRequest import database parameters. type ImportRequest struct { // DatabaseName - The name of the database to import. @@ -4528,6 +4778,7 @@ type ImportRequest struct { AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // LocationCapabilities the location capability. type LocationCapabilities struct { autorest.Response `json:"-"` @@ -4541,6 +4792,7 @@ type LocationCapabilities struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MaxSizeCapability the maximum size capability. type MaxSizeCapability struct { // Limit - The maximum size limit (see 'unit' for the units). @@ -4553,6 +4805,7 @@ type MaxSizeCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Metric database metrics. type Metric struct { // StartTime - The start time for the metric (ISO-8601 format). @@ -4569,6 +4822,7 @@ type Metric struct { MetricValues *[]MetricValue `json:"metricValues,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MetricAvailability a metric availability value. type MetricAvailability struct { // Retention - The length of retention for the database metric. @@ -4577,6 +4831,7 @@ type MetricAvailability struct { TimeGrain *string `json:"timeGrain,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MetricDefinition a database metric definition. type MetricDefinition struct { // Name - The name information for the metric. @@ -4591,6 +4846,7 @@ type MetricDefinition struct { MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MetricDefinitionListResult the response to a list database metric definitions request. type MetricDefinitionListResult struct { autorest.Response `json:"-"` @@ -4598,6 +4854,7 @@ type MetricDefinitionListResult struct { Value *[]MetricDefinition `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MetricListResult the response to a list database metrics request. type MetricListResult struct { autorest.Response `json:"-"` @@ -4605,6 +4862,7 @@ type MetricListResult struct { Value *[]Metric `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MetricName a database metric name. type MetricName struct { // Value - The name of the database metric. @@ -4613,6 +4871,7 @@ type MetricName struct { LocalizedValue *string `json:"localizedValue,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MetricValue represents database metrics. type MetricValue struct { // Count - The number of values for the metric. @@ -4629,6 +4888,7 @@ type MetricValue struct { Total *float64 `json:"total,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Operation SQL REST API operation definition. type Operation struct { // Name - The name of the operation being performed on this particular object. @@ -4641,6 +4901,7 @@ type Operation struct { Properties map[string]interface{} `json:"properties"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for Operation. func (o Operation) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4659,6 +4920,7 @@ func (o Operation) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // OperationDisplay display metadata associated with the operation. type OperationDisplay struct { // Provider - The localized friendly form of the resource provider name. @@ -4671,6 +4933,7 @@ type OperationDisplay struct { Description *string `json:"description,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // OperationImpact the impact of an operation, both in absolute and relative terms. type OperationImpact struct { // Name - The name of the impact dimension. @@ -4683,6 +4946,7 @@ type OperationImpact struct { ChangeValueRelative *float64 `json:"changeValueRelative,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // OperationListResult result of the request to list SQL operations. type OperationListResult struct { autorest.Response `json:"-"` @@ -4692,12 +4956,14 @@ type OperationListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // OperationListResultIterator provides access to a complete listing of Operation values. type OperationListResultIterator struct { i int page OperationListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *OperationListResultIterator) Next() error { @@ -4714,16 +4980,19 @@ func (iter *OperationListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter OperationListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter OperationListResultIterator) Response() OperationListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter OperationListResultIterator) Value() Operation { @@ -4733,6 +5002,7 @@ func (iter OperationListResultIterator) Value() Operation { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (olr OperationListResult) IsEmpty() bool { return olr.Value == nil || len(*olr.Value) == 0 @@ -4750,12 +5020,14 @@ func (olr OperationListResult) operationListResultPreparer() (*http.Request, err autorest.WithBaseURL(to.String(olr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // OperationListResultPage contains a page of Operation values. type OperationListResultPage struct { fn func(OperationListResult) (OperationListResult, error) olr OperationListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *OperationListResultPage) Next() error { @@ -4767,16 +5039,19 @@ func (page *OperationListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page OperationListResultPage) NotDone() bool { return !page.olr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page OperationListResultPage) Response() OperationListResult { return page.olr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page OperationListResultPage) Values() []Operation { if page.olr.IsEmpty() { @@ -4785,6 +5060,7 @@ func (page OperationListResultPage) Values() []Operation { return *page.olr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PartnerInfo partner server information for the failover group. type PartnerInfo struct { // ID - Resource identifier of the partner server. @@ -4795,6 +5071,7 @@ type PartnerInfo struct { ReplicationRole FailoverGroupReplicationRole `json:"replicationRole,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // PerformanceLevelCapability the performance level capability. type PerformanceLevelCapability struct { // Value - Performance level value. @@ -4803,6 +5080,7 @@ type PerformanceLevelCapability struct { Unit PerformanceLevelUnit `json:"unit,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ProxyResource ARM proxy resource. type ProxyResource struct { // ID - Resource ID. @@ -4813,139 +5091,7 @@ type ProxyResource struct { Type *string `json:"type,omitempty"` } -// RecommendedElasticPool represents a recommented elastic pool. -type RecommendedElasticPool struct { - autorest.Response `json:"-"` - // RecommendedElasticPoolProperties - The properites representing the resource. - *RecommendedElasticPoolProperties `json:"properties,omitempty"` - // ID - Resource ID. - ID *string `json:"id,omitempty"` - // Name - Resource name. - Name *string `json:"name,omitempty"` - // Type - Resource type. - Type *string `json:"type,omitempty"` -} - -// MarshalJSON is the custom marshaler for RecommendedElasticPool. -func (rep RecommendedElasticPool) MarshalJSON() ([]byte, error) { - objectMap := make(map[string]interface{}) - if rep.RecommendedElasticPoolProperties != nil { - objectMap["properties"] = rep.RecommendedElasticPoolProperties - } - if rep.ID != nil { - objectMap["id"] = rep.ID - } - if rep.Name != nil { - objectMap["name"] = rep.Name - } - if rep.Type != nil { - objectMap["type"] = rep.Type - } - return json.Marshal(objectMap) -} - -// UnmarshalJSON is the custom unmarshaler for RecommendedElasticPool struct. -func (rep *RecommendedElasticPool) UnmarshalJSON(body []byte) error { - var m map[string]*json.RawMessage - err := json.Unmarshal(body, &m) - if err != nil { - return err - } - for k, v := range m { - switch k { - case "properties": - if v != nil { - var recommendedElasticPoolProperties RecommendedElasticPoolProperties - err = json.Unmarshal(*v, &recommendedElasticPoolProperties) - if err != nil { - return err - } - rep.RecommendedElasticPoolProperties = &recommendedElasticPoolProperties - } - case "id": - if v != nil { - var ID string - err = json.Unmarshal(*v, &ID) - if err != nil { - return err - } - rep.ID = &ID - } - case "name": - if v != nil { - var name string - err = json.Unmarshal(*v, &name) - if err != nil { - return err - } - rep.Name = &name - } - case "type": - if v != nil { - var typeVar string - err = json.Unmarshal(*v, &typeVar) - if err != nil { - return err - } - rep.Type = &typeVar - } - } - } - - return nil -} - -// RecommendedElasticPoolListMetricsResult represents the response to a list recommended elastic pool metrics -// request. -type RecommendedElasticPoolListMetricsResult struct { - autorest.Response `json:"-"` - // Value - The list of recommended elastic pools metrics. - Value *[]RecommendedElasticPoolMetric `json:"value,omitempty"` -} - -// RecommendedElasticPoolListResult represents the response to a list recommended elastic pool request. -type RecommendedElasticPoolListResult struct { - autorest.Response `json:"-"` - // Value - The list of recommended elastic pools hosted in the server. - Value *[]RecommendedElasticPool `json:"value,omitempty"` -} - -// RecommendedElasticPoolMetric represents recommended elastic pool metric. -type RecommendedElasticPoolMetric struct { - // DateTime - The time of metric (ISO8601 format). - DateTime *date.Time `json:"dateTime,omitempty"` - // Dtu - Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/ - Dtu *float64 `json:"dtu,omitempty"` - // SizeGB - Gets or sets size in gigabytes. - SizeGB *float64 `json:"sizeGB,omitempty"` -} - -// RecommendedElasticPoolProperties represents the properties of a recommented elastic pool. -type RecommendedElasticPoolProperties struct { - // DatabaseEdition - The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions. Possible values include: 'ElasticPoolEditionBasic', 'ElasticPoolEditionStandard', 'ElasticPoolEditionPremium' - DatabaseEdition ElasticPoolEdition `json:"databaseEdition,omitempty"` - // Dtu - The DTU for the recommended elastic pool. - Dtu *float64 `json:"dtu,omitempty"` - // DatabaseDtuMin - The minimum DTU for the database. - DatabaseDtuMin *float64 `json:"databaseDtuMin,omitempty"` - // DatabaseDtuMax - The maximum DTU for the database. - DatabaseDtuMax *float64 `json:"databaseDtuMax,omitempty"` - // StorageMB - Gets storage size in megabytes. - StorageMB *float64 `json:"storageMB,omitempty"` - // ObservationPeriodStart - The observation period start (ISO8601 format). - ObservationPeriodStart *date.Time `json:"observationPeriodStart,omitempty"` - // ObservationPeriodEnd - The observation period start (ISO8601 format). - ObservationPeriodEnd *date.Time `json:"observationPeriodEnd,omitempty"` - // MaxObservedDtu - Gets maximum observed DTU. - MaxObservedDtu *float64 `json:"maxObservedDtu,omitempty"` - // MaxObservedStorageMB - Gets maximum observed storage in megabytes. - MaxObservedStorageMB *float64 `json:"maxObservedStorageMB,omitempty"` - // Databases - The list of databases in this pool. Expanded property - Databases *[]Database `json:"databases,omitempty"` - // Metrics - The list of databases housed in the server. Expanded property - Metrics *[]RecommendedElasticPoolMetric `json:"metrics,omitempty"` -} - +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecommendedIndex represents a database recommended index. type RecommendedIndex struct { // RecommendedIndexProperties - The properties representing the resource. @@ -4958,6 +5104,7 @@ type RecommendedIndex struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for RecommendedIndex. func (ri RecommendedIndex) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -4976,6 +5123,7 @@ func (ri RecommendedIndex) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for RecommendedIndex struct. func (ri *RecommendedIndex) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -5027,6 +5175,7 @@ func (ri *RecommendedIndex) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecommendedIndexProperties represents the properties of a database recommended index. type RecommendedIndexProperties struct { // Action - The proposed index action. You can create a missing index, drop an unused index, or rebuild an existing index to improve its performance. Possible values include: 'Create', 'Drop', 'Rebuild' @@ -5055,6 +5204,7 @@ type RecommendedIndexProperties struct { ReportedImpact *[]OperationImpact `json:"reportedImpact,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecoverableDatabase a recoverable database type RecoverableDatabase struct { autorest.Response `json:"-"` @@ -5068,6 +5218,7 @@ type RecoverableDatabase struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for RecoverableDatabase. func (rd RecoverableDatabase) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -5086,6 +5237,7 @@ func (rd RecoverableDatabase) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for RecoverableDatabase struct. func (rd *RecoverableDatabase) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -5137,6 +5289,7 @@ func (rd *RecoverableDatabase) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecoverableDatabaseListResult the response to a list recoverable databases request type RecoverableDatabaseListResult struct { autorest.Response `json:"-"` @@ -5144,6 +5297,7 @@ type RecoverableDatabaseListResult struct { Value *[]RecoverableDatabase `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecoverableDatabaseProperties the properties of a recoverable database type RecoverableDatabaseProperties struct { // Edition - The edition of the database @@ -5156,6 +5310,7 @@ type RecoverableDatabaseProperties struct { LastAvailableBackupDate *date.Time `json:"lastAvailableBackupDate,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationLink represents a database replication link. type ReplicationLink struct { autorest.Response `json:"-"` @@ -5171,6 +5326,7 @@ type ReplicationLink struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ReplicationLink. func (rl ReplicationLink) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -5192,6 +5348,7 @@ func (rl ReplicationLink) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ReplicationLink struct. func (rl *ReplicationLink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -5252,6 +5409,7 @@ func (rl *ReplicationLink) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationLinkListResult represents the response to a List database replication link request. type ReplicationLinkListResult struct { autorest.Response `json:"-"` @@ -5259,6 +5417,7 @@ type ReplicationLinkListResult struct { Value *[]ReplicationLink `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationLinkProperties represents the properties of a database replication link. type ReplicationLinkProperties struct { // IsTerminationAllowed - Legacy value indicating whether termination is allowed. Currently always returns true. @@ -5283,6 +5442,7 @@ type ReplicationLinkProperties struct { ReplicationState ReplicationState `json:"replicationState,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationLinksFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type ReplicationLinksFailoverAllowDataLossFuture struct { @@ -5290,6 +5450,7 @@ type ReplicationLinksFailoverAllowDataLossFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ReplicationLinksFailoverAllowDataLossFuture) Result(client ReplicationLinksClient) (ar autorest.Response, err error) { @@ -5332,6 +5493,7 @@ func (future ReplicationLinksFailoverAllowDataLossFuture) Result(client Replicat return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationLinksFailoverFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type ReplicationLinksFailoverFuture struct { @@ -5339,6 +5501,7 @@ type ReplicationLinksFailoverFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ReplicationLinksFailoverFuture) Result(client ReplicationLinksClient) (ar autorest.Response, err error) { @@ -5381,6 +5544,7 @@ func (future ReplicationLinksFailoverFuture) Result(client ReplicationLinksClien return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Resource ARM resource. type Resource struct { // ID - Resource ID. @@ -5391,6 +5555,7 @@ type Resource struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ResourceIdentity azure Active Directory identity configuration for a resource. type ResourceIdentity struct { // PrincipalID - The Azure Active Directory principal id. @@ -5401,6 +5566,7 @@ type ResourceIdentity struct { TenantID *uuid.UUID `json:"tenantId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorableDroppedDatabase a restorable dropped database type RestorableDroppedDatabase struct { autorest.Response `json:"-"` @@ -5416,6 +5582,7 @@ type RestorableDroppedDatabase struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for RestorableDroppedDatabase. func (rdd RestorableDroppedDatabase) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -5437,6 +5604,7 @@ func (rdd RestorableDroppedDatabase) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for RestorableDroppedDatabase struct. func (rdd *RestorableDroppedDatabase) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -5497,6 +5665,7 @@ func (rdd *RestorableDroppedDatabase) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorableDroppedDatabaseListResult the response to a list restorable dropped databases request type RestorableDroppedDatabaseListResult struct { autorest.Response `json:"-"` @@ -5504,6 +5673,7 @@ type RestorableDroppedDatabaseListResult struct { Value *[]RestorableDroppedDatabase `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorableDroppedDatabaseProperties the properties of a restorable dropped database type RestorableDroppedDatabaseProperties struct { // DatabaseName - The name of the database @@ -5524,6 +5694,7 @@ type RestorableDroppedDatabaseProperties struct { EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorePoint a database restore point. type RestorePoint struct { // RestorePointProperties - The properties of the restore point. @@ -5536,6 +5707,7 @@ type RestorePoint struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for RestorePoint. func (rp RestorePoint) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -5554,6 +5726,7 @@ func (rp RestorePoint) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for RestorePoint struct. func (rp *RestorePoint) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -5605,6 +5778,7 @@ func (rp *RestorePoint) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorePointListResult the response to a list database restore points request. type RestorePointListResult struct { autorest.Response `json:"-"` @@ -5612,6 +5786,7 @@ type RestorePointListResult struct { Value *[]RestorePoint `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorePointProperties represents the properties of a database restore point. type RestorePointProperties struct { // RestorePointType - The restore point type of the database restore point. Possible values include: 'DISCRETE', 'CONTINUOUS' @@ -5622,6 +5797,7 @@ type RestorePointProperties struct { EarliestRestoreDate *date.Time `json:"earliestRestoreDate,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Server an Azure SQL Database server. type Server struct { autorest.Response `json:"-"` @@ -5643,6 +5819,7 @@ type Server struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for Server. func (s Server) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -5673,6 +5850,7 @@ func (s Server) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for Server struct. func (s *Server) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -5760,6 +5938,7 @@ func (s *Server) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerAdministratorListResult the response to a list Active Directory Administrators request. type ServerAdministratorListResult struct { autorest.Response `json:"-"` @@ -5767,6 +5946,7 @@ type ServerAdministratorListResult struct { Value *[]ServerAzureADAdministrator `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerAdministratorProperties the properties of an server Administrator. type ServerAdministratorProperties struct { // AdministratorType - The type of administrator. @@ -5779,6 +5959,7 @@ type ServerAdministratorProperties struct { TenantID *uuid.UUID `json:"tenantId,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerAzureADAdministrator an server Active Directory Administrator. type ServerAzureADAdministrator struct { autorest.Response `json:"-"` @@ -5792,6 +5973,7 @@ type ServerAzureADAdministrator struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ServerAzureADAdministrator. func (saaa ServerAzureADAdministrator) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -5810,6 +5992,7 @@ func (saaa ServerAzureADAdministrator) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ServerAzureADAdministrator struct. func (saaa *ServerAzureADAdministrator) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -5861,6 +6044,7 @@ func (saaa *ServerAzureADAdministrator) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerAzureADAdministratorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type ServerAzureADAdministratorsCreateOrUpdateFuture struct { @@ -5868,6 +6052,7 @@ type ServerAzureADAdministratorsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServerAzureADAdministratorsCreateOrUpdateFuture) Result(client ServerAzureADAdministratorsClient) (saaa ServerAzureADAdministrator, err error) { @@ -5910,6 +6095,7 @@ func (future ServerAzureADAdministratorsCreateOrUpdateFuture) Result(client Serv return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerAzureADAdministratorsDeleteFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type ServerAzureADAdministratorsDeleteFuture struct { @@ -5917,6 +6103,7 @@ type ServerAzureADAdministratorsDeleteFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServerAzureADAdministratorsDeleteFuture) Result(client ServerAzureADAdministratorsClient) (saaa ServerAzureADAdministrator, err error) { @@ -5959,6 +6146,7 @@ func (future ServerAzureADAdministratorsDeleteFuture) Result(client ServerAzureA return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerCommunicationLink server communication link. type ServerCommunicationLink struct { autorest.Response `json:"-"` @@ -5976,6 +6164,7 @@ type ServerCommunicationLink struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ServerCommunicationLink. func (scl ServerCommunicationLink) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -6000,6 +6189,7 @@ func (scl ServerCommunicationLink) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ServerCommunicationLink struct. func (scl *ServerCommunicationLink) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -6069,6 +6259,7 @@ func (scl *ServerCommunicationLink) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerCommunicationLinkListResult a list of server communication links. type ServerCommunicationLinkListResult struct { autorest.Response `json:"-"` @@ -6076,6 +6267,7 @@ type ServerCommunicationLinkListResult struct { Value *[]ServerCommunicationLink `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerCommunicationLinkProperties the properties of a server communication link. type ServerCommunicationLinkProperties struct { // State - The state. @@ -6084,6 +6276,7 @@ type ServerCommunicationLinkProperties struct { PartnerServer *string `json:"partnerServer,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerCommunicationLinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type ServerCommunicationLinksCreateOrUpdateFuture struct { @@ -6091,6 +6284,7 @@ type ServerCommunicationLinksCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServerCommunicationLinksCreateOrUpdateFuture) Result(client ServerCommunicationLinksClient) (scl ServerCommunicationLink, err error) { @@ -6133,6 +6327,7 @@ func (future ServerCommunicationLinksCreateOrUpdateFuture) Result(client ServerC return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerConnectionPolicy a server secure connection policy. type ServerConnectionPolicy struct { autorest.Response `json:"-"` @@ -6150,6 +6345,7 @@ type ServerConnectionPolicy struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ServerConnectionPolicy. func (scp ServerConnectionPolicy) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -6174,6 +6370,7 @@ func (scp ServerConnectionPolicy) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ServerConnectionPolicy struct. func (scp *ServerConnectionPolicy) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -6243,12 +6440,14 @@ func (scp *ServerConnectionPolicy) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerConnectionPolicyProperties the properties of a server secure connection policy. type ServerConnectionPolicyProperties struct { // ConnectionType - The server connection type. Possible values include: 'ServerConnectionTypeDefault', 'ServerConnectionTypeProxy', 'ServerConnectionTypeRedirect' ConnectionType ServerConnectionType `json:"connectionType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKey a server key. type ServerKey struct { autorest.Response `json:"-"` @@ -6266,6 +6465,7 @@ type ServerKey struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ServerKey. func (sk ServerKey) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -6290,6 +6490,7 @@ func (sk ServerKey) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ServerKey struct. func (sk *ServerKey) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -6359,6 +6560,7 @@ func (sk *ServerKey) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeyListResult a list of server keys. type ServerKeyListResult struct { autorest.Response `json:"-"` @@ -6368,12 +6570,14 @@ type ServerKeyListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeyListResultIterator provides access to a complete listing of ServerKey values. type ServerKeyListResultIterator struct { i int page ServerKeyListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ServerKeyListResultIterator) Next() error { @@ -6390,16 +6594,19 @@ func (iter *ServerKeyListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ServerKeyListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter ServerKeyListResultIterator) Response() ServerKeyListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ServerKeyListResultIterator) Value() ServerKey { @@ -6409,6 +6616,7 @@ func (iter ServerKeyListResultIterator) Value() ServerKey { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (sklr ServerKeyListResult) IsEmpty() bool { return sklr.Value == nil || len(*sklr.Value) == 0 @@ -6426,12 +6634,14 @@ func (sklr ServerKeyListResult) serverKeyListResultPreparer() (*http.Request, er autorest.WithBaseURL(to.String(sklr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeyListResultPage contains a page of ServerKey values. type ServerKeyListResultPage struct { fn func(ServerKeyListResult) (ServerKeyListResult, error) sklr ServerKeyListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *ServerKeyListResultPage) Next() error { @@ -6443,16 +6653,19 @@ func (page *ServerKeyListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ServerKeyListResultPage) NotDone() bool { return !page.sklr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page ServerKeyListResultPage) Response() ServerKeyListResult { return page.sklr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ServerKeyListResultPage) Values() []ServerKey { if page.sklr.IsEmpty() { @@ -6461,6 +6674,7 @@ func (page ServerKeyListResultPage) Values() []ServerKey { return *page.sklr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeyProperties properties for a server key execution. type ServerKeyProperties struct { // Subregion - Subregion of the server key. @@ -6475,6 +6689,7 @@ type ServerKeyProperties struct { CreationDate *date.Time `json:"creationDate,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type ServerKeysCreateOrUpdateFuture struct { @@ -6482,6 +6697,7 @@ type ServerKeysCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServerKeysCreateOrUpdateFuture) Result(client ServerKeysClient) (sk ServerKey, err error) { @@ -6524,12 +6740,14 @@ func (future ServerKeysCreateOrUpdateFuture) Result(client ServerKeysClient) (sk return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ServerKeysDeleteFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServerKeysDeleteFuture) Result(client ServerKeysClient) (ar autorest.Response, err error) { @@ -6572,6 +6790,7 @@ func (future ServerKeysDeleteFuture) Result(client ServerKeysClient) (ar autores return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerListResult a list of servers. type ServerListResult struct { autorest.Response `json:"-"` @@ -6581,12 +6800,14 @@ type ServerListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerListResultIterator provides access to a complete listing of Server values. type ServerListResultIterator struct { i int page ServerListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *ServerListResultIterator) Next() error { @@ -6603,16 +6824,19 @@ func (iter *ServerListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter ServerListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter ServerListResultIterator) Response() ServerListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter ServerListResultIterator) Value() Server { @@ -6622,6 +6846,7 @@ func (iter ServerListResultIterator) Value() Server { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (slr ServerListResult) IsEmpty() bool { return slr.Value == nil || len(*slr.Value) == 0 @@ -6639,12 +6864,14 @@ func (slr ServerListResult) serverListResultPreparer() (*http.Request, error) { autorest.WithBaseURL(to.String(slr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerListResultPage contains a page of Server values. type ServerListResultPage struct { fn func(ServerListResult) (ServerListResult, error) slr ServerListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *ServerListResultPage) Next() error { @@ -6656,16 +6883,19 @@ func (page *ServerListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page ServerListResultPage) NotDone() bool { return !page.slr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page ServerListResultPage) Response() ServerListResult { return page.slr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page ServerListResultPage) Values() []Server { if page.slr.IsEmpty() { @@ -6674,6 +6904,7 @@ func (page ServerListResultPage) Values() []Server { return *page.slr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerProperties the properties of a server. type ServerProperties struct { // AdministratorLogin - Administrator username for the server. Once created it cannot be changed. @@ -6688,6 +6919,7 @@ type ServerProperties struct { FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type ServersCreateOrUpdateFuture struct { @@ -6695,6 +6927,7 @@ type ServersCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServersCreateOrUpdateFuture) Result(client ServersClient) (s Server, err error) { @@ -6737,12 +6970,14 @@ func (future ServersCreateOrUpdateFuture) Result(client ServersClient) (s Server return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ServersDeleteFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServersDeleteFuture) Result(client ServersClient) (ar autorest.Response, err error) { @@ -6785,12 +7020,14 @@ func (future ServersDeleteFuture) Result(client ServersClient) (ar autorest.Resp return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type ServersUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future ServersUpdateFuture) Result(client ServersClient) (s Server, err error) { @@ -6833,6 +7070,7 @@ func (future ServersUpdateFuture) Result(client ServersClient) (s Server, err er return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerUpdate an update request for an Azure SQL Database server. type ServerUpdate struct { // ServerProperties - Resource properties. @@ -6841,6 +7079,7 @@ type ServerUpdate struct { Tags map[string]*string `json:"tags"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ServerUpdate. func (su ServerUpdate) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -6853,6 +7092,7 @@ func (su ServerUpdate) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ServerUpdate struct. func (su *ServerUpdate) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -6886,6 +7126,7 @@ func (su *ServerUpdate) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerUsage represents server metrics. type ServerUsage struct { // Name - Name of the server usage metric. @@ -6904,6 +7145,7 @@ type ServerUsage struct { NextResetTime *date.Time `json:"nextResetTime,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerUsageListResult represents the response to a list server metrics request. type ServerUsageListResult struct { autorest.Response `json:"-"` @@ -6911,6 +7153,7 @@ type ServerUsageListResult struct { Value *[]ServerUsage `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerVersionCapability the server capability type ServerVersionCapability struct { // Name - The server version name. @@ -6925,6 +7168,7 @@ type ServerVersionCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceLevelObjectiveCapability the service objectives capability. type ServiceLevelObjectiveCapability struct { // ID - The unique ID of the service objective. @@ -6943,6 +7187,7 @@ type ServiceLevelObjectiveCapability struct { Reason *string `json:"reason,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceObjective represents a database service objective. type ServiceObjective struct { autorest.Response `json:"-"` @@ -6956,6 +7201,7 @@ type ServiceObjective struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ServiceObjective. func (so ServiceObjective) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -6974,6 +7220,7 @@ func (so ServiceObjective) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ServiceObjective struct. func (so *ServiceObjective) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -7025,6 +7272,7 @@ func (so *ServiceObjective) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceObjectiveListResult represents the response to a get database service objectives request. type ServiceObjectiveListResult struct { autorest.Response `json:"-"` @@ -7032,6 +7280,7 @@ type ServiceObjectiveListResult struct { Value *[]ServiceObjective `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceObjectiveProperties represents the properties of a database service objective. type ServiceObjectiveProperties struct { // ServiceObjectiveName - The name for the service objective. @@ -7046,6 +7295,7 @@ type ServiceObjectiveProperties struct { Enabled *bool `json:"enabled,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceTierAdvisor represents a Service Tier Advisor. type ServiceTierAdvisor struct { autorest.Response `json:"-"` @@ -7059,6 +7309,7 @@ type ServiceTierAdvisor struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for ServiceTierAdvisor. func (sta ServiceTierAdvisor) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -7077,6 +7328,7 @@ func (sta ServiceTierAdvisor) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for ServiceTierAdvisor struct. func (sta *ServiceTierAdvisor) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -7128,6 +7380,7 @@ func (sta *ServiceTierAdvisor) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceTierAdvisorListResult represents the response to a list service tier advisor request. type ServiceTierAdvisorListResult struct { autorest.Response `json:"-"` @@ -7135,6 +7388,7 @@ type ServiceTierAdvisorListResult struct { Value *[]ServiceTierAdvisor `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceTierAdvisorProperties represents the properties of a Service Tier Advisor. type ServiceTierAdvisorProperties struct { // ObservationPeriodStart - The observation period start (ISO8601 format). @@ -7177,6 +7431,7 @@ type ServiceTierAdvisorProperties struct { Confidence *float64 `json:"confidence,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SloUsageMetric a Slo Usage Metric. type SloUsageMetric struct { // ServiceLevelObjective - The serviceLevelObjective for SLO usage metric. Possible values include: 'ServiceObjectiveNameSystem', 'ServiceObjectiveNameSystem0', 'ServiceObjectiveNameSystem1', 'ServiceObjectiveNameSystem2', 'ServiceObjectiveNameSystem3', 'ServiceObjectiveNameSystem4', 'ServiceObjectiveNameSystem2L', 'ServiceObjectiveNameSystem3L', 'ServiceObjectiveNameSystem4L', 'ServiceObjectiveNameFree', 'ServiceObjectiveNameBasic', 'ServiceObjectiveNameS0', 'ServiceObjectiveNameS1', 'ServiceObjectiveNameS2', 'ServiceObjectiveNameS3', 'ServiceObjectiveNameS4', 'ServiceObjectiveNameS6', 'ServiceObjectiveNameS7', 'ServiceObjectiveNameS9', 'ServiceObjectiveNameS12', 'ServiceObjectiveNameP1', 'ServiceObjectiveNameP2', 'ServiceObjectiveNameP3', 'ServiceObjectiveNameP4', 'ServiceObjectiveNameP6', 'ServiceObjectiveNameP11', 'ServiceObjectiveNameP15', 'ServiceObjectiveNamePRS1', 'ServiceObjectiveNamePRS2', 'ServiceObjectiveNamePRS4', 'ServiceObjectiveNamePRS6', 'ServiceObjectiveNameDW100', 'ServiceObjectiveNameDW200', 'ServiceObjectiveNameDW300', 'ServiceObjectiveNameDW400', 'ServiceObjectiveNameDW500', 'ServiceObjectiveNameDW600', 'ServiceObjectiveNameDW1000', 'ServiceObjectiveNameDW1200', 'ServiceObjectiveNameDW1000c', 'ServiceObjectiveNameDW1500', 'ServiceObjectiveNameDW1500c', 'ServiceObjectiveNameDW2000', 'ServiceObjectiveNameDW2000c', 'ServiceObjectiveNameDW3000', 'ServiceObjectiveNameDW2500c', 'ServiceObjectiveNameDW3000c', 'ServiceObjectiveNameDW6000', 'ServiceObjectiveNameDW5000c', 'ServiceObjectiveNameDW6000c', 'ServiceObjectiveNameDW7500c', 'ServiceObjectiveNameDW10000c', 'ServiceObjectiveNameDW15000c', 'ServiceObjectiveNameDW30000c', 'ServiceObjectiveNameDS100', 'ServiceObjectiveNameDS200', 'ServiceObjectiveNameDS300', 'ServiceObjectiveNameDS400', 'ServiceObjectiveNameDS500', 'ServiceObjectiveNameDS600', 'ServiceObjectiveNameDS1000', 'ServiceObjectiveNameDS1200', 'ServiceObjectiveNameDS1500', 'ServiceObjectiveNameDS2000', 'ServiceObjectiveNameElasticPool' @@ -7187,6 +7442,7 @@ type SloUsageMetric struct { InRangeTimeRatio *float64 `json:"inRangeTimeRatio,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SubscriptionUsage usage Metric of a Subscription in a Location. type SubscriptionUsage struct { autorest.Response `json:"-"` @@ -7200,6 +7456,7 @@ type SubscriptionUsage struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for SubscriptionUsage. func (su SubscriptionUsage) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -7218,6 +7475,7 @@ func (su SubscriptionUsage) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for SubscriptionUsage struct. func (su *SubscriptionUsage) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -7269,6 +7527,7 @@ func (su *SubscriptionUsage) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SubscriptionUsageListResult a list of subscription usage metrics in a location. type SubscriptionUsageListResult struct { autorest.Response `json:"-"` @@ -7278,12 +7537,14 @@ type SubscriptionUsageListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SubscriptionUsageListResultIterator provides access to a complete listing of SubscriptionUsage values. type SubscriptionUsageListResultIterator struct { i int page SubscriptionUsageListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SubscriptionUsageListResultIterator) Next() error { @@ -7300,16 +7561,19 @@ func (iter *SubscriptionUsageListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SubscriptionUsageListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SubscriptionUsageListResultIterator) Response() SubscriptionUsageListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SubscriptionUsageListResultIterator) Value() SubscriptionUsage { @@ -7319,6 +7583,7 @@ func (iter SubscriptionUsageListResultIterator) Value() SubscriptionUsage { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (sulr SubscriptionUsageListResult) IsEmpty() bool { return sulr.Value == nil || len(*sulr.Value) == 0 @@ -7336,12 +7601,14 @@ func (sulr SubscriptionUsageListResult) subscriptionUsageListResultPreparer() (* autorest.WithBaseURL(to.String(sulr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SubscriptionUsageListResultPage contains a page of SubscriptionUsage values. type SubscriptionUsageListResultPage struct { fn func(SubscriptionUsageListResult) (SubscriptionUsageListResult, error) sulr SubscriptionUsageListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SubscriptionUsageListResultPage) Next() error { @@ -7353,16 +7620,19 @@ func (page *SubscriptionUsageListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SubscriptionUsageListResultPage) NotDone() bool { return !page.sulr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SubscriptionUsageListResultPage) Response() SubscriptionUsageListResult { return page.sulr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SubscriptionUsageListResultPage) Values() []SubscriptionUsage { if page.sulr.IsEmpty() { @@ -7371,6 +7641,7 @@ func (page SubscriptionUsageListResultPage) Values() []SubscriptionUsage { return *page.sulr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SubscriptionUsageProperties properties of a subscription usage. type SubscriptionUsageProperties struct { // DisplayName - User-readable name of the metric. @@ -7383,6 +7654,7 @@ type SubscriptionUsageProperties struct { Unit *string `json:"unit,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgent an Azure SQL Database sync agent. type SyncAgent struct { autorest.Response `json:"-"` @@ -7396,6 +7668,7 @@ type SyncAgent struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for SyncAgent. func (sa SyncAgent) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -7414,6 +7687,7 @@ func (sa SyncAgent) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for SyncAgent struct. func (sa *SyncAgent) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -7465,6 +7739,7 @@ func (sa *SyncAgent) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentKeyProperties properties of an Azure SQL Database sync agent key. type SyncAgentKeyProperties struct { autorest.Response `json:"-"` @@ -7472,6 +7747,7 @@ type SyncAgentKeyProperties struct { SyncAgentKey *string `json:"syncAgentKey,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentLinkedDatabase an Azure SQL Database sync agent linked database. type SyncAgentLinkedDatabase struct { // SyncAgentLinkedDatabaseProperties - Resource properties. @@ -7484,6 +7760,7 @@ type SyncAgentLinkedDatabase struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for SyncAgentLinkedDatabase. func (sald SyncAgentLinkedDatabase) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -7502,6 +7779,7 @@ func (sald SyncAgentLinkedDatabase) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for SyncAgentLinkedDatabase struct. func (sald *SyncAgentLinkedDatabase) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -7553,6 +7831,7 @@ func (sald *SyncAgentLinkedDatabase) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentLinkedDatabaseListResult a list of sync agent linked databases. type SyncAgentLinkedDatabaseListResult struct { autorest.Response `json:"-"` @@ -7562,6 +7841,7 @@ type SyncAgentLinkedDatabaseListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentLinkedDatabaseListResultIterator provides access to a complete listing of SyncAgentLinkedDatabase // values. type SyncAgentLinkedDatabaseListResultIterator struct { @@ -7569,6 +7849,7 @@ type SyncAgentLinkedDatabaseListResultIterator struct { page SyncAgentLinkedDatabaseListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SyncAgentLinkedDatabaseListResultIterator) Next() error { @@ -7585,16 +7866,19 @@ func (iter *SyncAgentLinkedDatabaseListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SyncAgentLinkedDatabaseListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SyncAgentLinkedDatabaseListResultIterator) Response() SyncAgentLinkedDatabaseListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SyncAgentLinkedDatabaseListResultIterator) Value() SyncAgentLinkedDatabase { @@ -7604,6 +7888,7 @@ func (iter SyncAgentLinkedDatabaseListResultIterator) Value() SyncAgentLinkedDat return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (saldlr SyncAgentLinkedDatabaseListResult) IsEmpty() bool { return saldlr.Value == nil || len(*saldlr.Value) == 0 @@ -7621,12 +7906,14 @@ func (saldlr SyncAgentLinkedDatabaseListResult) syncAgentLinkedDatabaseListResul autorest.WithBaseURL(to.String(saldlr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentLinkedDatabaseListResultPage contains a page of SyncAgentLinkedDatabase values. type SyncAgentLinkedDatabaseListResultPage struct { fn func(SyncAgentLinkedDatabaseListResult) (SyncAgentLinkedDatabaseListResult, error) saldlr SyncAgentLinkedDatabaseListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SyncAgentLinkedDatabaseListResultPage) Next() error { @@ -7638,16 +7925,19 @@ func (page *SyncAgentLinkedDatabaseListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SyncAgentLinkedDatabaseListResultPage) NotDone() bool { return !page.saldlr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SyncAgentLinkedDatabaseListResultPage) Response() SyncAgentLinkedDatabaseListResult { return page.saldlr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SyncAgentLinkedDatabaseListResultPage) Values() []SyncAgentLinkedDatabase { if page.saldlr.IsEmpty() { @@ -7656,6 +7946,7 @@ func (page SyncAgentLinkedDatabaseListResultPage) Values() []SyncAgentLinkedData return *page.saldlr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentLinkedDatabaseProperties properties of an Azure SQL Database sync agent linked database. type SyncAgentLinkedDatabaseProperties struct { // DatabaseType - Type of the sync agent linked database. Possible values include: 'AzureSQLDatabase', 'SQLServerDatabase' @@ -7672,6 +7963,7 @@ type SyncAgentLinkedDatabaseProperties struct { UserName *string `json:"userName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentListResult a list of sync agents. type SyncAgentListResult struct { autorest.Response `json:"-"` @@ -7681,12 +7973,14 @@ type SyncAgentListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentListResultIterator provides access to a complete listing of SyncAgent values. type SyncAgentListResultIterator struct { i int page SyncAgentListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SyncAgentListResultIterator) Next() error { @@ -7703,16 +7997,19 @@ func (iter *SyncAgentListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SyncAgentListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SyncAgentListResultIterator) Response() SyncAgentListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SyncAgentListResultIterator) Value() SyncAgent { @@ -7722,6 +8019,7 @@ func (iter SyncAgentListResultIterator) Value() SyncAgent { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (salr SyncAgentListResult) IsEmpty() bool { return salr.Value == nil || len(*salr.Value) == 0 @@ -7739,12 +8037,14 @@ func (salr SyncAgentListResult) syncAgentListResultPreparer() (*http.Request, er autorest.WithBaseURL(to.String(salr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentListResultPage contains a page of SyncAgent values. type SyncAgentListResultPage struct { fn func(SyncAgentListResult) (SyncAgentListResult, error) salr SyncAgentListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SyncAgentListResultPage) Next() error { @@ -7756,16 +8056,19 @@ func (page *SyncAgentListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SyncAgentListResultPage) NotDone() bool { return !page.salr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SyncAgentListResultPage) Response() SyncAgentListResult { return page.salr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SyncAgentListResultPage) Values() []SyncAgent { if page.salr.IsEmpty() { @@ -7774,6 +8077,7 @@ func (page SyncAgentListResultPage) Values() []SyncAgent { return *page.salr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentProperties properties of an Azure SQL Database sync agent. type SyncAgentProperties struct { // Name - Name of the sync agent. @@ -7792,6 +8096,7 @@ type SyncAgentProperties struct { Version *string `json:"version,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type SyncAgentsCreateOrUpdateFuture struct { @@ -7799,6 +8104,7 @@ type SyncAgentsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncAgentsCreateOrUpdateFuture) Result(client SyncAgentsClient) (sa SyncAgent, err error) { @@ -7841,12 +8147,14 @@ func (future SyncAgentsCreateOrUpdateFuture) Result(client SyncAgentsClient) (sa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type SyncAgentsDeleteFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncAgentsDeleteFuture) Result(client SyncAgentsClient) (ar autorest.Response, err error) { @@ -7889,6 +8197,7 @@ func (future SyncAgentsDeleteFuture) Result(client SyncAgentsClient) (ar autores return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncDatabaseIDListResult a list of sync database ID properties. type SyncDatabaseIDListResult struct { autorest.Response `json:"-"` @@ -7898,12 +8207,14 @@ type SyncDatabaseIDListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncDatabaseIDListResultIterator provides access to a complete listing of SyncDatabaseIDProperties values. type SyncDatabaseIDListResultIterator struct { i int page SyncDatabaseIDListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SyncDatabaseIDListResultIterator) Next() error { @@ -7920,16 +8231,19 @@ func (iter *SyncDatabaseIDListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SyncDatabaseIDListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SyncDatabaseIDListResultIterator) Response() SyncDatabaseIDListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SyncDatabaseIDListResultIterator) Value() SyncDatabaseIDProperties { @@ -7939,6 +8253,7 @@ func (iter SyncDatabaseIDListResultIterator) Value() SyncDatabaseIDProperties { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (sdilr SyncDatabaseIDListResult) IsEmpty() bool { return sdilr.Value == nil || len(*sdilr.Value) == 0 @@ -7956,12 +8271,14 @@ func (sdilr SyncDatabaseIDListResult) syncDatabaseIDListResultPreparer() (*http. autorest.WithBaseURL(to.String(sdilr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncDatabaseIDListResultPage contains a page of SyncDatabaseIDProperties values. type SyncDatabaseIDListResultPage struct { fn func(SyncDatabaseIDListResult) (SyncDatabaseIDListResult, error) sdilr SyncDatabaseIDListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SyncDatabaseIDListResultPage) Next() error { @@ -7973,16 +8290,19 @@ func (page *SyncDatabaseIDListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SyncDatabaseIDListResultPage) NotDone() bool { return !page.sdilr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SyncDatabaseIDListResultPage) Response() SyncDatabaseIDListResult { return page.sdilr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SyncDatabaseIDListResultPage) Values() []SyncDatabaseIDProperties { if page.sdilr.IsEmpty() { @@ -7991,12 +8311,14 @@ func (page SyncDatabaseIDListResultPage) Values() []SyncDatabaseIDProperties { return *page.sdilr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncDatabaseIDProperties properties of the sync database id. type SyncDatabaseIDProperties struct { // ID - ARM resource id of sync database. ID *string `json:"id,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncFullSchemaProperties properties of the database full schema. type SyncFullSchemaProperties struct { // Tables - List of tables in the database full schema. @@ -8005,6 +8327,7 @@ type SyncFullSchemaProperties struct { LastUpdateTime *date.Time `json:"lastUpdateTime,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncFullSchemaPropertiesListResult a list of sync schema properties. type SyncFullSchemaPropertiesListResult struct { autorest.Response `json:"-"` @@ -8014,6 +8337,7 @@ type SyncFullSchemaPropertiesListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncFullSchemaPropertiesListResultIterator provides access to a complete listing of SyncFullSchemaProperties // values. type SyncFullSchemaPropertiesListResultIterator struct { @@ -8021,6 +8345,7 @@ type SyncFullSchemaPropertiesListResultIterator struct { page SyncFullSchemaPropertiesListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SyncFullSchemaPropertiesListResultIterator) Next() error { @@ -8037,16 +8362,19 @@ func (iter *SyncFullSchemaPropertiesListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SyncFullSchemaPropertiesListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SyncFullSchemaPropertiesListResultIterator) Response() SyncFullSchemaPropertiesListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SyncFullSchemaPropertiesListResultIterator) Value() SyncFullSchemaProperties { @@ -8056,6 +8384,7 @@ func (iter SyncFullSchemaPropertiesListResultIterator) Value() SyncFullSchemaPro return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (sfsplr SyncFullSchemaPropertiesListResult) IsEmpty() bool { return sfsplr.Value == nil || len(*sfsplr.Value) == 0 @@ -8073,12 +8402,14 @@ func (sfsplr SyncFullSchemaPropertiesListResult) syncFullSchemaPropertiesListRes autorest.WithBaseURL(to.String(sfsplr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncFullSchemaPropertiesListResultPage contains a page of SyncFullSchemaProperties values. type SyncFullSchemaPropertiesListResultPage struct { fn func(SyncFullSchemaPropertiesListResult) (SyncFullSchemaPropertiesListResult, error) sfsplr SyncFullSchemaPropertiesListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SyncFullSchemaPropertiesListResultPage) Next() error { @@ -8090,16 +8421,19 @@ func (page *SyncFullSchemaPropertiesListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SyncFullSchemaPropertiesListResultPage) NotDone() bool { return !page.sfsplr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SyncFullSchemaPropertiesListResultPage) Response() SyncFullSchemaPropertiesListResult { return page.sfsplr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SyncFullSchemaPropertiesListResultPage) Values() []SyncFullSchemaProperties { if page.sfsplr.IsEmpty() { @@ -8108,6 +8442,7 @@ func (page SyncFullSchemaPropertiesListResultPage) Values() []SyncFullSchemaProp return *page.sfsplr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncFullSchemaTable properties of the table in the database full schema. type SyncFullSchemaTable struct { // Columns - List of columns in the table of database full schema. @@ -8122,6 +8457,7 @@ type SyncFullSchemaTable struct { QuotedName *string `json:"quotedName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncFullSchemaTableColumn properties of the column in the table of database full schema. type SyncFullSchemaTableColumn struct { // DataSize - Data size of the column. @@ -8140,6 +8476,7 @@ type SyncFullSchemaTableColumn struct { QuotedName *string `json:"quotedName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroup an Azure SQL Database sync group. type SyncGroup struct { autorest.Response `json:"-"` @@ -8153,6 +8490,7 @@ type SyncGroup struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for SyncGroup. func (sg SyncGroup) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -8171,6 +8509,7 @@ func (sg SyncGroup) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for SyncGroup struct. func (sg *SyncGroup) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -8222,6 +8561,7 @@ func (sg *SyncGroup) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupListResult a list of sync groups. type SyncGroupListResult struct { autorest.Response `json:"-"` @@ -8231,12 +8571,14 @@ type SyncGroupListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupListResultIterator provides access to a complete listing of SyncGroup values. type SyncGroupListResultIterator struct { i int page SyncGroupListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SyncGroupListResultIterator) Next() error { @@ -8253,16 +8595,19 @@ func (iter *SyncGroupListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SyncGroupListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SyncGroupListResultIterator) Response() SyncGroupListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SyncGroupListResultIterator) Value() SyncGroup { @@ -8272,6 +8617,7 @@ func (iter SyncGroupListResultIterator) Value() SyncGroup { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (sglr SyncGroupListResult) IsEmpty() bool { return sglr.Value == nil || len(*sglr.Value) == 0 @@ -8289,12 +8635,14 @@ func (sglr SyncGroupListResult) syncGroupListResultPreparer() (*http.Request, er autorest.WithBaseURL(to.String(sglr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupListResultPage contains a page of SyncGroup values. type SyncGroupListResultPage struct { fn func(SyncGroupListResult) (SyncGroupListResult, error) sglr SyncGroupListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SyncGroupListResultPage) Next() error { @@ -8306,16 +8654,19 @@ func (page *SyncGroupListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SyncGroupListResultPage) NotDone() bool { return !page.sglr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SyncGroupListResultPage) Response() SyncGroupListResult { return page.sglr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SyncGroupListResultPage) Values() []SyncGroup { if page.sglr.IsEmpty() { @@ -8324,6 +8675,7 @@ func (page SyncGroupListResultPage) Values() []SyncGroup { return *page.sglr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupLogListResult a list of sync group log properties. type SyncGroupLogListResult struct { autorest.Response `json:"-"` @@ -8333,12 +8685,14 @@ type SyncGroupLogListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupLogListResultIterator provides access to a complete listing of SyncGroupLogProperties values. type SyncGroupLogListResultIterator struct { i int page SyncGroupLogListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SyncGroupLogListResultIterator) Next() error { @@ -8355,16 +8709,19 @@ func (iter *SyncGroupLogListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SyncGroupLogListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SyncGroupLogListResultIterator) Response() SyncGroupLogListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SyncGroupLogListResultIterator) Value() SyncGroupLogProperties { @@ -8374,6 +8731,7 @@ func (iter SyncGroupLogListResultIterator) Value() SyncGroupLogProperties { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (sgllr SyncGroupLogListResult) IsEmpty() bool { return sgllr.Value == nil || len(*sgllr.Value) == 0 @@ -8391,12 +8749,14 @@ func (sgllr SyncGroupLogListResult) syncGroupLogListResultPreparer() (*http.Requ autorest.WithBaseURL(to.String(sgllr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupLogListResultPage contains a page of SyncGroupLogProperties values. type SyncGroupLogListResultPage struct { fn func(SyncGroupLogListResult) (SyncGroupLogListResult, error) sgllr SyncGroupLogListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SyncGroupLogListResultPage) Next() error { @@ -8408,16 +8768,19 @@ func (page *SyncGroupLogListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SyncGroupLogListResultPage) NotDone() bool { return !page.sgllr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SyncGroupLogListResultPage) Response() SyncGroupLogListResult { return page.sgllr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SyncGroupLogListResultPage) Values() []SyncGroupLogProperties { if page.sgllr.IsEmpty() { @@ -8426,6 +8789,7 @@ func (page SyncGroupLogListResultPage) Values() []SyncGroupLogProperties { return *page.sgllr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupLogProperties properties of an Azure SQL Database sync group log. type SyncGroupLogProperties struct { // Timestamp - Timestamp of the sync group log. @@ -8442,6 +8806,7 @@ type SyncGroupLogProperties struct { OperationStatus *string `json:"operationStatus,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupProperties properties of a sync group. type SyncGroupProperties struct { // Interval - Sync interval of the sync group. @@ -8462,6 +8827,7 @@ type SyncGroupProperties struct { Schema *SyncGroupSchema `json:"schema,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupSchema properties of sync group schema. type SyncGroupSchema struct { // Tables - List of tables in sync group schema. @@ -8470,6 +8836,7 @@ type SyncGroupSchema struct { MasterSyncMemberName *string `json:"masterSyncMemberName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupSchemaTable properties of table in sync group schema. type SyncGroupSchemaTable struct { // Columns - List of columns in sync group schema. @@ -8478,6 +8845,7 @@ type SyncGroupSchemaTable struct { QuotedName *string `json:"quotedName,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupSchemaTableColumn properties of column in sync group table. type SyncGroupSchemaTableColumn struct { // QuotedName - Quoted name of sync group table column. @@ -8488,6 +8856,7 @@ type SyncGroupSchemaTableColumn struct { DataType *string `json:"dataType,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type SyncGroupsCreateOrUpdateFuture struct { @@ -8495,6 +8864,7 @@ type SyncGroupsCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncGroupsCreateOrUpdateFuture) Result(client SyncGroupsClient) (sg SyncGroup, err error) { @@ -8537,12 +8907,14 @@ func (future SyncGroupsCreateOrUpdateFuture) Result(client SyncGroupsClient) (sg return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type SyncGroupsDeleteFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncGroupsDeleteFuture) Result(client SyncGroupsClient) (ar autorest.Response, err error) { @@ -8585,6 +8957,7 @@ func (future SyncGroupsDeleteFuture) Result(client SyncGroupsClient) (ar autores return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupsRefreshHubSchemaFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type SyncGroupsRefreshHubSchemaFuture struct { @@ -8592,6 +8965,7 @@ type SyncGroupsRefreshHubSchemaFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncGroupsRefreshHubSchemaFuture) Result(client SyncGroupsClient) (ar autorest.Response, err error) { @@ -8634,12 +9008,14 @@ func (future SyncGroupsRefreshHubSchemaFuture) Result(client SyncGroupsClient) ( return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type SyncGroupsUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncGroupsUpdateFuture) Result(client SyncGroupsClient) (sg SyncGroup, err error) { @@ -8682,6 +9058,7 @@ func (future SyncGroupsUpdateFuture) Result(client SyncGroupsClient) (sg SyncGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMember an Azure SQL Database sync member. type SyncMember struct { autorest.Response `json:"-"` @@ -8695,6 +9072,7 @@ type SyncMember struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for SyncMember. func (sm SyncMember) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -8713,6 +9091,7 @@ func (sm SyncMember) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for SyncMember struct. func (sm *SyncMember) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -8764,6 +9143,7 @@ func (sm *SyncMember) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMemberListResult a list of Azure SQL Database sync members. type SyncMemberListResult struct { autorest.Response `json:"-"` @@ -8773,12 +9153,14 @@ type SyncMemberListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMemberListResultIterator provides access to a complete listing of SyncMember values. type SyncMemberListResultIterator struct { i int page SyncMemberListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *SyncMemberListResultIterator) Next() error { @@ -8795,16 +9177,19 @@ func (iter *SyncMemberListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter SyncMemberListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter SyncMemberListResultIterator) Response() SyncMemberListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter SyncMemberListResultIterator) Value() SyncMember { @@ -8814,6 +9199,7 @@ func (iter SyncMemberListResultIterator) Value() SyncMember { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (smlr SyncMemberListResult) IsEmpty() bool { return smlr.Value == nil || len(*smlr.Value) == 0 @@ -8831,12 +9217,14 @@ func (smlr SyncMemberListResult) syncMemberListResultPreparer() (*http.Request, autorest.WithBaseURL(to.String(smlr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMemberListResultPage contains a page of SyncMember values. type SyncMemberListResultPage struct { fn func(SyncMemberListResult) (SyncMemberListResult, error) smlr SyncMemberListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *SyncMemberListResultPage) Next() error { @@ -8848,16 +9236,19 @@ func (page *SyncMemberListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page SyncMemberListResultPage) NotDone() bool { return !page.smlr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page SyncMemberListResultPage) Response() SyncMemberListResult { return page.smlr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page SyncMemberListResultPage) Values() []SyncMember { if page.smlr.IsEmpty() { @@ -8866,6 +9257,7 @@ func (page SyncMemberListResultPage) Values() []SyncMember { return *page.smlr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMemberProperties properties of a sync member. type SyncMemberProperties struct { // DatabaseType - Database type of the sync member. Possible values include: 'AzureSQLDatabase', 'SQLServerDatabase' @@ -8888,6 +9280,7 @@ type SyncMemberProperties struct { SyncState SyncMemberState `json:"syncState,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMembersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type SyncMembersCreateOrUpdateFuture struct { @@ -8895,6 +9288,7 @@ type SyncMembersCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncMembersCreateOrUpdateFuture) Result(client SyncMembersClient) (sm SyncMember, err error) { @@ -8937,12 +9331,14 @@ func (future SyncMembersCreateOrUpdateFuture) Result(client SyncMembersClient) ( return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMembersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. type SyncMembersDeleteFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncMembersDeleteFuture) Result(client SyncMembersClient) (ar autorest.Response, err error) { @@ -8985,6 +9381,7 @@ func (future SyncMembersDeleteFuture) Result(client SyncMembersClient) (ar autor return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMembersRefreshMemberSchemaFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type SyncMembersRefreshMemberSchemaFuture struct { @@ -8992,6 +9389,7 @@ type SyncMembersRefreshMemberSchemaFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncMembersRefreshMemberSchemaFuture) Result(client SyncMembersClient) (ar autorest.Response, err error) { @@ -9034,12 +9432,14 @@ func (future SyncMembersRefreshMemberSchemaFuture) Result(client SyncMembersClie return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMembersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. type SyncMembersUpdateFuture struct { azure.Future req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future SyncMembersUpdateFuture) Result(client SyncMembersClient) (sm SyncMember, err error) { @@ -9082,6 +9482,7 @@ func (future SyncMembersUpdateFuture) Result(client SyncMembersClient) (sm SyncM return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TrackedResource ARM tracked top level resource. type TrackedResource struct { // Tags - Resource tags. @@ -9096,6 +9497,7 @@ type TrackedResource struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for TrackedResource. func (tr TrackedResource) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -9117,6 +9519,7 @@ func (tr TrackedResource) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryption represents a database transparent data encryption configuration. type TransparentDataEncryption struct { autorest.Response `json:"-"` @@ -9132,6 +9535,7 @@ type TransparentDataEncryption struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for TransparentDataEncryption. func (tde TransparentDataEncryption) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -9153,6 +9557,7 @@ func (tde TransparentDataEncryption) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for TransparentDataEncryption struct. func (tde *TransparentDataEncryption) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -9213,6 +9618,7 @@ func (tde *TransparentDataEncryption) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionActivity represents a database transparent data encryption Scan. type TransparentDataEncryptionActivity struct { // Location - Resource location. @@ -9227,6 +9633,7 @@ type TransparentDataEncryptionActivity struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for TransparentDataEncryptionActivity. func (tdea TransparentDataEncryptionActivity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -9248,6 +9655,7 @@ func (tdea TransparentDataEncryptionActivity) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for TransparentDataEncryptionActivity struct. func (tdea *TransparentDataEncryptionActivity) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -9308,6 +9716,7 @@ func (tdea *TransparentDataEncryptionActivity) UnmarshalJSON(body []byte) error return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionActivityListResult represents the response to a list database transparent data // encryption activity request. type TransparentDataEncryptionActivityListResult struct { @@ -9316,6 +9725,7 @@ type TransparentDataEncryptionActivityListResult struct { Value *[]TransparentDataEncryptionActivity `json:"value,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionActivityProperties represents the properties of a database transparent data encryption // Scan. type TransparentDataEncryptionActivityProperties struct { @@ -9325,12 +9735,14 @@ type TransparentDataEncryptionActivityProperties struct { PercentComplete *float64 `json:"percentComplete,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionProperties represents the properties of a database transparent data encryption. type TransparentDataEncryptionProperties struct { // Status - The status of the database transparent data encryption. Possible values include: 'TransparentDataEncryptionStatusEnabled', 'TransparentDataEncryptionStatusDisabled' Status TransparentDataEncryptionStatus `json:"status,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRule a virtual network rule. type VirtualNetworkRule struct { autorest.Response `json:"-"` @@ -9344,6 +9756,7 @@ type VirtualNetworkRule struct { Type *string `json:"type,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // MarshalJSON is the custom marshaler for VirtualNetworkRule. func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error) { objectMap := make(map[string]interface{}) @@ -9362,6 +9775,7 @@ func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct. func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error { var m map[string]*json.RawMessage @@ -9413,6 +9827,7 @@ func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRuleListResult a list of virtual network rules. type VirtualNetworkRuleListResult struct { autorest.Response `json:"-"` @@ -9422,12 +9837,14 @@ type VirtualNetworkRuleListResult struct { NextLink *string `json:"nextLink,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values. type VirtualNetworkRuleListResultIterator struct { i int page VirtualNetworkRuleListResultPage } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next value. If there was an error making // the request the iterator does not advance and the error is returned. func (iter *VirtualNetworkRuleListResultIterator) Next() error { @@ -9444,16 +9861,19 @@ func (iter *VirtualNetworkRuleListResultIterator) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the enumeration should be started or is not yet complete. func (iter VirtualNetworkRuleListResultIterator) NotDone() bool { return iter.page.NotDone() && iter.i < len(iter.page.Values()) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult { return iter.page.Response() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Value returns the current value or a zero-initialized value if the // iterator has advanced beyond the end of the collection. func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule { @@ -9463,6 +9883,7 @@ func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule { return iter.page.Values()[iter.i] } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // IsEmpty returns true if the ListResult contains no values. func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool { return vnrlr.Value == nil || len(*vnrlr.Value) == 0 @@ -9480,12 +9901,14 @@ func (vnrlr VirtualNetworkRuleListResult) virtualNetworkRuleListResultPreparer() autorest.WithBaseURL(to.String(vnrlr.NextLink))) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values. type VirtualNetworkRuleListResultPage struct { fn func(VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error) vnrlr VirtualNetworkRuleListResult } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Next advances to the next page of values. If there was an error making // the request the page does not advance and the error is returned. func (page *VirtualNetworkRuleListResultPage) Next() error { @@ -9497,16 +9920,19 @@ func (page *VirtualNetworkRuleListResultPage) Next() error { return nil } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NotDone returns true if the page enumeration should be started or is not yet complete. func (page VirtualNetworkRuleListResultPage) NotDone() bool { return !page.vnrlr.IsEmpty() } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Response returns the raw server response from the last page request. func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult { return page.vnrlr } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Values returns the slice of values for the current page or nil if there are no values. func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule { if page.vnrlr.IsEmpty() { @@ -9515,6 +9941,7 @@ func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule { return *page.vnrlr.Value } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRuleProperties properties of a virtual network rule. type VirtualNetworkRuleProperties struct { // VirtualNetworkSubnetID - The ARM resource id of the virtual network subnet. @@ -9525,6 +9952,7 @@ type VirtualNetworkRuleProperties struct { State VirtualNetworkRuleState `json:"state,omitempty"` } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a // long-running operation. type VirtualNetworkRulesCreateOrUpdateFuture struct { @@ -9532,6 +9960,7 @@ type VirtualNetworkRulesCreateOrUpdateFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future VirtualNetworkRulesCreateOrUpdateFuture) Result(client VirtualNetworkRulesClient) (vnr VirtualNetworkRule, err error) { @@ -9574,6 +10003,7 @@ func (future VirtualNetworkRulesCreateOrUpdateFuture) Result(client VirtualNetwo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running // operation. type VirtualNetworkRulesDeleteFuture struct { @@ -9581,6 +10011,7 @@ type VirtualNetworkRulesDeleteFuture struct { req *http.Request } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. func (future VirtualNetworkRulesDeleteFuture) Result(client VirtualNetworkRulesClient) (ar autorest.Response, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/operations.go index d5c11bcff4cd..1046841acd85 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/operations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/operations.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // OperationsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type OperationsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewOperationsClient creates an instance of the OperationsClient client. func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // List lists all of the available SQL Rest API operations. func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) { result.fn = client.listNextResults @@ -65,6 +69,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { const APIVersion = "2015-05-01-preview" @@ -80,6 +85,7 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { @@ -87,6 +93,7 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { @@ -121,6 +128,7 @@ func (client OperationsClient) listNextResults(lastResults OperationListResult) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) { result.page, err = client.List(ctx) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recommendedelasticpools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recommendedelasticpools.go deleted file mode 100644 index 477ef5119e90..000000000000 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recommendedelasticpools.go +++ /dev/null @@ -1,247 +0,0 @@ -package sql - -// 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. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -import ( - "context" - "github.com/Azure/go-autorest/autorest" - "github.com/Azure/go-autorest/autorest/azure" - "net/http" -) - -// RecommendedElasticPoolsClient is the the Azure SQL Database management API provides a RESTful set of web services -// that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, -// update, and delete databases. -type RecommendedElasticPoolsClient struct { - BaseClient -} - -// NewRecommendedElasticPoolsClient creates an instance of the RecommendedElasticPoolsClient client. -func NewRecommendedElasticPoolsClient(subscriptionID string) RecommendedElasticPoolsClient { - return NewRecommendedElasticPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID) -} - -// NewRecommendedElasticPoolsClientWithBaseURI creates an instance of the RecommendedElasticPoolsClient client. -func NewRecommendedElasticPoolsClientWithBaseURI(baseURI string, subscriptionID string) RecommendedElasticPoolsClient { - return RecommendedElasticPoolsClient{NewWithBaseURI(baseURI, subscriptionID)} -} - -// Get gets a recommented elastic pool. -// -// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from -// the Azure Resource Manager API or the portal. serverName is the name of the server. recommendedElasticPoolName -// is the name of the recommended elastic pool to be retrieved. -func (client RecommendedElasticPoolsClient) Get(ctx context.Context, resourceGroupName string, serverName string, recommendedElasticPoolName string) (result RecommendedElasticPool, err error) { - req, err := client.GetPreparer(ctx, resourceGroupName, serverName, recommendedElasticPoolName) - if err != nil { - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "Get", nil, "Failure preparing request") - return - } - - resp, err := client.GetSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "Get", resp, "Failure sending request") - return - } - - result, err = client.GetResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "Get", resp, "Failure responding to request") - } - - return -} - -// GetPreparer prepares the Get request. -func (client RecommendedElasticPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error) { - pathParameters := map[string]interface{}{ - "recommendedElasticPoolName": autorest.Encode("path", recommendedElasticPoolName), - "resourceGroupName": autorest.Encode("path", resourceGroupName), - "serverName": autorest.Encode("path", serverName), - "subscriptionId": autorest.Encode("path", client.SubscriptionID), - } - - const APIVersion = "2014-04-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsGet(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}", pathParameters), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// GetSender sends the Get request. The method will close the -// http.Response Body if it receives an error. -func (client RecommendedElasticPoolsClient) GetSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) -} - -// GetResponder handles the response to the Get request. The method always -// closes the http.Response Body. -func (client RecommendedElasticPoolsClient) GetResponder(resp *http.Response) (result RecommendedElasticPool, err error) { - err = autorest.Respond( - resp, - client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} - -// ListByServer returns recommended elastic pools. -// -// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from -// the Azure Resource Manager API or the portal. serverName is the name of the server. -func (client RecommendedElasticPoolsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result RecommendedElasticPoolListResult, err error) { - req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName) - if err != nil { - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "ListByServer", nil, "Failure preparing request") - return - } - - resp, err := client.ListByServerSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "ListByServer", resp, "Failure sending request") - return - } - - result, err = client.ListByServerResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "ListByServer", resp, "Failure responding to request") - } - - return -} - -// ListByServerPreparer prepares the ListByServer request. -func (client RecommendedElasticPoolsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { - pathParameters := map[string]interface{}{ - "resourceGroupName": autorest.Encode("path", resourceGroupName), - "serverName": autorest.Encode("path", serverName), - "subscriptionId": autorest.Encode("path", client.SubscriptionID), - } - - const APIVersion = "2014-04-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsGet(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools", pathParameters), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// ListByServerSender sends the ListByServer request. The method will close the -// http.Response Body if it receives an error. -func (client RecommendedElasticPoolsClient) ListByServerSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) -} - -// ListByServerResponder handles the response to the ListByServer request. The method always -// closes the http.Response Body. -func (client RecommendedElasticPoolsClient) ListByServerResponder(resp *http.Response) (result RecommendedElasticPoolListResult, err error) { - err = autorest.Respond( - resp, - client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} - -// ListMetrics returns recommented elastic pool metrics. -// -// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from -// the Azure Resource Manager API or the portal. serverName is the name of the server. recommendedElasticPoolName -// is the name of the recommended elastic pool to be retrieved. -func (client RecommendedElasticPoolsClient) ListMetrics(ctx context.Context, resourceGroupName string, serverName string, recommendedElasticPoolName string) (result RecommendedElasticPoolListMetricsResult, err error) { - req, err := client.ListMetricsPreparer(ctx, resourceGroupName, serverName, recommendedElasticPoolName) - if err != nil { - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "ListMetrics", nil, "Failure preparing request") - return - } - - resp, err := client.ListMetricsSender(req) - if err != nil { - result.Response = autorest.Response{Response: resp} - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "ListMetrics", resp, "Failure sending request") - return - } - - result, err = client.ListMetricsResponder(resp) - if err != nil { - err = autorest.NewErrorWithError(err, "sql.RecommendedElasticPoolsClient", "ListMetrics", resp, "Failure responding to request") - } - - return -} - -// ListMetricsPreparer prepares the ListMetrics request. -func (client RecommendedElasticPoolsClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, serverName string, recommendedElasticPoolName string) (*http.Request, error) { - pathParameters := map[string]interface{}{ - "recommendedElasticPoolName": autorest.Encode("path", recommendedElasticPoolName), - "resourceGroupName": autorest.Encode("path", resourceGroupName), - "serverName": autorest.Encode("path", serverName), - "subscriptionId": autorest.Encode("path", client.SubscriptionID), - } - - const APIVersion = "2014-04-01" - queryParameters := map[string]interface{}{ - "api-version": APIVersion, - } - - preparer := autorest.CreatePreparer( - autorest.AsGet(), - autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recommendedElasticPools/{recommendedElasticPoolName}/metrics", pathParameters), - autorest.WithQueryParameters(queryParameters)) - return preparer.Prepare((&http.Request{}).WithContext(ctx)) -} - -// ListMetricsSender sends the ListMetrics request. The method will close the -// http.Response Body if it receives an error. -func (client RecommendedElasticPoolsClient) ListMetricsSender(req *http.Request) (*http.Response, error) { - return autorest.SendWithSender(client, req, - azure.DoRetryWithRegistration(client.Client)) -} - -// ListMetricsResponder handles the response to the ListMetrics request. The method always -// closes the http.Response Body. -func (client RecommendedElasticPoolsClient) ListMetricsResponder(resp *http.Response) (result RecommendedElasticPoolListMetricsResult, err error) { - err = autorest.Respond( - resp, - client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK), - autorest.ByUnmarshallingJSON(&result), - autorest.ByClosing()) - result.Response = autorest.Response{Response: resp} - return -} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recoverabledatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recoverabledatabases.go index 54ac2e72645f..fa6c48773d27 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recoverabledatabases.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/recoverabledatabases.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RecoverableDatabasesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type RecoverableDatabasesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewRecoverableDatabasesClient creates an instance of the RecoverableDatabasesClient client. func NewRecoverableDatabasesClient(subscriptionID string) RecoverableDatabasesClient { return NewRecoverableDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewRecoverableDatabasesClientWithBaseURI creates an instance of the RecoverableDatabasesClient client. func NewRecoverableDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RecoverableDatabasesClient { return RecoverableDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a recoverable database, which is a resource representing a database's geo backup // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client RecoverableDatabasesClient) Get(ctx context.Context, resourceGroupN return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client RecoverableDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client RecoverableDatabasesClient) GetPreparer(ctx context.Context, resour return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client RecoverableDatabasesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -97,6 +103,7 @@ func (client RecoverableDatabasesClient) GetSender(req *http.Request) (*http.Res azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client RecoverableDatabasesClient) GetResponder(resp *http.Response) (result RecoverableDatabase, err error) { @@ -110,6 +117,7 @@ func (client RecoverableDatabasesClient) GetResponder(resp *http.Response) (resu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer gets a list of recoverable databases // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -136,6 +144,7 @@ func (client RecoverableDatabasesClient) ListByServer(ctx context.Context, resou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client RecoverableDatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -157,6 +166,7 @@ func (client RecoverableDatabasesClient) ListByServerPreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client RecoverableDatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -164,6 +174,7 @@ func (client RecoverableDatabasesClient) ListByServerSender(req *http.Request) ( azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client RecoverableDatabasesClient) ListByServerResponder(resp *http.Response) (result RecoverableDatabaseListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/replicationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/replicationlinks.go index ad939db52788..f0a91edca87d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/replicationlinks.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/replicationlinks.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ReplicationLinksClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type ReplicationLinksClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewReplicationLinksClient creates an instance of the ReplicationLinksClient client. func NewReplicationLinksClient(subscriptionID string) ReplicationLinksClient { return NewReplicationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewReplicationLinksClientWithBaseURI creates an instance of the ReplicationLinksClient client. func NewReplicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ReplicationLinksClient { return ReplicationLinksClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a database replication link. Cannot be done during failover. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -69,6 +73,7 @@ func (client ReplicationLinksClient) Delete(ctx context.Context, resourceGroupNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client ReplicationLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -92,6 +97,7 @@ func (client ReplicationLinksClient) DeletePreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ReplicationLinksClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -99,6 +105,7 @@ func (client ReplicationLinksClient) DeleteSender(req *http.Request) (*http.Resp azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ReplicationLinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -111,6 +118,7 @@ func (client ReplicationLinksClient) DeleteResponder(resp *http.Response) (resul return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Failover sets which replica database is primary by failing over from the current primary replica database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -133,6 +141,7 @@ func (client ReplicationLinksClient) Failover(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverPreparer prepares the Failover request. func (client ReplicationLinksClient) FailoverPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -156,6 +165,7 @@ func (client ReplicationLinksClient) FailoverPreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverSender sends the Failover request. The method will close the // http.Response Body if it receives an error. func (client ReplicationLinksClient) FailoverSender(req *http.Request) (future ReplicationLinksFailoverFuture, err error) { @@ -171,6 +181,7 @@ func (client ReplicationLinksClient) FailoverSender(req *http.Request) (future R return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverResponder handles the response to the Failover request. The method always // closes the http.Response Body. func (client ReplicationLinksClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error) { @@ -183,6 +194,7 @@ func (client ReplicationLinksClient) FailoverResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverAllowDataLoss sets which replica database is primary by failing over from the current primary replica // database. This operation might result in data loss. // @@ -206,6 +218,7 @@ func (client ReplicationLinksClient) FailoverAllowDataLoss(ctx context.Context, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverAllowDataLossPreparer prepares the FailoverAllowDataLoss request. func (client ReplicationLinksClient) FailoverAllowDataLossPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -229,6 +242,7 @@ func (client ReplicationLinksClient) FailoverAllowDataLossPreparer(ctx context.C return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverAllowDataLossSender sends the FailoverAllowDataLoss request. The method will close the // http.Response Body if it receives an error. func (client ReplicationLinksClient) FailoverAllowDataLossSender(req *http.Request) (future ReplicationLinksFailoverAllowDataLossFuture, err error) { @@ -244,6 +258,7 @@ func (client ReplicationLinksClient) FailoverAllowDataLossSender(req *http.Reque return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // FailoverAllowDataLossResponder handles the response to the FailoverAllowDataLoss request. The method always // closes the http.Response Body. func (client ReplicationLinksClient) FailoverAllowDataLossResponder(resp *http.Response) (result autorest.Response, err error) { @@ -256,6 +271,7 @@ func (client ReplicationLinksClient) FailoverAllowDataLossResponder(resp *http.R return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a database replication link. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -283,6 +299,7 @@ func (client ReplicationLinksClient) Get(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ReplicationLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, linkID string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -306,6 +323,7 @@ func (client ReplicationLinksClient) GetPreparer(ctx context.Context, resourceGr return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ReplicationLinksClient) GetSender(req *http.Request) (*http.Response, error) { @@ -313,6 +331,7 @@ func (client ReplicationLinksClient) GetSender(req *http.Request) (*http.Respons azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ReplicationLinksClient) GetResponder(resp *http.Response) (result ReplicationLink, err error) { @@ -326,6 +345,7 @@ func (client ReplicationLinksClient) GetResponder(resp *http.Response) (result R return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase lists a database's replication links. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -353,6 +373,7 @@ func (client ReplicationLinksClient) ListByDatabase(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client ReplicationLinksClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -375,6 +396,7 @@ func (client ReplicationLinksClient) ListByDatabasePreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client ReplicationLinksClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -382,6 +404,7 @@ func (client ReplicationLinksClient) ListByDatabaseSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client ReplicationLinksClient) ListByDatabaseResponder(resp *http.Response) (result ReplicationLinkListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorabledroppeddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorabledroppeddatabases.go index f8813b6301f5..9e8d1b610aa5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorabledroppeddatabases.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorabledroppeddatabases.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorableDroppedDatabasesClient is the the Azure SQL Database management API provides a RESTful set of web services // that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, // update, and delete databases. @@ -31,16 +32,19 @@ type RestorableDroppedDatabasesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewRestorableDroppedDatabasesClient creates an instance of the RestorableDroppedDatabasesClient client. func NewRestorableDroppedDatabasesClient(subscriptionID string) RestorableDroppedDatabasesClient { return NewRestorableDroppedDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewRestorableDroppedDatabasesClientWithBaseURI creates an instance of the RestorableDroppedDatabasesClient client. func NewRestorableDroppedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RestorableDroppedDatabasesClient { return RestorableDroppedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a deleted database that can be restored // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -69,6 +73,7 @@ func (client RestorableDroppedDatabasesClient) Get(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client RestorableDroppedDatabasesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, restorableDroppededDatabaseID string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -91,6 +96,7 @@ func (client RestorableDroppedDatabasesClient) GetPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client RestorableDroppedDatabasesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -98,6 +104,7 @@ func (client RestorableDroppedDatabasesClient) GetSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client RestorableDroppedDatabasesClient) GetResponder(resp *http.Response) (result RestorableDroppedDatabase, err error) { @@ -111,6 +118,7 @@ func (client RestorableDroppedDatabasesClient) GetResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer gets a list of deleted databases that can be restored // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -137,6 +145,7 @@ func (client RestorableDroppedDatabasesClient) ListByServer(ctx context.Context, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client RestorableDroppedDatabasesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -158,6 +167,7 @@ func (client RestorableDroppedDatabasesClient) ListByServerPreparer(ctx context. return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client RestorableDroppedDatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -165,6 +175,7 @@ func (client RestorableDroppedDatabasesClient) ListByServerSender(req *http.Requ azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client RestorableDroppedDatabasesClient) ListByServerResponder(resp *http.Response) (result RestorableDroppedDatabaseListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorepoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorepoints.go index b76f8b09a4d9..7e739f47d45d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorepoints.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/restorepoints.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RestorePointsClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type RestorePointsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewRestorePointsClient creates an instance of the RestorePointsClient client. func NewRestorePointsClient(subscriptionID string) RestorePointsClient { return NewRestorePointsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewRestorePointsClientWithBaseURI creates an instance of the RestorePointsClient client. func NewRestorePointsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointsClient { return RestorePointsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase gets a list of database restore points. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client RestorePointsClient) ListByDatabase(ctx context.Context, resourceGr return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client RestorePointsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client RestorePointsClient) ListByDatabasePreparer(ctx context.Context, re return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client RestorePointsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -97,6 +103,7 @@ func (client RestorePointsClient) ListByDatabaseSender(req *http.Request) (*http azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client RestorePointsClient) ListByDatabaseResponder(resp *http.Response) (result RestorePointListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverazureadadministrators.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverazureadadministrators.go index ebdf54805877..d69f7e421260 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverazureadadministrators.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverazureadadministrators.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerAzureADAdministratorsClient is the the Azure SQL Database management API provides a RESTful set of web // services that interact with Azure SQL Database services to manage your databases. The API enables you to create, // retrieve, update, and delete databases. @@ -32,16 +33,19 @@ type ServerAzureADAdministratorsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerAzureADAdministratorsClient creates an instance of the ServerAzureADAdministratorsClient client. func NewServerAzureADAdministratorsClient(subscriptionID string) ServerAzureADAdministratorsClient { return NewServerAzureADAdministratorsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerAzureADAdministratorsClientWithBaseURI creates an instance of the ServerAzureADAdministratorsClient client. func NewServerAzureADAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ServerAzureADAdministratorsClient { return ServerAzureADAdministratorsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates a new Server Active Directory Administrator or updates an existing server Active Directory // Administrator. // @@ -75,6 +79,7 @@ func (client ServerAzureADAdministratorsClient) CreateOrUpdate(ctx context.Conte return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ServerAzureADAdministratorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, properties ServerAzureADAdministrator) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -99,6 +104,7 @@ func (client ServerAzureADAdministratorsClient) CreateOrUpdatePreparer(ctx conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ServerAzureADAdministratorsClient) CreateOrUpdateSender(req *http.Request) (future ServerAzureADAdministratorsCreateOrUpdateFuture, err error) { @@ -114,6 +120,7 @@ func (client ServerAzureADAdministratorsClient) CreateOrUpdateSender(req *http.R return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ServerAzureADAdministratorsClient) CreateOrUpdateResponder(resp *http.Response) (result ServerAzureADAdministrator, err error) { @@ -127,6 +134,7 @@ func (client ServerAzureADAdministratorsClient) CreateOrUpdateResponder(resp *ht return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes an existing server Active Directory Administrator. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -147,6 +155,7 @@ func (client ServerAzureADAdministratorsClient) Delete(ctx context.Context, reso return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client ServerAzureADAdministratorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -169,6 +178,7 @@ func (client ServerAzureADAdministratorsClient) DeletePreparer(ctx context.Conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ServerAzureADAdministratorsClient) DeleteSender(req *http.Request) (future ServerAzureADAdministratorsDeleteFuture, err error) { @@ -184,6 +194,7 @@ func (client ServerAzureADAdministratorsClient) DeleteSender(req *http.Request) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ServerAzureADAdministratorsClient) DeleteResponder(resp *http.Response) (result ServerAzureADAdministrator, err error) { @@ -197,6 +208,7 @@ func (client ServerAzureADAdministratorsClient) DeleteResponder(resp *http.Respo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get returns an server Administrator. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -223,6 +235,7 @@ func (client ServerAzureADAdministratorsClient) Get(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ServerAzureADAdministratorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -245,6 +258,7 @@ func (client ServerAzureADAdministratorsClient) GetPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServerAzureADAdministratorsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -252,6 +266,7 @@ func (client ServerAzureADAdministratorsClient) GetSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServerAzureADAdministratorsClient) GetResponder(resp *http.Response) (result ServerAzureADAdministrator, err error) { @@ -265,6 +280,7 @@ func (client ServerAzureADAdministratorsClient) GetResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer returns a list of server Administrators. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -291,6 +307,7 @@ func (client ServerAzureADAdministratorsClient) ListByServer(ctx context.Context return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client ServerAzureADAdministratorsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -312,6 +329,7 @@ func (client ServerAzureADAdministratorsClient) ListByServerPreparer(ctx context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client ServerAzureADAdministratorsClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -319,6 +337,7 @@ func (client ServerAzureADAdministratorsClient) ListByServerSender(req *http.Req azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client ServerAzureADAdministratorsClient) ListByServerResponder(resp *http.Response) (result ServerAdministratorListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servercommunicationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servercommunicationlinks.go index cb2a1fdd2420..9015acb14e3e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servercommunicationlinks.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servercommunicationlinks.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerCommunicationLinksClient is the the Azure SQL Database management API provides a RESTful set of web services // that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, // update, and delete databases. @@ -32,16 +33,19 @@ type ServerCommunicationLinksClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerCommunicationLinksClient creates an instance of the ServerCommunicationLinksClient client. func NewServerCommunicationLinksClient(subscriptionID string) ServerCommunicationLinksClient { return NewServerCommunicationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerCommunicationLinksClientWithBaseURI creates an instance of the ServerCommunicationLinksClient client. func NewServerCommunicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServerCommunicationLinksClient { return ServerCommunicationLinksClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates a server communication link. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -71,6 +75,7 @@ func (client ServerCommunicationLinksClient) CreateOrUpdate(ctx context.Context, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ServerCommunicationLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, communicationLinkName string, parameters ServerCommunicationLink) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -95,6 +100,7 @@ func (client ServerCommunicationLinksClient) CreateOrUpdatePreparer(ctx context. return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ServerCommunicationLinksClient) CreateOrUpdateSender(req *http.Request) (future ServerCommunicationLinksCreateOrUpdateFuture, err error) { @@ -110,6 +116,7 @@ func (client ServerCommunicationLinksClient) CreateOrUpdateSender(req *http.Requ return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ServerCommunicationLinksClient) CreateOrUpdateResponder(resp *http.Response) (result ServerCommunicationLink, err error) { @@ -123,6 +130,7 @@ func (client ServerCommunicationLinksClient) CreateOrUpdateResponder(resp *http. return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a server communication link. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -150,6 +158,7 @@ func (client ServerCommunicationLinksClient) Delete(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client ServerCommunicationLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, communicationLinkName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -172,6 +181,7 @@ func (client ServerCommunicationLinksClient) DeletePreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ServerCommunicationLinksClient) DeleteSender(req *http.Request) (*http.Response, error) { @@ -179,6 +189,7 @@ func (client ServerCommunicationLinksClient) DeleteSender(req *http.Request) (*h azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ServerCommunicationLinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -191,6 +202,7 @@ func (client ServerCommunicationLinksClient) DeleteResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get returns a server communication link. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -218,6 +230,7 @@ func (client ServerCommunicationLinksClient) Get(ctx context.Context, resourceGr return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ServerCommunicationLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, communicationLinkName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -240,6 +253,7 @@ func (client ServerCommunicationLinksClient) GetPreparer(ctx context.Context, re return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServerCommunicationLinksClient) GetSender(req *http.Request) (*http.Response, error) { @@ -247,6 +261,7 @@ func (client ServerCommunicationLinksClient) GetSender(req *http.Request) (*http azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServerCommunicationLinksClient) GetResponder(resp *http.Response) (result ServerCommunicationLink, err error) { @@ -260,6 +275,7 @@ func (client ServerCommunicationLinksClient) GetResponder(resp *http.Response) ( return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer gets a list of server communication links. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -286,6 +302,7 @@ func (client ServerCommunicationLinksClient) ListByServer(ctx context.Context, r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client ServerCommunicationLinksClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -307,6 +324,7 @@ func (client ServerCommunicationLinksClient) ListByServerPreparer(ctx context.Co return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client ServerCommunicationLinksClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -314,6 +332,7 @@ func (client ServerCommunicationLinksClient) ListByServerSender(req *http.Reques azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client ServerCommunicationLinksClient) ListByServerResponder(resp *http.Response) (result ServerCommunicationLinkListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverconnectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverconnectionpolicies.go index 1c02e43b9664..c4e22b61f964 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverconnectionpolicies.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverconnectionpolicies.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerConnectionPoliciesClient is the the Azure SQL Database management API provides a RESTful set of web services // that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, // update, and delete databases. @@ -31,16 +32,19 @@ type ServerConnectionPoliciesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerConnectionPoliciesClient creates an instance of the ServerConnectionPoliciesClient client. func NewServerConnectionPoliciesClient(subscriptionID string) ServerConnectionPoliciesClient { return NewServerConnectionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerConnectionPoliciesClientWithBaseURI creates an instance of the ServerConnectionPoliciesClient client. func NewServerConnectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerConnectionPoliciesClient { return ServerConnectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates the server's connection policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client ServerConnectionPoliciesClient) CreateOrUpdate(ctx context.Context, return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ServerConnectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerConnectionPolicy) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -92,6 +97,7 @@ func (client ServerConnectionPoliciesClient) CreateOrUpdatePreparer(ctx context. return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ServerConnectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -99,6 +105,7 @@ func (client ServerConnectionPoliciesClient) CreateOrUpdateSender(req *http.Requ azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ServerConnectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServerConnectionPolicy, err error) { @@ -112,6 +119,7 @@ func (client ServerConnectionPoliciesClient) CreateOrUpdateResponder(resp *http. return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets the server's secure connection policy. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -138,6 +146,7 @@ func (client ServerConnectionPoliciesClient) Get(ctx context.Context, resourceGr return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ServerConnectionPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -160,6 +169,7 @@ func (client ServerConnectionPoliciesClient) GetPreparer(ctx context.Context, re return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServerConnectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -167,6 +177,7 @@ func (client ServerConnectionPoliciesClient) GetSender(req *http.Request) (*http azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServerConnectionPoliciesClient) GetResponder(resp *http.Response) (result ServerConnectionPolicy, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverkeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverkeys.go index 1808980a453e..3401aac55ef3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverkeys.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverkeys.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerKeysClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type ServerKeysClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerKeysClient creates an instance of the ServerKeysClient client. func NewServerKeysClient(subscriptionID string) ServerKeysClient { return NewServerKeysClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerKeysClientWithBaseURI creates an instance of the ServerKeysClient client. func NewServerKeysClientWithBaseURI(baseURI string, subscriptionID string) ServerKeysClient { return ServerKeysClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a server key. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -66,6 +70,7 @@ func (client ServerKeysClient) CreateOrUpdate(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ServerKeysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, keyName string, parameters ServerKey) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client ServerKeysClient) CreateOrUpdatePreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ServerKeysClient) CreateOrUpdateSender(req *http.Request) (future ServerKeysCreateOrUpdateFuture, err error) { @@ -105,6 +111,7 @@ func (client ServerKeysClient) CreateOrUpdateSender(req *http.Request) (future S return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (result ServerKey, err error) { @@ -118,6 +125,7 @@ func (client ServerKeysClient) CreateOrUpdateResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes the server key with the given name. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -139,6 +147,7 @@ func (client ServerKeysClient) Delete(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client ServerKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, keyName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -161,6 +170,7 @@ func (client ServerKeysClient) DeletePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ServerKeysClient) DeleteSender(req *http.Request) (future ServerKeysDeleteFuture, err error) { @@ -176,6 +186,7 @@ func (client ServerKeysClient) DeleteSender(req *http.Request) (future ServerKey return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ServerKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -188,6 +199,7 @@ func (client ServerKeysClient) DeleteResponder(resp *http.Response) (result auto return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a server key. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -215,6 +227,7 @@ func (client ServerKeysClient) Get(ctx context.Context, resourceGroupName string return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ServerKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, keyName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -237,6 +250,7 @@ func (client ServerKeysClient) GetPreparer(ctx context.Context, resourceGroupNam return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServerKeysClient) GetSender(req *http.Request) (*http.Response, error) { @@ -244,6 +258,7 @@ func (client ServerKeysClient) GetSender(req *http.Request) (*http.Response, err azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerKey, err error) { @@ -257,6 +272,7 @@ func (client ServerKeysClient) GetResponder(resp *http.Response) (result ServerK return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer gets a list of server keys. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -284,6 +300,7 @@ func (client ServerKeysClient) ListByServer(ctx context.Context, resourceGroupNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client ServerKeysClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -305,6 +322,7 @@ func (client ServerKeysClient) ListByServerPreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client ServerKeysClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -312,6 +330,7 @@ func (client ServerKeysClient) ListByServerSender(req *http.Request) (*http.Resp azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client ServerKeysClient) ListByServerResponder(resp *http.Response) (result ServerKeyListResult, err error) { @@ -346,6 +365,7 @@ func (client ServerKeysClient) listByServerNextResults(lastResults ServerKeyList return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerComplete enumerates all values, automatically crossing page boundaries as required. func (client ServerKeysClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result ServerKeyListResultIterator, err error) { result.page, err = client.ListByServer(ctx, resourceGroupName, serverName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servers.go index 9fe738737cea..c1316c41332c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servers.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servers.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServersClient is the the Azure SQL Database management API provides a RESTful set of web services that interact with // Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete // databases. @@ -32,16 +33,19 @@ type ServersClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServersClient creates an instance of the ServersClient client. func NewServersClient(subscriptionID string) ServersClient { return NewServersClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServersClientWithBaseURI creates an instance of the ServersClient client. func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient { return ServersClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CheckNameAvailability determines whether a resource can be created with the specified name. // // parameters is the parameters to request for name availability. @@ -74,6 +78,7 @@ func (client ServersClient) CheckNameAvailability(ctx context.Context, parameter return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CheckNameAvailabilityPreparer prepares the CheckNameAvailability request. func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, parameters CheckNameAvailabilityRequest) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -95,6 +100,7 @@ func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, p return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the // http.Response Body if it receives an error. func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) { @@ -102,6 +108,7 @@ func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*htt azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always // closes the http.Response Body. func (client ServersClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponse, err error) { @@ -115,6 +122,7 @@ func (client ServersClient) CheckNameAvailabilityResponder(resp *http.Response) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -136,6 +144,7 @@ func (client ServersClient) CreateOrUpdate(ctx context.Context, resourceGroupNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client ServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters Server) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -159,6 +168,7 @@ func (client ServersClient) CreateOrUpdatePreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ServersClient) CreateOrUpdateSender(req *http.Request) (future ServersCreateOrUpdateFuture, err error) { @@ -174,6 +184,7 @@ func (client ServersClient) CreateOrUpdateSender(req *http.Request) (future Serv return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ServersClient) CreateOrUpdateResponder(resp *http.Response) (result Server, err error) { @@ -187,6 +198,7 @@ func (client ServersClient) CreateOrUpdateResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -207,6 +219,7 @@ func (client ServersClient) Delete(ctx context.Context, resourceGroupName string return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -228,6 +241,7 @@ func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupNam return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error) { @@ -243,6 +257,7 @@ func (client ServersClient) DeleteSender(req *http.Request) (future ServersDelet return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -255,6 +270,7 @@ func (client ServersClient) DeleteResponder(resp *http.Response) (result autores return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -281,6 +297,7 @@ func (client ServersClient) Get(ctx context.Context, resourceGroupName string, s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -302,6 +319,7 @@ func (client ServersClient) GetPreparer(ctx context.Context, resourceGroupName s return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServersClient) GetSender(req *http.Request) (*http.Response, error) { @@ -309,6 +327,7 @@ func (client ServersClient) GetSender(req *http.Request) (*http.Response, error) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServersClient) GetResponder(resp *http.Response) (result Server, err error) { @@ -322,6 +341,7 @@ func (client ServersClient) GetResponder(resp *http.Response) (result Server, er return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // List gets a list of all servers in the subscription. func (client ServersClient) List(ctx context.Context) (result ServerListResultPage, err error) { result.fn = client.listNextResults @@ -346,6 +366,7 @@ func (client ServersClient) List(ctx context.Context) (result ServerListResultPa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListPreparer prepares the List request. func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -365,6 +386,7 @@ func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, er return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client ServersClient) ListSender(req *http.Request) (*http.Response, error) { @@ -372,6 +394,7 @@ func (client ServersClient) ListSender(req *http.Request) (*http.Response, error azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListResponder handles the response to the List request. The method always // closes the http.Response Body. func (client ServersClient) ListResponder(resp *http.Response) (result ServerListResult, err error) { @@ -406,12 +429,14 @@ func (client ServersClient) listNextResults(lastResults ServerListResult) (resul return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListComplete enumerates all values, automatically crossing page boundaries as required. func (client ServersClient) ListComplete(ctx context.Context) (result ServerListResultIterator, err error) { result.page, err = client.List(ctx) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByResourceGroup gets a list of servers in a resource groups. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -439,6 +464,7 @@ func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByResourceGroupPreparer prepares the ListByResourceGroup request. func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -459,6 +485,7 @@ func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { @@ -466,6 +493,7 @@ func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always // closes the http.Response Body. func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result ServerListResult, err error) { @@ -500,12 +528,14 @@ func (client ServersClient) listByResourceGroupNextResults(lastResults ServerLis return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required. func (client ServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ServerListResultIterator, err error) { result.page, err = client.ListByResourceGroup(ctx, resourceGroupName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Update updates a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -527,6 +557,7 @@ func (client ServersClient) Update(ctx context.Context, resourceGroupName string return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdatePreparer prepares the Update request. func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpdate) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -550,6 +581,7 @@ func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupNam return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error) { @@ -565,6 +597,7 @@ func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdat return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverusages.go index 327be0cd0973..6aa3e2dad006 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverusages.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serverusages.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServerUsagesClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type ServerUsagesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerUsagesClient creates an instance of the ServerUsagesClient client. func NewServerUsagesClient(subscriptionID string) ServerUsagesClient { return NewServerUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServerUsagesClientWithBaseURI creates an instance of the ServerUsagesClient client. func NewServerUsagesClientWithBaseURI(baseURI string, subscriptionID string) ServerUsagesClient { return ServerUsagesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer returns server usages. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -67,6 +71,7 @@ func (client ServerUsagesClient) ListByServer(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client ServerUsagesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -88,6 +93,7 @@ func (client ServerUsagesClient) ListByServerPreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client ServerUsagesClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -95,6 +101,7 @@ func (client ServerUsagesClient) ListByServerSender(req *http.Request) (*http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client ServerUsagesClient) ListByServerResponder(resp *http.Response) (result ServerUsageListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serviceobjectives.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serviceobjectives.go index 4dd06885c982..b66790523cb8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serviceobjectives.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/serviceobjectives.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceObjectivesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type ServiceObjectivesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServiceObjectivesClient creates an instance of the ServiceObjectivesClient client. func NewServiceObjectivesClient(subscriptionID string) ServiceObjectivesClient { return NewServiceObjectivesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServiceObjectivesClientWithBaseURI creates an instance of the ServiceObjectivesClient client. func NewServiceObjectivesClientWithBaseURI(baseURI string, subscriptionID string) ServiceObjectivesClient { return ServiceObjectivesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a database service objective. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client ServiceObjectivesClient) Get(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ServiceObjectivesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, serviceObjectiveName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client ServiceObjectivesClient) GetPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServiceObjectivesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -97,6 +103,7 @@ func (client ServiceObjectivesClient) GetSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServiceObjectivesClient) GetResponder(resp *http.Response) (result ServiceObjective, err error) { @@ -110,6 +117,7 @@ func (client ServiceObjectivesClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer returns database service objectives. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -136,6 +144,7 @@ func (client ServiceObjectivesClient) ListByServer(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client ServiceObjectivesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -157,6 +166,7 @@ func (client ServiceObjectivesClient) ListByServerPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client ServiceObjectivesClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -164,6 +174,7 @@ func (client ServiceObjectivesClient) ListByServerSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client ServiceObjectivesClient) ListByServerResponder(resp *http.Response) (result ServiceObjectiveListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servicetieradvisors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servicetieradvisors.go index 581028cdec75..55cede01c08d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servicetieradvisors.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/servicetieradvisors.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ServiceTierAdvisorsClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type ServiceTierAdvisorsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServiceTierAdvisorsClient creates an instance of the ServiceTierAdvisorsClient client. func NewServiceTierAdvisorsClient(subscriptionID string) ServiceTierAdvisorsClient { return NewServiceTierAdvisorsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewServiceTierAdvisorsClientWithBaseURI creates an instance of the ServiceTierAdvisorsClient client. func NewServiceTierAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTierAdvisorsClient { return ServiceTierAdvisorsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a service tier advisor. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client ServiceTierAdvisorsClient) Get(ctx context.Context, resourceGroupNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client ServiceTierAdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, serviceTierAdvisorName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -91,6 +96,7 @@ func (client ServiceTierAdvisorsClient) GetPreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client ServiceTierAdvisorsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -98,6 +104,7 @@ func (client ServiceTierAdvisorsClient) GetSender(req *http.Request) (*http.Resp azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client ServiceTierAdvisorsClient) GetResponder(resp *http.Response) (result ServiceTierAdvisor, err error) { @@ -111,6 +118,7 @@ func (client ServiceTierAdvisorsClient) GetResponder(resp *http.Response) (resul return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase returns service tier advisors for specified database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -138,6 +146,7 @@ func (client ServiceTierAdvisorsClient) ListByDatabase(ctx context.Context, reso return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client ServiceTierAdvisorsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -160,6 +169,7 @@ func (client ServiceTierAdvisorsClient) ListByDatabasePreparer(ctx context.Conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client ServiceTierAdvisorsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -167,6 +177,7 @@ func (client ServiceTierAdvisorsClient) ListByDatabaseSender(req *http.Request) azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client ServiceTierAdvisorsClient) ListByDatabaseResponder(resp *http.Response) (result ServiceTierAdvisorListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/subscriptionusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/subscriptionusages.go index 6c014306f539..ee985d4b9975 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/subscriptionusages.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/subscriptionusages.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SubscriptionUsagesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -31,16 +32,19 @@ type SubscriptionUsagesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSubscriptionUsagesClient creates an instance of the SubscriptionUsagesClient client. func NewSubscriptionUsagesClient(subscriptionID string) SubscriptionUsagesClient { return NewSubscriptionUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSubscriptionUsagesClientWithBaseURI creates an instance of the SubscriptionUsagesClient client. func NewSubscriptionUsagesClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionUsagesClient { return SubscriptionUsagesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a subscription usage metric. // // locationName is the name of the region where the resource is located. usageName is name of usage metric to @@ -67,6 +71,7 @@ func (client SubscriptionUsagesClient) Get(ctx context.Context, locationName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client SubscriptionUsagesClient) GetPreparer(ctx context.Context, locationName string, usageName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -88,6 +93,7 @@ func (client SubscriptionUsagesClient) GetPreparer(ctx context.Context, location return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client SubscriptionUsagesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -95,6 +101,7 @@ func (client SubscriptionUsagesClient) GetSender(req *http.Request) (*http.Respo azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client SubscriptionUsagesClient) GetResponder(resp *http.Response) (result SubscriptionUsage, err error) { @@ -108,6 +115,7 @@ func (client SubscriptionUsagesClient) GetResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocation gets all subscription usage metrics in a given location. // // locationName is the name of the region where the resource is located. @@ -134,6 +142,7 @@ func (client SubscriptionUsagesClient) ListByLocation(ctx context.Context, locat return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocationPreparer prepares the ListByLocation request. func (client SubscriptionUsagesClient) ListByLocationPreparer(ctx context.Context, locationName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -154,6 +163,7 @@ func (client SubscriptionUsagesClient) ListByLocationPreparer(ctx context.Contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocationSender sends the ListByLocation request. The method will close the // http.Response Body if it receives an error. func (client SubscriptionUsagesClient) ListByLocationSender(req *http.Request) (*http.Response, error) { @@ -161,6 +171,7 @@ func (client SubscriptionUsagesClient) ListByLocationSender(req *http.Request) ( azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocationResponder handles the response to the ListByLocation request. The method always // closes the http.Response Body. func (client SubscriptionUsagesClient) ListByLocationResponder(resp *http.Response) (result SubscriptionUsageListResult, err error) { @@ -195,6 +206,7 @@ func (client SubscriptionUsagesClient) listByLocationNextResults(lastResults Sub return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByLocationComplete enumerates all values, automatically crossing page boundaries as required. func (client SubscriptionUsagesClient) ListByLocationComplete(ctx context.Context, locationName string) (result SubscriptionUsageListResultIterator, err error) { result.page, err = client.ListByLocation(ctx, locationName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncagents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncagents.go index 97ebdca602ea..33b7c5246705 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncagents.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncagents.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncAgentsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type SyncAgentsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSyncAgentsClient creates an instance of the SyncAgentsClient client. func NewSyncAgentsClient(subscriptionID string) SyncAgentsClient { return NewSyncAgentsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSyncAgentsClientWithBaseURI creates an instance of the SyncAgentsClient client. func NewSyncAgentsClientWithBaseURI(baseURI string, subscriptionID string) SyncAgentsClient { return SyncAgentsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a sync agent. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -62,6 +66,7 @@ func (client SyncAgentsClient) CreateOrUpdate(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client SyncAgentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string, parameters SyncAgent) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -86,6 +91,7 @@ func (client SyncAgentsClient) CreateOrUpdatePreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client SyncAgentsClient) CreateOrUpdateSender(req *http.Request) (future SyncAgentsCreateOrUpdateFuture, err error) { @@ -101,6 +107,7 @@ func (client SyncAgentsClient) CreateOrUpdateSender(req *http.Request) (future S return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client SyncAgentsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncAgent, err error) { @@ -114,6 +121,7 @@ func (client SyncAgentsClient) CreateOrUpdateResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a sync agent. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -135,6 +143,7 @@ func (client SyncAgentsClient) Delete(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client SyncAgentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -157,6 +166,7 @@ func (client SyncAgentsClient) DeletePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client SyncAgentsClient) DeleteSender(req *http.Request) (future SyncAgentsDeleteFuture, err error) { @@ -172,6 +182,7 @@ func (client SyncAgentsClient) DeleteSender(req *http.Request) (future SyncAgent return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client SyncAgentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -184,6 +195,7 @@ func (client SyncAgentsClient) DeleteResponder(resp *http.Response) (result auto return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GenerateKey generates a sync agent key. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -211,6 +223,7 @@ func (client SyncAgentsClient) GenerateKey(ctx context.Context, resourceGroupNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GenerateKeyPreparer prepares the GenerateKey request. func (client SyncAgentsClient) GenerateKeyPreparer(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -233,6 +246,7 @@ func (client SyncAgentsClient) GenerateKeyPreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GenerateKeySender sends the GenerateKey request. The method will close the // http.Response Body if it receives an error. func (client SyncAgentsClient) GenerateKeySender(req *http.Request) (*http.Response, error) { @@ -240,6 +254,7 @@ func (client SyncAgentsClient) GenerateKeySender(req *http.Request) (*http.Respo azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GenerateKeyResponder handles the response to the GenerateKey request. The method always // closes the http.Response Body. func (client SyncAgentsClient) GenerateKeyResponder(resp *http.Response) (result SyncAgentKeyProperties, err error) { @@ -253,6 +268,7 @@ func (client SyncAgentsClient) GenerateKeyResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a sync agent. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -280,6 +296,7 @@ func (client SyncAgentsClient) Get(ctx context.Context, resourceGroupName string return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client SyncAgentsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -302,6 +319,7 @@ func (client SyncAgentsClient) GetPreparer(ctx context.Context, resourceGroupNam return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client SyncAgentsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -309,6 +327,7 @@ func (client SyncAgentsClient) GetSender(req *http.Request) (*http.Response, err azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client SyncAgentsClient) GetResponder(resp *http.Response) (result SyncAgent, err error) { @@ -322,6 +341,7 @@ func (client SyncAgentsClient) GetResponder(resp *http.Response) (result SyncAge return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer lists sync agents in a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -350,6 +370,7 @@ func (client SyncAgentsClient) ListByServer(ctx context.Context, resourceGroupNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client SyncAgentsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -371,6 +392,7 @@ func (client SyncAgentsClient) ListByServerPreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client SyncAgentsClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -378,6 +400,7 @@ func (client SyncAgentsClient) ListByServerSender(req *http.Request) (*http.Resp azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client SyncAgentsClient) ListByServerResponder(resp *http.Response) (result SyncAgentListResult, err error) { @@ -412,12 +435,14 @@ func (client SyncAgentsClient) listByServerNextResults(lastResults SyncAgentList return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncAgentsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result SyncAgentListResultIterator, err error) { result.page, err = client.ListByServer(ctx, resourceGroupName, serverName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLinkedDatabases lists databases linked to a sync agent. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -446,6 +471,7 @@ func (client SyncAgentsClient) ListLinkedDatabases(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLinkedDatabasesPreparer prepares the ListLinkedDatabases request. func (client SyncAgentsClient) ListLinkedDatabasesPreparer(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -468,6 +494,7 @@ func (client SyncAgentsClient) ListLinkedDatabasesPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLinkedDatabasesSender sends the ListLinkedDatabases request. The method will close the // http.Response Body if it receives an error. func (client SyncAgentsClient) ListLinkedDatabasesSender(req *http.Request) (*http.Response, error) { @@ -475,6 +502,7 @@ func (client SyncAgentsClient) ListLinkedDatabasesSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLinkedDatabasesResponder handles the response to the ListLinkedDatabases request. The method always // closes the http.Response Body. func (client SyncAgentsClient) ListLinkedDatabasesResponder(resp *http.Response) (result SyncAgentLinkedDatabaseListResult, err error) { @@ -509,6 +537,7 @@ func (client SyncAgentsClient) listLinkedDatabasesNextResults(lastResults SyncAg return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLinkedDatabasesComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncAgentsClient) ListLinkedDatabasesComplete(ctx context.Context, resourceGroupName string, serverName string, syncAgentName string) (result SyncAgentLinkedDatabaseListResultIterator, err error) { result.page, err = client.ListLinkedDatabases(ctx, resourceGroupName, serverName, syncAgentName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncgroups.go index b08ba72a70d1..79dec2b50874 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncgroups.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncgroups.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncGroupsClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type SyncGroupsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSyncGroupsClient creates an instance of the SyncGroupsClient client. func NewSyncGroupsClient(subscriptionID string) SyncGroupsClient { return NewSyncGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSyncGroupsClientWithBaseURI creates an instance of the SyncGroupsClient client. func NewSyncGroupsClientWithBaseURI(baseURI string, subscriptionID string) SyncGroupsClient { return SyncGroupsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CancelSync cancels a sync group synchronization. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -68,6 +72,7 @@ func (client SyncGroupsClient) CancelSync(ctx context.Context, resourceGroupName return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CancelSyncPreparer prepares the CancelSync request. func (client SyncGroupsClient) CancelSyncPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -91,6 +96,7 @@ func (client SyncGroupsClient) CancelSyncPreparer(ctx context.Context, resourceG return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CancelSyncSender sends the CancelSync request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) CancelSyncSender(req *http.Request) (*http.Response, error) { @@ -98,6 +104,7 @@ func (client SyncGroupsClient) CancelSyncSender(req *http.Request) (*http.Respon azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CancelSyncResponder handles the response to the CancelSync request. The method always // closes the http.Response Body. func (client SyncGroupsClient) CancelSyncResponder(resp *http.Response) (result autorest.Response, err error) { @@ -110,6 +117,7 @@ func (client SyncGroupsClient) CancelSyncResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a sync group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -132,6 +140,7 @@ func (client SyncGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client SyncGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -157,6 +166,7 @@ func (client SyncGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) CreateOrUpdateSender(req *http.Request) (future SyncGroupsCreateOrUpdateFuture, err error) { @@ -172,6 +182,7 @@ func (client SyncGroupsClient) CreateOrUpdateSender(req *http.Request) (future S return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client SyncGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncGroup, err error) { @@ -185,6 +196,7 @@ func (client SyncGroupsClient) CreateOrUpdateResponder(resp *http.Response) (res return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a sync group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -206,6 +218,7 @@ func (client SyncGroupsClient) Delete(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client SyncGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -229,6 +242,7 @@ func (client SyncGroupsClient) DeletePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) DeleteSender(req *http.Request) (future SyncGroupsDeleteFuture, err error) { @@ -244,6 +258,7 @@ func (client SyncGroupsClient) DeleteSender(req *http.Request) (future SyncGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client SyncGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -256,6 +271,7 @@ func (client SyncGroupsClient) DeleteResponder(resp *http.Response) (result auto return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a sync group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -283,6 +299,7 @@ func (client SyncGroupsClient) Get(ctx context.Context, resourceGroupName string return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client SyncGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -306,6 +323,7 @@ func (client SyncGroupsClient) GetPreparer(ctx context.Context, resourceGroupNam return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -313,6 +331,7 @@ func (client SyncGroupsClient) GetSender(req *http.Request) (*http.Response, err azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client SyncGroupsClient) GetResponder(resp *http.Response) (result SyncGroup, err error) { @@ -326,6 +345,7 @@ func (client SyncGroupsClient) GetResponder(resp *http.Response) (result SyncGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabase lists sync groups under a hub database. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -354,6 +374,7 @@ func (client SyncGroupsClient) ListByDatabase(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabasePreparer prepares the ListByDatabase request. func (client SyncGroupsClient) ListByDatabasePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -376,6 +397,7 @@ func (client SyncGroupsClient) ListByDatabasePreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseSender sends the ListByDatabase request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) ListByDatabaseSender(req *http.Request) (*http.Response, error) { @@ -383,6 +405,7 @@ func (client SyncGroupsClient) ListByDatabaseSender(req *http.Request) (*http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseResponder handles the response to the ListByDatabase request. The method always // closes the http.Response Body. func (client SyncGroupsClient) ListByDatabaseResponder(resp *http.Response) (result SyncGroupListResult, err error) { @@ -417,12 +440,14 @@ func (client SyncGroupsClient) listByDatabaseNextResults(lastResults SyncGroupLi return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByDatabaseComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncGroupsClient) ListByDatabaseComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result SyncGroupListResultIterator, err error) { result.page, err = client.ListByDatabase(ctx, resourceGroupName, serverName, databaseName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListHubSchemas gets a collection of hub database schemas. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -451,6 +476,7 @@ func (client SyncGroupsClient) ListHubSchemas(ctx context.Context, resourceGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListHubSchemasPreparer prepares the ListHubSchemas request. func (client SyncGroupsClient) ListHubSchemasPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -474,6 +500,7 @@ func (client SyncGroupsClient) ListHubSchemasPreparer(ctx context.Context, resou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListHubSchemasSender sends the ListHubSchemas request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) ListHubSchemasSender(req *http.Request) (*http.Response, error) { @@ -481,6 +508,7 @@ func (client SyncGroupsClient) ListHubSchemasSender(req *http.Request) (*http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListHubSchemasResponder handles the response to the ListHubSchemas request. The method always // closes the http.Response Body. func (client SyncGroupsClient) ListHubSchemasResponder(resp *http.Response) (result SyncFullSchemaPropertiesListResult, err error) { @@ -515,12 +543,14 @@ func (client SyncGroupsClient) listHubSchemasNextResults(lastResults SyncFullSch return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListHubSchemasComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncGroupsClient) ListHubSchemasComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncFullSchemaPropertiesListResultIterator, err error) { result.page, err = client.ListHubSchemas(ctx, resourceGroupName, serverName, databaseName, syncGroupName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLogs gets a collection of sync group logs. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -551,6 +581,7 @@ func (client SyncGroupsClient) ListLogs(ctx context.Context, resourceGroupName s return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLogsPreparer prepares the ListLogs request. func (client SyncGroupsClient) ListLogsPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, startTime string, endTime string, typeParameter string, continuationToken string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -580,6 +611,7 @@ func (client SyncGroupsClient) ListLogsPreparer(ctx context.Context, resourceGro return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLogsSender sends the ListLogs request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) ListLogsSender(req *http.Request) (*http.Response, error) { @@ -587,6 +619,7 @@ func (client SyncGroupsClient) ListLogsSender(req *http.Request) (*http.Response azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLogsResponder handles the response to the ListLogs request. The method always // closes the http.Response Body. func (client SyncGroupsClient) ListLogsResponder(resp *http.Response) (result SyncGroupLogListResult, err error) { @@ -621,12 +654,14 @@ func (client SyncGroupsClient) listLogsNextResults(lastResults SyncGroupLogListR return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListLogsComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncGroupsClient) ListLogsComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, startTime string, endTime string, typeParameter string, continuationToken string) (result SyncGroupLogListResultIterator, err error) { result.page, err = client.ListLogs(ctx, resourceGroupName, serverName, databaseName, syncGroupName, startTime, endTime, typeParameter, continuationToken) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListSyncDatabaseIds gets a collection of sync database ids. // // locationName is the name of the region where the resource is located. @@ -653,6 +688,7 @@ func (client SyncGroupsClient) ListSyncDatabaseIds(ctx context.Context, location return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListSyncDatabaseIdsPreparer prepares the ListSyncDatabaseIds request. func (client SyncGroupsClient) ListSyncDatabaseIdsPreparer(ctx context.Context, locationName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -673,6 +709,7 @@ func (client SyncGroupsClient) ListSyncDatabaseIdsPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListSyncDatabaseIdsSender sends the ListSyncDatabaseIds request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) ListSyncDatabaseIdsSender(req *http.Request) (*http.Response, error) { @@ -680,6 +717,7 @@ func (client SyncGroupsClient) ListSyncDatabaseIdsSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListSyncDatabaseIdsResponder handles the response to the ListSyncDatabaseIds request. The method always // closes the http.Response Body. func (client SyncGroupsClient) ListSyncDatabaseIdsResponder(resp *http.Response) (result SyncDatabaseIDListResult, err error) { @@ -714,12 +752,14 @@ func (client SyncGroupsClient) listSyncDatabaseIdsNextResults(lastResults SyncDa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListSyncDatabaseIdsComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncGroupsClient) ListSyncDatabaseIdsComplete(ctx context.Context, locationName string) (result SyncDatabaseIDListResultIterator, err error) { result.page, err = client.ListSyncDatabaseIds(ctx, locationName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshHubSchema refreshes a hub database schema. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -741,6 +781,7 @@ func (client SyncGroupsClient) RefreshHubSchema(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshHubSchemaPreparer prepares the RefreshHubSchema request. func (client SyncGroupsClient) RefreshHubSchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -764,6 +805,7 @@ func (client SyncGroupsClient) RefreshHubSchemaPreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshHubSchemaSender sends the RefreshHubSchema request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) RefreshHubSchemaSender(req *http.Request) (future SyncGroupsRefreshHubSchemaFuture, err error) { @@ -779,6 +821,7 @@ func (client SyncGroupsClient) RefreshHubSchemaSender(req *http.Request) (future return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshHubSchemaResponder handles the response to the RefreshHubSchema request. The method always // closes the http.Response Body. func (client SyncGroupsClient) RefreshHubSchemaResponder(resp *http.Response) (result autorest.Response, err error) { @@ -791,6 +834,7 @@ func (client SyncGroupsClient) RefreshHubSchemaResponder(resp *http.Response) (r return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TriggerSync triggers a sync group synchronization. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -818,6 +862,7 @@ func (client SyncGroupsClient) TriggerSync(ctx context.Context, resourceGroupNam return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TriggerSyncPreparer prepares the TriggerSync request. func (client SyncGroupsClient) TriggerSyncPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -841,6 +886,7 @@ func (client SyncGroupsClient) TriggerSyncPreparer(ctx context.Context, resource return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TriggerSyncSender sends the TriggerSync request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) TriggerSyncSender(req *http.Request) (*http.Response, error) { @@ -848,6 +894,7 @@ func (client SyncGroupsClient) TriggerSyncSender(req *http.Request) (*http.Respo azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TriggerSyncResponder handles the response to the TriggerSync request. The method always // closes the http.Response Body. func (client SyncGroupsClient) TriggerSyncResponder(resp *http.Response) (result autorest.Response, err error) { @@ -860,6 +907,7 @@ func (client SyncGroupsClient) TriggerSyncResponder(resp *http.Response) (result return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Update updates a sync group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -882,6 +930,7 @@ func (client SyncGroupsClient) Update(ctx context.Context, resourceGroupName str return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdatePreparer prepares the Update request. func (client SyncGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, parameters SyncGroup) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -907,6 +956,7 @@ func (client SyncGroupsClient) UpdatePreparer(ctx context.Context, resourceGroup return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client SyncGroupsClient) UpdateSender(req *http.Request) (future SyncGroupsUpdateFuture, err error) { @@ -922,6 +972,7 @@ func (client SyncGroupsClient) UpdateSender(req *http.Request) (future SyncGroup return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client SyncGroupsClient) UpdateResponder(resp *http.Response) (result SyncGroup, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncmembers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncmembers.go index 57554de42517..9b29ee128362 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncmembers.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/syncmembers.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // SyncMembersClient is the the Azure SQL Database management API provides a RESTful set of web services that interact // with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and // delete databases. @@ -31,16 +32,19 @@ type SyncMembersClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSyncMembersClient creates an instance of the SyncMembersClient client. func NewSyncMembersClient(subscriptionID string) SyncMembersClient { return NewSyncMembersClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewSyncMembersClientWithBaseURI creates an instance of the SyncMembersClient client. func NewSyncMembersClientWithBaseURI(baseURI string, subscriptionID string) SyncMembersClient { return SyncMembersClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a sync member. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -64,6 +68,7 @@ func (client SyncMembersClient) CreateOrUpdate(ctx context.Context, resourceGrou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client SyncMembersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -90,6 +95,7 @@ func (client SyncMembersClient) CreateOrUpdatePreparer(ctx context.Context, reso return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client SyncMembersClient) CreateOrUpdateSender(req *http.Request) (future SyncMembersCreateOrUpdateFuture, err error) { @@ -105,6 +111,7 @@ func (client SyncMembersClient) CreateOrUpdateSender(req *http.Request) (future return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client SyncMembersClient) CreateOrUpdateResponder(resp *http.Response) (result SyncMember, err error) { @@ -118,6 +125,7 @@ func (client SyncMembersClient) CreateOrUpdateResponder(resp *http.Response) (re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes a sync member. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -140,6 +148,7 @@ func (client SyncMembersClient) Delete(ctx context.Context, resourceGroupName st return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client SyncMembersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -164,6 +173,7 @@ func (client SyncMembersClient) DeletePreparer(ctx context.Context, resourceGrou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client SyncMembersClient) DeleteSender(req *http.Request) (future SyncMembersDeleteFuture, err error) { @@ -179,6 +189,7 @@ func (client SyncMembersClient) DeleteSender(req *http.Request) (future SyncMemb return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client SyncMembersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -191,6 +202,7 @@ func (client SyncMembersClient) DeleteResponder(resp *http.Response) (result aut return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a sync member. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -219,6 +231,7 @@ func (client SyncMembersClient) Get(ctx context.Context, resourceGroupName strin return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client SyncMembersClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -243,6 +256,7 @@ func (client SyncMembersClient) GetPreparer(ctx context.Context, resourceGroupNa return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client SyncMembersClient) GetSender(req *http.Request) (*http.Response, error) { @@ -250,6 +264,7 @@ func (client SyncMembersClient) GetSender(req *http.Request) (*http.Response, er azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client SyncMembersClient) GetResponder(resp *http.Response) (result SyncMember, err error) { @@ -263,6 +278,7 @@ func (client SyncMembersClient) GetResponder(resp *http.Response) (result SyncMe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListBySyncGroup lists sync members in the given sync group. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -291,6 +307,7 @@ func (client SyncMembersClient) ListBySyncGroup(ctx context.Context, resourceGro return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListBySyncGroupPreparer prepares the ListBySyncGroup request. func (client SyncMembersClient) ListBySyncGroupPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -314,6 +331,7 @@ func (client SyncMembersClient) ListBySyncGroupPreparer(ctx context.Context, res return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListBySyncGroupSender sends the ListBySyncGroup request. The method will close the // http.Response Body if it receives an error. func (client SyncMembersClient) ListBySyncGroupSender(req *http.Request) (*http.Response, error) { @@ -321,6 +339,7 @@ func (client SyncMembersClient) ListBySyncGroupSender(req *http.Request) (*http. azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListBySyncGroupResponder handles the response to the ListBySyncGroup request. The method always // closes the http.Response Body. func (client SyncMembersClient) ListBySyncGroupResponder(resp *http.Response) (result SyncMemberListResult, err error) { @@ -355,12 +374,14 @@ func (client SyncMembersClient) listBySyncGroupNextResults(lastResults SyncMembe return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListBySyncGroupComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncMembersClient) ListBySyncGroupComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string) (result SyncMemberListResultIterator, err error) { result.page, err = client.ListBySyncGroup(ctx, resourceGroupName, serverName, databaseName, syncGroupName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMemberSchemas gets a sync member database schema. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -390,6 +411,7 @@ func (client SyncMembersClient) ListMemberSchemas(ctx context.Context, resourceG return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMemberSchemasPreparer prepares the ListMemberSchemas request. func (client SyncMembersClient) ListMemberSchemasPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -414,6 +436,7 @@ func (client SyncMembersClient) ListMemberSchemasPreparer(ctx context.Context, r return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMemberSchemasSender sends the ListMemberSchemas request. The method will close the // http.Response Body if it receives an error. func (client SyncMembersClient) ListMemberSchemasSender(req *http.Request) (*http.Response, error) { @@ -421,6 +444,7 @@ func (client SyncMembersClient) ListMemberSchemasSender(req *http.Request) (*htt azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMemberSchemasResponder handles the response to the ListMemberSchemas request. The method always // closes the http.Response Body. func (client SyncMembersClient) ListMemberSchemasResponder(resp *http.Response) (result SyncFullSchemaPropertiesListResult, err error) { @@ -455,12 +479,14 @@ func (client SyncMembersClient) listMemberSchemasNextResults(lastResults SyncFul return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListMemberSchemasComplete enumerates all values, automatically crossing page boundaries as required. func (client SyncMembersClient) ListMemberSchemasComplete(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (result SyncFullSchemaPropertiesListResultIterator, err error) { result.page, err = client.ListMemberSchemas(ctx, resourceGroupName, serverName, databaseName, syncGroupName, syncMemberName) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshMemberSchema refreshes a sync member database schema. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -483,6 +509,7 @@ func (client SyncMembersClient) RefreshMemberSchema(ctx context.Context, resourc return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshMemberSchemaPreparer prepares the RefreshMemberSchema request. func (client SyncMembersClient) RefreshMemberSchemaPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -507,6 +534,7 @@ func (client SyncMembersClient) RefreshMemberSchemaPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshMemberSchemaSender sends the RefreshMemberSchema request. The method will close the // http.Response Body if it receives an error. func (client SyncMembersClient) RefreshMemberSchemaSender(req *http.Request) (future SyncMembersRefreshMemberSchemaFuture, err error) { @@ -522,6 +550,7 @@ func (client SyncMembersClient) RefreshMemberSchemaSender(req *http.Request) (fu return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // RefreshMemberSchemaResponder handles the response to the RefreshMemberSchema request. The method always // closes the http.Response Body. func (client SyncMembersClient) RefreshMemberSchemaResponder(resp *http.Response) (result autorest.Response, err error) { @@ -534,6 +563,7 @@ func (client SyncMembersClient) RefreshMemberSchemaResponder(resp *http.Response return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Update updates an existing sync member. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -557,6 +587,7 @@ func (client SyncMembersClient) Update(ctx context.Context, resourceGroupName st return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdatePreparer prepares the Update request. func (client SyncMembersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string, parameters SyncMember) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -583,6 +614,7 @@ func (client SyncMembersClient) UpdatePreparer(ctx context.Context, resourceGrou return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client SyncMembersClient) UpdateSender(req *http.Request) (future SyncMembersUpdateFuture, err error) { @@ -598,6 +630,7 @@ func (client SyncMembersClient) UpdateSender(req *http.Request) (future SyncMemb return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UpdateResponder handles the response to the Update request. The method always // closes the http.Response Body. func (client SyncMembersClient) UpdateResponder(resp *http.Response) (result SyncMember, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptionactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptionactivities.go index 818a30dddf7c..d39006a3f60c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptionactivities.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptionactivities.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionActivitiesClient is the the Azure SQL Database management API provides a RESTful set of web // services that interact with Azure SQL Database services to manage your databases. The API enables you to create, // retrieve, update, and delete databases. @@ -31,18 +32,21 @@ type TransparentDataEncryptionActivitiesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewTransparentDataEncryptionActivitiesClient creates an instance of the TransparentDataEncryptionActivitiesClient // client. func NewTransparentDataEncryptionActivitiesClient(subscriptionID string) TransparentDataEncryptionActivitiesClient { return NewTransparentDataEncryptionActivitiesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewTransparentDataEncryptionActivitiesClientWithBaseURI creates an instance of the // TransparentDataEncryptionActivitiesClient client. func NewTransparentDataEncryptionActivitiesClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionActivitiesClient { return TransparentDataEncryptionActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByConfiguration returns a database's transparent data encryption operation result. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -70,6 +74,7 @@ func (client TransparentDataEncryptionActivitiesClient) ListByConfiguration(ctx return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByConfigurationPreparer prepares the ListByConfiguration request. func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -93,6 +98,7 @@ func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationPrepa return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByConfigurationSender sends the ListByConfiguration request. The method will close the // http.Response Body if it receives an error. func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationSender(req *http.Request) (*http.Response, error) { @@ -100,6 +106,7 @@ func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationSende azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByConfigurationResponder handles the response to the ListByConfiguration request. The method always // closes the http.Response Body. func (client TransparentDataEncryptionActivitiesClient) ListByConfigurationResponder(resp *http.Response) (result TransparentDataEncryptionActivityListResult, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptions.go index 87c20526f6ad..8e6448c75734 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptions.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/transparentdataencryptions.go @@ -24,6 +24,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // TransparentDataEncryptionsClient is the the Azure SQL Database management API provides a RESTful set of web services // that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, // update, and delete databases. @@ -31,16 +32,19 @@ type TransparentDataEncryptionsClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewTransparentDataEncryptionsClient creates an instance of the TransparentDataEncryptionsClient client. func NewTransparentDataEncryptionsClient(subscriptionID string) TransparentDataEncryptionsClient { return NewTransparentDataEncryptionsClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewTransparentDataEncryptionsClientWithBaseURI creates an instance of the TransparentDataEncryptionsClient client. func NewTransparentDataEncryptionsClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionsClient { return TransparentDataEncryptionsClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates a database's transparent data encryption configuration. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -69,6 +73,7 @@ func (client TransparentDataEncryptionsClient) CreateOrUpdate(ctx context.Contex return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client TransparentDataEncryptionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters TransparentDataEncryption) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -94,6 +99,7 @@ func (client TransparentDataEncryptionsClient) CreateOrUpdatePreparer(ctx contex return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client TransparentDataEncryptionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { @@ -101,6 +107,7 @@ func (client TransparentDataEncryptionsClient) CreateOrUpdateSender(req *http.Re azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client TransparentDataEncryptionsClient) CreateOrUpdateResponder(resp *http.Response) (result TransparentDataEncryption, err error) { @@ -114,6 +121,7 @@ func (client TransparentDataEncryptionsClient) CreateOrUpdateResponder(resp *htt return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a database's transparent data encryption configuration. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -141,6 +149,7 @@ func (client TransparentDataEncryptionsClient) Get(ctx context.Context, resource return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client TransparentDataEncryptionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -164,6 +173,7 @@ func (client TransparentDataEncryptionsClient) GetPreparer(ctx context.Context, return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client TransparentDataEncryptionsClient) GetSender(req *http.Request) (*http.Response, error) { @@ -171,6 +181,7 @@ func (client TransparentDataEncryptionsClient) GetSender(req *http.Request) (*ht azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client TransparentDataEncryptionsClient) GetResponder(resp *http.Response) (result TransparentDataEncryption, err error) { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/version.go index 21b61983166e..1403fb37098c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/version.go @@ -18,12 +18,13 @@ import "github.com/Azure/azure-sdk-for-go/version" // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. - +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { return "Azure-SDK-For-Go/" + version.Number + " sql/2015-05-01-preview" } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Version returns the semantic version (see http://semver.org) of the client. func Version() string { return version.Number diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/virtualnetworkrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/virtualnetworkrules.go index 336c296db9ff..172f2b3a90b8 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/virtualnetworkrules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql/virtualnetworkrules.go @@ -25,6 +25,7 @@ import ( "net/http" ) +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // VirtualNetworkRulesClient is the the Azure SQL Database management API provides a RESTful set of web services that // interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, // and delete databases. @@ -32,16 +33,19 @@ type VirtualNetworkRulesClient struct { BaseClient } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewVirtualNetworkRulesClient creates an instance of the VirtualNetworkRulesClient client. func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient { return NewVirtualNetworkRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client. func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient { return VirtualNetworkRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdate creates or updates an existing virtual network rule. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -70,6 +74,7 @@ func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, reso return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdatePreparer prepares the CreateOrUpdate request. func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters VirtualNetworkRule) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -94,6 +99,7 @@ func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Conte return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkRulesCreateOrUpdateFuture, err error) { @@ -109,6 +115,7 @@ func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error) { @@ -122,6 +129,7 @@ func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Respo return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Delete deletes the virtual network rule with the given name. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -143,6 +151,7 @@ func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGrou return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeletePreparer prepares the Delete request. func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -165,6 +174,7 @@ func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, reso return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future VirtualNetworkRulesDeleteFuture, err error) { @@ -180,6 +190,7 @@ func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (future return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // DeleteResponder handles the response to the Delete request. The method always // closes the http.Response Body. func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { @@ -192,6 +203,7 @@ func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (re return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // Get gets a virtual network rule. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -219,6 +231,7 @@ func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupNa return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetPreparer prepares the Get request. func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -241,6 +254,7 @@ func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourc return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error) { @@ -248,6 +262,7 @@ func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Resp azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // GetResponder handles the response to the Get request. The method always // closes the http.Response Body. func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error) { @@ -261,6 +276,7 @@ func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (resul return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServer gets a list of virtual network rules in a server. // // resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from @@ -288,6 +304,7 @@ func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resour return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerPreparer prepares the ListByServer request. func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error) { pathParameters := map[string]interface{}{ @@ -309,6 +326,7 @@ func (client VirtualNetworkRulesClient) ListByServerPreparer(ctx context.Context return preparer.Prepare((&http.Request{}).WithContext(ctx)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerSender sends the ListByServer request. The method will close the // http.Response Body if it receives an error. func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (*http.Response, error) { @@ -316,6 +334,7 @@ func (client VirtualNetworkRulesClient) ListByServerSender(req *http.Request) (* azure.DoRetryWithRegistration(client.Client)) } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerResponder handles the response to the ListByServer request. The method always // closes the http.Response Body. func (client VirtualNetworkRulesClient) ListByServerResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error) { @@ -350,6 +369,7 @@ func (client VirtualNetworkRulesClient) listByServerNextResults(lastResults Virt return } +// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql instead. // ListByServerComplete enumerates all values, automatically crossing page boundaries as required. func (client VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultIterator, err error) { result.page, err = client.ListByServer(ctx, resourceGroupName, serverName) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage/accounts.go index d5913cdefb7e..c1ffd6b6e035 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage/accounts.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage/accounts.go @@ -41,9 +41,9 @@ func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) Account } // CheckNameAvailability checks that the storage account name is valid and is not already in use. -// -// accountName is the name of the storage account within the specified resource group. Storage account names must -// be between 3 and 24 characters in length and use numbers and lower-case letters only. +// Parameters: +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. func (client AccountsClient) CheckNameAvailability(ctx context.Context, accountName AccountCheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: accountName, @@ -118,11 +118,12 @@ func (client AccountsClient) CheckNameAvailabilityResponder(resp *http.Response) // and a subsequent create request is issued with different properties, the account properties will be updated. If an // account is already created and a subsequent create or update request is issued with the exact same set of // properties, the request will succeed. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters is -// the parameters to provide for the created account. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// parameters - the parameters to provide for the created account. func (client AccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, parameters AccountCreateParameters) (result AccountsCreateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -211,10 +212,11 @@ func (client AccountsClient) CreateResponder(resp *http.Response) (result Accoun } // Delete deletes a storage account in Microsoft Azure. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -290,10 +292,11 @@ func (client AccountsClient) DeleteResponder(resp *http.Response) (result autore // GetProperties returns the properties for the specified storage account including but not limited to name, SKU name, // location, and account status. The ListKeys operation should be used to retrieve storage keys. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. func (client AccountsClient) GetProperties(ctx context.Context, resourceGroupName string, accountName string) (result Account, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -432,11 +435,12 @@ func (client AccountsClient) ListResponder(resp *http.Response) (result AccountL } // ListAccountSAS list SAS credentials of a storage account. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters is -// the parameters to provide to list SAS credentials for the storage account. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// parameters - the parameters to provide to list SAS credentials for the storage account. func (client AccountsClient) ListAccountSAS(ctx context.Context, resourceGroupName string, accountName string, parameters AccountSasParameters) (result ListAccountSasResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -517,8 +521,8 @@ func (client AccountsClient) ListAccountSASResponder(resp *http.Response) (resul // ListByResourceGroup lists all the storage accounts available under the given resource group. Note that storage keys // are not returned; use the ListKeys operation for this. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case // insensitive. func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountListResult, err error) { if err := validation.Validate([]validation.Validation{ @@ -591,10 +595,11 @@ func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) ( } // ListKeys lists the access keys for the specified storage account. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. func (client AccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result AccountListKeysResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -670,11 +675,12 @@ func (client AccountsClient) ListKeysResponder(resp *http.Response) (result Acco } // ListServiceSAS list service SAS credentials of a specific resource. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters is -// the parameters to provide to list service SAS credentials. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// parameters - the parameters to provide to list service SAS credentials. func (client AccountsClient) ListServiceSAS(ctx context.Context, resourceGroupName string, accountName string, parameters ServiceSasParameters) (result ListServiceSasResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -756,11 +762,12 @@ func (client AccountsClient) ListServiceSASResponder(resp *http.Response) (resul } // RegenerateKey regenerates one of the access keys for the specified storage account. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. regenerateKey -// is specifies name of the key which should be regenerated -- key1 or key2. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// regenerateKey - specifies name of the key which should be regenerated -- key1 or key2. func (client AccountsClient) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, regenerateKey AccountRegenerateKeyParameters) (result AccountListKeysResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -845,11 +852,12 @@ func (client AccountsClient) RegenerateKeyResponder(resp *http.Response) (result // must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This // call does not change the storage keys for the account. If you want to change the storage account keys, use the // regenerate keys operation. The location and name of the storage account cannot be changed after creation. -// -// resourceGroupName is the name of the resource group within the user's subscription. The name is case -// insensitive. accountName is the name of the storage account within the specified resource group. Storage account -// names must be between 3 and 24 characters in length and use numbers and lower-case letters only. parameters is -// the parameters to provide for the updated account. +// Parameters: +// resourceGroupName - the name of the resource group within the user's subscription. The name is case +// insensitive. +// accountName - the name of the storage account within the specified resource group. Storage account names +// must be between 3 and 24 characters in length and use numbers and lower-case letters only. +// parameters - the parameters to provide for the updated account. func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, parameters AccountUpdateParameters) (result Account, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/endpoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/endpoints.go index ae3713ca7dae..70b882df4e2b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/endpoints.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/endpoints.go @@ -40,11 +40,13 @@ func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) Endpoi } // CreateOrUpdate create or update a Traffic Manager endpoint. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager endpoint to be created or -// updated. profileName is the name of the Traffic Manager profile. endpointType is the type of the Traffic Manager -// endpoint to be created or updated. endpointName is the name of the Traffic Manager endpoint to be created or -// updated. parameters is the Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager endpoint to be created or +// updated. +// profileName - the name of the Traffic Manager profile. +// endpointType - the type of the Traffic Manager endpoint to be created or updated. +// endpointName - the name of the Traffic Manager endpoint to be created or updated. +// parameters - the Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation. func (client EndpointsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string, parameters Endpoint) (result Endpoint, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, profileName, endpointType, endpointName, parameters) if err != nil { @@ -113,10 +115,11 @@ func (client EndpointsClient) CreateOrUpdateResponder(resp *http.Response) (resu } // Delete deletes a Traffic Manager endpoint. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager endpoint to be deleted. -// profileName is the name of the Traffic Manager profile. endpointType is the type of the Traffic Manager endpoint -// to be deleted. endpointName is the name of the Traffic Manager endpoint to be deleted. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager endpoint to be deleted. +// profileName - the name of the Traffic Manager profile. +// endpointType - the type of the Traffic Manager endpoint to be deleted. +// endpointName - the name of the Traffic Manager endpoint to be deleted. func (client EndpointsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string) (result DeleteOperationResult, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, profileName, endpointType, endpointName) if err != nil { @@ -183,10 +186,11 @@ func (client EndpointsClient) DeleteResponder(resp *http.Response) (result Delet } // Get gets a Traffic Manager endpoint. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager endpoint. profileName is the -// name of the Traffic Manager profile. endpointType is the type of the Traffic Manager endpoint. endpointName is -// the name of the Traffic Manager endpoint. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager endpoint. +// profileName - the name of the Traffic Manager profile. +// endpointType - the type of the Traffic Manager endpoint. +// endpointName - the name of the Traffic Manager endpoint. func (client EndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string) (result Endpoint, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, profileName, endpointType, endpointName) if err != nil { @@ -253,11 +257,12 @@ func (client EndpointsClient) GetResponder(resp *http.Response) (result Endpoint } // Update update a Traffic Manager endpoint. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager endpoint to be updated. -// profileName is the name of the Traffic Manager profile. endpointType is the type of the Traffic Manager endpoint -// to be updated. endpointName is the name of the Traffic Manager endpoint to be updated. parameters is the Traffic -// Manager endpoint parameters supplied to the Update operation. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager endpoint to be updated. +// profileName - the name of the Traffic Manager profile. +// endpointType - the type of the Traffic Manager endpoint to be updated. +// endpointName - the name of the Traffic Manager endpoint to be updated. +// parameters - the Traffic Manager endpoint parameters supplied to the Update operation. func (client EndpointsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointType string, endpointName string, parameters Endpoint) (result Endpoint, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, profileName, endpointType, endpointName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/profiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/profiles.go index e074287cac5e..81bb459236ef 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/profiles.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager/profiles.go @@ -40,8 +40,9 @@ func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) Profile } // CheckTrafficManagerRelativeDNSNameAvailability checks the availability of a Traffic Manager Relative DNS name. -// -// parameters is the Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation. +// Parameters: +// parameters - the Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability +// operation. func (client ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailability(ctx context.Context, parameters CheckTrafficManagerRelativeDNSNameAvailabilityParameters) (result NameAvailability, err error) { req, err := client.CheckTrafficManagerRelativeDNSNameAvailabilityPreparer(ctx, parameters) if err != nil { @@ -102,10 +103,10 @@ func (client ProfilesClient) CheckTrafficManagerRelativeDNSNameAvailabilityRespo } // CreateOrUpdate create or update a Traffic Manager profile. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager profile. profileName is the -// name of the Traffic Manager profile. parameters is the Traffic Manager profile parameters supplied to the -// CreateOrUpdate operation. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager profile. +// profileName - the name of the Traffic Manager profile. +// parameters - the Traffic Manager profile parameters supplied to the CreateOrUpdate operation. func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, profileName string, parameters Profile) (result Profile, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, profileName, parameters) if err != nil { @@ -172,9 +173,9 @@ func (client ProfilesClient) CreateOrUpdateResponder(resp *http.Response) (resul } // Delete deletes a Traffic Manager profile. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager profile to be deleted. -// profileName is the name of the Traffic Manager profile to be deleted. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager profile to be deleted. +// profileName - the name of the Traffic Manager profile to be deleted. func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, profileName string) (result DeleteOperationResult, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, profileName) if err != nil { @@ -239,9 +240,9 @@ func (client ProfilesClient) DeleteResponder(resp *http.Response) (result Delete } // Get gets a Traffic Manager profile. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager profile. profileName is the -// name of the Traffic Manager profile. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager profile. +// profileName - the name of the Traffic Manager profile. func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string) (result Profile, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, profileName) if err != nil { @@ -306,8 +307,8 @@ func (client ProfilesClient) GetResponder(resp *http.Response) (result Profile, } // ListByResourceGroup lists all Traffic Manager profiles within a resource group. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager profiles to be listed. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager profiles to be listed. func (client ProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProfileListResult, err error) { req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) if err != nil { @@ -433,10 +434,10 @@ func (client ProfilesClient) ListBySubscriptionResponder(resp *http.Response) (r } // Update update a Traffic Manager profile. -// -// resourceGroupName is the name of the resource group containing the Traffic Manager profile. profileName is the -// name of the Traffic Manager profile. parameters is the Traffic Manager profile parameters supplied to the Update -// operation. +// Parameters: +// resourceGroupName - the name of the resource group containing the Traffic Manager profile. +// profileName - the name of the Traffic Manager profile. +// parameters - the Traffic Manager profile parameters supplied to the Update operation. func (client ProfilesClient) Update(ctx context.Context, resourceGroupName string, profileName string, parameters Profile) (result Profile, err error) { req, err := client.UpdatePreparer(ctx, resourceGroupName, profileName, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go index 1159b5edb59f..7ffd6f8710a4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go @@ -41,9 +41,11 @@ func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient } // AddPremierAddOn updates a named add-on of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// premierAddOnName is add-on name. premierAddOn is a JSON representation of the edited premier add-on. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// premierAddOnName - add-on name. +// premierAddOn - a JSON representation of the edited premier add-on. func (client AppsClient) AddPremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOn) (result PremierAddOn, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -119,11 +121,13 @@ func (client AppsClient) AddPremierAddOnResponder(resp *http.Response) (result P } // AddPremierAddOnSlot updates a named add-on of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// premierAddOnName is add-on name. premierAddOn is a JSON representation of the edited premier add-on. slot is -// name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// premierAddOnName - add-on name. +// premierAddOn - a JSON representation of the edited premier add-on. +// slot - name of the deployment slot. If a slot is not specified, the API will update the named add-on for the +// production slot. func (client AppsClient) AddPremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, premierAddOn PremierAddOn, slot string) (result PremierAddOn, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -200,9 +204,10 @@ func (client AppsClient) AddPremierAddOnSlotResponder(resp *http.Response) (resu } // AnalyzeCustomHostname analyze a custom hostname. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. hostName -// is custom hostname. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// hostName - custom hostname. func (client AppsClient) AnalyzeCustomHostname(ctx context.Context, resourceGroupName string, name string, hostName string) (result CustomHostnameAnalysisResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -278,9 +283,11 @@ func (client AppsClient) AnalyzeCustomHostnameResponder(resp *http.Response) (re } // AnalyzeCustomHostnameSlot analyze a custom hostname. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. hostName is custom hostname. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. +// hostName - custom hostname. func (client AppsClient) AnalyzeCustomHostnameSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (result CustomHostnameAnalysisResult, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -357,9 +364,10 @@ func (client AppsClient) AnalyzeCustomHostnameSlotResponder(resp *http.Response) } // ApplySlotConfigToProduction applies the configuration settings from the target slot onto the current slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// slotSwapEntity is JSON object that contains the target slot name. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slotSwapEntity - JSON object that contains the target slot name. See example. func (client AppsClient) ApplySlotConfigToProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -436,10 +444,11 @@ func (client AppsClient) ApplySlotConfigToProductionResponder(resp *http.Respons } // ApplySlotConfigurationSlot applies the configuration settings from the target slot onto the current slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// slotSwapEntity is JSON object that contains the target slot name. See example. slot is name of the source slot. -// If a slot is not specified, the production slot is used as the source slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slotSwapEntity - JSON object that contains the target slot name. See example. +// slot - name of the source slot. If a slot is not specified, the production slot is used as the source slot. func (client AppsClient) ApplySlotConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -517,9 +526,10 @@ func (client AppsClient) ApplySlotConfigurationSlotResponder(resp *http.Response } // Backup creates a backup of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. request -// is backup configuration. You can use the JSON response from the POST action as input here. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// request - backup configuration. You can use the JSON response from the POST action as input here. func (client AppsClient) Backup(ctx context.Context, resourceGroupName string, name string, request BackupRequest) (result BackupItem, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -604,10 +614,12 @@ func (client AppsClient) BackupResponder(resp *http.Response) (result BackupItem } // BackupSlot creates a backup of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. request -// is backup configuration. You can use the JSON response from the POST action as input here. slot is name of the -// deployment slot. If a slot is not specified, the API will create a backup for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// request - backup configuration. You can use the JSON response from the POST action as input here. +// slot - name of the deployment slot. If a slot is not specified, the API will create a backup for the +// production slot. func (client AppsClient) BackupSlot(ctx context.Context, resourceGroupName string, name string, request BackupRequest, slot string) (result BackupItem, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -693,9 +705,11 @@ func (client AppsClient) BackupSlotResponder(resp *http.Response) (result Backup } // CreateDeployment create a deployment for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is ID -// of an existing deployment. deployment is deployment details. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - ID of an existing deployment. +// deployment - deployment details. func (client AppsClient) CreateDeployment(ctx context.Context, resourceGroupName string, name string, ID string, deployment Deployment) (result Deployment, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -771,10 +785,13 @@ func (client AppsClient) CreateDeploymentResponder(resp *http.Response) (result } // CreateDeploymentSlot create a deployment for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is ID -// of an existing deployment. slot is name of the deployment slot. If a slot is not specified, the API creates a -// deployment for the production slot. deployment is deployment details. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - ID of an existing deployment. +// slot - name of the deployment slot. If a slot is not specified, the API creates a deployment for the +// production slot. +// deployment - deployment details. func (client AppsClient) CreateDeploymentSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string, deployment Deployment) (result Deployment, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -851,9 +868,11 @@ func (client AppsClient) CreateDeploymentSlotResponder(resp *http.Response) (res } // CreateFunction create function for web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. functionEnvelope is function details. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. +// functionEnvelope - function details. func (client AppsClient) CreateFunction(ctx context.Context, resourceGroupName string, name string, functionName string, functionEnvelope FunctionEnvelope) (result AppsCreateFunctionFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -931,10 +950,13 @@ func (client AppsClient) CreateFunctionResponder(resp *http.Response) (result Fu } // CreateInstanceFunctionSlot create function for web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. functionEnvelope is function details. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. +// functionEnvelope - function details. func (client AppsClient) CreateInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string, functionEnvelope FunctionEnvelope) (result AppsCreateInstanceFunctionSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1013,9 +1035,11 @@ func (client AppsClient) CreateInstanceFunctionSlotResponder(resp *http.Response } // CreateInstanceMSDeployOperation invoke the MSDeploy web app extension. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// instanceID is ID of web app instance. mSDeploy is details of MSDeploy operation +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// instanceID - ID of web app instance. +// mSDeploy - details of MSDeploy operation func (client AppsClient) CreateInstanceMSDeployOperation(ctx context.Context, resourceGroupName string, name string, instanceID string, mSDeploy MSDeploy) (result AppsCreateInstanceMSDeployOperationFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1093,10 +1117,12 @@ func (client AppsClient) CreateInstanceMSDeployOperationResponder(resp *http.Res } // CreateInstanceMSDeployOperationSlot invoke the MSDeploy web app extension. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. instanceID is ID of web app -// instance. mSDeploy is details of MSDeploy operation +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. +// instanceID - ID of web app instance. +// mSDeploy - details of MSDeploy operation func (client AppsClient) CreateInstanceMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string, mSDeploy MSDeploy) (result AppsCreateInstanceMSDeployOperationSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1175,9 +1201,10 @@ func (client AppsClient) CreateInstanceMSDeployOperationSlotResponder(resp *http } // CreateMSDeployOperation invoke the MSDeploy web app extension. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. mSDeploy -// is details of MSDeploy operation +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// mSDeploy - details of MSDeploy operation func (client AppsClient) CreateMSDeployOperation(ctx context.Context, resourceGroupName string, name string, mSDeploy MSDeploy) (result AppsCreateMSDeployOperationFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1254,10 +1281,11 @@ func (client AppsClient) CreateMSDeployOperationResponder(resp *http.Response) ( } // CreateMSDeployOperationSlot invoke the MSDeploy web app extension. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. mSDeploy is details of MSDeploy -// operation +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. +// mSDeploy - details of MSDeploy operation func (client AppsClient) CreateMSDeployOperationSlot(ctx context.Context, resourceGroupName string, name string, slot string, mSDeploy MSDeploy) (result AppsCreateMSDeployOperationSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1335,10 +1363,11 @@ func (client AppsClient) CreateMSDeployOperationSlotResponder(resp *http.Respons } // CreateOrUpdate creates a new web, mobile, or API app in an existing resource group, or updates an existing app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is unique name of the app to -// create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope is a JSON -// representation of the app properties. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} +// parameter. +// siteEnvelope - a JSON representation of the app properties. See example. func (client AppsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site) (result AppsCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1430,9 +1459,10 @@ func (client AppsClient) CreateOrUpdateResponder(resp *http.Response) (result Si } // CreateOrUpdateConfiguration updates the configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteConfig is JSON representation of a SiteConfig object. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteConfig - JSON representation of a SiteConfig object. See example. func (client AppsClient) CreateOrUpdateConfiguration(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1514,10 +1544,12 @@ func (client AppsClient) CreateOrUpdateConfigurationResponder(resp *http.Respons } // CreateOrUpdateConfigurationSlot updates the configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteConfig is JSON representation of a SiteConfig object. See example. slot is name of the deployment slot. If a -// slot is not specified, the API will update configuration for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteConfig - JSON representation of a SiteConfig object. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will update configuration for the +// production slot. func (client AppsClient) CreateOrUpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, slot string) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1601,10 +1633,11 @@ func (client AppsClient) CreateOrUpdateConfigurationSlotResponder(resp *http.Res // CreateOrUpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing // ownership identifier. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. domainOwnershipIdentifier is a JSON -// representation of the domain ownership properties. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. +// domainOwnershipIdentifier - a JSON representation of the domain ownership properties. func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier) (result Identifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1681,11 +1714,13 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierResponder(resp * // CreateOrUpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an // existing ownership identifier. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. domainOwnershipIdentifier is a JSON -// representation of the domain ownership properties. slot is name of the deployment slot. If a slot is not -// specified, the API will delete the binding for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. +// domainOwnershipIdentifier - a JSON representation of the domain ownership properties. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the +// production slot. func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, slot string) (result Identifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1762,10 +1797,11 @@ func (client AppsClient) CreateOrUpdateDomainOwnershipIdentifierSlotResponder(re } // CreateOrUpdateHostNameBinding creates a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. hostName -// is hostname in the hostname binding. hostNameBinding is binding details. This is the JSON representation of a -// HostNameBinding object. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// hostName - hostname in the hostname binding. +// hostNameBinding - binding details. This is the JSON representation of a HostNameBinding object. func (client AppsClient) CreateOrUpdateHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string, hostNameBinding HostNameBinding) (result HostNameBinding, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1841,11 +1877,13 @@ func (client AppsClient) CreateOrUpdateHostNameBindingResponder(resp *http.Respo } // CreateOrUpdateHostNameBindingSlot creates a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. hostName -// is hostname in the hostname binding. hostNameBinding is binding details. This is the JSON representation of a -// HostNameBinding object. slot is name of the deployment slot. If a slot is not specified, the API will create a -// binding for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// hostName - hostname in the hostname binding. +// hostNameBinding - binding details. This is the JSON representation of a HostNameBinding object. +// slot - name of the deployment slot. If a slot is not specified, the API will create a binding for the +// production slot. func (client AppsClient) CreateOrUpdateHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, hostName string, hostNameBinding HostNameBinding, slot string) (result HostNameBinding, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1922,10 +1960,12 @@ func (client AppsClient) CreateOrUpdateHostNameBindingSlotResponder(resp *http.R } // CreateOrUpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. connectionEnvelope is the details of the hybrid connection. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. +// connectionEnvelope - the details of the hybrid connection. func (client AppsClient) CreateOrUpdateHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2002,11 +2042,13 @@ func (client AppsClient) CreateOrUpdateHybridConnectionResponder(resp *http.Resp } // CreateOrUpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. connectionEnvelope is the details of the hybrid connection. slot is the name of the slot for the web -// app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. +// connectionEnvelope - the details of the hybrid connection. +// slot - the name of the slot for the web app. func (client AppsClient) CreateOrUpdateHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, slot string) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2084,10 +2126,12 @@ func (client AppsClient) CreateOrUpdateHybridConnectionSlotResponder(resp *http. } // CreateOrUpdatePublicCertificate creates a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// publicCertificateName is public certificate name. publicCertificate is public certificate details. This is the -// JSON representation of a PublicCertificate object. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// publicCertificateName - public certificate name. +// publicCertificate - public certificate details. This is the JSON representation of a PublicCertificate +// object. func (client AppsClient) CreateOrUpdatePublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, publicCertificate PublicCertificate) (result PublicCertificate, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2163,11 +2207,14 @@ func (client AppsClient) CreateOrUpdatePublicCertificateResponder(resp *http.Res } // CreateOrUpdatePublicCertificateSlot creates a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// publicCertificateName is public certificate name. publicCertificate is public certificate details. This is the -// JSON representation of a PublicCertificate object. slot is name of the deployment slot. If a slot is not -// specified, the API will create a binding for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// publicCertificateName - public certificate name. +// publicCertificate - public certificate details. This is the JSON representation of a PublicCertificate +// object. +// slot - name of the deployment slot. If a slot is not specified, the API will create a binding for the +// production slot. func (client AppsClient) CreateOrUpdatePublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, publicCertificateName string, publicCertificate PublicCertificate, slot string) (result PublicCertificate, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2245,10 +2292,11 @@ func (client AppsClient) CreateOrUpdatePublicCertificateSlotResponder(resp *http // CreateOrUpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one // (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection configuration. connectionEnvelope is details of the hybrid -// connection configuration. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection configuration. +// connectionEnvelope - details of the hybrid connection configuration. func (client AppsClient) CreateOrUpdateRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2325,11 +2373,13 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionResponder(resp *htt // CreateOrUpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing // one (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection configuration. connectionEnvelope is details of the hybrid -// connection configuration. slot is name of the deployment slot. If a slot is not specified, the API will create -// or update a hybrid connection for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection configuration. +// connectionEnvelope - details of the hybrid connection configuration. +// slot - name of the deployment slot. If a slot is not specified, the API will create or update a hybrid +// connection for the production slot. func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, slot string) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2406,15 +2456,19 @@ func (client AppsClient) CreateOrUpdateRelayServiceConnectionSlotResponder(resp } // CreateOrUpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is unique name of the app to -// create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope is a JSON -// representation of the app properties. See example. slot is name of the deployment slot to create or update. By -// default, this API attempts to create or modify the production slot. skipDNSRegistration is if true web app -// hostname is not registered with DNS on creation. This parameter is -// only used for app creation. skipCustomDomainVerification is if true, custom (non *.azurewebsites.net) domains -// associated with web app are not verified. forceDNSRegistration is if true, web app hostname is force registered -// with DNS. TTLInSeconds is time to live in seconds for web app's default domain name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} +// parameter. +// siteEnvelope - a JSON representation of the app properties. See example. +// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify +// the production slot. +// skipDNSRegistration - if true web app hostname is not registered with DNS on creation. This parameter is +// only used for app creation. +// skipCustomDomainVerification - if true, custom (non *.azurewebsites.net) domains associated with web app are +// not verified. +// forceDNSRegistration - if true, web app hostname is force registered with DNS. +// TTLInSeconds - time to live in seconds for web app's default domain name. func (client AppsClient) CreateOrUpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope Site, slot string, skipDNSRegistration *bool, skipCustomDomainVerification *bool, forceDNSRegistration *bool, TTLInSeconds string) (result AppsCreateOrUpdateSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2519,9 +2573,10 @@ func (client AppsClient) CreateOrUpdateSlotResponder(resp *http.Response) (resul } // CreateOrUpdateSourceControl updates the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteSourceControl is JSON representation of a SiteSourceControl object. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteSourceControl - JSON representation of a SiteSourceControl object. See example. func (client AppsClient) CreateOrUpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl) (result AppsCreateOrUpdateSourceControlFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2598,11 +2653,12 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons } // CreateOrUpdateSourceControlSlot updates the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteSourceControl is JSON representation of a SiteSourceControl object. See example. slot is name of the -// deployment slot. If a slot is not specified, the API will update the source control configuration for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteSourceControl - JSON representation of a SiteSourceControl object. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will update the source control +// configuration for the production slot. func (client AppsClient) CreateOrUpdateSourceControlSlot(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, slot string) (result AppsCreateOrUpdateSourceControlSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2681,10 +2737,11 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res // CreateOrUpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection // properties (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of an existing Virtual Network. connectionEnvelope is properties of the Virtual Network connection. See -// example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of an existing Virtual Network. +// connectionEnvelope - properties of the Virtual Network connection. See example. func (client AppsClient) CreateOrUpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo) (result VnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2760,10 +2817,12 @@ func (client AppsClient) CreateOrUpdateVnetConnectionResponder(resp *http.Respon } // CreateOrUpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the Virtual Network. gatewayName is name of the gateway. Currently, the only supported string is -// "primary". connectionEnvelope is the properties to update this gateway with. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Currently, the only supported string is "primary". +// connectionEnvelope - the properties to update this gateway with. func (client AppsClient) CreateOrUpdateVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2843,12 +2902,14 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewayResponder(resp *http } // CreateOrUpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the Virtual Network. gatewayName is name of the gateway. Currently, the only supported string is -// "primary". connectionEnvelope is the properties to update this gateway with. slot is name of the deployment -// slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual -// Network. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Currently, the only supported string is "primary". +// connectionEnvelope - the properties to update this gateway with. +// slot - name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the +// production slot's Virtual Network. func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, slot string) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2930,11 +2991,13 @@ func (client AppsClient) CreateOrUpdateVnetConnectionGatewaySlotResponder(resp * // CreateOrUpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection // properties (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of an existing Virtual Network. connectionEnvelope is properties of the Virtual Network connection. See -// example. slot is name of the deployment slot. If a slot is not specified, the API will add or update connections -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of an existing Virtual Network. +// connectionEnvelope - properties of the Virtual Network connection. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will add or update connections for +// the production slot. func (client AppsClient) CreateOrUpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, slot string) (result VnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3011,11 +3074,12 @@ func (client AppsClient) CreateOrUpdateVnetConnectionSlotResponder(resp *http.Re } // Delete deletes a web, mobile, or API app, or one of the deployment slots. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app to -// delete. deleteMetrics is if true, web app metrics are also deleted. deleteEmptyServerFarm is specify true if the -// App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, -// the empty App Service plan is not deleted. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app to delete. +// deleteMetrics - if true, web app metrics are also deleted. +// deleteEmptyServerFarm - specify true if the App Service plan will be empty after app deletion and you want +// to delete the empty App Service plan. By default, the empty App Service plan is not deleted. func (client AppsClient) Delete(ctx context.Context, resourceGroupName string, name string, deleteMetrics *bool, deleteEmptyServerFarm *bool) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3093,9 +3157,10 @@ func (client AppsClient) DeleteResponder(resp *http.Response) (result autorest.R } // DeleteBackup deletes a backup of an app by its ID. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. backupID -// is ID of the backup. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// backupID - ID of the backup. func (client AppsClient) DeleteBackup(ctx context.Context, resourceGroupName string, name string, backupID string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3168,8 +3233,9 @@ func (client AppsClient) DeleteBackupResponder(resp *http.Response) (result auto } // DeleteBackupConfiguration deletes the backup configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) DeleteBackupConfiguration(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3241,10 +3307,11 @@ func (client AppsClient) DeleteBackupConfigurationResponder(resp *http.Response) } // DeleteBackupConfigurationSlot deletes the backup configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the backup configuration +// for the production slot. func (client AppsClient) DeleteBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3317,10 +3384,12 @@ func (client AppsClient) DeleteBackupConfigurationSlotResponder(resp *http.Respo } // DeleteBackupSlot deletes a backup of an app by its ID. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. backupID -// is ID of the backup. slot is name of the deployment slot. If a slot is not specified, the API will delete a -// backup of the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// backupID - ID of the backup. +// slot - name of the deployment slot. If a slot is not specified, the API will delete a backup of the +// production slot. func (client AppsClient) DeleteBackupSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3394,9 +3463,10 @@ func (client AppsClient) DeleteBackupSlotResponder(resp *http.Response) (result } // DeleteContinuousWebJob delete a continuous web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) DeleteContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3469,10 +3539,12 @@ func (client AppsClient) DeleteContinuousWebJobResponder(resp *http.Response) (r } // DeleteContinuousWebJobSlot delete a continuous web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) DeleteContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3546,9 +3618,10 @@ func (client AppsClient) DeleteContinuousWebJobSlotResponder(resp *http.Response } // DeleteDeployment delete a deployment by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is -// deployment ID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - deployment ID. func (client AppsClient) DeleteDeployment(ctx context.Context, resourceGroupName string, name string, ID string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3621,10 +3694,12 @@ func (client AppsClient) DeleteDeploymentResponder(resp *http.Response) (result } // DeleteDeploymentSlot delete a deployment by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is -// deployment ID. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment for -// the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - deployment ID. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) DeleteDeploymentSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3698,9 +3773,10 @@ func (client AppsClient) DeleteDeploymentSlotResponder(resp *http.Response) (res } // DeleteDomainOwnershipIdentifier deletes a domain ownership identifier for a web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. func (client AppsClient) DeleteDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3773,10 +3849,12 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierResponder(resp *http.Res } // DeleteDomainOwnershipIdentifierSlot deletes a domain ownership identifier for a web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. slot is name of the deployment slot. If a -// slot is not specified, the API will delete the binding for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the +// production slot. func (client AppsClient) DeleteDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3850,9 +3928,10 @@ func (client AppsClient) DeleteDomainOwnershipIdentifierSlotResponder(resp *http } // DeleteFunction delete a function for web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. func (client AppsClient) DeleteFunction(ctx context.Context, resourceGroupName string, name string, functionName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3925,9 +4004,10 @@ func (client AppsClient) DeleteFunctionResponder(resp *http.Response) (result au } // DeleteHostNameBinding deletes a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. hostName -// is hostname in the hostname binding. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// hostName - hostname in the hostname binding. func (client AppsClient) DeleteHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4000,10 +4080,12 @@ func (client AppsClient) DeleteHostNameBindingResponder(resp *http.Response) (re } // DeleteHostNameBindingSlot deletes a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will delete the binding for the production -// slot. hostName is hostname in the hostname binding. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the +// production slot. +// hostName - hostname in the hostname binding. func (client AppsClient) DeleteHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4077,10 +4159,11 @@ func (client AppsClient) DeleteHostNameBindingSlotResponder(resp *http.Response) } // DeleteHybridConnection removes a Hybrid Connection from this site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. func (client AppsClient) DeleteHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4154,10 +4237,12 @@ func (client AppsClient) DeleteHybridConnectionResponder(resp *http.Response) (r } // DeleteHybridConnectionSlot removes a Hybrid Connection from this site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. slot is the name of the slot for the web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. +// slot - the name of the slot for the web app. func (client AppsClient) DeleteHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4232,10 +4317,12 @@ func (client AppsClient) DeleteHybridConnectionSlotResponder(resp *http.Response } // DeleteInstanceFunctionSlot delete a function for web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) DeleteInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4310,9 +4397,11 @@ func (client AppsClient) DeleteInstanceFunctionSlotResponder(resp *http.Response // DeleteInstanceProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out // instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. instanceID is ID of a specific scaled-out instance. This is the value of the name property in the JSON +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON // response from "GET api/sites/{siteName}/instances". func (client AppsClient) DeleteInstanceProcess(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ @@ -4388,11 +4477,14 @@ func (client AppsClient) DeleteInstanceProcessResponder(resp *http.Response) (re // DeleteInstanceProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out // instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the -// production slot. instanceID is ID of a specific scaled-out instance. This is the value of the name property in -// the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) DeleteInstanceProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4467,9 +4559,10 @@ func (client AppsClient) DeleteInstanceProcessSlotResponder(resp *http.Response) } // DeletePremierAddOn delete a premier add-on from an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// premierAddOnName is add-on name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// premierAddOnName - add-on name. func (client AppsClient) DeletePremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4542,10 +4635,12 @@ func (client AppsClient) DeletePremierAddOnResponder(resp *http.Response) (resul } // DeletePremierAddOnSlot delete a premier add-on from an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// premierAddOnName is add-on name. slot is name of the deployment slot. If a slot is not specified, the API will -// delete the named add-on for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// premierAddOnName - add-on name. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the +// production slot. func (client AppsClient) DeletePremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4620,9 +4715,10 @@ func (client AppsClient) DeletePremierAddOnSlotResponder(resp *http.Response) (r // DeleteProcess terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in // a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. func (client AppsClient) DeleteProcess(ctx context.Context, resourceGroupName string, name string, processID string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4696,9 +4792,11 @@ func (client AppsClient) DeleteProcessResponder(resp *http.Response) (result aut // DeleteProcessSlot terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out // instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the // production slot. func (client AppsClient) DeleteProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ @@ -4773,9 +4871,10 @@ func (client AppsClient) DeleteProcessSlotResponder(resp *http.Response) (result } // DeletePublicCertificate deletes a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// publicCertificateName is public certificate name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// publicCertificateName - public certificate name. func (client AppsClient) DeletePublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4848,10 +4947,12 @@ func (client AppsClient) DeletePublicCertificateResponder(resp *http.Response) ( } // DeletePublicCertificateSlot deletes a hostname binding for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will delete the binding for the production -// slot. publicCertificateName is public certificate name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the +// production slot. +// publicCertificateName - public certificate name. func (client AppsClient) DeletePublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -4925,9 +5026,10 @@ func (client AppsClient) DeletePublicCertificateSlotResponder(resp *http.Respons } // DeleteRelayServiceConnection deletes a relay service connection by its name. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection configuration. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection configuration. func (client AppsClient) DeleteRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5000,10 +5102,12 @@ func (client AppsClient) DeleteRelayServiceConnectionResponder(resp *http.Respon } // DeleteRelayServiceConnectionSlot deletes a relay service connection by its name. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection configuration. slot is name of the deployment slot. If a slot is not -// specified, the API will delete a hybrid connection for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection configuration. +// slot - name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for +// the production slot. func (client AppsClient) DeleteRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5077,9 +5181,10 @@ func (client AppsClient) DeleteRelayServiceConnectionSlotResponder(resp *http.Re } // DeleteSiteExtension remove a site extension from a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. -// siteExtensionID is site extension name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// siteExtensionID - site extension name. func (client AppsClient) DeleteSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5152,10 +5257,12 @@ func (client AppsClient) DeleteSiteExtensionResponder(resp *http.Response) (resu } // DeleteSiteExtensionSlot remove a site extension from a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. -// siteExtensionID is site extension name. slot is name of the deployment slot. If a slot is not specified, the API -// deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// siteExtensionID - site extension name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) DeleteSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5229,12 +5336,14 @@ func (client AppsClient) DeleteSiteExtensionSlotResponder(resp *http.Response) ( } // DeleteSlot deletes a web, mobile, or API app, or one of the deployment slots. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app to -// delete. slot is name of the deployment slot to delete. By default, the API deletes the production slot. -// deleteMetrics is if true, web app metrics are also deleted. deleteEmptyServerFarm is specify true if the App -// Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the -// empty App Service plan is not deleted. skipDNSRegistration is if true, DNS registration is skipped. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app to delete. +// slot - name of the deployment slot to delete. By default, the API deletes the production slot. +// deleteMetrics - if true, web app metrics are also deleted. +// deleteEmptyServerFarm - specify true if the App Service plan will be empty after app deletion and you want +// to delete the empty App Service plan. By default, the empty App Service plan is not deleted. +// skipDNSRegistration - if true, DNS registration is skipped. func (client AppsClient) DeleteSlot(ctx context.Context, resourceGroupName string, name string, slot string, deleteMetrics *bool, deleteEmptyServerFarm *bool, skipDNSRegistration *bool) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5316,8 +5425,9 @@ func (client AppsClient) DeleteSlotResponder(resp *http.Response) (result autore } // DeleteSourceControl deletes the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) DeleteSourceControl(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5389,10 +5499,11 @@ func (client AppsClient) DeleteSourceControlResponder(resp *http.Response) (resu } // DeleteSourceControlSlot deletes the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will delete the source control configuration -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the source control +// configuration for the production slot. func (client AppsClient) DeleteSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5465,9 +5576,10 @@ func (client AppsClient) DeleteSourceControlSlotResponder(resp *http.Response) ( } // DeleteTriggeredWebJob delete a triggered web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) DeleteTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5540,10 +5652,12 @@ func (client AppsClient) DeleteTriggeredWebJobResponder(resp *http.Response) (re } // DeleteTriggeredWebJobSlot delete a triggered web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) DeleteTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5617,9 +5731,10 @@ func (client AppsClient) DeleteTriggeredWebJobSlotResponder(resp *http.Response) } // DeleteVnetConnection deletes a connection from an app (or deployment slot to a named virtual network. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the virtual network. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the virtual network. func (client AppsClient) DeleteVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5692,10 +5807,12 @@ func (client AppsClient) DeleteVnetConnectionResponder(resp *http.Response) (res } // DeleteVnetConnectionSlot deletes a connection from an app (or deployment slot to a named virtual network. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the virtual network. slot is name of the deployment slot. If a slot is not specified, the API will -// delete the connection for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the virtual network. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the connection for the +// production slot. func (client AppsClient) DeleteVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5769,9 +5886,10 @@ func (client AppsClient) DeleteVnetConnectionSlotResponder(resp *http.Response) } // DiscoverRestore discovers an existing app backup that can be restored from a blob in Azure storage. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. request -// is a RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// request - a RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. func (client AppsClient) DiscoverRestore(ctx context.Context, resourceGroupName string, name string, request RestoreRequest) (result RestoreRequest, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5851,10 +5969,12 @@ func (client AppsClient) DiscoverRestoreResponder(resp *http.Response) (result R } // DiscoverRestoreSlot discovers an existing app backup that can be restored from a blob in Azure storage. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. request -// is a RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. slot is name -// of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// request - a RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. +// slot - name of the deployment slot. If a slot is not specified, the API will perform discovery for the +// production slot. func (client AppsClient) DiscoverRestoreSlot(ctx context.Context, resourceGroupName string, name string, request RestoreRequest, slot string) (result RestoreRequest, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -5935,8 +6055,9 @@ func (client AppsClient) DiscoverRestoreSlotResponder(resp *http.Response) (resu } // GenerateNewSitePublishingPassword generates a new publishing password for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) GenerateNewSitePublishingPassword(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6009,10 +6130,11 @@ func (client AppsClient) GenerateNewSitePublishingPasswordResponder(resp *http.R // GenerateNewSitePublishingPasswordSlot generates a new publishing password for an app (or deployment slot, if // specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API generate a new publishing password +// for the production slot. func (client AppsClient) GenerateNewSitePublishingPasswordSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6085,8 +6207,9 @@ func (client AppsClient) GenerateNewSitePublishingPasswordSlotResponder(resp *ht } // Get gets the details of a web, mobile, or API app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) Get(ctx context.Context, resourceGroupName string, name string) (result Site, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6159,8 +6282,9 @@ func (client AppsClient) GetResponder(resp *http.Response) (result Site, err err } // GetAuthSettings gets the Authentication/Authorization settings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) GetAuthSettings(ctx context.Context, resourceGroupName string, name string) (result SiteAuthSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6233,9 +6357,11 @@ func (client AppsClient) GetAuthSettingsResponder(resp *http.Response) (result S } // GetAuthSettingsSlot gets the Authentication/Authorization settings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the settings for the +// production slot. func (client AppsClient) GetAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteAuthSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6309,8 +6435,9 @@ func (client AppsClient) GetAuthSettingsSlotResponder(resp *http.Response) (resu } // GetBackupConfiguration gets the backup configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) GetBackupConfiguration(ctx context.Context, resourceGroupName string, name string) (result BackupRequest, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6383,10 +6510,11 @@ func (client AppsClient) GetBackupConfigurationResponder(resp *http.Response) (r } // GetBackupConfigurationSlot gets the backup configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the backup configuration +// for the production slot. func (client AppsClient) GetBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result BackupRequest, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6460,9 +6588,10 @@ func (client AppsClient) GetBackupConfigurationSlotResponder(resp *http.Response } // GetBackupStatus gets a backup of an app by its ID. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. backupID -// is ID of the backup. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// backupID - ID of the backup. func (client AppsClient) GetBackupStatus(ctx context.Context, resourceGroupName string, name string, backupID string) (result BackupItem, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6536,10 +6665,12 @@ func (client AppsClient) GetBackupStatusResponder(resp *http.Response) (result B } // GetBackupStatusSlot gets a backup of an app by its ID. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. backupID -// is ID of the backup. slot is name of the deployment slot. If a slot is not specified, the API will get a backup -// of the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// backupID - ID of the backup. +// slot - name of the deployment slot. If a slot is not specified, the API will get a backup of the production +// slot. func (client AppsClient) GetBackupStatusSlot(ctx context.Context, resourceGroupName string, name string, backupID string, slot string) (result BackupItem, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6615,8 +6746,9 @@ func (client AppsClient) GetBackupStatusSlotResponder(resp *http.Response) (resu // GetConfiguration gets the configuration of an app, such as platform version and bitness, default documents, virtual // applications, Always On, etc. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) GetConfiguration(ctx context.Context, resourceGroupName string, name string) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6690,10 +6822,11 @@ func (client AppsClient) GetConfigurationResponder(resp *http.Response) (result // GetConfigurationSlot gets the configuration of an app, such as platform version and bitness, default documents, // virtual applications, Always On, etc. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will return configuration for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the +// production slot. func (client AppsClient) GetConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6767,9 +6900,10 @@ func (client AppsClient) GetConfigurationSlotResponder(resp *http.Response) (res } // GetConfigurationSnapshot gets a snapshot of the configuration of an app at a previous point in time. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// snapshotID is the ID of the snapshot to read. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// snapshotID - the ID of the snapshot to read. func (client AppsClient) GetConfigurationSnapshot(ctx context.Context, resourceGroupName string, name string, snapshotID string) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6843,10 +6977,12 @@ func (client AppsClient) GetConfigurationSnapshotResponder(resp *http.Response) } // GetConfigurationSnapshotSlot gets a snapshot of the configuration of an app at a previous point in time. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// snapshotID is the ID of the snapshot to read. slot is name of the deployment slot. If a slot is not specified, -// the API will return configuration for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// snapshotID - the ID of the snapshot to read. +// slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the +// production slot. func (client AppsClient) GetConfigurationSnapshotSlot(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6921,9 +7057,10 @@ func (client AppsClient) GetConfigurationSnapshotSlotResponder(resp *http.Respon } // GetContinuousWebJob gets a continuous web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) GetContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result ContinuousWebJob, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -6997,10 +7134,12 @@ func (client AppsClient) GetContinuousWebJobResponder(resp *http.Response) (resu } // GetContinuousWebJobSlot gets a continuous web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) GetContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result ContinuousWebJob, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7075,9 +7214,10 @@ func (client AppsClient) GetContinuousWebJobSlotResponder(resp *http.Response) ( } // GetDeployment get a deployment by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is -// deployment ID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - deployment ID. func (client AppsClient) GetDeployment(ctx context.Context, resourceGroupName string, name string, ID string) (result Deployment, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7151,10 +7291,12 @@ func (client AppsClient) GetDeploymentResponder(resp *http.Response) (result Dep } // GetDeploymentSlot get a deployment by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is -// deployment ID. slot is name of the deployment slot. If a slot is not specified, the API gets a deployment for -// the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - deployment ID. +// slot - name of the deployment slot. If a slot is not specified, the API gets a deployment for the production +// slot. func (client AppsClient) GetDeploymentSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (result Deployment, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7229,8 +7371,9 @@ func (client AppsClient) GetDeploymentSlotResponder(resp *http.Response) (result } // GetDiagnosticLogsConfiguration gets the logging configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) GetDiagnosticLogsConfiguration(ctx context.Context, resourceGroupName string, name string) (result SiteLogsConfig, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7303,10 +7446,11 @@ func (client AppsClient) GetDiagnosticLogsConfigurationResponder(resp *http.Resp } // GetDiagnosticLogsConfigurationSlot gets the logging configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the logging configuration +// for the production slot. func (client AppsClient) GetDiagnosticLogsConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteLogsConfig, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7380,9 +7524,10 @@ func (client AppsClient) GetDiagnosticLogsConfigurationSlotResponder(resp *http. } // GetDomainOwnershipIdentifier get domain ownership identifier for web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. func (client AppsClient) GetDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string) (result Identifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7456,10 +7601,12 @@ func (client AppsClient) GetDomainOwnershipIdentifierResponder(resp *http.Respon } // GetDomainOwnershipIdentifierSlot get domain ownership identifier for web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. slot is name of the deployment slot. If a -// slot is not specified, the API will delete the binding for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the +// production slot. func (client AppsClient) GetDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, slot string) (result Identifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7534,9 +7681,10 @@ func (client AppsClient) GetDomainOwnershipIdentifierSlotResponder(resp *http.Re } // GetFunction get function information by its ID for web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. func (client AppsClient) GetFunction(ctx context.Context, resourceGroupName string, name string, functionName string) (result FunctionEnvelope, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7610,8 +7758,9 @@ func (client AppsClient) GetFunctionResponder(resp *http.Response) (result Funct } // GetFunctionsAdminToken fetch a short lived token that can be exchanged for a master key. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) GetFunctionsAdminToken(ctx context.Context, resourceGroupName string, name string) (result String, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7684,9 +7833,10 @@ func (client AppsClient) GetFunctionsAdminTokenResponder(resp *http.Response) (r } // GetFunctionsAdminTokenSlot fetch a short lived token that can be exchanged for a master key. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) GetFunctionsAdminTokenSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result String, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7760,9 +7910,10 @@ func (client AppsClient) GetFunctionsAdminTokenSlotResponder(resp *http.Response } // GetHostNameBinding get the named hostname binding for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. hostName -// is hostname in the hostname binding. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// hostName - hostname in the hostname binding. func (client AppsClient) GetHostNameBinding(ctx context.Context, resourceGroupName string, name string, hostName string) (result HostNameBinding, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7836,10 +7987,12 @@ func (client AppsClient) GetHostNameBindingResponder(resp *http.Response) (resul } // GetHostNameBindingSlot get the named hostname binding for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. -// hostName is hostname in the hostname binding. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API the named binding for the production +// slot. +// hostName - hostname in the hostname binding. func (client AppsClient) GetHostNameBindingSlot(ctx context.Context, resourceGroupName string, name string, slot string, hostName string) (result HostNameBinding, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7914,10 +8067,11 @@ func (client AppsClient) GetHostNameBindingSlotResponder(resp *http.Response) (r } // GetHybridConnection retrieves a specific Service Bus Hybrid Connection used by this Web App. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. func (client AppsClient) GetHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -7992,10 +8146,12 @@ func (client AppsClient) GetHybridConnectionResponder(resp *http.Response) (resu } // GetHybridConnectionSlot retrieves a specific Service Bus Hybrid Connection used by this Web App. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. slot is the name of the slot for the web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. +// slot - the name of the slot for the web app. func (client AppsClient) GetHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8071,10 +8227,12 @@ func (client AppsClient) GetHybridConnectionSlotResponder(resp *http.Response) ( } // GetInstanceFunctionSlot get function information by its ID for web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) GetInstanceFunctionSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (result FunctionEnvelope, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8149,9 +8307,10 @@ func (client AppsClient) GetInstanceFunctionSlotResponder(resp *http.Response) ( } // GetInstanceMSDeployLog get the MSDeploy Log for the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// instanceID is ID of web app instance. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// instanceID - ID of web app instance. func (client AppsClient) GetInstanceMSDeployLog(ctx context.Context, resourceGroupName string, name string, instanceID string) (result MSDeployLog, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8225,10 +8384,11 @@ func (client AppsClient) GetInstanceMSDeployLogResponder(resp *http.Response) (r } // GetInstanceMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. instanceID is ID of web app -// instance. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. +// instanceID - ID of web app instance. func (client AppsClient) GetInstanceMSDeployLogSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (result MSDeployLog, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8303,9 +8463,10 @@ func (client AppsClient) GetInstanceMSDeployLogSlotResponder(resp *http.Response } // GetInstanceMsDeployStatus get the status of the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// instanceID is ID of web app instance. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// instanceID - ID of web app instance. func (client AppsClient) GetInstanceMsDeployStatus(ctx context.Context, resourceGroupName string, name string, instanceID string) (result MSDeployStatus, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8379,10 +8540,11 @@ func (client AppsClient) GetInstanceMsDeployStatusResponder(resp *http.Response) } // GetInstanceMsDeployStatusSlot get the status of the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. instanceID is ID of web app -// instance. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. +// instanceID - ID of web app instance. func (client AppsClient) GetInstanceMsDeployStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (result MSDeployStatus, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8457,9 +8619,11 @@ func (client AppsClient) GetInstanceMsDeployStatusSlotResponder(resp *http.Respo } // GetInstanceProcess get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. instanceID is ID of a specific scaled-out instance. This is the value of the name property in the JSON +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON // response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcess(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessInfo, err error) { if err := validation.Validate([]validation.Validation{ @@ -8535,9 +8699,11 @@ func (client AppsClient) GetInstanceProcessResponder(resp *http.Response) (resul } // GetInstanceProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. instanceID is ID of a specific scaled-out instance. This is the value of the name property in the JSON +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON // response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcessDump(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ @@ -8613,11 +8779,14 @@ func (client AppsClient) GetInstanceProcessDumpResponder(resp *http.Response) (r // GetInstanceProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web // site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the -// production slot. instanceID is ID of a specific scaled-out instance. This is the value of the name property in -// the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcessDumpSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8692,10 +8861,13 @@ func (client AppsClient) GetInstanceProcessDumpSlotResponder(resp *http.Response } // GetInstanceProcessModule get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. baseAddress is module base address. instanceID is ID of a specific scaled-out instance. This is the value -// of the name property in the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// baseAddress - module base address. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcessModule(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, instanceID string) (result ProcessModuleInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8771,11 +8943,15 @@ func (client AppsClient) GetInstanceProcessModuleResponder(resp *http.Response) } // GetInstanceProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. baseAddress is module base address. slot is name of the deployment slot. If a slot is not specified, the -// API returns deployments for the production slot. instanceID is ID of a specific scaled-out instance. This is the -// value of the name property in the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// baseAddress - module base address. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcessModuleSlot(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string, instanceID string) (result ProcessModuleInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8852,11 +9028,14 @@ func (client AppsClient) GetInstanceProcessModuleSlotResponder(resp *http.Respon } // GetInstanceProcessSlot get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the -// production slot. instanceID is ID of a specific scaled-out instance. This is the value of the name property in -// the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -8933,10 +9112,13 @@ func (client AppsClient) GetInstanceProcessSlotResponder(resp *http.Response) (r // GetInstanceProcessThread get thread information by Thread ID for a specific process, in a specific scaled-out // instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. threadID is tID. instanceID is ID of a specific scaled-out instance. This is the value of the name property -// in the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// threadID - tID. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcessThread(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, instanceID string) (result ProcessThreadInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9013,11 +9195,15 @@ func (client AppsClient) GetInstanceProcessThreadResponder(resp *http.Response) // GetInstanceProcessThreadSlot get thread information by Thread ID for a specific process, in a specific scaled-out // instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. threadID is tID. slot is name of the deployment slot. If a slot is not specified, the API returns -// deployments for the production slot. instanceID is ID of a specific scaled-out instance. This is the value of -// the name property in the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// threadID - tID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) GetInstanceProcessThreadSlot(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, slot string, instanceID string) (result ProcessThreadInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9095,8 +9281,9 @@ func (client AppsClient) GetInstanceProcessThreadSlotResponder(resp *http.Respon // GetMigrateMySQLStatus returns the status of MySql in app migration, if one is active, and whether or not MySql in // app is enabled -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) GetMigrateMySQLStatus(ctx context.Context, resourceGroupName string, name string) (result MigrateMySQLStatus, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9170,9 +9357,10 @@ func (client AppsClient) GetMigrateMySQLStatusResponder(resp *http.Response) (re // GetMigrateMySQLStatusSlot returns the status of MySql in app migration, if one is active, and whether or not MySql // in app is enabled -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of the deployment slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of the deployment slot. func (client AppsClient) GetMigrateMySQLStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result MigrateMySQLStatus, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9246,8 +9434,9 @@ func (client AppsClient) GetMigrateMySQLStatusSlotResponder(resp *http.Response) } // GetMSDeployLog get the MSDeploy Log for the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) GetMSDeployLog(ctx context.Context, resourceGroupName string, name string) (result MSDeployLog, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9320,9 +9509,10 @@ func (client AppsClient) GetMSDeployLogResponder(resp *http.Response) (result MS } // GetMSDeployLogSlot get the MSDeploy Log for the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) GetMSDeployLogSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result MSDeployLog, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9396,8 +9586,9 @@ func (client AppsClient) GetMSDeployLogSlotResponder(resp *http.Response) (resul } // GetMSDeployStatus get the status of the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) GetMSDeployStatus(ctx context.Context, resourceGroupName string, name string) (result MSDeployStatus, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9470,9 +9661,10 @@ func (client AppsClient) GetMSDeployStatusResponder(resp *http.Response) (result } // GetMSDeployStatusSlot get the status of the last MSDeploy operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) GetMSDeployStatusSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result MSDeployStatus, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9546,9 +9738,10 @@ func (client AppsClient) GetMSDeployStatusSlotResponder(resp *http.Response) (re } // GetPremierAddOn gets a named add-on of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// premierAddOnName is add-on name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// premierAddOnName - add-on name. func (client AppsClient) GetPremierAddOn(ctx context.Context, resourceGroupName string, name string, premierAddOnName string) (result PremierAddOn, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9622,10 +9815,12 @@ func (client AppsClient) GetPremierAddOnResponder(resp *http.Response) (result P } // GetPremierAddOnSlot gets a named add-on of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// premierAddOnName is add-on name. slot is name of the deployment slot. If a slot is not specified, the API will -// get the named add-on for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// premierAddOnName - add-on name. +// slot - name of the deployment slot. If a slot is not specified, the API will get the named add-on for the +// production slot. func (client AppsClient) GetPremierAddOnSlot(ctx context.Context, resourceGroupName string, name string, premierAddOnName string, slot string) (result PremierAddOn, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9700,9 +9895,10 @@ func (client AppsClient) GetPremierAddOnSlotResponder(resp *http.Response) (resu } // GetProcess get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. func (client AppsClient) GetProcess(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9776,9 +9972,10 @@ func (client AppsClient) GetProcessResponder(resp *http.Response) (result Proces } // GetProcessDump get a memory dump of a process by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. func (client AppsClient) GetProcessDump(ctx context.Context, resourceGroupName string, name string, processID string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -9851,9 +10048,11 @@ func (client AppsClient) GetProcessDumpResponder(resp *http.Response) (result Re } // GetProcessDumpSlot get a memory dump of a process by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the // production slot. func (client AppsClient) GetProcessDumpSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ @@ -9928,9 +10127,11 @@ func (client AppsClient) GetProcessDumpSlotResponder(resp *http.Response) (resul } // GetProcessModule get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. baseAddress is module base address. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// baseAddress - module base address. func (client AppsClient) GetProcessModule(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string) (result ProcessModuleInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10005,10 +10206,13 @@ func (client AppsClient) GetProcessModuleResponder(resp *http.Response) (result } // GetProcessModuleSlot get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. baseAddress is module base address. slot is name of the deployment slot. If a slot is not specified, the -// API returns deployments for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// baseAddress - module base address. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. func (client AppsClient) GetProcessModuleSlot(ctx context.Context, resourceGroupName string, name string, processID string, baseAddress string, slot string) (result ProcessModuleInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10084,9 +10288,11 @@ func (client AppsClient) GetProcessModuleSlotResponder(resp *http.Response) (res } // GetProcessSlot get process information by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the // production slot. func (client AppsClient) GetProcessSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessInfo, err error) { if err := validation.Validate([]validation.Validation{ @@ -10163,9 +10369,11 @@ func (client AppsClient) GetProcessSlotResponder(resp *http.Response) (result Pr // GetProcessThread get thread information by Thread ID for a specific process, in a specific scaled-out instance in a // web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. threadID is tID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// threadID - tID. func (client AppsClient) GetProcessThread(ctx context.Context, resourceGroupName string, name string, processID string, threadID string) (result ProcessThreadInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10241,10 +10449,13 @@ func (client AppsClient) GetProcessThreadResponder(resp *http.Response) (result // GetProcessThreadSlot get thread information by Thread ID for a specific process, in a specific scaled-out instance // in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. threadID is tID. slot is name of the deployment slot. If a slot is not specified, the API returns -// deployments for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// threadID - tID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. func (client AppsClient) GetProcessThreadSlot(ctx context.Context, resourceGroupName string, name string, processID string, threadID string, slot string) (result ProcessThreadInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10320,9 +10531,10 @@ func (client AppsClient) GetProcessThreadSlotResponder(resp *http.Response) (res } // GetPublicCertificate get the named public certificate for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// publicCertificateName is public certificate name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// publicCertificateName - public certificate name. func (client AppsClient) GetPublicCertificate(ctx context.Context, resourceGroupName string, name string, publicCertificateName string) (result PublicCertificate, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10396,10 +10608,12 @@ func (client AppsClient) GetPublicCertificateResponder(resp *http.Response) (res } // GetPublicCertificateSlot get the named public certificate for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. -// publicCertificateName is public certificate name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API the named binding for the production +// slot. +// publicCertificateName - public certificate name. func (client AppsClient) GetPublicCertificateSlot(ctx context.Context, resourceGroupName string, name string, slot string, publicCertificateName string) (result PublicCertificate, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10474,9 +10688,10 @@ func (client AppsClient) GetPublicCertificateSlotResponder(resp *http.Response) } // GetRelayServiceConnection gets a hybrid connection configuration by its name. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection. func (client AppsClient) GetRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10550,10 +10765,12 @@ func (client AppsClient) GetRelayServiceConnectionResponder(resp *http.Response) } // GetRelayServiceConnectionSlot gets a hybrid connection configuration by its name. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection. slot is name of the deployment slot. If a slot is not specified, -// the API will get a hybrid connection for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection. +// slot - name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the +// production slot. func (client AppsClient) GetRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, slot string) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10628,9 +10845,10 @@ func (client AppsClient) GetRelayServiceConnectionSlotResponder(resp *http.Respo } // GetSiteExtension get site extension information by its ID for a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. -// siteExtensionID is site extension name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// siteExtensionID - site extension name. func (client AppsClient) GetSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (result SiteExtensionInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10704,10 +10922,12 @@ func (client AppsClient) GetSiteExtensionResponder(resp *http.Response) (result } // GetSiteExtensionSlot get site extension information by its ID for a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. -// siteExtensionID is site extension name. slot is name of the deployment slot. If a slot is not specified, the API -// deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// siteExtensionID - site extension name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) GetSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (result SiteExtensionInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10782,8 +11002,9 @@ func (client AppsClient) GetSiteExtensionSlotResponder(resp *http.Response) (res } // GetSitePhpErrorLogFlag gets web app's event logs. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) GetSitePhpErrorLogFlag(ctx context.Context, resourceGroupName string, name string) (result SitePhpErrorLogFlag, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10856,9 +11077,10 @@ func (client AppsClient) GetSitePhpErrorLogFlagResponder(resp *http.Response) (r } // GetSitePhpErrorLogFlagSlot gets web app's event logs. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) GetSitePhpErrorLogFlagSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SitePhpErrorLogFlag, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -10932,9 +11154,10 @@ func (client AppsClient) GetSitePhpErrorLogFlagSlotResponder(resp *http.Response } // GetSlot gets the details of a web, mobile, or API app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. By default, this API returns the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. By default, this API returns the production slot. func (client AppsClient) GetSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result Site, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11008,8 +11231,9 @@ func (client AppsClient) GetSlotResponder(resp *http.Response) (result Site, err } // GetSourceControl gets the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) GetSourceControl(ctx context.Context, resourceGroupName string, name string) (result SiteSourceControl, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11082,10 +11306,11 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result } // GetSourceControlSlot gets the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the source control configuration for -// the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the source control +// configuration for the production slot. func (client AppsClient) GetSourceControlSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteSourceControl, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11159,9 +11384,10 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res } // GetTriggeredWebJob gets a triggered web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) GetTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result TriggeredWebJob, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11235,9 +11461,11 @@ func (client AppsClient) GetTriggeredWebJobResponder(resp *http.Response) (resul } // GetTriggeredWebJobHistory gets a triggered web job's history by its ID for an app, , or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. ID is history ID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// ID - history ID. func (client AppsClient) GetTriggeredWebJobHistory(ctx context.Context, resourceGroupName string, name string, webJobName string, ID string) (result TriggeredJobHistory, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11312,10 +11540,13 @@ func (client AppsClient) GetTriggeredWebJobHistoryResponder(resp *http.Response) } // GetTriggeredWebJobHistorySlot gets a triggered web job's history by its ID for an app, , or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. ID is history ID. slot is name of the deployment slot. If a slot is not specified, the API -// deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// ID - history ID. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) GetTriggeredWebJobHistorySlot(ctx context.Context, resourceGroupName string, name string, webJobName string, ID string, slot string) (result TriggeredJobHistory, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11391,10 +11622,12 @@ func (client AppsClient) GetTriggeredWebJobHistorySlotResponder(resp *http.Respo } // GetTriggeredWebJobSlot gets a triggered web job by its ID for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) GetTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result TriggeredWebJob, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11469,9 +11702,10 @@ func (client AppsClient) GetTriggeredWebJobSlotResponder(resp *http.Response) (r } // GetVnetConnection gets a virtual network the app (or deployment slot) is connected to by name. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the virtual network. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the virtual network. func (client AppsClient) GetVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string) (result VnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11545,10 +11779,11 @@ func (client AppsClient) GetVnetConnectionResponder(resp *http.Response) (result } // GetVnetConnectionGateway gets an app's Virtual Network gateway. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the Virtual Network. gatewayName is name of the gateway. Currently, the only supported string is -// "primary". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Currently, the only supported string is "primary". func (client AppsClient) GetVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11623,10 +11858,12 @@ func (client AppsClient) GetVnetConnectionGatewayResponder(resp *http.Response) } // GetVnetConnectionGatewaySlot gets an app's Virtual Network gateway. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the Virtual Network. gatewayName is name of the gateway. Currently, the only supported string is -// "primary". slot is name of the deployment slot. If a slot is not specified, the API will get a gateway for the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Currently, the only supported string is "primary". +// slot - name of the deployment slot. If a slot is not specified, the API will get a gateway for the // production slot's Virtual Network. func (client AppsClient) GetVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, slot string) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ @@ -11703,10 +11940,12 @@ func (client AppsClient) GetVnetConnectionGatewaySlotResponder(resp *http.Respon } // GetVnetConnectionSlot gets a virtual network the app (or deployment slot) is connected to by name. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the virtual network. slot is name of the deployment slot. If a slot is not specified, the API will -// get the named virtual network for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the virtual network. +// slot - name of the deployment slot. If a slot is not specified, the API will get the named virtual network +// for the production slot. func (client AppsClient) GetVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, slot string) (result VnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11781,9 +12020,10 @@ func (client AppsClient) GetVnetConnectionSlotResponder(resp *http.Response) (re } // GetWebJob get webjob information for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of the web job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of the web job. func (client AppsClient) GetWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result Job, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11857,10 +12097,12 @@ func (client AppsClient) GetWebJobResponder(resp *http.Response) (result Job, er } // GetWebJobSlot get webjob information for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of the web job. slot is name of the deployment slot. If a slot is not specified, the API returns -// deployments for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of the web job. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. func (client AppsClient) GetWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result Job, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -11935,8 +12177,9 @@ func (client AppsClient) GetWebJobSlotResponder(resp *http.Response) (result Job } // GetWebSiteContainerLogs gets the last lines of docker logs for the given site -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) GetWebSiteContainerLogs(ctx context.Context, resourceGroupName string, name string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12008,9 +12251,10 @@ func (client AppsClient) GetWebSiteContainerLogsResponder(resp *http.Response) ( } // GetWebSiteContainerLogsSlot gets the last lines of docker logs for the given site -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) GetWebSiteContainerLogsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12083,8 +12327,9 @@ func (client AppsClient) GetWebSiteContainerLogsSlotResponder(resp *http.Respons } // GetWebSiteContainerLogsZip gets the ZIP archived docker log files for the given site -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) GetWebSiteContainerLogsZip(ctx context.Context, resourceGroupName string, name string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12156,9 +12401,10 @@ func (client AppsClient) GetWebSiteContainerLogsZipResponder(resp *http.Response } // GetWebSiteContainerLogsZipSlot gets the ZIP archived docker log files for the given site -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) GetWebSiteContainerLogsZipSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12231,9 +12477,10 @@ func (client AppsClient) GetWebSiteContainerLogsZipSlotResponder(resp *http.Resp } // InstallSiteExtension install site extension on a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. -// siteExtensionID is site extension name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// siteExtensionID - site extension name. func (client AppsClient) InstallSiteExtension(ctx context.Context, resourceGroupName string, name string, siteExtensionID string) (result AppsInstallSiteExtensionFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12309,10 +12556,12 @@ func (client AppsClient) InstallSiteExtensionResponder(resp *http.Response) (res } // InstallSiteExtensionSlot install site extension on a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. -// siteExtensionID is site extension name. slot is name of the deployment slot. If a slot is not specified, the API -// deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// siteExtensionID - site extension name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) InstallSiteExtensionSlot(ctx context.Context, resourceGroupName string, name string, siteExtensionID string, slot string) (result AppsInstallSiteExtensionSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12389,8 +12638,9 @@ func (client AppsClient) InstallSiteExtensionSlotResponder(resp *http.Response) } // IsCloneable shows whether an app can be cloned to another resource group or subscription. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) IsCloneable(ctx context.Context, resourceGroupName string, name string) (result SiteCloneability, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12463,9 +12713,10 @@ func (client AppsClient) IsCloneableResponder(resp *http.Response) (result SiteC } // IsCloneableSlot shows whether an app can be cloned to another resource group or subscription. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. By default, this API returns information on the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. By default, this API returns information on the production slot. func (client AppsClient) IsCloneableSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteCloneability, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12629,8 +12880,9 @@ func (client AppsClient) ListComplete(ctx context.Context) (result AppCollection } // ListApplicationSettings gets the application settings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListApplicationSettings(ctx context.Context, resourceGroupName string, name string) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12703,10 +12955,11 @@ func (client AppsClient) ListApplicationSettingsResponder(resp *http.Response) ( } // ListApplicationSettingsSlot gets the application settings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the application settings for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the application settings +// for the production slot. func (client AppsClient) ListApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12780,8 +13033,9 @@ func (client AppsClient) ListApplicationSettingsSlotResponder(resp *http.Respons } // ListBackups gets existing backups of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListBackups(ctx context.Context, resourceGroupName string, name string) (result BackupItemCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12882,9 +13136,11 @@ func (client AppsClient) ListBackupsComplete(ctx context.Context, resourceGroupN } // ListBackupsSlot gets existing backups of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get backups of the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get backups of the production +// slot. func (client AppsClient) ListBackupsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result BackupItemCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -12988,9 +13244,11 @@ func (client AppsClient) ListBackupsSlotComplete(ctx context.Context, resourceGr // ListBackupStatusSecrets gets status of a web app backup that may be in progress, including secrets associated with // the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is // passed in the request body. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. backupID -// is ID of backup. request is information on backup request. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// backupID - ID of backup. +// request - information on backup request. func (client AppsClient) ListBackupStatusSecrets(ctx context.Context, resourceGroupName string, name string, backupID string, request BackupRequest) (result BackupItem, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13078,10 +13336,12 @@ func (client AppsClient) ListBackupStatusSecretsResponder(resp *http.Response) ( // ListBackupStatusSecretsSlot gets status of a web app backup that may be in progress, including secrets associated // with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new // URL is passed in the request body. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. backupID -// is ID of backup. request is information on backup request. slot is name of web app slot. If not specified then -// will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// backupID - ID of backup. +// request - information on backup request. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) ListBackupStatusSecretsSlot(ctx context.Context, resourceGroupName string, name string, backupID string, request BackupRequest, slot string) (result BackupItem, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13168,10 +13428,10 @@ func (client AppsClient) ListBackupStatusSecretsSlotResponder(resp *http.Respons } // ListByResourceGroup gets all web, mobile, and API apps in the specified resource group. -// -// resourceGroupName is name of the resource group to which the resource belongs. includeSlots is specify -// true to include deployment slots in results. The default is false, which only gives you the -// production slot of all apps. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// includeSlots - specify true to include deployment slots in results. The default is false, +// which only gives you the production slot of all apps. func (client AppsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, includeSlots *bool) (result AppCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13274,8 +13534,9 @@ func (client AppsClient) ListByResourceGroupComplete(ctx context.Context, resour } // ListConfigurations list the configurations of an app -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListConfigurations(ctx context.Context, resourceGroupName string, name string) (result SiteConfigResourceCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13377,8 +13638,9 @@ func (client AppsClient) ListConfigurationsComplete(ctx context.Context, resourc // ListConfigurationSnapshotInfo gets a list of web app configuration snapshots identifiers. Each element of the list // contains a timestamp and the ID of the snapshot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListConfigurationSnapshotInfo(ctx context.Context, resourceGroupName string, name string) (result SiteConfigurationSnapshotInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13480,10 +13742,11 @@ func (client AppsClient) ListConfigurationSnapshotInfoComplete(ctx context.Conte // ListConfigurationSnapshotInfoSlot gets a list of web app configuration snapshots identifiers. Each element of the // list contains a timestamp and the ID of the snapshot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will return configuration for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the +// production slot. func (client AppsClient) ListConfigurationSnapshotInfoSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigurationSnapshotInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13585,10 +13848,11 @@ func (client AppsClient) ListConfigurationSnapshotInfoSlotComplete(ctx context.C } // ListConfigurationsSlot list the configurations of an app -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will return configuration for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the +// production slot. func (client AppsClient) ListConfigurationsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteConfigResourceCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13690,8 +13954,9 @@ func (client AppsClient) ListConfigurationsSlotComplete(ctx context.Context, res } // ListConnectionStrings gets the connection strings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListConnectionStrings(ctx context.Context, resourceGroupName string, name string) (result ConnectionStringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13764,10 +14029,11 @@ func (client AppsClient) ListConnectionStringsResponder(resp *http.Response) (re } // ListConnectionStringsSlot gets the connection strings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the connection settings for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the connection settings for +// the production slot. func (client AppsClient) ListConnectionStringsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ConnectionStringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13841,8 +14107,9 @@ func (client AppsClient) ListConnectionStringsSlotResponder(resp *http.Response) } // ListContinuousWebJobs list continuous web jobs for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. func (client AppsClient) ListContinuousWebJobs(ctx context.Context, resourceGroupName string, name string) (result ContinuousWebJobCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -13943,9 +14210,11 @@ func (client AppsClient) ListContinuousWebJobsComplete(ctx context.Context, reso } // ListContinuousWebJobsSlot list continuous web jobs for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. slot is name -// of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) ListContinuousWebJobsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ContinuousWebJobCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14047,9 +14316,10 @@ func (client AppsClient) ListContinuousWebJobsSlotComplete(ctx context.Context, } // ListDeploymentLog list deployment log for specific deployment for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is -// the ID of a specific deployment. This is the value of the name property in the JSON response from "GET +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - the ID of a specific deployment. This is the value of the name property in the JSON response from "GET // /api/sites/{siteName}/deployments". func (client AppsClient) ListDeploymentLog(ctx context.Context, resourceGroupName string, name string, ID string) (result Deployment, err error) { if err := validation.Validate([]validation.Validation{ @@ -14124,11 +14394,13 @@ func (client AppsClient) ListDeploymentLogResponder(resp *http.Response) (result } // ListDeploymentLogSlot list deployment log for specific deployment for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. ID is -// the ID of a specific deployment. This is the value of the name property in the JSON response from "GET -// /api/sites/{siteName}/deployments". slot is name of the deployment slot. If a slot is not specified, the API -// returns deployments for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// ID - the ID of a specific deployment. This is the value of the name property in the JSON response from "GET +// /api/sites/{siteName}/deployments". +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. func (client AppsClient) ListDeploymentLogSlot(ctx context.Context, resourceGroupName string, name string, ID string, slot string) (result Deployment, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14203,8 +14475,9 @@ func (client AppsClient) ListDeploymentLogSlotResponder(resp *http.Response) (re } // ListDeployments list deployments for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListDeployments(ctx context.Context, resourceGroupName string, name string) (result DeploymentCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14305,9 +14578,11 @@ func (client AppsClient) ListDeploymentsComplete(ctx context.Context, resourceGr } // ListDeploymentsSlot list deployments for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. func (client AppsClient) ListDeploymentsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result DeploymentCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14409,8 +14684,9 @@ func (client AppsClient) ListDeploymentsSlotComplete(ctx context.Context, resour } // ListDomainOwnershipIdentifiers lists ownership identifiers for domain associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListDomainOwnershipIdentifiers(ctx context.Context, resourceGroupName string, name string) (result IdentifierCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14511,10 +14787,11 @@ func (client AppsClient) ListDomainOwnershipIdentifiersComplete(ctx context.Cont } // ListDomainOwnershipIdentifiersSlot lists ownership identifiers for domain associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will delete the binding for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the +// production slot. func (client AppsClient) ListDomainOwnershipIdentifiersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result IdentifierCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14616,8 +14893,9 @@ func (client AppsClient) ListDomainOwnershipIdentifiersSlotComplete(ctx context. } // ListFunctions list the functions for a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. func (client AppsClient) ListFunctions(ctx context.Context, resourceGroupName string, name string) (result FunctionEnvelopeCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14718,9 +14996,10 @@ func (client AppsClient) ListFunctionsComplete(ctx context.Context, resourceGrou } // ListFunctionSecrets get function secrets for a function in a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. func (client AppsClient) ListFunctionSecrets(ctx context.Context, resourceGroupName string, name string, functionName string) (result FunctionSecrets, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14794,10 +15073,12 @@ func (client AppsClient) ListFunctionSecretsResponder(resp *http.Response) (resu } // ListFunctionSecretsSlot get function secrets for a function in a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. functionName -// is function name. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// functionName - function name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) ListFunctionSecretsSlot(ctx context.Context, resourceGroupName string, name string, functionName string, slot string) (result FunctionSecrets, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14872,8 +15153,9 @@ func (client AppsClient) ListFunctionSecretsSlotResponder(resp *http.Response) ( } // ListHostNameBindings get hostname bindings for an app or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListHostNameBindings(ctx context.Context, resourceGroupName string, name string) (result HostNameBindingCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -14974,9 +15256,11 @@ func (client AppsClient) ListHostNameBindingsComplete(ctx context.Context, resou } // ListHostNameBindingsSlot get hostname bindings for an app or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the +// production slot. func (client AppsClient) ListHostNameBindingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result HostNameBindingCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15078,10 +15362,11 @@ func (client AppsClient) ListHostNameBindingsSlotComplete(ctx context.Context, r } // ListHybridConnectionKeys gets the send key name and value for a Hybrid Connection. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. func (client AppsClient) ListHybridConnectionKeys(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnectionKey, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15156,10 +15441,12 @@ func (client AppsClient) ListHybridConnectionKeysResponder(resp *http.Response) } // ListHybridConnectionKeysSlot gets the send key name and value for a Hybrid Connection. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. slot is the name of the slot for the web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. +// slot - the name of the slot for the web app. func (client AppsClient) ListHybridConnectionKeysSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, slot string) (result HybridConnectionKey, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15235,8 +15522,9 @@ func (client AppsClient) ListHybridConnectionKeysSlotResponder(resp *http.Respon } // ListHybridConnections retrieves all Service Bus Hybrid Connections used by this Web App. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. func (client AppsClient) ListHybridConnections(ctx context.Context, resourceGroupName string, name string) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15309,9 +15597,10 @@ func (client AppsClient) ListHybridConnectionsResponder(resp *http.Response) (re } // ListHybridConnectionsSlot retrieves all Service Bus Hybrid Connections used by this Web App. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// slot is the name of the slot for the web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// slot - the name of the slot for the web app. func (client AppsClient) ListHybridConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15385,9 +15674,11 @@ func (client AppsClient) ListHybridConnectionsSlotResponder(resp *http.Response) } // ListInstanceFunctionsSlot list the functions for a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. slot is name -// of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) ListInstanceFunctionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result FunctionEnvelopeCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15489,8 +15780,9 @@ func (client AppsClient) ListInstanceFunctionsSlotComplete(ctx context.Context, } // ListInstanceIdentifiers gets all scale-out instances of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListInstanceIdentifiers(ctx context.Context, resourceGroupName string, name string) (result AppInstanceCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15591,9 +15883,10 @@ func (client AppsClient) ListInstanceIdentifiersComplete(ctx context.Context, re } // ListInstanceIdentifiersSlot gets all scale-out instances of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API gets the production slot instances. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API gets the production slot instances. func (client AppsClient) ListInstanceIdentifiersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result AppInstanceCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15696,10 +15989,11 @@ func (client AppsClient) ListInstanceIdentifiersSlotComplete(ctx context.Context // ListInstanceProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out // instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. instanceID is -// ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET -// api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) ListInstanceProcesses(ctx context.Context, resourceGroupName string, name string, instanceID string) (result ProcessInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15802,11 +16096,13 @@ func (client AppsClient) ListInstanceProcessesComplete(ctx context.Context, reso // ListInstanceProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out // instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. slot is name -// of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. -// instanceID is ID of a specific scaled-out instance. This is the value of the name property in the JSON response -// from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) ListInstanceProcessesSlot(ctx context.Context, resourceGroupName string, name string, slot string, instanceID string) (result ProcessInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -15910,9 +16206,11 @@ func (client AppsClient) ListInstanceProcessesSlotComplete(ctx context.Context, // ListInstanceProcessModules list module information for a process by its ID for a specific scaled-out instance in a // web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. instanceID is ID of a specific scaled-out instance. This is the value of the name property in the JSON +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON // response from "GET api/sites/{siteName}/instances". func (client AppsClient) ListInstanceProcessModules(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessModuleInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ @@ -16017,11 +16315,14 @@ func (client AppsClient) ListInstanceProcessModulesComplete(ctx context.Context, // ListInstanceProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in // a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the -// production slot. instanceID is ID of a specific scaled-out instance. This is the value of the name property in -// the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) ListInstanceProcessModulesSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessModuleInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16125,9 +16426,11 @@ func (client AppsClient) ListInstanceProcessModulesSlotComplete(ctx context.Cont } // ListInstanceProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. instanceID is ID of a specific scaled-out instance. This is the value of the name property in the JSON +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON // response from "GET api/sites/{siteName}/instances". func (client AppsClient) ListInstanceProcessThreads(ctx context.Context, resourceGroupName string, name string, processID string, instanceID string) (result ProcessThreadInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ @@ -16232,11 +16535,14 @@ func (client AppsClient) ListInstanceProcessThreadsComplete(ctx context.Context, // ListInstanceProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web // site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the -// production slot. instanceID is ID of a specific scaled-out instance. This is the value of the name property in -// the JSON response from "GET api/sites/{siteName}/instances". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. +// instanceID - ID of a specific scaled-out instance. This is the value of the name property in the JSON +// response from "GET api/sites/{siteName}/instances". func (client AppsClient) ListInstanceProcessThreadsSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string, instanceID string) (result ProcessThreadInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16340,8 +16646,9 @@ func (client AppsClient) ListInstanceProcessThreadsSlotComplete(ctx context.Cont } // ListMetadata gets the metadata of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListMetadata(ctx context.Context, resourceGroupName string, name string) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16414,9 +16721,11 @@ func (client AppsClient) ListMetadataResponder(resp *http.Response) (result Stri } // ListMetadataSlot gets the metadata of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the metadata for the +// production slot. func (client AppsClient) ListMetadataSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16490,8 +16799,9 @@ func (client AppsClient) ListMetadataSlotResponder(resp *http.Response) (result } // ListMetricDefinitions gets all metric definitions of an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16592,10 +16902,11 @@ func (client AppsClient) ListMetricDefinitionsComplete(ctx context.Context, reso } // ListMetricDefinitionsSlot gets all metric definitions of an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get metric definitions of the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get metric definitions of the +// production slot. func (client AppsClient) ListMetricDefinitionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceMetricDefinitionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16697,12 +17008,13 @@ func (client AppsClient) ListMetricDefinitionsSlotComplete(ctx context.Context, } // ListMetrics gets performance metrics of an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. details -// is specify "true" to include metric details in the response. It is "false" by default. filter is return only -// metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or -// name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and -// timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// details - specify "true" to include metric details in the response. It is "false" by default. +// filter - return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value +// eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq +// '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppsClient) ListMetrics(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16809,13 +17121,15 @@ func (client AppsClient) ListMetricsComplete(ctx context.Context, resourceGroupN } // ListMetricsSlot gets performance metrics of an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. -// details is specify "true" to include metric details in the response. It is "false" by default. filter is return -// only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or -// name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and -// timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get metrics of the production +// slot. +// details - specify "true" to include metric details in the response. It is "false" by default. +// filter - return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value +// eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq +// '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppsClient) ListMetricsSlot(ctx context.Context, resourceGroupName string, name string, slot string, details *bool, filter string) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16923,9 +17237,10 @@ func (client AppsClient) ListMetricsSlotComplete(ctx context.Context, resourceGr } // ListNetworkFeatures gets all network features used by the app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. view is -// the type of view. This can either be "summary" or "detailed". +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// view - the type of view. This can either be "summary" or "detailed". func (client AppsClient) ListNetworkFeatures(ctx context.Context, resourceGroupName string, name string, view string) (result NetworkFeatures, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -16999,10 +17314,12 @@ func (client AppsClient) ListNetworkFeaturesResponder(resp *http.Response) (resu } // ListNetworkFeaturesSlot gets all network features used by the app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. view is -// the type of view. This can either be "summary" or "detailed". slot is name of the deployment slot. If a slot is -// not specified, the API will get network features for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// view - the type of view. This can either be "summary" or "detailed". +// slot - name of the deployment slot. If a slot is not specified, the API will get network features for the +// production slot. func (client AppsClient) ListNetworkFeaturesSlot(ctx context.Context, resourceGroupName string, name string, view string, slot string) (result NetworkFeatures, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17077,9 +17394,10 @@ func (client AppsClient) ListNetworkFeaturesSlotResponder(resp *http.Response) ( } // ListPerfMonCounters gets perfmon counters for web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. filter -// is return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: // $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq // duration'[Hour|Minute|Day]'. func (client AppsClient) ListPerfMonCounters(ctx context.Context, resourceGroupName string, name string, filter string) (result PerfMonCounterCollectionPage, err error) { @@ -17185,11 +17503,13 @@ func (client AppsClient) ListPerfMonCountersComplete(ctx context.Context, resour } // ListPerfMonCountersSlot gets perfmon counters for web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. filter is return only -// usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq -// '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq +// duration'[Hour|Minute|Day]'. func (client AppsClient) ListPerfMonCountersSlot(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (result PerfMonCounterCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17294,8 +17614,9 @@ func (client AppsClient) ListPerfMonCountersSlotComplete(ctx context.Context, re } // ListPremierAddOns gets the premier add-ons of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListPremierAddOns(ctx context.Context, resourceGroupName string, name string) (result PremierAddOn, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17368,10 +17689,11 @@ func (client AppsClient) ListPremierAddOnsResponder(resp *http.Response) (result } // ListPremierAddOnsSlot gets the premier add-ons of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the +// production slot. func (client AppsClient) ListPremierAddOnsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result PremierAddOn, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17446,8 +17768,9 @@ func (client AppsClient) ListPremierAddOnsSlotResponder(resp *http.Response) (re // ListProcesses get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a // web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. func (client AppsClient) ListProcesses(ctx context.Context, resourceGroupName string, name string) (result ProcessInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17549,9 +17872,11 @@ func (client AppsClient) ListProcessesComplete(ctx context.Context, resourceGrou // ListProcessesSlot get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance // in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. slot is name -// of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. func (client AppsClient) ListProcessesSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ProcessInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17653,9 +17978,10 @@ func (client AppsClient) ListProcessesSlotComplete(ctx context.Context, resource } // ListProcessModules list module information for a process by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. func (client AppsClient) ListProcessModules(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessModuleInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17758,9 +18084,11 @@ func (client AppsClient) ListProcessModulesComplete(ctx context.Context, resourc // ListProcessModulesSlot list module information for a process by its ID for a specific scaled-out instance in a web // site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the // production slot. func (client AppsClient) ListProcessModulesSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessModuleInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ @@ -17864,9 +18192,10 @@ func (client AppsClient) ListProcessModulesSlotComplete(ctx context.Context, res } // ListProcessThreads list the threads in a process by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. func (client AppsClient) ListProcessThreads(ctx context.Context, resourceGroupName string, name string, processID string) (result ProcessThreadInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -17968,9 +18297,11 @@ func (client AppsClient) ListProcessThreadsComplete(ctx context.Context, resourc } // ListProcessThreadsSlot list the threads in a process by its ID for a specific scaled-out instance in a web site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. processID is -// pID. slot is name of the deployment slot. If a slot is not specified, the API returns deployments for the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// processID - pID. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the // production slot. func (client AppsClient) ListProcessThreadsSlot(ctx context.Context, resourceGroupName string, name string, processID string, slot string) (result ProcessThreadInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ @@ -18074,8 +18405,9 @@ func (client AppsClient) ListProcessThreadsSlotComplete(ctx context.Context, res } // ListPublicCertificates get public certificates for an app or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListPublicCertificates(ctx context.Context, resourceGroupName string, name string) (result PublicCertificateCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18176,9 +18508,11 @@ func (client AppsClient) ListPublicCertificatesComplete(ctx context.Context, res } // ListPublicCertificatesSlot get public certificates for an app or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the +// production slot. func (client AppsClient) ListPublicCertificatesSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result PublicCertificateCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18280,8 +18614,9 @@ func (client AppsClient) ListPublicCertificatesSlotComplete(ctx context.Context, } // ListPublishingCredentials gets the Git/FTP publishing credentials of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListPublishingCredentials(ctx context.Context, resourceGroupName string, name string) (result AppsListPublishingCredentialsFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18356,10 +18691,11 @@ func (client AppsClient) ListPublishingCredentialsResponder(resp *http.Response) } // ListPublishingCredentialsSlot gets the Git/FTP publishing credentials of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get the publishing credentials +// for the production slot. func (client AppsClient) ListPublishingCredentialsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result AppsListPublishingCredentialsSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18435,9 +18771,10 @@ func (client AppsClient) ListPublishingCredentialsSlotResponder(resp *http.Respo } // ListPublishingProfileXMLWithSecrets gets the publishing profile for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// publishingProfileOptions is specifies publishingProfileOptions for publishing profile. For example, use +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// publishingProfileOptions - specifies publishingProfileOptions for publishing profile. For example, use // {"format": "FileZilla3"} to get a FileZilla publishing profile. func (client AppsClient) ListPublishingProfileXMLWithSecrets(ctx context.Context, resourceGroupName string, name string, publishingProfileOptions CsmPublishingProfileOptions) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ @@ -18512,11 +18849,13 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsResponder(resp *http } // ListPublishingProfileXMLWithSecretsSlot gets the publishing profile for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// publishingProfileOptions is specifies publishingProfileOptions for publishing profile. For example, use -// {"format": "FileZilla3"} to get a FileZilla publishing profile. slot is name of the deployment slot. If a slot -// is not specified, the API will get the publishing profile for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// publishingProfileOptions - specifies publishingProfileOptions for publishing profile. For example, use +// {"format": "FileZilla3"} to get a FileZilla publishing profile. +// slot - name of the deployment slot. If a slot is not specified, the API will get the publishing profile for +// the production slot. func (client AppsClient) ListPublishingProfileXMLWithSecretsSlot(ctx context.Context, resourceGroupName string, name string, publishingProfileOptions CsmPublishingProfileOptions, slot string) (result ReadCloser, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18591,8 +18930,9 @@ func (client AppsClient) ListPublishingProfileXMLWithSecretsSlotResponder(resp * } // ListRelayServiceConnections gets hybrid connections configured for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListRelayServiceConnections(ctx context.Context, resourceGroupName string, name string) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18665,10 +19005,11 @@ func (client AppsClient) ListRelayServiceConnectionsResponder(resp *http.Respons } // ListRelayServiceConnectionsSlot gets hybrid connections configured for an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the +// production slot. func (client AppsClient) ListRelayServiceConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18742,8 +19083,9 @@ func (client AppsClient) ListRelayServiceConnectionsSlotResponder(resp *http.Res } // ListSiteExtensions get list of siteextensions for a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. func (client AppsClient) ListSiteExtensions(ctx context.Context, resourceGroupName string, name string) (result SiteExtensionInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18844,9 +19186,11 @@ func (client AppsClient) ListSiteExtensionsComplete(ctx context.Context, resourc } // ListSiteExtensionsSlot get list of siteextensions for a web site, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. slot is name -// of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) ListSiteExtensionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SiteExtensionInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -18948,8 +19292,9 @@ func (client AppsClient) ListSiteExtensionsSlotComplete(ctx context.Context, res } // ListSitePushSettings gets the Push settings associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) ListSitePushSettings(ctx context.Context, resourceGroupName string, name string) (result PushSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19022,9 +19367,10 @@ func (client AppsClient) ListSitePushSettingsResponder(resp *http.Response) (res } // ListSitePushSettingsSlot gets the Push settings associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) ListSitePushSettingsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result PushSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19099,8 +19445,9 @@ func (client AppsClient) ListSitePushSettingsSlotResponder(resp *http.Response) // ListSlotConfigurationNames gets the names of app settings and connection strings that stick to the slot (not // swapped). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListSlotConfigurationNames(ctx context.Context, resourceGroupName string, name string) (result SlotConfigNamesResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19173,9 +19520,10 @@ func (client AppsClient) ListSlotConfigurationNamesResponder(resp *http.Response } // ListSlotDifferencesFromProduction get the difference in configuration settings between two web app slots. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// slotSwapEntity is JSON object that contains the target slot name. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slotSwapEntity - JSON object that contains the target slot name. See example. func (client AppsClient) ListSlotDifferencesFromProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (result SlotDifferenceCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19281,10 +19629,11 @@ func (client AppsClient) ListSlotDifferencesFromProductionComplete(ctx context.C } // ListSlotDifferencesSlot get the difference in configuration settings between two web app slots. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// slotSwapEntity is JSON object that contains the target slot name. See example. slot is name of the source slot. -// If a slot is not specified, the production slot is used as the source slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slotSwapEntity - JSON object that contains the target slot name. See example. +// slot - name of the source slot. If a slot is not specified, the production slot is used as the source slot. func (client AppsClient) ListSlotDifferencesSlot(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (result SlotDifferenceCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19391,8 +19740,9 @@ func (client AppsClient) ListSlotDifferencesSlotComplete(ctx context.Context, re } // ListSlots gets an app's deployment slots. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListSlots(ctx context.Context, resourceGroupName string, name string) (result AppCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19493,8 +19843,9 @@ func (client AppsClient) ListSlotsComplete(ctx context.Context, resourceGroupNam } // ListSnapshots returns all Snapshots to the user. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is website Name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - website Name. func (client AppsClient) ListSnapshots(ctx context.Context, resourceGroupName string, name string) (result SnapshotCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19595,9 +19946,10 @@ func (client AppsClient) ListSnapshotsComplete(ctx context.Context, resourceGrou } // ListSnapshotsSlot returns all Snapshots to the user. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is website Name. slot is -// website Slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - website Name. +// slot - website Slot. func (client AppsClient) ListSnapshotsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result SnapshotCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19699,8 +20051,9 @@ func (client AppsClient) ListSnapshotsSlotComplete(ctx context.Context, resource } // ListSyncFunctionTriggers this is to allow calling via powershell and ARM template. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListSyncFunctionTriggers(ctx context.Context, resourceGroupName string, name string) (result FunctionSecrets, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19773,9 +20126,11 @@ func (client AppsClient) ListSyncFunctionTriggersResponder(resp *http.Response) } // ListSyncFunctionTriggersSlot this is to allow calling via powershell and ARM template. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will restore a backup of the +// production slot. func (client AppsClient) ListSyncFunctionTriggersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result FunctionSecrets, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19849,9 +20204,10 @@ func (client AppsClient) ListSyncFunctionTriggersSlotResponder(resp *http.Respon } // ListTriggeredWebJobHistory list a triggered web job's history for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) ListTriggeredWebJobHistory(ctx context.Context, resourceGroupName string, name string, webJobName string) (result TriggeredJobHistoryCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -19953,10 +20309,12 @@ func (client AppsClient) ListTriggeredWebJobHistoryComplete(ctx context.Context, } // ListTriggeredWebJobHistorySlot list a triggered web job's history for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) ListTriggeredWebJobHistorySlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result TriggeredJobHistoryCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20059,8 +20417,9 @@ func (client AppsClient) ListTriggeredWebJobHistorySlotComplete(ctx context.Cont } // ListTriggeredWebJobs list triggered web jobs for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. func (client AppsClient) ListTriggeredWebJobs(ctx context.Context, resourceGroupName string, name string) (result TriggeredWebJobCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20161,9 +20520,11 @@ func (client AppsClient) ListTriggeredWebJobsComplete(ctx context.Context, resou } // ListTriggeredWebJobsSlot list triggered web jobs for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. slot is name -// of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) ListTriggeredWebJobsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result TriggeredWebJobCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20265,11 +20626,12 @@ func (client AppsClient) ListTriggeredWebJobsSlotComplete(ctx context.Context, r } // ListUsages gets the quota usage information of an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. filter -// is return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq -// 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq -// '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// filter - return only information specified in the filter (using OData syntax). For example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppsClient) ListUsages(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20373,12 +20735,14 @@ func (client AppsClient) ListUsagesComplete(ctx context.Context, resourceGroupNa } // ListUsagesSlot gets the quota usage information of an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get quota information of the production -// slot. filter is return only information specified in the filter (using OData syntax). For example: -// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime -// eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get quota information of the +// production slot. +// filter - return only information specified in the filter (using OData syntax). For example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppsClient) ListUsagesSlot(ctx context.Context, resourceGroupName string, name string, slot string, filter string) (result CsmUsageQuotaCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20483,8 +20847,9 @@ func (client AppsClient) ListUsagesSlotComplete(ctx context.Context, resourceGro } // ListVnetConnections gets the virtual networks the app (or deployment slot) is connected to. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ListVnetConnections(ctx context.Context, resourceGroupName string, name string) (result ListVnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20557,10 +20922,11 @@ func (client AppsClient) ListVnetConnectionsResponder(resp *http.Response) (resu } // ListVnetConnectionsSlot gets the virtual networks the app (or deployment slot) is connected to. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will get virtual network connections for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will get virtual network connections +// for the production slot. func (client AppsClient) ListVnetConnectionsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ListVnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20634,8 +21000,9 @@ func (client AppsClient) ListVnetConnectionsSlotResponder(resp *http.Response) ( } // ListWebJobs list webjobs for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. func (client AppsClient) ListWebJobs(ctx context.Context, resourceGroupName string, name string) (result JobCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20736,9 +21103,11 @@ func (client AppsClient) ListWebJobsComplete(ctx context.Context, resourceGroupN } // ListWebJobsSlot list webjobs for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. slot is name -// of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// slot - name of the deployment slot. If a slot is not specified, the API returns deployments for the +// production slot. func (client AppsClient) ListWebJobsSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result JobCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20840,9 +21209,10 @@ func (client AppsClient) ListWebJobsSlotComplete(ctx context.Context, resourceGr } // MigrateMySQL migrates a local (in-app) MySql database to a remote MySql database. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// migrationRequestEnvelope is mySql migration options. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// migrationRequestEnvelope - mySql migration options. func (client AppsClient) MigrateMySQL(ctx context.Context, resourceGroupName string, name string, migrationRequestEnvelope MigrateMySQLRequest) (result AppsMigrateMySQLFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -20922,9 +21292,11 @@ func (client AppsClient) MigrateMySQLResponder(resp *http.Response) (result Oper } // MigrateStorage restores a web app. -// -// subscriptionName is azure subscription. resourceGroupName is name of the resource group to which the resource -// belongs. name is name of web app. migrationOptions is migration migrationOptions. +// Parameters: +// subscriptionName - azure subscription. +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// migrationOptions - migration migrationOptions. func (client AppsClient) MigrateStorage(ctx context.Context, subscriptionName string, resourceGroupName string, name string, migrationOptions StorageMigrationOptions) (result AppsMigrateStorageFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21007,9 +21379,10 @@ func (client AppsClient) MigrateStorageResponder(resp *http.Response) (result St } // Recover recovers a web app to a previous snapshot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// recoveryEntity is snapshot data used for web app recovery. Snapshot information can be obtained by calling +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// recoveryEntity - snapshot data used for web app recovery. Snapshot information can be obtained by calling // GetDeletedSites or GetSiteSnapshots API. func (client AppsClient) Recover(ctx context.Context, resourceGroupName string, name string, recoveryEntity SnapshotRecoveryRequest) (result AppsRecoverFuture, err error) { if err := validation.Validate([]validation.Validation{ @@ -21089,9 +21462,10 @@ func (client AppsClient) RecoverResponder(resp *http.Response) (result autorest. } // RecoverSiteConfigurationSnapshot reverts the configuration of an app to a previous snapshot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// snapshotID is the ID of the snapshot to read. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// snapshotID - the ID of the snapshot to read. func (client AppsClient) RecoverSiteConfigurationSnapshot(ctx context.Context, resourceGroupName string, name string, snapshotID string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21164,10 +21538,12 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotResponder(resp *http.Re } // RecoverSiteConfigurationSnapshotSlot reverts the configuration of an app to a previous snapshot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// snapshotID is the ID of the snapshot to read. slot is name of the deployment slot. If a slot is not specified, -// the API will return configuration for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// snapshotID - the ID of the snapshot to read. +// slot - name of the deployment slot. If a slot is not specified, the API will return configuration for the +// production slot. func (client AppsClient) RecoverSiteConfigurationSnapshotSlot(ctx context.Context, resourceGroupName string, name string, snapshotID string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21241,11 +21617,12 @@ func (client AppsClient) RecoverSiteConfigurationSnapshotSlotResponder(resp *htt } // RecoverSlot recovers a web app to a previous snapshot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// recoveryEntity is snapshot data used for web app recovery. Snapshot information can be obtained by calling -// GetDeletedSites or GetSiteSnapshots API. slot is name of web app slot. If not specified then will default to -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// recoveryEntity - snapshot data used for web app recovery. Snapshot information can be obtained by calling +// GetDeletedSites or GetSiteSnapshots API. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) RecoverSlot(ctx context.Context, resourceGroupName string, name string, recoveryEntity SnapshotRecoveryRequest, slot string) (result AppsRecoverSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21326,8 +21703,9 @@ func (client AppsClient) RecoverSlotResponder(resp *http.Response) (result autor // ResetProductionSlotConfig resets the configuration settings of the current slot if they were previously modified by // calling the API with POST. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) ResetProductionSlotConfig(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21400,10 +21778,11 @@ func (client AppsClient) ResetProductionSlotConfigResponder(resp *http.Response) // ResetSlotConfigurationSlot resets the configuration settings of the current slot if they were previously modified by // calling the API with POST. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API resets configuration settings for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API resets configuration settings for +// the production slot. func (client AppsClient) ResetSlotConfigurationSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21476,11 +21855,13 @@ func (client AppsClient) ResetSlotConfigurationSlotResponder(resp *http.Response } // Restart restarts an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// softRestart is specify true to apply the configuration settings and restarts the app only if necessary. By -// default, the API always restarts and reprovisions the app. synchronous is specify true to block until the app is -// restarted. By default, it is set to false, and the API responds immediately (asynchronous). +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// softRestart - specify true to apply the configuration settings and restarts the app only if necessary. By +// default, the API always restarts and reprovisions the app. +// synchronous - specify true to block until the app is restarted. By default, it is set to false, and the API +// responds immediately (asynchronous). func (client AppsClient) Restart(ctx context.Context, resourceGroupName string, name string, softRestart *bool, synchronous *bool) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21558,12 +21939,14 @@ func (client AppsClient) RestartResponder(resp *http.Response) (result autorest. } // RestartSlot restarts an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will restart the production slot. softRestart -// is specify true to apply the configuration settings and restarts the app only if necessary. By default, the API -// always restarts and reprovisions the app. synchronous is specify true to block until the app is restarted. By -// default, it is set to false, and the API responds immediately (asynchronous). +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will restart the production slot. +// softRestart - specify true to apply the configuration settings and restarts the app only if necessary. By +// default, the API always restarts and reprovisions the app. +// synchronous - specify true to block until the app is restarted. By default, it is set to false, and the API +// responds immediately (asynchronous). func (client AppsClient) RestartSlot(ctx context.Context, resourceGroupName string, name string, slot string, softRestart *bool, synchronous *bool) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21642,9 +22025,11 @@ func (client AppsClient) RestartSlotResponder(resp *http.Response) (result autor } // Restore restores a specific backup to another app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. backupID -// is ID of the backup. request is information on restore request . +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// backupID - ID of the backup. +// request - information on restore request . func (client AppsClient) Restore(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest) (result AppsRestoreFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21727,10 +22112,13 @@ func (client AppsClient) RestoreResponder(resp *http.Response) (result RestoreRe } // RestoreSlot restores a specific backup to another app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. backupID -// is ID of the backup. request is information on restore request . slot is name of the deployment slot. If a slot -// is not specified, the API will restore a backup of the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// backupID - ID of the backup. +// request - information on restore request . +// slot - name of the deployment slot. If a slot is not specified, the API will restore a backup of the +// production slot. func (client AppsClient) RestoreSlot(ctx context.Context, resourceGroupName string, name string, backupID string, request RestoreRequest, slot string) (result AppsRestoreSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21814,9 +22202,10 @@ func (client AppsClient) RestoreSlotResponder(resp *http.Response) (result Resto } // RunTriggeredWebJob run a triggered web job for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) RunTriggeredWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21889,10 +22278,12 @@ func (client AppsClient) RunTriggeredWebJobResponder(resp *http.Response) (resul } // RunTriggeredWebJobSlot run a triggered web job for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) RunTriggeredWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -21966,8 +22357,9 @@ func (client AppsClient) RunTriggeredWebJobSlotResponder(resp *http.Response) (r } // Start starts an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) Start(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22039,9 +22431,10 @@ func (client AppsClient) StartResponder(resp *http.Response) (result autorest.Re } // StartContinuousWebJob start a continuous web job for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) StartContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22114,10 +22507,12 @@ func (client AppsClient) StartContinuousWebJobResponder(resp *http.Response) (re } // StartContinuousWebJobSlot start a continuous web job for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) StartContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22191,9 +22586,10 @@ func (client AppsClient) StartContinuousWebJobSlotResponder(resp *http.Response) } // StartSlot starts an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will start the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will start the production slot. func (client AppsClient) StartSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22266,10 +22662,12 @@ func (client AppsClient) StartSlotResponder(resp *http.Response) (result autores } // StartWebSiteNetworkTrace start capturing network packets for the site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// durationInSeconds is the duration to keep capturing in seconds. maxFrameLength is the maximum frame length in -// bytes (Optional). sasURL is the Blob URL to store capture file. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// durationInSeconds - the duration to keep capturing in seconds. +// maxFrameLength - the maximum frame length in bytes (Optional). +// sasURL - the Blob URL to store capture file. func (client AppsClient) StartWebSiteNetworkTrace(ctx context.Context, resourceGroupName string, name string, durationInSeconds *int32, maxFrameLength *int32, sasURL string) (result String, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22351,10 +22749,13 @@ func (client AppsClient) StartWebSiteNetworkTraceResponder(resp *http.Response) } // StartWebSiteNetworkTraceSlot start capturing network packets for the site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// slot is the name of the slot for this web app. durationInSeconds is the duration to keep capturing in seconds. -// maxFrameLength is the maximum frame length in bytes (Optional). sasURL is the Blob URL to store capture file. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// slot - the name of the slot for this web app. +// durationInSeconds - the duration to keep capturing in seconds. +// maxFrameLength - the maximum frame length in bytes (Optional). +// sasURL - the Blob URL to store capture file. func (client AppsClient) StartWebSiteNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string, durationInSeconds *int32, maxFrameLength *int32, sasURL string) (result String, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22437,8 +22838,9 @@ func (client AppsClient) StartWebSiteNetworkTraceSlotResponder(resp *http.Respon } // Stop stops an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) Stop(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22510,9 +22912,10 @@ func (client AppsClient) StopResponder(resp *http.Response) (result autorest.Res } // StopContinuousWebJob stop a continuous web job for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. func (client AppsClient) StopContinuousWebJob(ctx context.Context, resourceGroupName string, name string, webJobName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22585,10 +22988,12 @@ func (client AppsClient) StopContinuousWebJobResponder(resp *http.Response) (res } // StopContinuousWebJobSlot stop a continuous web job for an app, or a deployment slot. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is site name. webJobName is -// name of Web Job. slot is name of the deployment slot. If a slot is not specified, the API deletes a deployment -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site name. +// webJobName - name of Web Job. +// slot - name of the deployment slot. If a slot is not specified, the API deletes a deployment for the +// production slot. func (client AppsClient) StopContinuousWebJobSlot(ctx context.Context, resourceGroupName string, name string, webJobName string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22662,9 +23067,10 @@ func (client AppsClient) StopContinuousWebJobSlotResponder(resp *http.Response) } // StopSlot stops an app (or deployment slot, if specified). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will stop the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will stop the production slot. func (client AppsClient) StopSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22737,8 +23143,9 @@ func (client AppsClient) StopSlotResponder(resp *http.Response) (result autorest } // StopWebSiteNetworkTrace stop ongoing capturing network packets for the site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. func (client AppsClient) StopWebSiteNetworkTrace(ctx context.Context, resourceGroupName string, name string) (result String, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22811,9 +23218,10 @@ func (client AppsClient) StopWebSiteNetworkTraceResponder(resp *http.Response) ( } // StopWebSiteNetworkTraceSlot stop ongoing capturing network packets for the site. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// slot is the name of the slot for this web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// slot - the name of the slot for this web app. func (client AppsClient) StopWebSiteNetworkTraceSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result String, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22887,10 +23295,11 @@ func (client AppsClient) StopWebSiteNetworkTraceSlotResponder(resp *http.Respons } // SwapSlotSlot swaps two deployment slots of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// slotSwapEntity is JSON object that contains the target slot name. See example. slot is name of the source slot. -// If a slot is not specified, the production slot is used as the source slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slotSwapEntity - JSON object that contains the target slot name. See example. +// slot - name of the source slot. If a slot is not specified, the production slot is used as the source slot. func (client AppsClient) SwapSlotSlot(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity, slot string) (result AppsSwapSlotSlotFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -22970,9 +23379,10 @@ func (client AppsClient) SwapSlotSlotResponder(resp *http.Response) (result auto } // SwapSlotWithProduction swaps two deployment slots of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// slotSwapEntity is JSON object that contains the target slot name. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slotSwapEntity - JSON object that contains the target slot name. See example. func (client AppsClient) SwapSlotWithProduction(ctx context.Context, resourceGroupName string, name string, slotSwapEntity CsmSlotEntity) (result AppsSwapSlotWithProductionFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23051,8 +23461,9 @@ func (client AppsClient) SwapSlotWithProductionResponder(resp *http.Response) (r } // SyncFunctionTriggers syncs function trigger metadata to the scale controller -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. func (client AppsClient) SyncFunctionTriggers(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23124,9 +23535,11 @@ func (client AppsClient) SyncFunctionTriggersResponder(resp *http.Response) (res } // SyncFunctionTriggersSlot syncs function trigger metadata to the scale controller -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. slot is -// name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will restore a backup of the +// production slot. func (client AppsClient) SyncFunctionTriggersSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23199,8 +23612,9 @@ func (client AppsClient) SyncFunctionTriggersSlotResponder(resp *http.Response) } // SyncRepository sync web app repository. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client AppsClient) SyncRepository(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23272,9 +23686,10 @@ func (client AppsClient) SyncRepositoryResponder(resp *http.Response) (result au } // SyncRepositorySlot sync web app repository. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) SyncRepositorySlot(ctx context.Context, resourceGroupName string, name string, slot string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23347,10 +23762,11 @@ func (client AppsClient) SyncRepositorySlotResponder(resp *http.Response) (resul } // Update creates a new web, mobile, or API app in an existing resource group, or updates an existing app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is unique name of the app to -// create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope is a JSON -// representation of the app properties. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} +// parameter. +// siteEnvelope - a JSON representation of the app properties. See example. func (client AppsClient) Update(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource) (result Site, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23425,9 +23841,10 @@ func (client AppsClient) UpdateResponder(resp *http.Response) (result Site, err } // UpdateApplicationSettings replaces the application settings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// appSettings is application settings of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// appSettings - application settings of the app. func (client AppsClient) UpdateApplicationSettings(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23502,10 +23919,12 @@ func (client AppsClient) UpdateApplicationSettingsResponder(resp *http.Response) } // UpdateApplicationSettingsSlot replaces the application settings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// appSettings is application settings of the app. slot is name of the deployment slot. If a slot is not specified, -// the API will update the application settings for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// appSettings - application settings of the app. +// slot - name of the deployment slot. If a slot is not specified, the API will update the application settings +// for the production slot. func (client AppsClient) UpdateApplicationSettingsSlot(ctx context.Context, resourceGroupName string, name string, appSettings StringDictionary, slot string) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23581,9 +24000,10 @@ func (client AppsClient) UpdateApplicationSettingsSlotResponder(resp *http.Respo } // UpdateAuthSettings updates the Authentication / Authorization settings associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// siteAuthSettings is auth settings associated with web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// siteAuthSettings - auth settings associated with web app. func (client AppsClient) UpdateAuthSettings(ctx context.Context, resourceGroupName string, name string, siteAuthSettings SiteAuthSettings) (result SiteAuthSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23658,10 +24078,11 @@ func (client AppsClient) UpdateAuthSettingsResponder(resp *http.Response) (resul } // UpdateAuthSettingsSlot updates the Authentication / Authorization settings associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// siteAuthSettings is auth settings associated with web app. slot is name of web app slot. If not specified then -// will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// siteAuthSettings - auth settings associated with web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) UpdateAuthSettingsSlot(ctx context.Context, resourceGroupName string, name string, siteAuthSettings SiteAuthSettings, slot string) (result SiteAuthSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23737,9 +24158,10 @@ func (client AppsClient) UpdateAuthSettingsSlotResponder(resp *http.Response) (r } // UpdateBackupConfiguration updates the backup configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. request -// is edited backup configuration. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// request - edited backup configuration. func (client AppsClient) UpdateBackupConfiguration(ctx context.Context, resourceGroupName string, name string, request BackupRequest) (result BackupRequest, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23824,10 +24246,12 @@ func (client AppsClient) UpdateBackupConfigurationResponder(resp *http.Response) } // UpdateBackupConfigurationSlot updates the backup configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. request -// is edited backup configuration. slot is name of the deployment slot. If a slot is not specified, the API will -// update the backup configuration for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// request - edited backup configuration. +// slot - name of the deployment slot. If a slot is not specified, the API will update the backup configuration +// for the production slot. func (client AppsClient) UpdateBackupConfigurationSlot(ctx context.Context, resourceGroupName string, name string, request BackupRequest, slot string) (result BackupRequest, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23913,9 +24337,10 @@ func (client AppsClient) UpdateBackupConfigurationSlotResponder(resp *http.Respo } // UpdateConfiguration updates the configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteConfig is JSON representation of a SiteConfig object. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteConfig - JSON representation of a SiteConfig object. See example. func (client AppsClient) UpdateConfiguration(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -23990,10 +24415,12 @@ func (client AppsClient) UpdateConfigurationResponder(resp *http.Response) (resu } // UpdateConfigurationSlot updates the configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteConfig is JSON representation of a SiteConfig object. See example. slot is name of the deployment slot. If a -// slot is not specified, the API will update configuration for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteConfig - JSON representation of a SiteConfig object. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will update configuration for the +// production slot. func (client AppsClient) UpdateConfigurationSlot(ctx context.Context, resourceGroupName string, name string, siteConfig SiteConfigResource, slot string) (result SiteConfigResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24069,9 +24496,10 @@ func (client AppsClient) UpdateConfigurationSlotResponder(resp *http.Response) ( } // UpdateConnectionStrings replaces the connection strings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// connectionStrings is connection strings of the app or deployment slot. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// connectionStrings - connection strings of the app or deployment slot. See example. func (client AppsClient) UpdateConnectionStrings(ctx context.Context, resourceGroupName string, name string, connectionStrings ConnectionStringDictionary) (result ConnectionStringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24146,11 +24574,12 @@ func (client AppsClient) UpdateConnectionStringsResponder(resp *http.Response) ( } // UpdateConnectionStringsSlot replaces the connection strings of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// connectionStrings is connection strings of the app or deployment slot. See example. slot is name of the -// deployment slot. If a slot is not specified, the API will update the connection settings for the production -// slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// connectionStrings - connection strings of the app or deployment slot. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will update the connection settings +// for the production slot. func (client AppsClient) UpdateConnectionStringsSlot(ctx context.Context, resourceGroupName string, name string, connectionStrings ConnectionStringDictionary, slot string) (result ConnectionStringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24226,9 +24655,10 @@ func (client AppsClient) UpdateConnectionStringsSlotResponder(resp *http.Respons } // UpdateDiagnosticLogsConfig updates the logging configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteLogsConfig is a SiteLogsConfig JSON object that contains the logging configuration to change in the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteLogsConfig - a SiteLogsConfig JSON object that contains the logging configuration to change in the // "properties" property. func (client AppsClient) UpdateDiagnosticLogsConfig(ctx context.Context, resourceGroupName string, name string, siteLogsConfig SiteLogsConfig) (result SiteLogsConfig, err error) { if err := validation.Validate([]validation.Validation{ @@ -24319,11 +24749,13 @@ func (client AppsClient) UpdateDiagnosticLogsConfigResponder(resp *http.Response } // UpdateDiagnosticLogsConfigSlot updates the logging configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteLogsConfig is a SiteLogsConfig JSON object that contains the logging configuration to change in the -// "properties" property. slot is name of the deployment slot. If a slot is not specified, the API will update the -// logging configuration for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteLogsConfig - a SiteLogsConfig JSON object that contains the logging configuration to change in the +// "properties" property. +// slot - name of the deployment slot. If a slot is not specified, the API will update the logging +// configuration for the production slot. func (client AppsClient) UpdateDiagnosticLogsConfigSlot(ctx context.Context, resourceGroupName string, name string, siteLogsConfig SiteLogsConfig, slot string) (result SiteLogsConfig, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24415,10 +24847,11 @@ func (client AppsClient) UpdateDiagnosticLogsConfigSlotResponder(resp *http.Resp // UpdateDomainOwnershipIdentifier creates a domain ownership identifier for web app, or updates an existing ownership // identifier. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. domainOwnershipIdentifier is a JSON -// representation of the domain ownership properties. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. +// domainOwnershipIdentifier - a JSON representation of the domain ownership properties. func (client AppsClient) UpdateDomainOwnershipIdentifier(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier) (result Identifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24495,11 +24928,13 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierResponder(resp *http.Res // UpdateDomainOwnershipIdentifierSlot creates a domain ownership identifier for web app, or updates an existing // ownership identifier. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// domainOwnershipIdentifierName is name of domain ownership identifier. domainOwnershipIdentifier is a JSON -// representation of the domain ownership properties. slot is name of the deployment slot. If a slot is not -// specified, the API will delete the binding for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// domainOwnershipIdentifierName - name of domain ownership identifier. +// domainOwnershipIdentifier - a JSON representation of the domain ownership properties. +// slot - name of the deployment slot. If a slot is not specified, the API will delete the binding for the +// production slot. func (client AppsClient) UpdateDomainOwnershipIdentifierSlot(ctx context.Context, resourceGroupName string, name string, domainOwnershipIdentifierName string, domainOwnershipIdentifier Identifier, slot string) (result Identifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24576,10 +25011,12 @@ func (client AppsClient) UpdateDomainOwnershipIdentifierSlotResponder(resp *http } // UpdateHybridConnection creates a new Hybrid Connection using a Service Bus relay. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. connectionEnvelope is the details of the hybrid connection. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. +// connectionEnvelope - the details of the hybrid connection. func (client AppsClient) UpdateHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24656,11 +25093,13 @@ func (client AppsClient) UpdateHybridConnectionResponder(resp *http.Response) (r } // UpdateHybridConnectionSlot creates a new Hybrid Connection using a Service Bus relay. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is the name of the web app. -// namespaceName is the namespace for this hybrid connection. relayName is the relay name for this hybrid -// connection. connectionEnvelope is the details of the hybrid connection. slot is the name of the slot for the web -// app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - the name of the web app. +// namespaceName - the namespace for this hybrid connection. +// relayName - the relay name for this hybrid connection. +// connectionEnvelope - the details of the hybrid connection. +// slot - the name of the slot for the web app. func (client AppsClient) UpdateHybridConnectionSlot(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string, connectionEnvelope HybridConnection, slot string) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24738,9 +25177,10 @@ func (client AppsClient) UpdateHybridConnectionSlotResponder(resp *http.Response } // UpdateMetadata replaces the metadata of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. metadata -// is edited metadata of the app or deployment slot. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// metadata - edited metadata of the app or deployment slot. See example. func (client AppsClient) UpdateMetadata(ctx context.Context, resourceGroupName string, name string, metadata StringDictionary) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24815,10 +25255,12 @@ func (client AppsClient) UpdateMetadataResponder(resp *http.Response) (result St } // UpdateMetadataSlot replaces the metadata of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. metadata -// is edited metadata of the app or deployment slot. See example. slot is name of the deployment slot. If a slot is -// not specified, the API will update the metadata for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// metadata - edited metadata of the app or deployment slot. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will update the metadata for the +// production slot. func (client AppsClient) UpdateMetadataSlot(ctx context.Context, resourceGroupName string, name string, metadata StringDictionary, slot string) (result StringDictionary, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24895,10 +25337,11 @@ func (client AppsClient) UpdateMetadataSlotResponder(resp *http.Response) (resul // UpdateRelayServiceConnection creates a new hybrid connection configuration (PUT), or updates an existing one // (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection configuration. connectionEnvelope is details of the hybrid -// connection configuration. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection configuration. +// connectionEnvelope - details of the hybrid connection configuration. func (client AppsClient) UpdateRelayServiceConnection(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -24975,11 +25418,13 @@ func (client AppsClient) UpdateRelayServiceConnectionResponder(resp *http.Respon // UpdateRelayServiceConnectionSlot creates a new hybrid connection configuration (PUT), or updates an existing one // (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// entityName is name of the hybrid connection configuration. connectionEnvelope is details of the hybrid -// connection configuration. slot is name of the deployment slot. If a slot is not specified, the API will create -// or update a hybrid connection for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// entityName - name of the hybrid connection configuration. +// connectionEnvelope - details of the hybrid connection configuration. +// slot - name of the deployment slot. If a slot is not specified, the API will create or update a hybrid +// connection for the production slot. func (client AppsClient) UpdateRelayServiceConnectionSlot(ctx context.Context, resourceGroupName string, name string, entityName string, connectionEnvelope RelayServiceConnectionEntity, slot string) (result RelayServiceConnectionEntity, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25056,9 +25501,10 @@ func (client AppsClient) UpdateRelayServiceConnectionSlotResponder(resp *http.Re } // UpdateSitePushSettings updates the Push settings associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// pushSettings is push settings associated with web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// pushSettings - push settings associated with web app. func (client AppsClient) UpdateSitePushSettings(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings) (result PushSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25136,10 +25582,11 @@ func (client AppsClient) UpdateSitePushSettingsResponder(resp *http.Response) (r } // UpdateSitePushSettingsSlot updates the Push settings associated with web app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. -// pushSettings is push settings associated with web app. slot is name of web app slot. If not specified then will -// default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// pushSettings - push settings associated with web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client AppsClient) UpdateSitePushSettingsSlot(ctx context.Context, resourceGroupName string, name string, pushSettings PushSettings, slot string) (result PushSettings, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25218,15 +25665,19 @@ func (client AppsClient) UpdateSitePushSettingsSlotResponder(resp *http.Response } // UpdateSlot creates a new web, mobile, or API app in an existing resource group, or updates an existing app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is unique name of the app to -// create or update. To create or update a deployment slot, use the {slot} parameter. siteEnvelope is a JSON -// representation of the app properties. See example. slot is name of the deployment slot to create or update. By -// default, this API attempts to create or modify the production slot. skipDNSRegistration is if true web app -// hostname is not registered with DNS on creation. This parameter is -// only used for app creation. skipCustomDomainVerification is if true, custom (non *.azurewebsites.net) domains -// associated with web app are not verified. forceDNSRegistration is if true, web app hostname is force registered -// with DNS. TTLInSeconds is time to live in seconds for web app's default domain name. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - unique name of the app to create or update. To create or update a deployment slot, use the {slot} +// parameter. +// siteEnvelope - a JSON representation of the app properties. See example. +// slot - name of the deployment slot to create or update. By default, this API attempts to create or modify +// the production slot. +// skipDNSRegistration - if true web app hostname is not registered with DNS on creation. This parameter is +// only used for app creation. +// skipCustomDomainVerification - if true, custom (non *.azurewebsites.net) domains associated with web app are +// not verified. +// forceDNSRegistration - if true, web app hostname is force registered with DNS. +// TTLInSeconds - time to live in seconds for web app's default domain name. func (client AppsClient) UpdateSlot(ctx context.Context, resourceGroupName string, name string, siteEnvelope SitePatchResource, slot string, skipDNSRegistration *bool, skipCustomDomainVerification *bool, forceDNSRegistration *bool, TTLInSeconds string) (result Site, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25315,9 +25766,10 @@ func (client AppsClient) UpdateSlotResponder(resp *http.Response) (result Site, // UpdateSlotConfigurationNames updates the names of application settings and connection string that remain with the // slot during swap operation. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// slotConfigNames is names of application settings and connection strings. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// slotConfigNames - names of application settings and connection strings. See example. func (client AppsClient) UpdateSlotConfigurationNames(ctx context.Context, resourceGroupName string, name string, slotConfigNames SlotConfigNamesResource) (result SlotConfigNamesResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25392,9 +25844,10 @@ func (client AppsClient) UpdateSlotConfigurationNamesResponder(resp *http.Respon } // UpdateSourceControl updates the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteSourceControl is JSON representation of a SiteSourceControl object. See example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteSourceControl - JSON representation of a SiteSourceControl object. See example. func (client AppsClient) UpdateSourceControl(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl) (result SiteSourceControl, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25469,11 +25922,12 @@ func (client AppsClient) UpdateSourceControlResponder(resp *http.Response) (resu } // UpdateSourceControlSlot updates the source control configuration of an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. -// siteSourceControl is JSON representation of a SiteSourceControl object. See example. slot is name of the -// deployment slot. If a slot is not specified, the API will update the source control configuration for the -// production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// siteSourceControl - JSON representation of a SiteSourceControl object. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will update the source control +// configuration for the production slot. func (client AppsClient) UpdateSourceControlSlot(ctx context.Context, resourceGroupName string, name string, siteSourceControl SiteSourceControl, slot string) (result SiteSourceControl, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25550,10 +26004,11 @@ func (client AppsClient) UpdateSourceControlSlotResponder(resp *http.Response) ( // UpdateVnetConnection adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties // (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of an existing Virtual Network. connectionEnvelope is properties of the Virtual Network connection. See -// example. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of an existing Virtual Network. +// connectionEnvelope - properties of the Virtual Network connection. See example. func (client AppsClient) UpdateVnetConnection(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo) (result VnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25629,10 +26084,12 @@ func (client AppsClient) UpdateVnetConnectionResponder(resp *http.Response) (res } // UpdateVnetConnectionGateway adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the Virtual Network. gatewayName is name of the gateway. Currently, the only supported string is -// "primary". connectionEnvelope is the properties to update this gateway with. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Currently, the only supported string is "primary". +// connectionEnvelope - the properties to update this gateway with. func (client AppsClient) UpdateVnetConnectionGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25709,12 +26166,14 @@ func (client AppsClient) UpdateVnetConnectionGatewayResponder(resp *http.Respons } // UpdateVnetConnectionGatewaySlot adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of the Virtual Network. gatewayName is name of the gateway. Currently, the only supported string is -// "primary". connectionEnvelope is the properties to update this gateway with. slot is name of the deployment -// slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual -// Network. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Currently, the only supported string is "primary". +// connectionEnvelope - the properties to update this gateway with. +// slot - name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the +// production slot's Virtual Network. func (client AppsClient) UpdateVnetConnectionGatewaySlot(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway, slot string) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -25793,11 +26252,13 @@ func (client AppsClient) UpdateVnetConnectionGatewaySlotResponder(resp *http.Res // UpdateVnetConnectionSlot adds a Virtual Network connection to an app or slot (PUT) or updates the connection // properties (PATCH). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the app. vnetName -// is name of an existing Virtual Network. connectionEnvelope is properties of the Virtual Network connection. See -// example. slot is name of the deployment slot. If a slot is not specified, the API will add or update connections -// for the production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the app. +// vnetName - name of an existing Virtual Network. +// connectionEnvelope - properties of the Virtual Network connection. See example. +// slot - name of the deployment slot. If a slot is not specified, the API will add or update connections for +// the production slot. func (client AppsClient) UpdateVnetConnectionSlot(ctx context.Context, resourceGroupName string, name string, vnetName string, connectionEnvelope VnetInfo, slot string) (result VnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appservicecertificateorders.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appservicecertificateorders.go index 0b5bf9189be5..f78fcb530c1b 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appservicecertificateorders.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appservicecertificateorders.go @@ -41,9 +41,10 @@ func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptio } // CreateOrUpdate create or update a certificate purchase order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. certificateDistinguishedName is distinguished name to to use for the certificate order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// certificateDistinguishedName - distinguished name to to use for the certificate order. func (client AppServiceCertificateOrdersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName AppServiceCertificateOrder) (result AppServiceCertificateOrdersCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -127,10 +128,11 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateResponder(resp *ht } // CreateOrUpdateCertificate creates or updates a certificate and associates with key vault secret. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. name is name of the certificate. keyVaultCertificate is key vault certificate resource -// Id. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// name - name of the certificate. +// keyVaultCertificate - key vault certificate resource Id. func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate AppServiceCertificateResource) (result AppServiceCertificateOrdersCreateOrUpdateCertificateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -208,9 +210,9 @@ func (client AppServiceCertificateOrdersClient) CreateOrUpdateCertificateRespond } // Delete delete an existing certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. func (client AppServiceCertificateOrdersClient) Delete(ctx context.Context, resourceGroupName string, certificateOrderName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -282,9 +284,10 @@ func (client AppServiceCertificateOrdersClient) DeleteResponder(resp *http.Respo } // DeleteCertificate delete the certificate associated with a certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. name is name of the certificate. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// name - name of the certificate. func (client AppServiceCertificateOrdersClient) DeleteCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -357,9 +360,9 @@ func (client AppServiceCertificateOrdersClient) DeleteCertificateResponder(resp } // Get get a certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order.. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order.. func (client AppServiceCertificateOrdersClient) Get(ctx context.Context, resourceGroupName string, certificateOrderName string) (result AppServiceCertificateOrder, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -432,9 +435,10 @@ func (client AppServiceCertificateOrdersClient) GetResponder(resp *http.Response } // GetCertificate get the certificate associated with a certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. name is name of the certificate. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// name - name of the certificate. func (client AppServiceCertificateOrdersClient) GetCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string) (result AppServiceCertificateResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -598,8 +602,8 @@ func (client AppServiceCertificateOrdersClient) ListComplete(ctx context.Context } // ListByResourceGroup get certificate orders in a resource group. -// -// resourceGroupName is name of the resource group to which the resource belongs. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceCertificateOrdersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceCertificateOrderCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -699,9 +703,9 @@ func (client AppServiceCertificateOrdersClient) ListByResourceGroupComplete(ctx } // ListCertificates list all certificates associated with a certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. func (client AppServiceCertificateOrdersClient) ListCertificates(ctx context.Context, resourceGroupName string, certificateOrderName string) (result AppServiceCertificateCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -802,9 +806,10 @@ func (client AppServiceCertificateOrdersClient) ListCertificatesComplete(ctx con } // Reissue reissue an existing certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. reissueCertificateOrderRequest is parameters for the reissue. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// reissueCertificateOrderRequest - parameters for the reissue. func (client AppServiceCertificateOrdersClient) Reissue(ctx context.Context, resourceGroupName string, certificateOrderName string, reissueCertificateOrderRequest ReissueCertificateOrderRequest) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -878,9 +883,10 @@ func (client AppServiceCertificateOrdersClient) ReissueResponder(resp *http.Resp } // Renew renew an existing certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. renewCertificateOrderRequest is renew parameters +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// renewCertificateOrderRequest - renew parameters func (client AppServiceCertificateOrdersClient) Renew(ctx context.Context, resourceGroupName string, certificateOrderName string, renewCertificateOrderRequest RenewCertificateOrderRequest) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -954,9 +960,9 @@ func (client AppServiceCertificateOrdersClient) RenewResponder(resp *http.Respon } // ResendEmail resend certificate email. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. func (client AppServiceCertificateOrdersClient) ResendEmail(ctx context.Context, resourceGroupName string, certificateOrderName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1028,9 +1034,10 @@ func (client AppServiceCertificateOrdersClient) ResendEmailResponder(resp *http. } // ResendRequestEmails verify domain ownership for this certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. nameIdentifier is email address +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// nameIdentifier - email address func (client AppServiceCertificateOrdersClient) ResendRequestEmails(ctx context.Context, resourceGroupName string, certificateOrderName string, nameIdentifier NameIdentifier) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1104,9 +1111,9 @@ func (client AppServiceCertificateOrdersClient) ResendRequestEmailsResponder(res } // RetrieveCertificateActions retrieve the list of certificate actions. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the certificate -// order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the certificate order. func (client AppServiceCertificateOrdersClient) RetrieveCertificateActions(ctx context.Context, resourceGroupName string, name string) (result ListCertificateOrderAction, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1179,9 +1186,9 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateActionsRespon } // RetrieveCertificateEmailHistory retrieve email history. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the certificate -// order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the certificate order. func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistory(ctx context.Context, resourceGroupName string, name string) (result ListCertificateEmail, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1254,9 +1261,10 @@ func (client AppServiceCertificateOrdersClient) RetrieveCertificateEmailHistoryR } // RetrieveSiteSeal verify domain ownership for this certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. siteSealRequest is site seal request. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// siteSealRequest - site seal request. func (client AppServiceCertificateOrdersClient) RetrieveSiteSeal(ctx context.Context, resourceGroupName string, certificateOrderName string, siteSealRequest SiteSealRequest) (result SiteSeal, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1331,9 +1339,10 @@ func (client AppServiceCertificateOrdersClient) RetrieveSiteSealResponder(resp * } // Update create or update a certificate purchase order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. certificateDistinguishedName is distinguished name to to use for the certificate order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// certificateDistinguishedName - distinguished name to to use for the certificate order. func (client AppServiceCertificateOrdersClient) Update(ctx context.Context, resourceGroupName string, certificateOrderName string, certificateDistinguishedName AppServiceCertificateOrderPatchResource) (result AppServiceCertificateOrder, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1408,10 +1417,11 @@ func (client AppServiceCertificateOrdersClient) UpdateResponder(resp *http.Respo } // UpdateCertificate creates or updates a certificate and associates with key vault secret. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. name is name of the certificate. keyVaultCertificate is key vault certificate resource -// Id. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. +// name - name of the certificate. +// keyVaultCertificate - key vault certificate resource Id. func (client AppServiceCertificateOrdersClient) UpdateCertificate(ctx context.Context, resourceGroupName string, certificateOrderName string, name string, keyVaultCertificate AppServiceCertificatePatchResource) (result AppServiceCertificateResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1487,8 +1497,8 @@ func (client AppServiceCertificateOrdersClient) UpdateCertificateResponder(resp } // ValidatePurchaseInformation validate information for a certificate order. -// -// appServiceCertificateOrder is information for a certificate order. +// Parameters: +// appServiceCertificateOrder - information for a certificate order. func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformation(ctx context.Context, appServiceCertificateOrder AppServiceCertificateOrder) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: appServiceCertificateOrder, @@ -1563,9 +1573,9 @@ func (client AppServiceCertificateOrdersClient) ValidatePurchaseInformationRespo } // VerifyDomainOwnership verify domain ownership for this certificate order. -// -// resourceGroupName is name of the resource group to which the resource belongs. certificateOrderName is name of -// the certificate order. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// certificateOrderName - name of the certificate order. func (client AppServiceCertificateOrdersClient) VerifyDomainOwnership(ctx context.Context, resourceGroupName string, certificateOrderName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceenvironments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceenvironments.go index 18b0ea55e371..94aaabefff5d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceenvironments.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceenvironments.go @@ -41,9 +41,10 @@ func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID s } // CreateOrUpdate create or update an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. hostingEnvironmentEnvelope is configuration details of the App Service Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// hostingEnvironmentEnvelope - configuration details of the App Service Environment. func (client AppServiceEnvironmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope AppServiceEnvironmentResource) (result AppServiceEnvironmentsCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -127,9 +128,10 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateResponder(resp *http.Re } // CreateOrUpdateMultiRolePool create or update a multi-role pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. multiRolePoolEnvelope is properties of the multi-role pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// multiRolePoolEnvelope - properties of the multi-role pool. func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource) (result AppServiceEnvironmentsCreateOrUpdateMultiRolePoolFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -206,9 +208,11 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateMultiRolePoolResponder( } // CreateOrUpdateWorkerPool create or update a worker pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. workerPoolEnvelope is properties of the worker pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. +// workerPoolEnvelope - properties of the worker pool. func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource) (result AppServiceEnvironmentsCreateOrUpdateWorkerPoolFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -286,10 +290,11 @@ func (client AppServiceEnvironmentsClient) CreateOrUpdateWorkerPoolResponder(res } // Delete delete an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. forceDelete is specify true to force the deletion even if the App Service Environment -// contains resources. The default is false. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// forceDelete - specify true to force the deletion even if the App Service Environment contains +// resources. The default is false. func (client AppServiceEnvironmentsClient) Delete(ctx context.Context, resourceGroupName string, name string, forceDelete *bool) (result AppServiceEnvironmentsDeleteFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -366,9 +371,9 @@ func (client AppServiceEnvironmentsClient) DeleteResponder(resp *http.Response) } // Get get the properties of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) Get(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -441,9 +446,10 @@ func (client AppServiceEnvironmentsClient) GetResponder(resp *http.Response) (re } // GetDiagnosticsItem get a diagnostics item for an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. diagnosticsName is name of the diagnostics item. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// diagnosticsName - name of the diagnostics item. func (client AppServiceEnvironmentsClient) GetDiagnosticsItem(ctx context.Context, resourceGroupName string, name string, diagnosticsName string) (result HostingEnvironmentDiagnostics, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -517,9 +523,9 @@ func (client AppServiceEnvironmentsClient) GetDiagnosticsItemResponder(resp *htt } // GetMultiRolePool get properties of a multi-role pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) GetMultiRolePool(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -592,9 +598,10 @@ func (client AppServiceEnvironmentsClient) GetMultiRolePoolResponder(resp *http. } // GetWorkerPool get properties of a worker pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. func (client AppServiceEnvironmentsClient) GetWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result WorkerPoolResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -758,9 +765,9 @@ func (client AppServiceEnvironmentsClient) ListComplete(ctx context.Context) (re } // ListAppServicePlans get all App Service plans in an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListAppServicePlans(ctx context.Context, resourceGroupName string, name string) (result AppServicePlanCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -861,8 +868,8 @@ func (client AppServiceEnvironmentsClient) ListAppServicePlansComplete(ctx conte } // ListByResourceGroup get all App Service Environments in a resource group. -// -// resourceGroupName is name of the resource group to which the resource belongs. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. func (client AppServiceEnvironmentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServiceEnvironmentCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -962,9 +969,9 @@ func (client AppServiceEnvironmentsClient) ListByResourceGroupComplete(ctx conte } // ListCapacities get the used, available, and total worker capacity an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListCapacities(ctx context.Context, resourceGroupName string, name string) (result StampCapacityCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1065,9 +1072,9 @@ func (client AppServiceEnvironmentsClient) ListCapacitiesComplete(ctx context.Co } // ListDiagnostics get diagnostic information for an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListDiagnostics(ctx context.Context, resourceGroupName string, name string) (result ListHostingEnvironmentDiagnostics, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1140,9 +1147,9 @@ func (client AppServiceEnvironmentsClient) ListDiagnosticsResponder(resp *http.R } // ListMetricDefinitions get global metric definitions of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, name string) (result MetricDefinition, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1215,12 +1222,13 @@ func (client AppServiceEnvironmentsClient) ListMetricDefinitionsResponder(resp * } // ListMetrics get global metrics of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. details is specify true to include instance details. The default is -// false. filter is return only usages/metrics specified in the filter. Filter conforms to odata -// syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq -// '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// details - specify true to include instance details. The default is false. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppServiceEnvironmentsClient) ListMetrics(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1327,9 +1335,9 @@ func (client AppServiceEnvironmentsClient) ListMetricsComplete(ctx context.Conte } // ListMultiRoleMetricDefinitions get metric definitions for a multi-role pool of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitions(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1430,13 +1438,16 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricDefinitionsComplet } // ListMultiRoleMetrics get metrics for a multi-role pool of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. startTime is beginning time of the metrics query. endTime is end time of the metrics query. -// timeGrain is time granularity of the metrics query. details is specify true to include instance -// details. The default is false. filter is return only usages/metrics specified in the filter. Filter -// conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq -// '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// startTime - beginning time of the metrics query. +// endTime - end time of the metrics query. +// timeGrain - time granularity of the metrics query. +// details - specify true to include instance details. The default is false. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppServiceEnvironmentsClient) ListMultiRoleMetrics(ctx context.Context, resourceGroupName string, name string, startTime string, endTime string, timeGrain string, details *bool, filter string) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1553,9 +1564,10 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleMetricsComplete(ctx cont // ListMultiRolePoolInstanceMetricDefinitions get metric definitions for a specific instance of a multi-role pool of an // App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. instance is name of the instance in the multi-role pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// instance - name of the instance in the multi-role pool. func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefinitions(ctx context.Context, resourceGroupName string, name string, instance string) (result ResourceMetricDefinitionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1658,10 +1670,11 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricDefini // ListMultiRolePoolInstanceMetrics get metrics for a specific instance of a multi-role pool of an App Service // Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. instance is name of the instance in the multi-role pool. details is specify true to -// include instance details. The default is false. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// instance - name of the instance in the multi-role pool. +// details - specify true to include instance details. The default is false. func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetrics(ctx context.Context, resourceGroupName string, name string, instance string, details *bool) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1713,7 +1726,7 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricsPrepa preparer := autorest.CreatePreparer( autorest.AsGet(), autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics", pathParameters), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics", pathParameters), autorest.WithQueryParameters(queryParameters)) return preparer.Prepare((&http.Request{}).WithContext(ctx)) } @@ -1766,9 +1779,9 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolInstanceMetricsCompl } // ListMultiRolePools get all multi-role pools. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListMultiRolePools(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1869,9 +1882,9 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolsComplete(ctx contex } // ListMultiRolePoolSkus get available SKUs for scaling a multi-role pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkus(ctx context.Context, resourceGroupName string, name string) (result SkuInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1972,9 +1985,9 @@ func (client AppServiceEnvironmentsClient) ListMultiRolePoolSkusComplete(ctx con } // ListMultiRoleUsages get usage metrics for a multi-role pool of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListMultiRoleUsages(ctx context.Context, resourceGroupName string, name string) (result UsageCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2075,9 +2088,9 @@ func (client AppServiceEnvironmentsClient) ListMultiRoleUsagesComplete(ctx conte } // ListOperations list all currently running operations on the App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListOperations(ctx context.Context, resourceGroupName string, name string) (result ListOperation, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2150,11 +2163,12 @@ func (client AppServiceEnvironmentsClient) ListOperationsResponder(resp *http.Re } // ListUsages get global usage metrics of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. filter is return only usages/metrics specified in the filter. Filter conforms to odata syntax. -// Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' -// and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppServiceEnvironmentsClient) ListUsages(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2258,9 +2272,9 @@ func (client AppServiceEnvironmentsClient) ListUsagesComplete(ctx context.Contex } // ListVips get IP addresses assigned to an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListVips(ctx context.Context, resourceGroupName string, name string) (result AddressResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2333,9 +2347,10 @@ func (client AppServiceEnvironmentsClient) ListVipsResponder(resp *http.Response } // ListWebApps get all apps in an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. propertiesToInclude is comma separated list of app properties to include. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// propertiesToInclude - comma separated list of app properties to include. func (client AppServiceEnvironmentsClient) ListWebApps(ctx context.Context, resourceGroupName string, name string, propertiesToInclude string) (result AppCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2439,9 +2454,10 @@ func (client AppServiceEnvironmentsClient) ListWebAppsComplete(ctx context.Conte } // ListWebWorkerMetricDefinitions get metric definitions for a worker pool of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitions(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result ResourceMetricDefinitionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2543,12 +2559,14 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricDefinitionsComplet } // ListWebWorkerMetrics get metrics for a worker pool of a AppServiceEnvironment (App Service Environment). -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of worker pool details is specify true to include instance -// details. The default is false. filter is return only usages/metrics specified in the filter. Filter -// conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq -// '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of worker pool +// details - specify true to include instance details. The default is false. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppServiceEnvironmentsClient) ListWebWorkerMetrics(ctx context.Context, resourceGroupName string, name string, workerPoolName string, details *bool, filter string) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2656,9 +2674,10 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerMetricsComplete(ctx cont } // ListWebWorkerUsages get usage metrics for a worker pool of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. func (client AppServiceEnvironmentsClient) ListWebWorkerUsages(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result UsageCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2761,9 +2780,11 @@ func (client AppServiceEnvironmentsClient) ListWebWorkerUsagesComplete(ctx conte // ListWorkerPoolInstanceMetricDefinitions get metric definitions for a specific instance of a worker pool of an App // Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. instance is name of the instance in the worker pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. +// instance - name of the instance in the worker pool. func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitions(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string) (result ResourceMetricDefinitionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2866,13 +2887,15 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricDefinitio } // ListWorkerPoolInstanceMetrics get metrics for a specific instance of a worker pool of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. instance is name of the instance in the worker pool. -// details is specify true to include instance details. The default is false. filter is -// return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: -// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime -// eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. +// instance - name of the instance in the worker pool. +// details - specify true to include instance details. The default is false. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetrics(ctx context.Context, resourceGroupName string, name string, workerPoolName string, instance string, details *bool, filter string) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2928,7 +2951,7 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricsPreparer preparer := autorest.CreatePreparer( autorest.AsGet(), autorest.WithBaseURL(client.BaseURI), - autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics", pathParameters), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metrics", pathParameters), autorest.WithQueryParameters(queryParameters)) return preparer.Prepare((&http.Request{}).WithContext(ctx)) } @@ -2981,9 +3004,9 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolInstanceMetricsComplete } // ListWorkerPools get all worker pools of an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) ListWorkerPools(ctx context.Context, resourceGroupName string, name string) (result WorkerPoolCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3084,9 +3107,10 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolsComplete(ctx context.C } // ListWorkerPoolSkus get available SKUs for scaling a worker pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. func (client AppServiceEnvironmentsClient) ListWorkerPoolSkus(ctx context.Context, resourceGroupName string, name string, workerPoolName string) (result SkuInfoCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3188,9 +3212,9 @@ func (client AppServiceEnvironmentsClient) ListWorkerPoolSkusComplete(ctx contex } // Reboot reboot all machines in an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) Reboot(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3262,9 +3286,9 @@ func (client AppServiceEnvironmentsClient) RebootResponder(resp *http.Response) } // Resume resume an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) Resume(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentsResumeFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3372,9 +3396,9 @@ func (client AppServiceEnvironmentsClient) ResumeComplete(ctx context.Context, r } // Suspend suspend an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. func (client AppServiceEnvironmentsClient) Suspend(ctx context.Context, resourceGroupName string, name string) (result AppServiceEnvironmentsSuspendFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3482,9 +3506,10 @@ func (client AppServiceEnvironmentsClient) SuspendComplete(ctx context.Context, } // Update create or update an App Service Environment. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. hostingEnvironmentEnvelope is configuration details of the App Service Environment. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// hostingEnvironmentEnvelope - configuration details of the App Service Environment. func (client AppServiceEnvironmentsClient) Update(ctx context.Context, resourceGroupName string, name string, hostingEnvironmentEnvelope AppServiceEnvironmentPatchResource) (result AppServiceEnvironmentResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3559,9 +3584,10 @@ func (client AppServiceEnvironmentsClient) UpdateResponder(resp *http.Response) } // UpdateMultiRolePool create or update a multi-role pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. multiRolePoolEnvelope is properties of the multi-role pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// multiRolePoolEnvelope - properties of the multi-role pool. func (client AppServiceEnvironmentsClient) UpdateMultiRolePool(ctx context.Context, resourceGroupName string, name string, multiRolePoolEnvelope WorkerPoolResource) (result WorkerPoolResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -3636,9 +3662,11 @@ func (client AppServiceEnvironmentsClient) UpdateMultiRolePoolResponder(resp *ht } // UpdateWorkerPool create or update a worker pool. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// Environment. workerPoolName is name of the worker pool. workerPoolEnvelope is properties of the worker pool. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service Environment. +// workerPoolName - name of the worker pool. +// workerPoolEnvelope - properties of the worker pool. func (client AppServiceEnvironmentsClient) UpdateWorkerPool(ctx context.Context, resourceGroupName string, name string, workerPoolName string, workerPoolEnvelope WorkerPoolResource) (result WorkerPoolResource, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceplans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceplans.go index 90381448fde8..626581873c2f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceplans.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/appserviceplans.go @@ -41,9 +41,10 @@ func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) } // CreateOrUpdate creates or updates an App Service Plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. appServicePlan is details of the App Service plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// appServicePlan - details of the App Service plan. func (client AppServicePlansClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, appServicePlan AppServicePlan) (result AppServicePlansCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -123,10 +124,12 @@ func (client AppServicePlansClient) CreateOrUpdateResponder(resp *http.Response) } // CreateOrUpdateVnetRoute create or update a Virtual Network route in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. routeName is name of the Virtual Network route. route is -// definition of the Virtual Network route. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. +// routeName - name of the Virtual Network route. +// route - definition of the Virtual Network route. func (client AppServicePlansClient) CreateOrUpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute) (result VnetRoute, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -203,9 +206,9 @@ func (client AppServicePlansClient) CreateOrUpdateVnetRouteResponder(resp *http. } // Delete delete an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. func (client AppServicePlansClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -277,9 +280,11 @@ func (client AppServicePlansClient) DeleteResponder(resp *http.Response) (result } // DeleteHybridConnection delete a Hybrid Connection in use in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. namespaceName is name of the Service Bus namespace. relayName is name of the Service Bus relay. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// namespaceName - name of the Service Bus namespace. +// relayName - name of the Service Bus relay. func (client AppServicePlansClient) DeleteHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -353,9 +358,11 @@ func (client AppServicePlansClient) DeleteHybridConnectionResponder(resp *http.R } // DeleteVnetRoute delete a Virtual Network route in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. routeName is name of the Virtual Network route. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. +// routeName - name of the Virtual Network route. func (client AppServicePlansClient) DeleteVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -429,9 +436,9 @@ func (client AppServicePlansClient) DeleteVnetRouteResponder(resp *http.Response } // Get get an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. func (client AppServicePlansClient) Get(ctx context.Context, resourceGroupName string, name string) (result AppServicePlan, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -504,9 +511,11 @@ func (client AppServicePlansClient) GetResponder(resp *http.Response) (result Ap } // GetHybridConnection retrieve a Hybrid Connection in use in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. namespaceName is name of the Service Bus namespace. relayName is name of the Service Bus relay. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// namespaceName - name of the Service Bus namespace. +// relayName - name of the Service Bus relay. func (client AppServicePlansClient) GetHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnection, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -581,9 +590,9 @@ func (client AppServicePlansClient) GetHybridConnectionResponder(resp *http.Resp } // GetHybridConnectionPlanLimit get the maximum number of Hybrid Connections allowed in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. func (client AppServicePlansClient) GetHybridConnectionPlanLimit(ctx context.Context, resourceGroupName string, name string) (result HybridConnectionLimits, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -656,9 +665,11 @@ func (client AppServicePlansClient) GetHybridConnectionPlanLimitResponder(resp * } // GetRouteForVnet get a Virtual Network route in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. routeName is name of the Virtual Network route. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. +// routeName - name of the Virtual Network route. func (client AppServicePlansClient) GetRouteForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string) (result ListVnetRoute, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -733,8 +744,9 @@ func (client AppServicePlansClient) GetRouteForVnetResponder(resp *http.Response } // GetServerFarmSkus gets all selectable sku's for a given App Service Plan -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of App Service Plan +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of App Service Plan func (client AppServicePlansClient) GetServerFarmSkus(ctx context.Context, resourceGroupName string, name string) (result SetObject, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -807,9 +819,10 @@ func (client AppServicePlansClient) GetServerFarmSkusResponder(resp *http.Respon } // GetVnetFromServerFarm get a Virtual Network associated with an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. func (client AppServicePlansClient) GetVnetFromServerFarm(ctx context.Context, resourceGroupName string, name string, vnetName string) (result VnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -883,10 +896,11 @@ func (client AppServicePlansClient) GetVnetFromServerFarmResponder(resp *http.Re } // GetVnetGateway get a Virtual Network gateway. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. gatewayName is name of the gateway. Only the 'primary' gateway is -// supported. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Only the 'primary' gateway is supported. func (client AppServicePlansClient) GetVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -961,8 +975,8 @@ func (client AppServicePlansClient) GetVnetGatewayResponder(resp *http.Response) } // List get all App Service plans for a subcription. -// -// detailed is specify true to return all App Service plan properties. The default is +// Parameters: +// detailed - specify true to return all App Service plan properties. The default is // false, which returns a subset of the properties. // Retrieval of all properties may increase the API latency. func (client AppServicePlansClient) List(ctx context.Context, detailed *bool) (result AppServicePlanCollectionPage, err error) { @@ -1058,8 +1072,8 @@ func (client AppServicePlansClient) ListComplete(ctx context.Context, detailed * } // ListByResourceGroup get all App Service plans in a resource group. -// -// resourceGroupName is name of the resource group to which the resource belongs. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. func (client AppServicePlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AppServicePlanCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1159,9 +1173,9 @@ func (client AppServicePlansClient) ListByResourceGroupComplete(ctx context.Cont } // ListCapabilities list all capabilities of an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. func (client AppServicePlansClient) ListCapabilities(ctx context.Context, resourceGroupName string, name string) (result ListCapability, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1234,9 +1248,11 @@ func (client AppServicePlansClient) ListCapabilitiesResponder(resp *http.Respons } // ListHybridConnectionKeys get the send key name and value of a Hybrid Connection. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. namespaceName is the name of the Service Bus namespace. relayName is the name of the Service Bus relay. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// namespaceName - the name of the Service Bus namespace. +// relayName - the name of the Service Bus relay. func (client AppServicePlansClient) ListHybridConnectionKeys(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result HybridConnectionKey, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1311,9 +1327,9 @@ func (client AppServicePlansClient) ListHybridConnectionKeysResponder(resp *http } // ListHybridConnections retrieve all Hybrid Connections in use in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. func (client AppServicePlansClient) ListHybridConnections(ctx context.Context, resourceGroupName string, name string) (result HybridConnectionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1414,9 +1430,9 @@ func (client AppServicePlansClient) ListHybridConnectionsComplete(ctx context.Co } // ListMetricDefintions get metrics that can be queried for an App Service plan, and their definitions. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. func (client AppServicePlansClient) ListMetricDefintions(ctx context.Context, resourceGroupName string, name string) (result ResourceMetricDefinitionCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1517,12 +1533,13 @@ func (client AppServicePlansClient) ListMetricDefintionsComplete(ctx context.Con } // ListMetrics get metrics for an App Serice plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. details is specify true to include instance details. The default is false. -// filter is return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: -// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime -// eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// details - specify true to include instance details. The default is false. +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and +// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'. func (client AppServicePlansClient) ListMetrics(ctx context.Context, resourceGroupName string, name string, details *bool, filter string) (result ResourceMetricCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1629,9 +1646,10 @@ func (client AppServicePlansClient) ListMetricsComplete(ctx context.Context, res } // ListRoutesForVnet get all routes that are associated with a Virtual Network in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. func (client AppServicePlansClient) ListRoutesForVnet(ctx context.Context, resourceGroupName string, name string, vnetName string) (result ListVnetRoute, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1705,9 +1723,10 @@ func (client AppServicePlansClient) ListRoutesForVnetResponder(resp *http.Respon } // ListUsages gets server farm usage information -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of App Service Plan -// filter is return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of App Service Plan +// filter - return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: // $filter=(name.value eq 'Metric1' or name.value eq 'Metric2'). func (client AppServicePlansClient) ListUsages(ctx context.Context, resourceGroupName string, name string, filter string) (result CsmUsageQuotaCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ @@ -1812,9 +1831,9 @@ func (client AppServicePlansClient) ListUsagesComplete(ctx context.Context, reso } // ListVnets get all Virtual Networks associated with an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. func (client AppServicePlansClient) ListVnets(ctx context.Context, resourceGroupName string, name string) (result ListVnetInfo, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1887,12 +1906,14 @@ func (client AppServicePlansClient) ListVnetsResponder(resp *http.Response) (res } // ListWebApps get all apps associated with an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. skipToken is skip to a web app in the list of webapps associated with app service plan. If specified, the +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// skipToken - skip to a web app in the list of webapps associated with app service plan. If specified, the // resulting list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list -// contains web apps from the start of the list filter is supported filter: $filter=state eq running. Returns only -// web apps that are currently running top is list page size. If specified, results are paged. +// contains web apps from the start of the list +// filter - supported filter: $filter=state eq running. Returns only web apps that are currently running +// top - list page size. If specified, results are paged. func (client AppServicePlansClient) ListWebApps(ctx context.Context, resourceGroupName string, name string, skipToken string, filter string, top string) (result AppCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2002,10 +2023,11 @@ func (client AppServicePlansClient) ListWebAppsComplete(ctx context.Context, res } // ListWebAppsByHybridConnection get all apps that use a Hybrid Connection in an App Service Plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. namespaceName is name of the Hybrid Connection namespace. relayName is name of the Hybrid Connection -// relay. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// namespaceName - name of the Hybrid Connection namespace. +// relayName - name of the Hybrid Connection relay. func (client AppServicePlansClient) ListWebAppsByHybridConnection(ctx context.Context, resourceGroupName string, name string, namespaceName string, relayName string) (result ResourceCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2108,9 +2130,10 @@ func (client AppServicePlansClient) ListWebAppsByHybridConnectionComplete(ctx co } // RebootWorker reboot a worker machine in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. workerName is name of worker machine, which typically starts with RD. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// workerName - name of worker machine, which typically starts with RD. func (client AppServicePlansClient) RebootWorker(ctx context.Context, resourceGroupName string, name string, workerName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2183,10 +2206,11 @@ func (client AppServicePlansClient) RebootWorkerResponder(resp *http.Response) ( } // RestartWebApps restart all apps in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. softRestart is specify true to performa a soft restart, applies the configuration settings -// and restarts the apps if necessary. The default is false, which always restarts and reprovisions +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// softRestart - specify true to performa a soft restart, applies the configuration settings and +// restarts the apps if necessary. The default is false, which always restarts and reprovisions // the apps func (client AppServicePlansClient) RestartWebApps(ctx context.Context, resourceGroupName string, name string, softRestart *bool) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ @@ -2262,9 +2286,10 @@ func (client AppServicePlansClient) RestartWebAppsResponder(resp *http.Response) } // Update creates or updates an App Service Plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. appServicePlan is details of the App Service plan. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// appServicePlan - details of the App Service plan. func (client AppServicePlansClient) Update(ctx context.Context, resourceGroupName string, name string, appServicePlan AppServicePlanPatchResource) (result AppServicePlan, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2339,10 +2364,12 @@ func (client AppServicePlansClient) UpdateResponder(resp *http.Response) (result } // UpdateVnetGateway update a Virtual Network gateway. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. gatewayName is name of the gateway. Only the 'primary' gateway is -// supported. connectionEnvelope is definition of the gateway. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. +// gatewayName - name of the gateway. Only the 'primary' gateway is supported. +// connectionEnvelope - definition of the gateway. func (client AppServicePlansClient) UpdateVnetGateway(ctx context.Context, resourceGroupName string, name string, vnetName string, gatewayName string, connectionEnvelope VnetGateway) (result VnetGateway, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -2422,10 +2449,12 @@ func (client AppServicePlansClient) UpdateVnetGatewayResponder(resp *http.Respon } // UpdateVnetRoute create or update a Virtual Network route in an App Service plan. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the App Service -// plan. vnetName is name of the Virtual Network. routeName is name of the Virtual Network route. route is -// definition of the Virtual Network route. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the App Service plan. +// vnetName - name of the Virtual Network. +// routeName - name of the Virtual Network route. +// route - definition of the Virtual Network route. func (client AppServicePlansClient) UpdateVnetRoute(ctx context.Context, resourceGroupName string, name string, vnetName string, routeName string, route VnetRoute) (result VnetRoute, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/billingmeters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/billingmeters.go new file mode 100644 index 000000000000..6faf85f87a6d --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/billingmeters.go @@ -0,0 +1,135 @@ +package web + +// 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. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "net/http" +) + +// BillingMetersClient is the webSite Management Client +type BillingMetersClient struct { + BaseClient +} + +// NewBillingMetersClient creates an instance of the BillingMetersClient client. +func NewBillingMetersClient(subscriptionID string) BillingMetersClient { + return NewBillingMetersClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewBillingMetersClientWithBaseURI creates an instance of the BillingMetersClient client. +func NewBillingMetersClientWithBaseURI(baseURI string, subscriptionID string) BillingMetersClient { + return BillingMetersClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// List gets a list of meters for a given location. +// Parameters: +// billingLocation - azure Location of billable resource +func (client BillingMetersClient) List(ctx context.Context, billingLocation string) (result BillingMeterCollectionPage, err error) { + result.fn = client.listNextResults + req, err := client.ListPreparer(ctx, billingLocation) + if err != nil { + err = autorest.NewErrorWithError(err, "web.BillingMetersClient", "List", nil, "Failure preparing request") + return + } + + resp, err := client.ListSender(req) + if err != nil { + result.bmc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.BillingMetersClient", "List", resp, "Failure sending request") + return + } + + result.bmc, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.BillingMetersClient", "List", resp, "Failure responding to request") + } + + return +} + +// ListPreparer prepares the List request. +func (client BillingMetersClient) ListPreparer(ctx context.Context, billingLocation string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if len(billingLocation) > 0 { + queryParameters["billingLocation"] = autorest.Encode("query", billingLocation) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSender sends the List request. The method will close the +// http.Response Body if it receives an error. +func (client BillingMetersClient) ListSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListResponder handles the response to the List request. The method always +// closes the http.Response Body. +func (client BillingMetersClient) ListResponder(resp *http.Response) (result BillingMeterCollection, 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 BillingMetersClient) listNextResults(lastResults BillingMeterCollection) (result BillingMeterCollection, err error) { + req, err := lastResults.billingMeterCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.BillingMetersClient", "listNextResults", 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, "web.BillingMetersClient", "listNextResults", resp, "Failure sending next results request") + } + result, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.BillingMetersClient", "listNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListComplete enumerates all values, automatically crossing page boundaries as required. +func (client BillingMetersClient) ListComplete(ctx context.Context, billingLocation string) (result BillingMeterCollectionIterator, err error) { + result.page, err = client.List(ctx, billingLocation) + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/certificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/certificates.go index ffbb268e5bce..b7e822898a84 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/certificates.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/certificates.go @@ -41,9 +41,10 @@ func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) Cer } // CreateOrUpdate create or update a certificate. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the certificate. -// certificateEnvelope is details of certificate, if it exists already. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the certificate. +// certificateEnvelope - details of certificate, if it exists already. func (client CertificatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, certificateEnvelope Certificate) (result Certificate, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -121,8 +122,9 @@ func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (r } // Delete delete a certificate. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the certificate. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the certificate. func (client CertificatesClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -194,8 +196,9 @@ func (client CertificatesClient) DeleteResponder(resp *http.Response) (result au } // Get get a certificate. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the certificate. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the certificate. func (client CertificatesClient) Get(ctx context.Context, resourceGroupName string, name string) (result Certificate, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -358,8 +361,8 @@ func (client CertificatesClient) ListComplete(ctx context.Context) (result Certi } // ListByResourceGroup get all certificates in a resource group. -// -// resourceGroupName is name of the resource group to which the resource belongs. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. func (client CertificatesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result CertificateCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -459,9 +462,10 @@ func (client CertificatesClient) ListByResourceGroupComplete(ctx context.Context } // Update create or update a certificate. -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of the certificate. -// certificateEnvelope is details of certificate, if it exists already. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of the certificate. +// certificateEnvelope - details of certificate, if it exists already. func (client CertificatesClient) Update(ctx context.Context, resourceGroupName string, name string, certificateEnvelope CertificatePatchResource) (result Certificate, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/client.go index 5ffbc0ea8684..e8eb3b213a79 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/client.go @@ -55,8 +55,8 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { } // CheckNameAvailability check if a resource name is available. -// -// request is name availability request. +// Parameters: +// request - name availability request. func (client BaseClient) CheckNameAvailability(ctx context.Context, request ResourceNameAvailabilityRequest) (result ResourceNameAvailability, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: request, @@ -185,8 +185,8 @@ func (client BaseClient) GetPublishingUserResponder(resp *http.Response) (result } // GetSourceControl gets source control token -// -// sourceControlType is type of source control +// Parameters: +// sourceControlType - type of source control func (client BaseClient) GetSourceControl(ctx context.Context, sourceControlType string) (result SourceControl, err error) { req, err := client.GetSourceControlPreparer(ctx, sourceControlType) if err != nil { @@ -311,9 +311,10 @@ func (client BaseClient) GetSubscriptionDeploymentLocationsResponder(resp *http. } // ListGeoRegions get a list of available geographical regions. -// -// sku is name of SKU used to filter the regions. linuxWorkersEnabled is specify true if you want to -// filter to only regions that support Linux workers. +// Parameters: +// sku - name of SKU used to filter the regions. +// linuxWorkersEnabled - specify true if you want to filter to only regions that support Linux +// workers. func (client BaseClient) ListGeoRegions(ctx context.Context, sku SkuName, linuxWorkersEnabled *bool) (result GeoRegionCollectionPage, err error) { result.fn = client.listGeoRegionsNextResults req, err := client.ListGeoRegionsPreparer(ctx, sku, linuxWorkersEnabled) @@ -500,8 +501,8 @@ func (client BaseClient) ListPremierAddOnOffersComplete(ctx context.Context) (re } // ListSiteIdentifiersAssignedToHostName list all apps that are assigned to a hostname. -// -// nameIdentifier is hostname information. +// Parameters: +// nameIdentifier - hostname information. func (client BaseClient) ListSiteIdentifiersAssignedToHostName(ctx context.Context, nameIdentifier NameIdentifier) (result IdentifierCollectionPage, err error) { result.fn = client.listSiteIdentifiersAssignedToHostNameNextResults req, err := client.ListSiteIdentifiersAssignedToHostNamePreparer(ctx, nameIdentifier) @@ -742,9 +743,9 @@ func (client BaseClient) ListSourceControlsComplete(ctx context.Context) (result } // Move move resources between resource groups. -// -// resourceGroupName is name of the resource group to which the resource belongs. moveResourceEnvelope is object -// that represents the resource to move. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// moveResourceEnvelope - object that represents the resource to move. func (client BaseClient) Move(ctx context.Context, resourceGroupName string, moveResourceEnvelope CsmMoveResourceEnvelope) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -823,8 +824,8 @@ func (client BaseClient) MoveResponder(resp *http.Response) (result autorest.Res } // UpdatePublishingUser updates publishing user -// -// userDetails is details of publishing user +// Parameters: +// userDetails - details of publishing user func (client BaseClient) UpdatePublishingUser(ctx context.Context, userDetails User) (result User, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: userDetails, @@ -892,8 +893,9 @@ func (client BaseClient) UpdatePublishingUserResponder(resp *http.Response) (res } // UpdateSourceControl updates source control token -// -// sourceControlType is type of source control requestMessage is source control token information +// Parameters: +// sourceControlType - type of source control +// requestMessage - source control token information func (client BaseClient) UpdateSourceControl(ctx context.Context, sourceControlType string, requestMessage SourceControl) (result SourceControl, err error) { req, err := client.UpdateSourceControlPreparer(ctx, sourceControlType, requestMessage) if err != nil { @@ -958,9 +960,9 @@ func (client BaseClient) UpdateSourceControlResponder(resp *http.Response) (resu } // Validate validate if a resource can be created. -// -// resourceGroupName is name of the resource group to which the resource belongs. validateRequest is request with -// the resources to validate. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// validateRequest - request with the resources to validate. func (client BaseClient) Validate(ctx context.Context, resourceGroupName string, validateRequest ValidateRequest) (result ValidateResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1041,9 +1043,9 @@ func (client BaseClient) ValidateResponder(resp *http.Response) (result Validate } // ValidateMove validate whether a resource can be moved. -// -// resourceGroupName is name of the resource group to which the resource belongs. moveResourceEnvelope is object -// that represents the resource to move. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// moveResourceEnvelope - object that represents the resource to move. func (client BaseClient) ValidateMove(ctx context.Context, resourceGroupName string, moveResourceEnvelope CsmMoveResourceEnvelope) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1123,8 +1125,8 @@ func (client BaseClient) ValidateMoveResponder(resp *http.Response) (result auto // VerifyHostingEnvironmentVnet verifies if this VNET is compatible with an App Service Environment by analyzing the // Network Security Group rules. -// -// parameters is VNET information +// Parameters: +// parameters - VNET information func (client BaseClient) VerifyHostingEnvironmentVnet(ctx context.Context, parameters VnetParameters) (result VnetValidationFailureDetails, err error) { req, err := client.VerifyHostingEnvironmentVnetPreparer(ctx, parameters) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/diagnostics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/diagnostics.go index a51eb02051b6..96f3869dd7f6 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/diagnostics.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/diagnostics.go @@ -42,10 +42,14 @@ func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) Diag } // ExecuteSiteAnalysis execute Analysis -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is category Name analysisName is analysis Resource Name startTime is start Time endTime is -// end Time timeGrain is time Grain +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - category Name +// analysisName - analysis Resource Name +// startTime - start Time +// endTime - end Time +// timeGrain - time Grain func (client DiagnosticsClient) ExecuteSiteAnalysis(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticAnalysis, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -131,10 +135,15 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisResponder(resp *http.Response } // ExecuteSiteAnalysisSlot execute Analysis -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is category Name analysisName is analysis Resource Name slot is slot Name startTime is start -// Time endTime is end Time timeGrain is time Grain +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - category Name +// analysisName - analysis Resource Name +// slot - slot Name +// startTime - start Time +// endTime - end Time +// timeGrain - time Grain func (client DiagnosticsClient) ExecuteSiteAnalysisSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticAnalysis, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -221,10 +230,14 @@ func (client DiagnosticsClient) ExecuteSiteAnalysisSlotResponder(resp *http.Resp } // ExecuteSiteDetector execute Detector -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// detectorName is detector Resource Name diagnosticCategory is category Name startTime is start Time endTime is -// end Time timeGrain is time Grain +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// detectorName - detector Resource Name +// diagnosticCategory - category Name +// startTime - start Time +// endTime - end Time +// timeGrain - time Grain func (client DiagnosticsClient) ExecuteSiteDetector(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticDetectorResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -310,10 +323,15 @@ func (client DiagnosticsClient) ExecuteSiteDetectorResponder(resp *http.Response } // ExecuteSiteDetectorSlot execute Detector -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// detectorName is detector Resource Name diagnosticCategory is category Name slot is slot Name startTime is start -// Time endTime is end Time timeGrain is time Grain +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// detectorName - detector Resource Name +// diagnosticCategory - category Name +// slot - slot Name +// startTime - start Time +// endTime - end Time +// timeGrain - time Grain func (client DiagnosticsClient) ExecuteSiteDetectorSlot(ctx context.Context, resourceGroupName string, siteName string, detectorName string, diagnosticCategory string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DiagnosticDetectorResponse, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -399,10 +417,103 @@ func (client DiagnosticsClient) ExecuteSiteDetectorSlotResponder(resp *http.Resp return } +// GetHostingEnvironmentDetectorResponse get Hosting Environment Detector Response +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - app Service Environment Name +// detectorName - detector Resource Name +// startTime - start Time +// endTime - end Time +// timeGrain - time Grain +func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponse(ctx context.Context, resourceGroupName string, name string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DetectorResponse, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}, + {TargetValue: timeGrain, + Constraints: []validation.Constraint{{Target: "timeGrain", Name: validation.Pattern, Rule: `PT[1-9][0-9]+[SMH]`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.DiagnosticsClient", "GetHostingEnvironmentDetectorResponse", err.Error()) + } + + req, err := client.GetHostingEnvironmentDetectorResponsePreparer(ctx, resourceGroupName, name, detectorName, startTime, endTime, timeGrain) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetHostingEnvironmentDetectorResponse", nil, "Failure preparing request") + return + } + + resp, err := client.GetHostingEnvironmentDetectorResponseSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetHostingEnvironmentDetectorResponse", resp, "Failure sending request") + return + } + + result, err = client.GetHostingEnvironmentDetectorResponseResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetHostingEnvironmentDetectorResponse", resp, "Failure responding to request") + } + + return +} + +// GetHostingEnvironmentDetectorResponsePreparer prepares the GetHostingEnvironmentDetectorResponse request. +func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponsePreparer(ctx context.Context, resourceGroupName string, name string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "detectorName": autorest.Encode("path", detectorName), + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if startTime != nil { + queryParameters["startTime"] = autorest.Encode("query", *startTime) + } + if endTime != nil { + queryParameters["endTime"] = autorest.Encode("query", *endTime) + } + if len(timeGrain) > 0 { + queryParameters["timeGrain"] = autorest.Encode("query", timeGrain) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetHostingEnvironmentDetectorResponseSender sends the GetHostingEnvironmentDetectorResponse request. The method will close the +// http.Response Body if it receives an error. +func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetHostingEnvironmentDetectorResponseResponder handles the response to the GetHostingEnvironmentDetectorResponse request. The method always +// closes the http.Response Body. +func (client DiagnosticsClient) GetHostingEnvironmentDetectorResponseResponder(resp *http.Response) (result DetectorResponse, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + // GetSiteAnalysis get Site Analysis -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category analysisName is analysis Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category +// analysisName - analysis Name func (client DiagnosticsClient) GetSiteAnalysis(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string) (result DiagnosticAnalysis, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -477,9 +588,12 @@ func (client DiagnosticsClient) GetSiteAnalysisResponder(resp *http.Response) (r } // GetSiteAnalysisSlot get Site Analysis -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category analysisName is analysis Name slot is slot - optional +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category +// analysisName - analysis Name +// slot - slot - optional func (client DiagnosticsClient) GetSiteAnalysisSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, analysisName string, slot string) (result DiagnosticAnalysis, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -555,9 +669,11 @@ func (client DiagnosticsClient) GetSiteAnalysisSlotResponder(resp *http.Response } // GetSiteDetector get Detector -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category detectorName is detector Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category +// detectorName - detector Name func (client DiagnosticsClient) GetSiteDetector(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string) (result DiagnosticDetectorCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -659,10 +775,197 @@ func (client DiagnosticsClient) GetSiteDetectorComplete(ctx context.Context, res return } +// GetSiteDetectorResponse get site detector response +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// detectorName - detector Resource Name +// startTime - start Time +// endTime - end Time +// timeGrain - time Grain +func (client DiagnosticsClient) GetSiteDetectorResponse(ctx context.Context, resourceGroupName string, siteName string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DetectorResponse, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}, + {TargetValue: timeGrain, + Constraints: []validation.Constraint{{Target: "timeGrain", Name: validation.Pattern, Rule: `PT[1-9][0-9]+[SMH]`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.DiagnosticsClient", "GetSiteDetectorResponse", err.Error()) + } + + req, err := client.GetSiteDetectorResponsePreparer(ctx, resourceGroupName, siteName, detectorName, startTime, endTime, timeGrain) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetSiteDetectorResponse", nil, "Failure preparing request") + return + } + + resp, err := client.GetSiteDetectorResponseSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetSiteDetectorResponse", resp, "Failure sending request") + return + } + + result, err = client.GetSiteDetectorResponseResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetSiteDetectorResponse", resp, "Failure responding to request") + } + + return +} + +// GetSiteDetectorResponsePreparer prepares the GetSiteDetectorResponse request. +func (client DiagnosticsClient) GetSiteDetectorResponsePreparer(ctx context.Context, resourceGroupName string, siteName string, detectorName string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "detectorName": autorest.Encode("path", detectorName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "siteName": autorest.Encode("path", siteName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if startTime != nil { + queryParameters["startTime"] = autorest.Encode("query", *startTime) + } + if endTime != nil { + queryParameters["endTime"] = autorest.Encode("query", *endTime) + } + if len(timeGrain) > 0 { + queryParameters["timeGrain"] = autorest.Encode("query", timeGrain) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSiteDetectorResponseSender sends the GetSiteDetectorResponse request. The method will close the +// http.Response Body if it receives an error. +func (client DiagnosticsClient) GetSiteDetectorResponseSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetSiteDetectorResponseResponder handles the response to the GetSiteDetectorResponse request. The method always +// closes the http.Response Body. +func (client DiagnosticsClient) GetSiteDetectorResponseResponder(resp *http.Response) (result DetectorResponse, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// GetSiteDetectorResponseSlot get site detector response +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// detectorName - detector Resource Name +// slot - slot Name +// startTime - start Time +// endTime - end Time +// timeGrain - time Grain +func (client DiagnosticsClient) GetSiteDetectorResponseSlot(ctx context.Context, resourceGroupName string, siteName string, detectorName string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (result DetectorResponse, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}, + {TargetValue: timeGrain, + Constraints: []validation.Constraint{{Target: "timeGrain", Name: validation.Pattern, Rule: `PT[1-9][0-9]+[SMH]`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.DiagnosticsClient", "GetSiteDetectorResponseSlot", err.Error()) + } + + req, err := client.GetSiteDetectorResponseSlotPreparer(ctx, resourceGroupName, siteName, detectorName, slot, startTime, endTime, timeGrain) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetSiteDetectorResponseSlot", nil, "Failure preparing request") + return + } + + resp, err := client.GetSiteDetectorResponseSlotSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetSiteDetectorResponseSlot", resp, "Failure sending request") + return + } + + result, err = client.GetSiteDetectorResponseSlotResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "GetSiteDetectorResponseSlot", resp, "Failure responding to request") + } + + return +} + +// GetSiteDetectorResponseSlotPreparer prepares the GetSiteDetectorResponseSlot request. +func (client DiagnosticsClient) GetSiteDetectorResponseSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, detectorName string, slot string, startTime *date.Time, endTime *date.Time, timeGrain string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "detectorName": autorest.Encode("path", detectorName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "siteName": autorest.Encode("path", siteName), + "slot": autorest.Encode("path", slot), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + if startTime != nil { + queryParameters["startTime"] = autorest.Encode("query", *startTime) + } + if endTime != nil { + queryParameters["endTime"] = autorest.Encode("query", *endTime) + } + if len(timeGrain) > 0 { + queryParameters["timeGrain"] = autorest.Encode("query", timeGrain) + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetSiteDetectorResponseSlotSender sends the GetSiteDetectorResponseSlot request. The method will close the +// http.Response Body if it receives an error. +func (client DiagnosticsClient) GetSiteDetectorResponseSlotSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetSiteDetectorResponseSlotResponder handles the response to the GetSiteDetectorResponseSlot request. The method always +// closes the http.Response Body. +func (client DiagnosticsClient) GetSiteDetectorResponseSlotResponder(resp *http.Response) (result DetectorResponse, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + // GetSiteDetectorSlot get Detector -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category detectorName is detector Name slot is slot Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category +// detectorName - detector Name +// slot - slot Name func (client DiagnosticsClient) GetSiteDetectorSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, detectorName string, slot string) (result DiagnosticDetectorCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -766,9 +1069,10 @@ func (client DiagnosticsClient) GetSiteDetectorSlotComplete(ctx context.Context, } // GetSiteDiagnosticCategory get Diagnostics Category -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category func (client DiagnosticsClient) GetSiteDiagnosticCategory(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticCategory, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -842,9 +1146,11 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategoryResponder(resp *http.Re } // GetSiteDiagnosticCategorySlot get Diagnostics Category -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category slot is slot Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category +// slot - slot Name func (client DiagnosticsClient) GetSiteDiagnosticCategorySlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticCategory, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -918,10 +1224,114 @@ func (client DiagnosticsClient) GetSiteDiagnosticCategorySlotResponder(resp *htt return } +// ListHostingEnvironmentDetectorResponses list Hosting Environment Detector Responses +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - site Name +func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponses(ctx context.Context, resourceGroupName string, name string) (result DetectorResponseCollectionPage, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.DiagnosticsClient", "ListHostingEnvironmentDetectorResponses", err.Error()) + } + + result.fn = client.listHostingEnvironmentDetectorResponsesNextResults + req, err := client.ListHostingEnvironmentDetectorResponsesPreparer(ctx, resourceGroupName, name) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListHostingEnvironmentDetectorResponses", nil, "Failure preparing request") + return + } + + resp, err := client.ListHostingEnvironmentDetectorResponsesSender(req) + if err != nil { + result.drc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListHostingEnvironmentDetectorResponses", resp, "Failure sending request") + return + } + + result.drc, err = client.ListHostingEnvironmentDetectorResponsesResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListHostingEnvironmentDetectorResponses", resp, "Failure responding to request") + } + + return +} + +// ListHostingEnvironmentDetectorResponsesPreparer prepares the ListHostingEnvironmentDetectorResponses request. +func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListHostingEnvironmentDetectorResponsesSender sends the ListHostingEnvironmentDetectorResponses request. The method will close the +// http.Response Body if it receives an error. +func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListHostingEnvironmentDetectorResponsesResponder handles the response to the ListHostingEnvironmentDetectorResponses request. The method always +// closes the http.Response Body. +func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesResponder(resp *http.Response) (result DetectorResponseCollection, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listHostingEnvironmentDetectorResponsesNextResults retrieves the next set of results, if any. +func (client DiagnosticsClient) listHostingEnvironmentDetectorResponsesNextResults(lastResults DetectorResponseCollection) (result DetectorResponseCollection, err error) { + req, err := lastResults.detectorResponseCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listHostingEnvironmentDetectorResponsesNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListHostingEnvironmentDetectorResponsesSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listHostingEnvironmentDetectorResponsesNextResults", resp, "Failure sending next results request") + } + result, err = client.ListHostingEnvironmentDetectorResponsesResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listHostingEnvironmentDetectorResponsesNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListHostingEnvironmentDetectorResponsesComplete enumerates all values, automatically crossing page boundaries as required. +func (client DiagnosticsClient) ListHostingEnvironmentDetectorResponsesComplete(ctx context.Context, resourceGroupName string, name string) (result DetectorResponseCollectionIterator, err error) { + result.page, err = client.ListHostingEnvironmentDetectorResponses(ctx, resourceGroupName, name) + return +} + // ListSiteAnalyses get Site Analyses -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category func (client DiagnosticsClient) ListSiteAnalyses(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticAnalysisCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1023,9 +1433,11 @@ func (client DiagnosticsClient) ListSiteAnalysesComplete(ctx context.Context, re } // ListSiteAnalysesSlot get Site Analyses -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category slot is slot Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category +// slot - slot Name func (client DiagnosticsClient) ListSiteAnalysesSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticAnalysisCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1127,10 +1539,219 @@ func (client DiagnosticsClient) ListSiteAnalysesSlotComplete(ctx context.Context return } +// ListSiteDetectorResponses list Site Detector Responses +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +func (client DiagnosticsClient) ListSiteDetectorResponses(ctx context.Context, resourceGroupName string, siteName string) (result DetectorResponseCollectionPage, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.DiagnosticsClient", "ListSiteDetectorResponses", err.Error()) + } + + result.fn = client.listSiteDetectorResponsesNextResults + req, err := client.ListSiteDetectorResponsesPreparer(ctx, resourceGroupName, siteName) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListSiteDetectorResponses", nil, "Failure preparing request") + return + } + + resp, err := client.ListSiteDetectorResponsesSender(req) + if err != nil { + result.drc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListSiteDetectorResponses", resp, "Failure sending request") + return + } + + result.drc, err = client.ListSiteDetectorResponsesResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListSiteDetectorResponses", resp, "Failure responding to request") + } + + return +} + +// ListSiteDetectorResponsesPreparer prepares the ListSiteDetectorResponses request. +func (client DiagnosticsClient) ListSiteDetectorResponsesPreparer(ctx context.Context, resourceGroupName string, siteName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "siteName": autorest.Encode("path", siteName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSiteDetectorResponsesSender sends the ListSiteDetectorResponses request. The method will close the +// http.Response Body if it receives an error. +func (client DiagnosticsClient) ListSiteDetectorResponsesSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListSiteDetectorResponsesResponder handles the response to the ListSiteDetectorResponses request. The method always +// closes the http.Response Body. +func (client DiagnosticsClient) ListSiteDetectorResponsesResponder(resp *http.Response) (result DetectorResponseCollection, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listSiteDetectorResponsesNextResults retrieves the next set of results, if any. +func (client DiagnosticsClient) listSiteDetectorResponsesNextResults(lastResults DetectorResponseCollection) (result DetectorResponseCollection, err error) { + req, err := lastResults.detectorResponseCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listSiteDetectorResponsesNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListSiteDetectorResponsesSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listSiteDetectorResponsesNextResults", resp, "Failure sending next results request") + } + result, err = client.ListSiteDetectorResponsesResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listSiteDetectorResponsesNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListSiteDetectorResponsesComplete enumerates all values, automatically crossing page boundaries as required. +func (client DiagnosticsClient) ListSiteDetectorResponsesComplete(ctx context.Context, resourceGroupName string, siteName string) (result DetectorResponseCollectionIterator, err error) { + result.page, err = client.ListSiteDetectorResponses(ctx, resourceGroupName, siteName) + return +} + +// ListSiteDetectorResponsesSlot list Site Detector Responses +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// slot - slot Name +func (client DiagnosticsClient) ListSiteDetectorResponsesSlot(ctx context.Context, resourceGroupName string, siteName string, slot string) (result DetectorResponseCollectionPage, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.DiagnosticsClient", "ListSiteDetectorResponsesSlot", err.Error()) + } + + result.fn = client.listSiteDetectorResponsesSlotNextResults + req, err := client.ListSiteDetectorResponsesSlotPreparer(ctx, resourceGroupName, siteName, slot) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListSiteDetectorResponsesSlot", nil, "Failure preparing request") + return + } + + resp, err := client.ListSiteDetectorResponsesSlotSender(req) + if err != nil { + result.drc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListSiteDetectorResponsesSlot", resp, "Failure sending request") + return + } + + result.drc, err = client.ListSiteDetectorResponsesSlotResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "ListSiteDetectorResponsesSlot", resp, "Failure responding to request") + } + + return +} + +// ListSiteDetectorResponsesSlotPreparer prepares the ListSiteDetectorResponsesSlot request. +func (client DiagnosticsClient) ListSiteDetectorResponsesSlotPreparer(ctx context.Context, resourceGroupName string, siteName string, slot string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "siteName": autorest.Encode("path", siteName), + "slot": autorest.Encode("path", slot), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSiteDetectorResponsesSlotSender sends the ListSiteDetectorResponsesSlot request. The method will close the +// http.Response Body if it receives an error. +func (client DiagnosticsClient) ListSiteDetectorResponsesSlotSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListSiteDetectorResponsesSlotResponder handles the response to the ListSiteDetectorResponsesSlot request. The method always +// closes the http.Response Body. +func (client DiagnosticsClient) ListSiteDetectorResponsesSlotResponder(resp *http.Response) (result DetectorResponseCollection, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listSiteDetectorResponsesSlotNextResults retrieves the next set of results, if any. +func (client DiagnosticsClient) listSiteDetectorResponsesSlotNextResults(lastResults DetectorResponseCollection) (result DetectorResponseCollection, err error) { + req, err := lastResults.detectorResponseCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listSiteDetectorResponsesSlotNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListSiteDetectorResponsesSlotSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listSiteDetectorResponsesSlotNextResults", resp, "Failure sending next results request") + } + result, err = client.ListSiteDetectorResponsesSlotResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.DiagnosticsClient", "listSiteDetectorResponsesSlotNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListSiteDetectorResponsesSlotComplete enumerates all values, automatically crossing page boundaries as required. +func (client DiagnosticsClient) ListSiteDetectorResponsesSlotComplete(ctx context.Context, resourceGroupName string, siteName string, slot string) (result DetectorResponseCollectionIterator, err error) { + result.page, err = client.ListSiteDetectorResponsesSlot(ctx, resourceGroupName, siteName, slot) + return +} + // ListSiteDetectors get Detectors -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category func (client DiagnosticsClient) ListSiteDetectors(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string) (result DiagnosticDetectorCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1232,9 +1853,11 @@ func (client DiagnosticsClient) ListSiteDetectorsComplete(ctx context.Context, r } // ListSiteDetectorsSlot get Detectors -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name -// diagnosticCategory is diagnostic Category slot is slot Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// diagnosticCategory - diagnostic Category +// slot - slot Name func (client DiagnosticsClient) ListSiteDetectorsSlot(ctx context.Context, resourceGroupName string, siteName string, diagnosticCategory string, slot string) (result DiagnosticDetectorCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1337,8 +1960,9 @@ func (client DiagnosticsClient) ListSiteDetectorsSlotComplete(ctx context.Contex } // ListSiteDiagnosticCategories get Diagnostics Categories -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name func (client DiagnosticsClient) ListSiteDiagnosticCategories(ctx context.Context, resourceGroupName string, siteName string) (result DiagnosticCategoryCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1439,9 +2063,10 @@ func (client DiagnosticsClient) ListSiteDiagnosticCategoriesComplete(ctx context } // ListSiteDiagnosticCategoriesSlot get Diagnostics Categories -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site Name slot is -// slot Name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site Name +// slot - slot Name func (client DiagnosticsClient) ListSiteDiagnosticCategoriesSlot(ctx context.Context, resourceGroupName string, siteName string, slot string) (result DiagnosticCategoryCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/domains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/domains.go index 1948f6711a7a..6ddd2a46f378 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/domains.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/domains.go @@ -41,8 +41,8 @@ func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsC } // CheckAvailability check if a domain is available for registration. -// -// identifier is name of the domain. +// Parameters: +// identifier - name of the domain. func (client DomainsClient) CheckAvailability(ctx context.Context, identifier NameIdentifier) (result DomainAvailablilityCheckResult, err error) { req, err := client.CheckAvailabilityPreparer(ctx, identifier) if err != nil { @@ -107,9 +107,10 @@ func (client DomainsClient) CheckAvailabilityResponder(resp *http.Response) (res } // CreateOrUpdate creates or updates a domain. -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of the domain. -// domain is domain registration information. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of the domain. +// domain - domain registration information. func (client DomainsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, domainName string, domain Domain) (result DomainsCreateOrUpdateFuture, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -245,10 +246,11 @@ func (client DomainsClient) CreateOrUpdateResponder(resp *http.Response) (result // CreateOrUpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an // existing identifer -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of domain. -// name is name of identifier. domainOwnershipIdentifier is a JSON representation of the domain ownership -// properties. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of domain. +// name - name of identifier. +// domainOwnershipIdentifier - a JSON representation of the domain ownership properties. func (client DomainsClient) CreateOrUpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier) (result DomainOwnershipIdentifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -324,9 +326,10 @@ func (client DomainsClient) CreateOrUpdateOwnershipIdentifierResponder(resp *htt } // Delete delete a domain. -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of the domain. -// forceHardDeleteDomain is specify true to delete the domain immediately. The default is +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of the domain. +// forceHardDeleteDomain - specify true to delete the domain immediately. The default is // false which deletes the domain after 24 hours. func (client DomainsClient) Delete(ctx context.Context, resourceGroupName string, domainName string, forceHardDeleteDomain *bool) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ @@ -402,9 +405,10 @@ func (client DomainsClient) DeleteResponder(resp *http.Response) (result autores } // DeleteOwnershipIdentifier delete ownership identifier for domain -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of domain. -// name is name of identifier. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of domain. +// name - name of identifier. func (client DomainsClient) DeleteOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -477,8 +481,9 @@ func (client DomainsClient) DeleteOwnershipIdentifierResponder(resp *http.Respon } // Get get a domain. -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of the domain. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of the domain. func (client DomainsClient) Get(ctx context.Context, resourceGroupName string, domainName string) (result Domain, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -613,9 +618,10 @@ func (client DomainsClient) GetControlCenterSsoRequestResponder(resp *http.Respo } // GetOwnershipIdentifier get ownership identifier for domain -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of domain. -// name is name of identifier. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of domain. +// name - name of identifier. func (client DomainsClient) GetOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string) (result DomainOwnershipIdentifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -779,8 +785,8 @@ func (client DomainsClient) ListComplete(ctx context.Context) (result DomainColl } // ListByResourceGroup get all domains in a resource group. -// -// resourceGroupName is name of the resource group to which the resource belongs. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. func (client DomainsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DomainCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -880,8 +886,9 @@ func (client DomainsClient) ListByResourceGroupComplete(ctx context.Context, res } // ListOwnershipIdentifiers lists domain ownership identifiers. -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of domain. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of domain. func (client DomainsClient) ListOwnershipIdentifiers(ctx context.Context, resourceGroupName string, domainName string) (result DomainOwnershipIdentifierCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -982,8 +989,8 @@ func (client DomainsClient) ListOwnershipIdentifiersComplete(ctx context.Context } // ListRecommendations get domain name recommendations based on keywords. -// -// parameters is search parameters for domain name recommendations. +// Parameters: +// parameters - search parameters for domain name recommendations. func (client DomainsClient) ListRecommendations(ctx context.Context, parameters DomainRecommendationSearchParameters) (result NameIdentifierCollectionPage, err error) { result.fn = client.listRecommendationsNextResults req, err := client.ListRecommendationsPreparer(ctx, parameters) @@ -1076,8 +1083,9 @@ func (client DomainsClient) ListRecommendationsComplete(ctx context.Context, par } // Renew renew a domain. -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of the domain. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of the domain. func (client DomainsClient) Renew(ctx context.Context, resourceGroupName string, domainName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1149,9 +1157,10 @@ func (client DomainsClient) RenewResponder(resp *http.Response) (result autorest } // Update creates or updates a domain. -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of the domain. -// domain is domain registration information. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of the domain. +// domain - domain registration information. func (client DomainsClient) Update(ctx context.Context, resourceGroupName string, domainName string, domain DomainPatchResource) (result Domain, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -1229,10 +1238,11 @@ func (client DomainsClient) UpdateResponder(resp *http.Response) (result Domain, // UpdateOwnershipIdentifier creates an ownership identifier for a domain or updates identifier details for an existing // identifer -// -// resourceGroupName is name of the resource group to which the resource belongs. domainName is name of domain. -// name is name of identifier. domainOwnershipIdentifier is a JSON representation of the domain ownership -// properties. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// domainName - name of domain. +// name - name of identifier. +// domainOwnershipIdentifier - a JSON representation of the domain ownership properties. func (client DomainsClient) UpdateOwnershipIdentifier(ctx context.Context, resourceGroupName string, domainName string, name string, domainOwnershipIdentifier DomainOwnershipIdentifier) (result DomainOwnershipIdentifier, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go index b807de3a1208..5572b29f4fde 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go @@ -892,6 +892,25 @@ func PossiblePublishingProfileFormatValues() []PublishingProfileFormat { return []PublishingProfileFormat{FileZilla3, Ftp, WebDeploy} } +// RenderingType enumerates the values for rendering type. +type RenderingType string + +const ( + // NoGraph ... + NoGraph RenderingType = "NoGraph" + // Table ... + Table RenderingType = "Table" + // TimeSeries ... + TimeSeries RenderingType = "TimeSeries" + // TimeSeriesPerInstance ... + TimeSeriesPerInstance RenderingType = "TimeSeriesPerInstance" +) + +// PossibleRenderingTypeValues returns an array of possible values for the RenderingType const type. +func PossibleRenderingTypeValues() []RenderingType { + return []RenderingType{NoGraph, Table, TimeSeries, TimeSeriesPerInstance} +} + // ResourceScopeType enumerates the values for resource scope type. type ResourceScopeType string @@ -5408,6 +5427,218 @@ type BackupSchedule struct { LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"` } +// BillingMeter app Service billing entity that contains information about meter which the Azure billing system +// utilizes to charge users for services. +type BillingMeter struct { + // BillingMeterProperties - BillingMeter resource specific properties + *BillingMeterProperties `json:"properties,omitempty"` + // ID - Resource Id. + ID *string `json:"id,omitempty"` + // Name - Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for BillingMeter. +func (bm BillingMeter) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if bm.BillingMeterProperties != nil { + objectMap["properties"] = bm.BillingMeterProperties + } + if bm.ID != nil { + objectMap["id"] = bm.ID + } + if bm.Name != nil { + objectMap["name"] = bm.Name + } + if bm.Kind != nil { + objectMap["kind"] = bm.Kind + } + if bm.Type != nil { + objectMap["type"] = bm.Type + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for BillingMeter struct. +func (bm *BillingMeter) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var billingMeterProperties BillingMeterProperties + err = json.Unmarshal(*v, &billingMeterProperties) + if err != nil { + return err + } + bm.BillingMeterProperties = &billingMeterProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + bm.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + bm.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + bm.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + bm.Type = &typeVar + } + } + } + + return nil +} + +// BillingMeterCollection collection of Billing Meters +type BillingMeterCollection struct { + autorest.Response `json:"-"` + // Value - Collection of Billing Meters. + Value *[]BillingMeter `json:"value,omitempty"` + // NextLink - Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// BillingMeterCollectionIterator provides access to a complete listing of BillingMeter values. +type BillingMeterCollectionIterator struct { + i int + page BillingMeterCollectionPage +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *BillingMeterCollectionIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter BillingMeterCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter BillingMeterCollectionIterator) Response() BillingMeterCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter BillingMeterCollectionIterator) Value() BillingMeter { + if !iter.page.NotDone() { + return BillingMeter{} + } + return iter.page.Values()[iter.i] +} + +// IsEmpty returns true if the ListResult contains no values. +func (bmc BillingMeterCollection) IsEmpty() bool { + return bmc.Value == nil || len(*bmc.Value) == 0 +} + +// billingMeterCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (bmc BillingMeterCollection) billingMeterCollectionPreparer() (*http.Request, error) { + if bmc.NextLink == nil || len(to.String(bmc.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(bmc.NextLink))) +} + +// BillingMeterCollectionPage contains a page of BillingMeter values. +type BillingMeterCollectionPage struct { + fn func(BillingMeterCollection) (BillingMeterCollection, error) + bmc BillingMeterCollection +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *BillingMeterCollectionPage) Next() error { + next, err := page.fn(page.bmc) + if err != nil { + return err + } + page.bmc = next + return nil +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page BillingMeterCollectionPage) NotDone() bool { + return !page.bmc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page BillingMeterCollectionPage) Response() BillingMeterCollection { + return page.bmc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page BillingMeterCollectionPage) Values() []BillingMeter { + if page.bmc.IsEmpty() { + return nil + } + return *page.bmc.Value +} + +// BillingMeterProperties billingMeter resource specific properties +type BillingMeterProperties struct { + // MeterID - Meter GUID onboarded in Commerce + MeterID *string `json:"meterId,omitempty"` + // BillingLocation - Azure Location of billable resource + BillingLocation *string `json:"billingLocation,omitempty"` + // ShortName - Short Name from App Service Azure pricing Page + ShortName *string `json:"shortName,omitempty"` + // FriendlyName - Friendly name of the meter + FriendlyName *string `json:"friendlyName,omitempty"` + // ResourceType - App Service resource type meter used for + ResourceType *string `json:"resourceType,omitempty"` +} + // Capability describes the capabilities/features allowed for a specific SKU. type Capability struct { // Name - Name of the SKU capability. @@ -6878,6 +7109,26 @@ type DataSource struct { DataSourceURI *[]NameValuePair `json:"dataSourceUri,omitempty"` } +// DataTableResponseColumn column definition +type DataTableResponseColumn struct { + // ColumnName - Name of the column + ColumnName *string `json:"columnName,omitempty"` + // DataType - Data type which looks like 'String' or 'Int32'. + DataType *string `json:"dataType,omitempty"` + // ColumnType - Column Type + ColumnType *string `json:"columnType,omitempty"` +} + +// DataTableResponseObject data Table which defines columns and raw row values +type DataTableResponseObject struct { + // TableName - Name of the table + TableName *string `json:"tableName,omitempty"` + // Columns - List of columns with data types + Columns *[]DataTableResponseColumn `json:"columns,omitempty"` + // Rows - Raw row values + Rows *[][]string `json:"rows,omitempty"` +} + // DefaultErrorResponse app Service error response. type DefaultErrorResponse struct { // Error - Error model. @@ -7386,6 +7637,224 @@ type DetectorDefinitionProperties struct { IsEnabled *bool `json:"isEnabled,omitempty"` } +// DetectorInfo definition of Detector +type DetectorInfo struct { + // Description - Short description of the detector and its purpose + Description *string `json:"description,omitempty"` + // Category - Support Category + Category *string `json:"category,omitempty"` + // SubCategory - Support Sub Category + SubCategory *string `json:"subCategory,omitempty"` + // SupportTopicID - Support Topic Id + SupportTopicID *string `json:"supportTopicId,omitempty"` +} + +// DetectorResponse class representing Response from Detector +type DetectorResponse struct { + autorest.Response `json:"-"` + // DetectorResponseProperties - DetectorResponse resource specific properties + *DetectorResponseProperties `json:"properties,omitempty"` + // ID - Resource Id. + ID *string `json:"id,omitempty"` + // Name - Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for DetectorResponse. +func (dr DetectorResponse) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if dr.DetectorResponseProperties != nil { + objectMap["properties"] = dr.DetectorResponseProperties + } + if dr.ID != nil { + objectMap["id"] = dr.ID + } + if dr.Name != nil { + objectMap["name"] = dr.Name + } + if dr.Kind != nil { + objectMap["kind"] = dr.Kind + } + if dr.Type != nil { + objectMap["type"] = dr.Type + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for DetectorResponse struct. +func (dr *DetectorResponse) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var detectorResponseProperties DetectorResponseProperties + err = json.Unmarshal(*v, &detectorResponseProperties) + if err != nil { + return err + } + dr.DetectorResponseProperties = &detectorResponseProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + dr.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + dr.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + dr.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + dr.Type = &typeVar + } + } + } + + return nil +} + +// DetectorResponseCollection collection of detector responses +type DetectorResponseCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]DetectorResponse `json:"value,omitempty"` + // NextLink - Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// DetectorResponseCollectionIterator provides access to a complete listing of DetectorResponse values. +type DetectorResponseCollectionIterator struct { + i int + page DetectorResponseCollectionPage +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *DetectorResponseCollectionIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter DetectorResponseCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter DetectorResponseCollectionIterator) Response() DetectorResponseCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter DetectorResponseCollectionIterator) Value() DetectorResponse { + if !iter.page.NotDone() { + return DetectorResponse{} + } + return iter.page.Values()[iter.i] +} + +// IsEmpty returns true if the ListResult contains no values. +func (drc DetectorResponseCollection) IsEmpty() bool { + return drc.Value == nil || len(*drc.Value) == 0 +} + +// detectorResponseCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (drc DetectorResponseCollection) detectorResponseCollectionPreparer() (*http.Request, error) { + if drc.NextLink == nil || len(to.String(drc.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(drc.NextLink))) +} + +// DetectorResponseCollectionPage contains a page of DetectorResponse values. +type DetectorResponseCollectionPage struct { + fn func(DetectorResponseCollection) (DetectorResponseCollection, error) + drc DetectorResponseCollection +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *DetectorResponseCollectionPage) Next() error { + next, err := page.fn(page.drc) + if err != nil { + return err + } + page.drc = next + return nil +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page DetectorResponseCollectionPage) NotDone() bool { + return !page.drc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page DetectorResponseCollectionPage) Response() DetectorResponseCollection { + return page.drc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page DetectorResponseCollectionPage) Values() []DetectorResponse { + if page.drc.IsEmpty() { + return nil + } + return *page.drc.Value +} + +// DetectorResponseProperties detectorResponse resource specific properties +type DetectorResponseProperties struct { + // Metadata - metadata for the detector + Metadata *DetectorInfo `json:"metadata,omitempty"` + // Dataset - Data Set + Dataset *[]DiagnosticData `json:"dataset,omitempty"` +} + // DiagnosticAnalysis class representing a diagnostic analysis done on an application type DiagnosticAnalysis struct { autorest.Response `json:"-"` @@ -7802,6 +8271,14 @@ type DiagnosticCategoryProperties struct { Description *string `json:"description,omitempty"` } +// DiagnosticData set of data with rendering instructions +type DiagnosticData struct { + // Table - Data in table form + Table *DataTableResponseObject `json:"table,omitempty"` + // RenderingProperties - Properties that describe how the table should be rendered + RenderingProperties *Rendering `json:"renderingProperties,omitempty"` +} + // DiagnosticDetectorCollection collection of Diagnostic Detectors type DiagnosticDetectorCollection struct { autorest.Response `json:"-"` @@ -13951,6 +14428,16 @@ type RelayServiceConnectionEntityProperties struct { BiztalkURI *string `json:"biztalkUri,omitempty"` } +// Rendering instructions for rendering the data +type Rendering struct { + // RenderingType - Rendering Type. Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance' + RenderingType RenderingType `json:"renderingType,omitempty"` + // Title - Title of data + Title *string `json:"title,omitempty"` + // Description - Description of the data that will help it be interpreted + Description *string `json:"description,omitempty"` +} + // RenewCertificateOrderRequest class representing certificate renew request. type RenewCertificateOrderRequest struct { // RenewCertificateOrderRequestProperties - RenewCertificateOrderRequest resource specific properties diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/provider.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/provider.go index a42542e877be..fd67d05fc997 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/provider.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/provider.go @@ -40,8 +40,6 @@ func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) Provide } // GetAvailableStacks get available application frameworks and their versions -// -// osTypeSelected is func (client ProviderClient) GetAvailableStacks(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { result.fn = client.getAvailableStacksNextResults req, err := client.GetAvailableStacksPreparer(ctx, osTypeSelected) @@ -131,8 +129,6 @@ func (client ProviderClient) GetAvailableStacksComplete(ctx context.Context, osT } // GetAvailableStacksOnPrem get available application frameworks and their versions -// -// osTypeSelected is func (client ProviderClient) GetAvailableStacksOnPrem(ctx context.Context, osTypeSelected string) (result ApplicationStackCollectionPage, err error) { result.fn = client.getAvailableStacksOnPremNextResults req, err := client.GetAvailableStacksOnPremPreparer(ctx, osTypeSelected) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/recommendations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/recommendations.go index eda8421f6d0a..2ab446458422 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/recommendations.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/recommendations.go @@ -41,8 +41,9 @@ func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) } // DisableAllForWebApp disable all recommendations for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - name of the app. func (client RecommendationsClient) DisableAllForWebApp(ctx context.Context, resourceGroupName string, siteName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -114,9 +115,10 @@ func (client RecommendationsClient) DisableAllForWebAppResponder(resp *http.Resp } // DisableRecommendationForSite disables the specific rule for a web site permanently. -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is site name name is -// rule name +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - site name +// name - rule name func (client RecommendationsClient) DisableRecommendationForSite(ctx context.Context, resourceGroupName string, siteName string, name string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -190,8 +192,8 @@ func (client RecommendationsClient) DisableRecommendationForSiteResponder(resp * // DisableRecommendationForSubscription disables the specified rule so it will not apply to a subscription in the // future. -// -// name is rule name +// Parameters: +// name - rule name func (client RecommendationsClient) DisableRecommendationForSubscription(ctx context.Context, name string) (result autorest.Response, err error) { req, err := client.DisableRecommendationForSubscriptionPreparer(ctx, name) if err != nil { @@ -254,11 +256,13 @@ func (client RecommendationsClient) DisableRecommendationForSubscriptionResponde } // GetRuleDetailsByWebApp get a recommendation rule for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is name of the app. name -// is name of the recommendation. updateSeen is specify true to update the last-seen timestamp of the -// recommendation object. recommendationID is the GUID of the recommedation object if you query an expired one. You -// don't need to specify it to query an active entry. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - name of the app. +// name - name of the recommendation. +// updateSeen - specify true to update the last-seen timestamp of the recommendation object. +// recommendationID - the GUID of the recommedation object if you query an expired one. You don't need to +// specify it to query an active entry. func (client RecommendationsClient) GetRuleDetailsByWebApp(ctx context.Context, resourceGroupName string, siteName string, name string, updateSeen *bool, recommendationID string) (result RecommendationRule, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -338,11 +342,12 @@ func (client RecommendationsClient) GetRuleDetailsByWebAppResponder(resp *http.R } // List list all recommendations for a subscription. -// -// featured is specify true to return only the most critical recommendations. The default is -// false, which returns all recommendations. filter is filter is specified by using OData syntax. -// Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and -// endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] +// Parameters: +// featured - specify true to return only the most critical recommendations. The default is +// false, which returns all recommendations. +// filter - filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq +// 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain +// eq duration'[PT1H|PT1M|P1D] func (client RecommendationsClient) List(ctx context.Context, featured *bool, filter string) (result RecommendationCollectionPage, err error) { result.fn = client.listNextResults req, err := client.ListPreparer(ctx, featured, filter) @@ -439,11 +444,12 @@ func (client RecommendationsClient) ListComplete(ctx context.Context, featured * } // ListHistoryForWebApp get past recommendations for an app, optionally specified by the time range. -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is name of the app. -// filter is filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq -// 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq -// duration'[PT1H|PT1M|P1D] +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - name of the app. +// filter - filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq +// 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain +// eq duration'[PT1H|PT1M|P1D] func (client RecommendationsClient) ListHistoryForWebApp(ctx context.Context, resourceGroupName string, siteName string, filter string) (result RecommendationCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -547,11 +553,13 @@ func (client RecommendationsClient) ListHistoryForWebAppComplete(ctx context.Con } // ListRecommendedRulesForWebApp get all recommendations for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is name of the app. -// featured is specify true to return only the most critical recommendations. The default is -// false, which returns all recommendations. filter is return only channels specified in the filter. -// Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - name of the app. +// featured - specify true to return only the most critical recommendations. The default is +// false, which returns all recommendations. +// filter - return only channels specified in the filter. Filter is specified by using OData syntax. Example: +// $filter=channels eq 'Api' or channel eq 'Notification' func (client RecommendationsClient) ListRecommendedRulesForWebApp(ctx context.Context, resourceGroupName string, siteName string, featured *bool, filter string) (result RecommendationCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -719,8 +727,9 @@ func (client RecommendationsClient) ResetAllFiltersResponder(resp *http.Response } // ResetAllFiltersForWebApp reset all recommendation opt-out settings for an app. -// -// resourceGroupName is name of the resource group to which the resource belongs. siteName is name of the app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// siteName - name of the app. func (client RecommendationsClient) ResetAllFiltersForWebApp(ctx context.Context, resourceGroupName string, siteName string) (result autorest.Response, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go index c930970814da..470858066d8d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go @@ -41,8 +41,9 @@ func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID s } // GetBySite gets the category of ResourceHealthMetadata to use for the given site -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app func (client ResourceHealthMetadataClient) GetBySite(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadata, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -115,9 +116,10 @@ func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Respons } // GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app +// slot - name of web app slot. If not specified then will default to production slot. func (client ResourceHealthMetadataClient) GetBySiteSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadata, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -281,8 +283,8 @@ func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (re } // ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. -// -// resourceGroupName is name of the resource group to which the resource belongs. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -382,8 +384,9 @@ func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx conte } // ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. func (client ResourceHealthMetadataClient) ListBySite(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadataCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, @@ -484,9 +487,10 @@ func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Contex } // ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection -// -// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is -// name of web app slot. If not specified then will default to production slot. +// Parameters: +// resourceGroupName - name of the resource group to which the resource belongs. +// name - name of web app. +// slot - name of web app slot. If not specified then will default to production slot. func (client ResourceHealthMetadataClient) ListBySiteSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadataCollectionPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: resourceGroupName, diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/topleveldomains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/topleveldomains.go index e9494f76cda7..6b836bed0dd0 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/topleveldomains.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/topleveldomains.go @@ -40,8 +40,8 @@ func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) } // Get get details of a top-level domain. -// -// name is name of the top-level domain. +// Parameters: +// name - name of the top-level domain. func (client TopLevelDomainsClient) Get(ctx context.Context, name string) (result TopLevelDomain, err error) { req, err := client.GetPreparer(ctx, name) if err != nil { @@ -195,8 +195,9 @@ func (client TopLevelDomainsClient) ListComplete(ctx context.Context) (result To } // ListAgreements gets all legal agreements that user needs to accept before purchasing a domain. -// -// name is name of the top-level domain. agreementOption is domain agreement options. +// Parameters: +// name - name of the top-level domain. +// agreementOption - domain agreement options. func (client TopLevelDomainsClient) ListAgreements(ctx context.Context, name string, agreementOption TopLevelDomainAgreementOption) (result TldLegalAgreementCollectionPage, err error) { result.fn = client.listAgreementsNextResults req, err := client.ListAgreementsPreparer(ctx, name, agreementOption) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/blob.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/blob.go index 24ee5db6fbcc..1d2248625b33 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/blob.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/blob.go @@ -140,7 +140,7 @@ func (b *Blob) Exists() (bool, error) { headers := b.Container.bsc.client.getStandardHeaders() resp, err := b.Container.bsc.client.exec(http.MethodHead, uri, headers, nil, b.Container.bsc.auth) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusOK || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusOK, nil } @@ -293,7 +293,7 @@ func (b *Blob) CreateSnapshot(options *SnapshotOptions) (snapshotTimestamp *time if err != nil || resp == nil { return nil, err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err := checkRespCode(resp, []int{http.StatusCreated}); err != nil { return nil, err @@ -340,7 +340,7 @@ func (b *Blob) GetProperties(options *GetBlobPropertiesOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err = checkRespCode(resp, []int{http.StatusOK}); err != nil { return err @@ -463,7 +463,7 @@ func (b *Blob) SetProperties(options *SetBlobPropertiesOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusOK}) } @@ -501,7 +501,7 @@ func (b *Blob) SetMetadata(options *SetBlobMetadataOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusOK}) } @@ -538,7 +538,7 @@ func (b *Blob) GetMetadata(options *GetBlobMetadataOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err := checkRespCode(resp, []int{http.StatusOK}); err != nil { return err @@ -574,7 +574,7 @@ func (b *Blob) Delete(options *DeleteBlobOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusAccepted}) } @@ -585,7 +585,7 @@ func (b *Blob) Delete(options *DeleteBlobOptions) error { func (b *Blob) DeleteIfExists(options *DeleteBlobOptions) (bool, error) { resp, err := b.delete(options) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusAccepted || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusAccepted, nil } @@ -622,7 +622,7 @@ func pathForResource(container, name string) string { } func (b *Blob) respondCreation(resp *http.Response, bt BlobType) error { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) err := checkRespCode(resp, []int{http.StatusCreated}) if err != nil { return err diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/blockblob.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/blockblob.go index 5d9467afdb75..c9c62d799acf 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/blockblob.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/blockblob.go @@ -229,7 +229,7 @@ func (b *Blob) PutBlockList(blocks []Block, options *PutBlockListOptions) error if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusCreated}) } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go index 651ba87226e3..2930824b26f0 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go @@ -120,6 +120,7 @@ func (ds *DefaultSender) Send(c *Client, req *http.Request) (resp *http.Response if err != nil || !autorest.ResponseHasStatusCode(resp, ds.ValidStatusCodes...) { return resp, err } + drainRespBody(resp) autorest.DelayForBackoff(ds.RetryDuration, attempts, req.Cancel) ds.attempts = attempts } @@ -880,6 +881,12 @@ func readAndCloseBody(body io.ReadCloser) ([]byte, error) { return out, err } +// reads the response body then closes it +func drainRespBody(resp *http.Response) { + io.Copy(ioutil.Discard, resp.Body) + resp.Body.Close() +} + func serviceErrFromXML(body []byte, storageErr *AzureStorageServiceError) error { if err := xml.Unmarshal(body, storageErr); err != nil { storageErr.Message = fmt.Sprintf("Response body could no be unmarshaled: %v. Body: %v.", err, string(body)) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/container.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/container.go index bba44db74747..056473d49a20 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/container.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/container.go @@ -258,7 +258,7 @@ func (c *Container) Create(options *CreateContainerOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusCreated}) } @@ -267,7 +267,7 @@ func (c *Container) Create(options *CreateContainerOptions) error { func (c *Container) CreateIfNotExists(options *CreateContainerOptions) (bool, error) { resp, err := c.create(options) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusCreated || resp.StatusCode == http.StatusConflict { return resp.StatusCode == http.StatusCreated, nil } @@ -307,7 +307,7 @@ func (c *Container) Exists() (bool, error) { resp, err := c.bsc.client.exec(http.MethodHead, uri, headers, nil, c.bsc.auth) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusOK || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusOK, nil } @@ -349,7 +349,7 @@ func (c *Container) SetPermissions(permissions ContainerPermissions, options *Se if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusOK}) } @@ -431,7 +431,7 @@ func (c *Container) Delete(options *DeleteContainerOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusAccepted}) } @@ -444,7 +444,7 @@ func (c *Container) Delete(options *DeleteContainerOptions) error { func (c *Container) DeleteIfExists(options *DeleteContainerOptions) (bool, error) { resp, err := c.delete(options) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusAccepted || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusAccepted, nil } @@ -535,7 +535,7 @@ func (c *Container) SetMetadata(options *ContainerMetadataOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusOK}) } @@ -563,7 +563,7 @@ func (c *Container) GetMetadata(options *ContainerMetadataOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err := checkRespCode(resp, []int{http.StatusOK}); err != nil { return err } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/copyblob.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/copyblob.go index 248dfb220eb8..151e9a51072c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/copyblob.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/copyblob.go @@ -110,7 +110,7 @@ func (b *Blob) StartCopy(sourceBlob string, options *CopyOptions) (string, error if err != nil { return "", err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err := checkRespCode(resp, []int{http.StatusAccepted, http.StatusCreated}); err != nil { return "", err @@ -152,7 +152,7 @@ func (b *Blob) AbortCopy(copyID string, options *AbortCopyOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } @@ -223,7 +223,7 @@ func (b *Blob) IncrementalCopyBlob(sourceBlobURL string, snapshotTime time.Time, if err != nil { return "", err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err := checkRespCode(resp, []int{http.StatusAccepted}); err != nil { return "", err diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/directory.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/directory.go index 237d10fd155c..2e805e7dff37 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/directory.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/directory.go @@ -107,7 +107,7 @@ func (d *Directory) CreateIfNotExists(options *FileRequestOptions) (bool, error) params := prepareOptions(options) resp, err := d.fsc.createResourceNoClose(d.buildPath(), resourceDirectory, params, nil) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusCreated || resp.StatusCode == http.StatusConflict { if resp.StatusCode == http.StatusCreated { d.updateEtagAndLastModified(resp.Header) @@ -135,7 +135,7 @@ func (d *Directory) Delete(options *FileRequestOptions) error { func (d *Directory) DeleteIfExists(options *FileRequestOptions) (bool, error) { resp, err := d.fsc.deleteResourceNoClose(d.buildPath(), resourceDirectory, options) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusAccepted || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusAccepted, nil } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/entity.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/entity.go index 5af9b1ef3e35..fbbcb93bacae 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/entity.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/entity.go @@ -112,7 +112,7 @@ func (e *Entity) Get(timeout uint, ml MetadataLevel, options *GetEntityOptions) if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err = checkRespCode(resp, []int{http.StatusOK}); err != nil { return err @@ -154,7 +154,7 @@ func (e *Entity) Insert(ml MetadataLevel, options *EntityOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if ml != EmptyPayload { if err = checkRespCode(resp, []int{http.StatusCreated}); err != nil { @@ -212,7 +212,7 @@ func (e *Entity) Delete(force bool, options *EntityOptions) error { } return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err = checkRespCode(resp, []int{http.StatusNoContent}); err != nil { return err @@ -399,7 +399,7 @@ func (e *Entity) insertOr(verb string, options *EntityOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err = checkRespCode(resp, []int{http.StatusNoContent}); err != nil { return err @@ -428,7 +428,7 @@ func (e *Entity) updateMerge(force bool, verb string, options *EntityOptions) er } return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err = checkRespCode(resp, []int{http.StatusNoContent}); err != nil { return err diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/file.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/file.go index 8afc2e23355b..06bbe4ba08cb 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/file.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/file.go @@ -187,7 +187,7 @@ func (f *File) Delete(options *FileRequestOptions) error { func (f *File) DeleteIfExists(options *FileRequestOptions) (bool, error) { resp, err := f.fsc.deleteResourceNoClose(f.buildPath(), resourceFile, options) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusAccepted || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusAccepted, nil } @@ -212,7 +212,7 @@ func (f *File) DownloadToStream(options *FileRequestOptions) (io.ReadCloser, err } if err = checkRespCode(resp, []int{http.StatusOK}); err != nil { - readAndCloseBody(resp.Body) + drainRespBody(resp) return nil, err } return resp.Body, nil @@ -242,7 +242,7 @@ func (f *File) DownloadRangeToStream(fileRange FileRange, options *GetFileOption } if err = checkRespCode(resp, []int{http.StatusOK, http.StatusPartialContent}); err != nil { - readAndCloseBody(resp.Body) + drainRespBody(resp) return fs, err } @@ -375,7 +375,7 @@ func (f *File) modifyRange(bytes io.Reader, fileRange FileRange, timeout *uint, if err != nil { return nil, err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return resp.Header, checkRespCode(resp, []int{http.StatusCreated}) } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/fileserviceclient.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/fileserviceclient.go index 6467937d2fac..1db8e7da6103 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/fileserviceclient.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/fileserviceclient.go @@ -194,7 +194,7 @@ func (f FileServiceClient) listContent(path string, params url.Values, extraHead } if err = checkRespCode(resp, []int{http.StatusOK}); err != nil { - readAndCloseBody(resp.Body) + drainRespBody(resp) return nil, err } @@ -212,7 +212,7 @@ func (f FileServiceClient) resourceExists(path string, res resourceType) (bool, resp, err := f.client.exec(http.MethodHead, uri, headers, nil, f.auth) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusOK || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusOK, resp.Header, nil } @@ -226,7 +226,7 @@ func (f FileServiceClient) createResource(path string, res resourceType, urlPara if err != nil { return nil, err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return resp.Header, checkRespCode(resp, expectedResponseCodes) } @@ -251,7 +251,7 @@ func (f FileServiceClient) getResourceHeaders(path string, comp compType, res re if err != nil { return nil, err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err = checkRespCode(resp, []int{http.StatusOK}); err != nil { return nil, err @@ -279,7 +279,7 @@ func (f FileServiceClient) deleteResource(path string, res resourceType, options if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusAccepted}) } @@ -323,7 +323,7 @@ func (f FileServiceClient) setResourceHeaders(path string, comp compType, res re if err != nil { return nil, err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return resp.Header, checkRespCode(resp, []int{http.StatusOK}) } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/leaseblob.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/leaseblob.go index 22ddbcd65d8b..5b4a65145b61 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/leaseblob.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/leaseblob.go @@ -53,7 +53,7 @@ func (b *Blob) leaseCommonPut(headers map[string]string, expectedStatus int, opt if err != nil { return nil, err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err := checkRespCode(resp, []int{expectedStatus}); err != nil { return nil, err diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/message.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/message.go index ff13704ea10f..ce33dcb7270d 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/message.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/message.go @@ -78,7 +78,7 @@ func (m *Message) Put(options *PutMessageOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) err = checkRespCode(resp, []int{http.StatusCreated}) if err != nil { return err @@ -128,7 +128,7 @@ func (m *Message) Update(options *UpdateMessageOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) m.PopReceipt = resp.Header.Get("x-ms-popreceipt") nextTimeStr := resp.Header.Get("x-ms-time-next-visible") @@ -160,7 +160,7 @@ func (m *Message) Delete(options *QueueServiceOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/pageblob.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/pageblob.go index 007e19e618b4..7ffd63821d7a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/pageblob.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/pageblob.go @@ -121,7 +121,7 @@ func (b *Blob) modifyRange(blobRange BlobRange, bytes io.Reader, options *PutPag if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusCreated}) } @@ -160,7 +160,7 @@ func (b *Blob) GetPageRanges(options *GetPageRangesOptions) (GetPageRangesRespon if err != nil { return out, err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err = checkRespCode(resp, []int{http.StatusOK}); err != nil { return out, err diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/queue.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/queue.go index 9a821c56ade3..55238ab15ffc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/queue.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/queue.go @@ -91,7 +91,7 @@ func (q *Queue) Create(options *QueueServiceOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusCreated}) } @@ -111,7 +111,7 @@ func (q *Queue) Delete(options *QueueServiceOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } @@ -120,7 +120,7 @@ func (q *Queue) Exists() (bool, error) { uri := q.qsc.client.getEndpoint(queueServiceName, q.buildPath(), url.Values{"comp": {"metadata"}}) resp, err := q.qsc.client.exec(http.MethodGet, uri, q.qsc.client.getStandardHeaders(), nil, q.qsc.auth) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusOK || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusOK, nil } @@ -148,7 +148,7 @@ func (q *Queue) SetMetadata(options *QueueServiceOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } @@ -175,7 +175,7 @@ func (q *Queue) GetMetadata(options *QueueServiceOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if err := checkRespCode(resp, []int{http.StatusOK}); err != nil { return err @@ -314,7 +314,7 @@ func (q *Queue) ClearMessages(options *QueueServiceOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } @@ -341,7 +341,7 @@ func (q *Queue) SetPermissions(permissions QueuePermissions, options *SetQueuePe if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/share.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/share.go index 0ded501077bb..cf75a2659153 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/share.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/share.go @@ -75,7 +75,7 @@ func (s *Share) CreateIfNotExists(options *FileRequestOptions) (bool, error) { params := prepareOptions(options) resp, err := s.fsc.createResourceNoClose(s.buildPath(), resourceShare, params, extraheaders) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusCreated || resp.StatusCode == http.StatusConflict { if resp.StatusCode == http.StatusCreated { s.updateEtagAndLastModified(resp.Header) @@ -103,7 +103,7 @@ func (s *Share) Delete(options *FileRequestOptions) error { func (s *Share) DeleteIfExists(options *FileRequestOptions) (bool, error) { resp, err := s.fsc.deleteResourceNoClose(s.buildPath(), resourceShare, options) if resp != nil { - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) if resp.StatusCode == http.StatusAccepted || resp.StatusCode == http.StatusNotFound { return resp.StatusCode == http.StatusAccepted, nil } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/storageservice.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/storageservice.go index a68ad09303cf..c338975ab5c9 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/storageservice.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/storageservice.go @@ -126,6 +126,6 @@ func (c Client) setServiceProperties(props ServiceProperties, service string, au if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusAccepted}) } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/table.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/table.go index b96ca6e12867..22d9b4f5c130 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/table.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/table.go @@ -186,7 +186,7 @@ func (t *Table) Delete(timeout uint, options *TableOptions) error { if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } @@ -269,7 +269,7 @@ func (t *Table) SetPermissions(tap []TableAccessPolicy, timeout uint, options *T if err != nil { return err } - defer readAndCloseBody(resp.Body) + defer drainRespBody(resp) return checkRespCode(resp, []int{http.StatusNoContent}) } diff --git a/vendor/github.com/Azure/azure-sdk-for-go/storage/table_batch.go b/vendor/github.com/Azure/azure-sdk-for-go/storage/table_batch.go index 6595fb70fc1c..a2159e2966e3 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/storage/table_batch.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/storage/table_batch.go @@ -163,7 +163,7 @@ func (t *TableBatch) ExecuteBatch() error { if err != nil { return err } - defer readAndCloseBody(resp.resp.Body) + defer drainRespBody(resp.resp) if err = checkRespCode(resp.resp, []int{http.StatusAccepted}); err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go index e03d8ff36795..3d022e4414ca 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go @@ -18,4 +18,4 @@ package version // Changes may cause incorrect behavior and will be lost if the code is regenerated. // Number contains the semantic version of this SDK. -const Number = "v15.1.0" +const Number = "v16.1.0" diff --git a/vendor/github.com/Azure/go-autorest/autorest/adal/token.go b/vendor/github.com/Azure/go-autorest/autorest/adal/token.go index b61b3eb8ea54..67c5a0b0ba50 100644 --- a/vendor/github.com/Azure/go-autorest/autorest/adal/token.go +++ b/vendor/github.com/Azure/go-autorest/autorest/adal/token.go @@ -15,6 +15,7 @@ package adal // limitations under the License. import ( + "context" "crypto/rand" "crypto/rsa" "crypto/sha1" @@ -23,6 +24,7 @@ import ( "encoding/json" "fmt" "io/ioutil" + "net" "net/http" "net/url" "strconv" @@ -77,6 +79,13 @@ type Refresher interface { EnsureFresh() error } +// RefresherWithContext is an interface for token refresh functionality +type RefresherWithContext interface { + RefreshWithContext(ctx context.Context) error + RefreshExchangeWithContext(ctx context.Context, resource string) error + EnsureFreshWithContext(ctx context.Context) error +} + // TokenRefreshCallback is the type representing callbacks that will be called after // a successful token refresh type TokenRefreshCallback func(Token) error @@ -528,12 +537,18 @@ func newTokenRefreshError(message string, resp *http.Response) TokenRefreshError // EnsureFresh will refresh the token if it will expire within the refresh window (as set by // RefreshWithin) and autoRefresh flag is on. This method is safe for concurrent use. func (spt *ServicePrincipalToken) EnsureFresh() error { + return spt.EnsureFreshWithContext(context.Background()) +} + +// EnsureFreshWithContext will refresh the token if it will expire within the refresh window (as set by +// RefreshWithin) and autoRefresh flag is on. This method is safe for concurrent use. +func (spt *ServicePrincipalToken) EnsureFreshWithContext(ctx context.Context) error { if spt.autoRefresh && spt.token.WillExpireIn(spt.refreshWithin) { // take the write lock then check to see if the token was already refreshed spt.refreshLock.Lock() defer spt.refreshLock.Unlock() if spt.token.WillExpireIn(spt.refreshWithin) { - return spt.refreshInternal(spt.resource) + return spt.refreshInternal(ctx, spt.resource) } } return nil @@ -555,17 +570,29 @@ func (spt *ServicePrincipalToken) InvokeRefreshCallbacks(token Token) error { // Refresh obtains a fresh token for the Service Principal. // This method is not safe for concurrent use and should be syncrhonized. func (spt *ServicePrincipalToken) Refresh() error { + return spt.RefreshWithContext(context.Background()) +} + +// RefreshWithContext obtains a fresh token for the Service Principal. +// This method is not safe for concurrent use and should be syncrhonized. +func (spt *ServicePrincipalToken) RefreshWithContext(ctx context.Context) error { spt.refreshLock.Lock() defer spt.refreshLock.Unlock() - return spt.refreshInternal(spt.resource) + return spt.refreshInternal(ctx, spt.resource) } // RefreshExchange refreshes the token, but for a different resource. // This method is not safe for concurrent use and should be syncrhonized. func (spt *ServicePrincipalToken) RefreshExchange(resource string) error { + return spt.RefreshExchangeWithContext(context.Background(), resource) +} + +// RefreshExchangeWithContext refreshes the token, but for a different resource. +// This method is not safe for concurrent use and should be syncrhonized. +func (spt *ServicePrincipalToken) RefreshExchangeWithContext(ctx context.Context, resource string) error { spt.refreshLock.Lock() defer spt.refreshLock.Unlock() - return spt.refreshInternal(resource) + return spt.refreshInternal(ctx, resource) } func (spt *ServicePrincipalToken) getGrantType() string { @@ -587,12 +614,12 @@ func isIMDS(u url.URL) bool { return u.Host == imds.Host && u.Path == imds.Path } -func (spt *ServicePrincipalToken) refreshInternal(resource string) error { +func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource string) error { req, err := http.NewRequest(http.MethodPost, spt.oauthConfig.TokenEndpoint.String(), nil) if err != nil { return fmt.Errorf("adal: Failed to build the refresh request. Error = '%v'", err) } - + req = req.WithContext(ctx) if !isIMDS(spt.oauthConfig.TokenEndpoint) { v := url.Values{} v.Set("client_id", spt.clientID) @@ -621,9 +648,14 @@ func (spt *ServicePrincipalToken) refreshInternal(resource string) error { req.Header.Set(metadataHeader, "true") } - resp, err := spt.sender.Do(req) + var resp *http.Response + if isIMDS(spt.oauthConfig.TokenEndpoint) { + resp, err = retry(spt.sender, req) + } else { + resp, err = spt.sender.Do(req) + } if err != nil { - return fmt.Errorf("adal: Failed to execute the refresh request. Error = '%v'", err) + return newTokenRefreshError(fmt.Sprintf("adal: Failed to execute the refresh request. Error = '%v'", err), nil) } defer resp.Body.Close() @@ -631,11 +663,15 @@ func (spt *ServicePrincipalToken) refreshInternal(resource string) error { if resp.StatusCode != http.StatusOK { if err != nil { - return newTokenRefreshError(fmt.Sprintf("adal: Refresh request failed. Status Code = '%d'. Failed reading response body", resp.StatusCode), resp) + return newTokenRefreshError(fmt.Sprintf("adal: Refresh request failed. Status Code = '%d'. Failed reading response body: %v", resp.StatusCode, err), resp) } return newTokenRefreshError(fmt.Sprintf("adal: Refresh request failed. Status Code = '%d'. Response body: %s", resp.StatusCode, string(rb)), resp) } + // for the following error cases don't return a TokenRefreshError. the operation succeeded + // but some transient failure happened during deserialization. by returning a generic error + // the retry logic will kick in (we don't retry on TokenRefreshError). + if err != nil { return fmt.Errorf("adal: Failed to read a new service principal token during refresh. Error = '%v'", err) } @@ -653,6 +689,81 @@ func (spt *ServicePrincipalToken) refreshInternal(resource string) error { return spt.InvokeRefreshCallbacks(token) } +func retry(sender Sender, req *http.Request) (resp *http.Response, err error) { + retries := []int{ + http.StatusRequestTimeout, // 408 + http.StatusTooManyRequests, // 429 + http.StatusInternalServerError, // 500 + http.StatusBadGateway, // 502 + http.StatusServiceUnavailable, // 503 + http.StatusGatewayTimeout, // 504 + } + // Extra retry status codes requered + retries = append(retries, http.StatusNotFound, + // all remaining 5xx + http.StatusNotImplemented, + http.StatusHTTPVersionNotSupported, + http.StatusVariantAlsoNegotiates, + http.StatusInsufficientStorage, + http.StatusLoopDetected, + http.StatusNotExtended, + http.StatusNetworkAuthenticationRequired) + + attempt := 0 + maxAttempts := 5 + + for attempt < maxAttempts { + resp, err = sender.Do(req) + // retry on temporary network errors, e.g. transient network failures. + if (err != nil && !isTemporaryNetworkError(err)) || resp.StatusCode == http.StatusOK || !containsInt(retries, resp.StatusCode) { + return + } + + if !delay(resp, req.Context().Done()) { + select { + case <-time.After(time.Second): + attempt++ + case <-req.Context().Done(): + err = req.Context().Err() + return + } + } + } + return +} + +func isTemporaryNetworkError(err error) bool { + if netErr, ok := err.(net.Error); ok && netErr.Temporary() { + return true + } + return false +} + +func containsInt(ints []int, n int) bool { + for _, i := range ints { + if i == n { + return true + } + } + return false +} + +func delay(resp *http.Response, cancel <-chan struct{}) bool { + if resp == nil { + return false + } + retryAfter, _ := strconv.Atoi(resp.Header.Get("Retry-After")) + if resp.StatusCode == http.StatusTooManyRequests && retryAfter > 0 { + select { + case <-time.After(time.Duration(retryAfter) * time.Second): + return true + case <-cancel: + return false + } + } + return false +} + // SetAutoRefresh enables or disables automatic refreshing of stale tokens. func (spt *ServicePrincipalToken) SetAutoRefresh(autoRefresh bool) { spt.autoRefresh = autoRefresh diff --git a/vendor/github.com/Azure/go-autorest/autorest/authorization.go b/vendor/github.com/Azure/go-autorest/autorest/authorization.go index c51eac0a7830..77eff45bddb5 100644 --- a/vendor/github.com/Azure/go-autorest/autorest/authorization.go +++ b/vendor/github.com/Azure/go-autorest/autorest/authorization.go @@ -113,17 +113,19 @@ func (ba *BearerAuthorizer) WithAuthorization() PrepareDecorator { return PreparerFunc(func(r *http.Request) (*http.Request, error) { r, err := p.Prepare(r) if err == nil { - refresher, ok := ba.tokenProvider.(adal.Refresher) - if ok { - err := refresher.EnsureFresh() - if err != nil { - var resp *http.Response - if tokError, ok := err.(adal.TokenRefreshError); ok { - resp = tokError.Response() - } - return r, NewErrorWithError(err, "azure.BearerAuthorizer", "WithAuthorization", resp, - "Failed to refresh the Token for request to %s", r.URL) + // the ordering is important here, prefer RefresherWithContext if available + if refresher, ok := ba.tokenProvider.(adal.RefresherWithContext); ok { + err = refresher.EnsureFreshWithContext(r.Context()) + } else if refresher, ok := ba.tokenProvider.(adal.Refresher); ok { + err = refresher.EnsureFresh() + } + if err != nil { + var resp *http.Response + if tokError, ok := err.(adal.TokenRefreshError); ok { + resp = tokError.Response() } + return r, NewErrorWithError(err, "azure.BearerAuthorizer", "WithAuthorization", resp, + "Failed to refresh the Token for request to %s", r.URL) } return Prepare(r, WithHeader(headerAuthorization, fmt.Sprintf("Bearer %s", ba.tokenProvider.OAuthToken()))) } diff --git a/vendor/github.com/Azure/go-autorest/autorest/sender.go b/vendor/github.com/Azure/go-autorest/autorest/sender.go index b4f762325f6c..cacbd815717d 100644 --- a/vendor/github.com/Azure/go-autorest/autorest/sender.go +++ b/vendor/github.com/Azure/go-autorest/autorest/sender.go @@ -223,6 +223,10 @@ func DoRetryForStatusCodes(attempts int, backoff time.Duration, codes ...int) Se return resp, err } resp, err = s.Do(rr.Request()) + // if the error isn't temporary don't bother retrying + if err != nil && !IsTemporaryNetworkError(err) { + return nil, err + } // we want to retry if err is not nil (e.g. transient network failure). note that for failed authentication // resp and err will both have a value, so in this case we don't want to retry as it will never succeed. if err == nil && !ResponseHasStatusCode(resp, codes...) || IsTokenRefreshError(err) { diff --git a/vendor/github.com/Azure/go-autorest/autorest/utility.go b/vendor/github.com/Azure/go-autorest/autorest/utility.go index afb3e4e161ba..f3a42bfc268d 100644 --- a/vendor/github.com/Azure/go-autorest/autorest/utility.go +++ b/vendor/github.com/Azure/go-autorest/autorest/utility.go @@ -20,6 +20,7 @@ import ( "encoding/xml" "fmt" "io" + "net" "net/http" "net/url" "reflect" @@ -216,3 +217,11 @@ func IsTokenRefreshError(err error) bool { } return false } + +// IsTemporaryNetworkError returns true if the specified error is a temporary network error. +func IsTemporaryNetworkError(err error) bool { + if netErr, ok := err.(net.Error); ok && netErr.Temporary() { + return true + } + return false +} diff --git a/vendor/github.com/Azure/go-autorest/autorest/version.go b/vendor/github.com/Azure/go-autorest/autorest/version.go index 4ad7754adab4..d265055f51fb 100644 --- a/vendor/github.com/Azure/go-autorest/autorest/version.go +++ b/vendor/github.com/Azure/go-autorest/autorest/version.go @@ -16,5 +16,5 @@ package autorest // Version returns the semantic version (see http://semver.org). func Version() string { - return "v10.5.0" + return "v10.8.1" } diff --git a/vendor/vendor.json b/vendor/vendor.json index 9f966fb81730..cdd9b768a4f0 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -3,228 +3,228 @@ "ignore": "test", "package": [ { - "checksumSHA1": "he/VGR6IgJ8CxXoYBmgFvTKRAtE=", + "checksumSHA1": "I1O9w4/hn+3DtQFbJrgwau5VOXI=", "path": "github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "uxqhpe2KAMLaOJ4UJZbNW85/DRQ=", + "checksumSHA1": "jf0lz1wRA07ILyDujw/NzoU3kMA=", "path": "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "9z+AoEc7nQeXjTmnPnvG4m2e+SA=", + "checksumSHA1": "cL5VuAorqkBbkDvfOpB8Mh8Mm48=", "path": "github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "9zEuoQJZTVs2pUTQQOVwSL9KDvo=", + "checksumSHA1": "jNqFdbZdsFgDH9xhq3fXNIk1+eM=", "path": "github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { "checksumSHA1": "kM2PZfGUZRmE9wFeHAFjHFPepzk=", "path": "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-12-01/compute", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "ufJjnUN3IoNaycDXS3irWPADAvQ=", + "checksumSHA1": "17kDQcToCpJ8yGuAd7nP1QkOO6M=", "path": "github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "7t0VrdSexJ3Fkft4qx6Y7i+XUag=", + "checksumSHA1": "Uafz6z4ARTszbiN4lBDe9XzLvpc=", "path": "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "CFz0XzK5dml6LU9NwZmQf7rGiCg=", + "checksumSHA1": "OS98xAxprza/yF/IQZqgM8QHf30=", "path": "github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "vqgxILYG9Q90LilSHK37e3TMJlU=", + "checksumSHA1": "xPqRAsuso4gp81HrMH1RnhbzfCk=", "path": "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "Jic4NwZdIHPlBvO6KwQH8WWOYbM=", + "checksumSHA1": "cdSthV7hZqJYRvbNwWuC0VFzn14=", "path": "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "Nzv5lOussmqZ2h3i9/H2LmJWJBA=", + "checksumSHA1": "NieGKPVYPaCrPLxkzS+fEMidE3M=", "path": "github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "7ZlPzptP9bH3HHJdYsPD+1CH0fA=", + "checksumSHA1": "wVJTMg87mLWoBmlniu/UA/YmVe4=", "path": "github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "ZjMfE/TWv/Xqzwu+tw4y72uY/bc=", + "checksumSHA1": "x9ceW8JE2/FgODRSywClj0fRlh8=", "path": "github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "0kRLbd9dmqjHMNHLDoiIQTv5Vdc=", + "checksumSHA1": "XCm0kJwkGqkv1VL2gUNTU7PIK6o=", "path": "github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "AxqtZ/9WzUGzJlHROXKrxwe2fS8=", + "checksumSHA1": "o1oH4ofWhXB67MoFvPDl5sl65j4=", "path": "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "XxIQmqFCsZoiHnyzJ/5aVMM11B0=", + "checksumSHA1": "IT8QxbA8sPbbCR79wiG9UxyRGEw=", "path": "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "QW7MPOpXOPihcLyyLXIBXNmSR8Q=", + "checksumSHA1": "vAkF/ng9NforhX2dTdVfNWMZmKo=", "path": "github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { "checksumSHA1": "l5LiS1E96VhqOILV/TKh37eYbeg=", "path": "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-04-30-preview/mysql", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "xRIUSsPljkKhI6zvql/7bGJiUAU=", + "checksumSHA1": "wRmQ+EBPmpsb6NvjlBXE8Y/JSZA=", "path": "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "FKVggufINs+t2nWOsbnZo7bi+hw=", + "checksumSHA1": "DzVfhx2cwj/AgX9m6fvrecc7VyU=", "path": "github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "ThSWR8EWt3+Klt7DG4HANzmxhEQ=", + "checksumSHA1": "0ubEDR8ye1PhBuUd5aVsGa3GLJs=", "path": "github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { "checksumSHA1": "d0AbZFEWBxTD9kTLApajDviAra8=", "path": "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-04-30-preview/postgresql", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "MIhAkAYROlF0bQN4AT4WZWkBQtY=", + "checksumSHA1": "UWSnIzZywuEpEevbPfbPNLk1dFk=", "path": "github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "JNSBPrbVww7i2tKS02XHTRU9f6A=", + "checksumSHA1": "+PzYADBMf8z7GQmbHh9EmFmFE1c=", "path": "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "woz67BK+/NdoZm4GzVYnJwzl61A=", + "checksumSHA1": "DJY5zDEcGa82/Hbfud8lgHCuvU4=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "Dn2rizAeld0NpL5Oj920eiMwL2o=", + "checksumSHA1": "DQuP9Nzul8I8SN5fBg0NqWn124Q=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "F8O+DFqLL3C7QCG43si9N3NleHQ=", + "checksumSHA1": "pn550P6giSwxXck8lRRaNOPwxaQ=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "Cm1d0n9h/87EA43VSuPazm7lmgA=", + "checksumSHA1": "G0pRv7MqqQwOFOg6IIaIoSWYwvY=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { "checksumSHA1": "KnpIP9m1vO3qKIgEaTH/tzdCQsY=", @@ -235,124 +235,124 @@ "versionExact": "v15.1.0" }, { - "checksumSHA1": "bmOcu7B6nT4ubNAFcs4DLWmBAIo=", + "checksumSHA1": "D6gwM+shQnzYSGV0EnvH+uduzIg=", "path": "github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "O7UKTV+UsCZnvYLzZMLaxS9N5Jk=", + "checksumSHA1": "47wZjqF3UfIT1Xs56kXJ11zpCNc=", "path": "github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "lrA+cOUwjF47b1it8r93jaw6MSE=", + "checksumSHA1": "9CF6+vlasWn5NLNO3WGhLAFqp2w=", "path": "github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "g9eP5AgV9yXRkY36M8h7aDW9oi8=", + "checksumSHA1": "Gtq0yrNJHVALuWjOKpHgLRvvgxA=", "path": "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "f9IwwrByqa3ypvYApuuZD5rIMvE=", + "checksumSHA1": "HhbwyLbz+/pbGSWb2cp+fAp6YsI=", "path": "github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "kX5YZ4u08mQ44HEJVjjDOdfbNqI=", + "checksumSHA1": "+QoJPj0cY9GZazF63e/KDG5zmfw=", "path": "github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "3N5Et8QnWsHJYN+v/0J/VSQUkJ0=", + "checksumSHA1": "NAkdZOb1m8R72Av84tCFDXxmD2Q=", "path": "github.com/Azure/azure-sdk-for-go/storage", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "Gp9PjNDzkHRrBqQ4iSH0UcQlNMU=", + "checksumSHA1": "FAw+h8wS2QiQEIVC3z/8R2q1bvY=", "path": "github.com/Azure/azure-sdk-for-go/version", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "767429fcb996dad413936d682c28301e6739bade", + "revisionTime": "2018-05-01T22:35:11Z", + "version": "v16.1.0", + "versionExact": "v16.1.0" }, { - "checksumSHA1": "yWr3Vmf8wvJYTg+UR3zOjd9Kq3g=", + "checksumSHA1": "sQy6zpkumGcXs0QZLhYs8An1vlI=", "path": "github.com/Azure/go-autorest/autorest", - "revision": "9ad9326b278af8fa5cc67c30c0ce9a58cc0862b2", - "revisionTime": "2018-04-04T23:29:44Z", - "version": "v10.6.0", - "versionExact": "v10.6.0" + "revision": "eaa7994b2278094c904d31993d26f56324db3052", + "revisionTime": "2018-05-02T23:02:43Z", + "version": "v10.8.1", + "versionExact": "v10.8.1" }, { - "checksumSHA1": "2Mju3jwpFTNGwZT243jaHZ8f0dg=", + "checksumSHA1": "Xu6BOMnd2rZzabW6ld1yUrVjBQw=", "path": "github.com/Azure/go-autorest/autorest/adal", - "revision": "9ad9326b278af8fa5cc67c30c0ce9a58cc0862b2", - "revisionTime": "2018-04-04T23:29:44Z", - "version": "v10.6.0", - "versionExact": "v10.6.0" + "revision": "eaa7994b2278094c904d31993d26f56324db3052", + "revisionTime": "2018-05-02T23:02:43Z", + "version": "v10.8.1", + "versionExact": "v10.8.1" }, { "checksumSHA1": "vUHo41PG/G6Qq+vqD65l9KHFxUs=", "path": "github.com/Azure/go-autorest/autorest/azure", - "revision": "9ad9326b278af8fa5cc67c30c0ce9a58cc0862b2", - "revisionTime": "2018-04-04T23:29:44Z", - "version": "v10.6.0", - "versionExact": "v10.6.0" + "revision": "eaa7994b2278094c904d31993d26f56324db3052", + "revisionTime": "2018-05-02T23:02:43Z", + "version": "v10.8.1", + "versionExact": "v10.8.1" }, { "checksumSHA1": "+nXRwVB/JVEGe+oLsFhCmSkKPuI=", "path": "github.com/Azure/go-autorest/autorest/azure/cli", - "revision": "9ad9326b278af8fa5cc67c30c0ce9a58cc0862b2", - "revisionTime": "2018-04-04T23:29:44Z", - "version": "v10.6.0", - "versionExact": "v10.6.0" + "revision": "eaa7994b2278094c904d31993d26f56324db3052", + "revisionTime": "2018-05-02T23:02:43Z", + "version": "v10.8.1", + "versionExact": "v10.8.1" }, { "checksumSHA1": "9nXCi9qQsYjxCeajJKWttxgEt0I=", "path": "github.com/Azure/go-autorest/autorest/date", - "revision": "9ad9326b278af8fa5cc67c30c0ce9a58cc0862b2", - "revisionTime": "2018-04-04T23:29:44Z", - "version": "v10.6.0", - "versionExact": "v10.6.0" + "revision": "eaa7994b2278094c904d31993d26f56324db3052", + "revisionTime": "2018-05-02T23:02:43Z", + "version": "v10.8.1", + "versionExact": "v10.8.1" }, { "checksumSHA1": "SbBb2GcJNm5GjuPKGL2777QywR4=", "path": "github.com/Azure/go-autorest/autorest/to", - "revision": "9ad9326b278af8fa5cc67c30c0ce9a58cc0862b2", - "revisionTime": "2018-04-04T23:29:44Z", - "version": "v10.6.0", - "versionExact": "v10.6.0" + "revision": "eaa7994b2278094c904d31993d26f56324db3052", + "revisionTime": "2018-05-02T23:02:43Z", + "version": "v10.8.1", + "versionExact": "v10.8.1" }, { "checksumSHA1": "5UH4IFIB/98iowPCzzVs4M4MXiQ=", "path": "github.com/Azure/go-autorest/autorest/validation", - "revision": "9ad9326b278af8fa5cc67c30c0ce9a58cc0862b2", - "revisionTime": "2018-04-04T23:29:44Z", - "version": "v10.6.0", - "versionExact": "v10.6.0" + "revision": "eaa7994b2278094c904d31993d26f56324db3052", + "revisionTime": "2018-05-02T23:02:43Z", + "version": "v10.8.1", + "versionExact": "v10.8.1" }, { "checksumSHA1": "jQh1fnoKPKMURvKkpdRjN695nAQ=", From 525243a647f1d23dce9640549aebcb2c907f1649 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Sun, 6 May 2018 06:34:22 -0700 Subject: [PATCH 2/2] Upgrading to v16.2.1 of `Azure/azure-sdk-for-go` --- .../redis/mgmt/2018-03-01/redis/models.go | 110 ++++++- .../mgmt/2018-03-01/redis/patchschedules.go | 95 ++++++ .../redis/mgmt/2018-03-01/redis/redis.go | 10 +- .../2016-03-01/scheduler/jobcollections.go | 38 ++- .../mgmt/2016-03-01/scheduler/jobs.go | 58 ++-- .../services/web/mgmt/2016-09-01/web/apps.go | 12 +- .../Azure/azure-sdk-for-go/version/version.go | 2 +- vendor/vendor.json | 304 +++++++++--------- 8 files changed, 426 insertions(+), 203 deletions(-) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/models.go index 2b36a2bd83da..4e10cd26d9fa 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/models.go @@ -195,11 +195,11 @@ type AccessKeys struct { SecondaryKey *string `json:"secondaryKey,omitempty"` } -// CheckNameAvailabilityParameters parameters body to pass for name availability check. +// CheckNameAvailabilityParameters parameters body to pass for resource name availability check. type CheckNameAvailabilityParameters struct { // Name - Resource name. Name *string `json:"name,omitempty"` - // Type - Resource type. + // Type - Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'. Type *string `json:"type,omitempty"` } @@ -650,7 +650,7 @@ type FirewallRuleListResult struct { autorest.Response `json:"-"` // Value - Results of the list firewall rules operation. Value *[]FirewallRule `json:"value,omitempty"` - // NextLink - Link for next set of locations. + // NextLink - Link for next page of results. NextLink *string `json:"nextLink,omitempty"` } @@ -1123,7 +1123,7 @@ type ListResult struct { autorest.Response `json:"-"` // Value - List of Redis cache instances. Value *[]ResourceType `json:"value,omitempty"` - // NextLink - Link for next set of locations. + // NextLink - Link for next page of results. NextLink *string `json:"nextLink,omitempty"` } @@ -1434,6 +1434,108 @@ func (ps *PatchSchedule) UnmarshalJSON(body []byte) error { return nil } +// PatchScheduleListResult the response of list patch schedules Redis operation. +type PatchScheduleListResult struct { + autorest.Response `json:"-"` + // Value - Results of the list patch schedules operation. + Value *[]PatchSchedule `json:"value,omitempty"` + // NextLink - Link for next page of results. + NextLink *string `json:"nextLink,omitempty"` +} + +// PatchScheduleListResultIterator provides access to a complete listing of PatchSchedule values. +type PatchScheduleListResultIterator struct { + i int + page PatchScheduleListResultPage +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *PatchScheduleListResultIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter PatchScheduleListResultIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter PatchScheduleListResultIterator) Response() PatchScheduleListResult { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter PatchScheduleListResultIterator) Value() PatchSchedule { + if !iter.page.NotDone() { + return PatchSchedule{} + } + return iter.page.Values()[iter.i] +} + +// IsEmpty returns true if the ListResult contains no values. +func (pslr PatchScheduleListResult) IsEmpty() bool { + return pslr.Value == nil || len(*pslr.Value) == 0 +} + +// patchScheduleListResultPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (pslr PatchScheduleListResult) patchScheduleListResultPreparer() (*http.Request, error) { + if pslr.NextLink == nil || len(to.String(pslr.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(pslr.NextLink))) +} + +// PatchScheduleListResultPage contains a page of PatchSchedule values. +type PatchScheduleListResultPage struct { + fn func(PatchScheduleListResult) (PatchScheduleListResult, error) + pslr PatchScheduleListResult +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *PatchScheduleListResultPage) Next() error { + next, err := page.fn(page.pslr) + if err != nil { + return err + } + page.pslr = next + return nil +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page PatchScheduleListResultPage) NotDone() bool { + return !page.pslr.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page PatchScheduleListResultPage) Response() PatchScheduleListResult { + return page.pslr +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page PatchScheduleListResultPage) Values() []PatchSchedule { + if page.pslr.IsEmpty() { + return nil + } + return *page.pslr.Value +} + // Properties properties of the redis cache. type Properties struct { // RedisVersion - Redis version. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go index a92e1abcc981..09abb284ff29 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/patchschedules.go @@ -252,3 +252,98 @@ func (client PatchSchedulesClient) GetResponder(resp *http.Response) (result Pat result.Response = autorest.Response{Response: resp} return } + +// ListByRedisResource gets all patch schedules in the specified redis cache (there is only one). +// Parameters: +// resourceGroupName - the name of the resource group. +// cacheName - the name of the Redis cache. +func (client PatchSchedulesClient) ListByRedisResource(ctx context.Context, resourceGroupName string, cacheName string) (result PatchScheduleListResultPage, err error) { + result.fn = client.listByRedisResourceNextResults + req, err := client.ListByRedisResourcePreparer(ctx, resourceGroupName, cacheName) + if err != nil { + err = autorest.NewErrorWithError(err, "redis.PatchSchedulesClient", "ListByRedisResource", nil, "Failure preparing request") + return + } + + resp, err := client.ListByRedisResourceSender(req) + if err != nil { + result.pslr.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "redis.PatchSchedulesClient", "ListByRedisResource", resp, "Failure sending request") + return + } + + result.pslr, err = client.ListByRedisResourceResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "redis.PatchSchedulesClient", "ListByRedisResource", resp, "Failure responding to request") + } + + return +} + +// ListByRedisResourcePreparer prepares the ListByRedisResource request. +func (client PatchSchedulesClient) ListByRedisResourcePreparer(ctx context.Context, resourceGroupName string, cacheName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "cacheName": autorest.Encode("path", cacheName), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2018-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/patchSchedules", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListByRedisResourceSender sends the ListByRedisResource request. The method will close the +// http.Response Body if it receives an error. +func (client PatchSchedulesClient) ListByRedisResourceSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListByRedisResourceResponder handles the response to the ListByRedisResource request. The method always +// closes the http.Response Body. +func (client PatchSchedulesClient) ListByRedisResourceResponder(resp *http.Response) (result PatchScheduleListResult, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listByRedisResourceNextResults retrieves the next set of results, if any. +func (client PatchSchedulesClient) listByRedisResourceNextResults(lastResults PatchScheduleListResult) (result PatchScheduleListResult, err error) { + req, err := lastResults.patchScheduleListResultPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "redis.PatchSchedulesClient", "listByRedisResourceNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListByRedisResourceSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "redis.PatchSchedulesClient", "listByRedisResourceNextResults", resp, "Failure sending next results request") + } + result, err = client.ListByRedisResourceResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "redis.PatchSchedulesClient", "listByRedisResourceNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListByRedisResourceComplete enumerates all values, automatically crossing page boundaries as required. +func (client PatchSchedulesClient) ListByRedisResourceComplete(ctx context.Context, resourceGroupName string, cacheName string) (result PatchScheduleListResultIterator, err error) { + result.page, err = client.ListByRedisResource(ctx, resourceGroupName, cacheName) + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go index 7deb4ffc0048..f92814c2b178 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/redis.go @@ -42,8 +42,16 @@ func NewClientWithBaseURI(baseURI string, subscriptionID string) Client { // CheckNameAvailability checks that the redis cache name is valid and is not already in use. // Parameters: -// parameters - parameters supplied to the CheckNameAvailability Redis operation. +// parameters - parameters supplied to the CheckNameAvailability Redis operation. The only supported resource +// type is 'Microsoft.Cache/redis' func (client Client) CheckNameAvailability(ctx context.Context, parameters CheckNameAvailabilityParameters) (result autorest.Response, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: parameters, + Constraints: []validation.Constraint{{Target: "parameters.Name", Name: validation.Null, Rule: true, Chain: nil}, + {Target: "parameters.Type", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil { + return result, validation.NewError("redis.Client", "CheckNameAvailability", err.Error()) + } + req, err := client.CheckNameAvailabilityPreparer(ctx, parameters) if err != nil { err = autorest.NewErrorWithError(err, "redis.Client", "CheckNameAvailability", nil, "Failure preparing request") diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobcollections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobcollections.go index e3ed75145b22..70ea9c497f39 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobcollections.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobcollections.go @@ -40,9 +40,10 @@ func NewJobCollectionsClientWithBaseURI(baseURI string, subscriptionID string) J } // CreateOrUpdate provisions a new job collection or updates an existing job collection. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobCollection is the -// job collection definition. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobCollection - the job collection definition. func (client JobCollectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, jobCollectionName, jobCollection) if err != nil { @@ -109,8 +110,9 @@ func (client JobCollectionsClient) CreateOrUpdateResponder(resp *http.Response) } // Delete deletes a job collection. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. func (client JobCollectionsClient) Delete(ctx context.Context, resourceGroupName string, jobCollectionName string) (result JobCollectionsDeleteFuture, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, jobCollectionName) if err != nil { @@ -176,8 +178,9 @@ func (client JobCollectionsClient) DeleteResponder(resp *http.Response) (result } // Disable disables all of the jobs in the job collection. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. func (client JobCollectionsClient) Disable(ctx context.Context, resourceGroupName string, jobCollectionName string) (result JobCollectionsDisableFuture, err error) { req, err := client.DisablePreparer(ctx, resourceGroupName, jobCollectionName) if err != nil { @@ -243,8 +246,9 @@ func (client JobCollectionsClient) DisableResponder(resp *http.Response) (result } // Enable enables all of the jobs in the job collection. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. func (client JobCollectionsClient) Enable(ctx context.Context, resourceGroupName string, jobCollectionName string) (result JobCollectionsEnableFuture, err error) { req, err := client.EnablePreparer(ctx, resourceGroupName, jobCollectionName) if err != nil { @@ -310,8 +314,9 @@ func (client JobCollectionsClient) EnableResponder(resp *http.Response) (result } // Get gets a job collection. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. func (client JobCollectionsClient) Get(ctx context.Context, resourceGroupName string, jobCollectionName string) (result JobCollectionDefinition, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, jobCollectionName) if err != nil { @@ -376,8 +381,8 @@ func (client JobCollectionsClient) GetResponder(resp *http.Response) (result Job } // ListByResourceGroup gets all job collections under specified resource group. -// -// resourceGroupName is the resource group name. +// Parameters: +// resourceGroupName - the resource group name. func (client JobCollectionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result JobCollectionListResultPage, err error) { result.fn = client.listByResourceGroupNextResults req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) @@ -559,9 +564,10 @@ func (client JobCollectionsClient) ListBySubscriptionComplete(ctx context.Contex } // Patch patches an existing job collection. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobCollection is the -// job collection definition. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobCollection - the job collection definition. func (client JobCollectionsClient) Patch(ctx context.Context, resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) { req, err := client.PatchPreparer(ctx, resourceGroupName, jobCollectionName, jobCollection) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobs.go index 67d942e755fb..047ea31ca27c 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobs.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/jobs.go @@ -41,9 +41,11 @@ func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient } // CreateOrUpdate provisions a new job or updates an existing job. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job -// name. job is the job definition. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobName - the job name. +// job - the job definition. func (client JobsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) { req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, jobCollectionName, jobName, job) if err != nil { @@ -111,9 +113,10 @@ func (client JobsClient) CreateOrUpdateResponder(resp *http.Response) (result Jo } // Delete deletes a job. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job -// name. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobName - the job name. func (client JobsClient) Delete(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string) (result autorest.Response, err error) { req, err := client.DeletePreparer(ctx, resourceGroupName, jobCollectionName, jobName) if err != nil { @@ -178,9 +181,10 @@ func (client JobsClient) DeleteResponder(resp *http.Response) (result autorest.R } // Get gets a job. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job -// name. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobName - the job name. func (client JobsClient) Get(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string) (result JobDefinition, err error) { req, err := client.GetPreparer(ctx, resourceGroupName, jobCollectionName, jobName) if err != nil { @@ -246,10 +250,12 @@ func (client JobsClient) GetResponder(resp *http.Response) (result JobDefinition } // List lists all jobs under the specified job collection. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. top is the number of -// jobs to request, in the of range of [1..100]. skip is the (0-based) index of the job history list from which to -// begin requesting entries. filter is the filter to apply on the job state. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// top - the number of jobs to request, in the of range of [1..100]. +// skip - the (0-based) index of the job history list from which to begin requesting entries. +// filter - the filter to apply on the job state. func (client JobsClient) List(ctx context.Context, resourceGroupName string, jobCollectionName string, top *int32, skip *int32, filter string) (result JobListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: top, @@ -360,10 +366,13 @@ func (client JobsClient) ListComplete(ctx context.Context, resourceGroupName str } // ListJobHistory lists job history. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job -// name. top is the number of job history to request, in the of range of [1..100]. skip is the (0-based) index of -// the job history list from which to begin requesting entries. filter is the filter to apply on the job state. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobName - the job name. +// top - the number of job history to request, in the of range of [1..100]. +// skip - the (0-based) index of the job history list from which to begin requesting entries. +// filter - the filter to apply on the job state. func (client JobsClient) ListJobHistory(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, top *int32, skip *int32, filter string) (result JobHistoryListResultPage, err error) { if err := validation.Validate([]validation.Validation{ {TargetValue: top, @@ -475,9 +484,11 @@ func (client JobsClient) ListJobHistoryComplete(ctx context.Context, resourceGro } // Patch patches an existing job. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job -// name. job is the job definition. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobName - the job name. +// job - the job definition. func (client JobsClient) Patch(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) { req, err := client.PatchPreparer(ctx, resourceGroupName, jobCollectionName, jobName, job) if err != nil { @@ -545,9 +556,10 @@ func (client JobsClient) PatchResponder(resp *http.Response) (result JobDefiniti } // Run runs a job. -// -// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job -// name. +// Parameters: +// resourceGroupName - the resource group name. +// jobCollectionName - the job collection name. +// jobName - the job name. func (client JobsClient) Run(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string) (result autorest.Response, err error) { req, err := client.RunPreparer(ctx, resourceGroupName, jobCollectionName, jobName) if err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go index 7ffd6f8710a4..f79664516a72 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/apps.go @@ -2635,7 +2635,7 @@ func (client AppsClient) CreateOrUpdateSourceControlSender(req *http.Request) (f return } err = autorest.Respond(future.Response(), - azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated)) + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted)) return } @@ -2645,7 +2645,7 @@ func (client AppsClient) CreateOrUpdateSourceControlResponder(resp *http.Respons err = autorest.Respond( resp, client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) result.Response = autorest.Response{Response: resp} @@ -2718,7 +2718,7 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotSender(req *http.Request return } err = autorest.Respond(future.Response(), - azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated)) + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted)) return } @@ -2728,7 +2728,7 @@ func (client AppsClient) CreateOrUpdateSourceControlSlotResponder(resp *http.Res err = autorest.Respond( resp, client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) result.Response = autorest.Response{Response: resp} @@ -11298,7 +11298,7 @@ func (client AppsClient) GetSourceControlResponder(resp *http.Response) (result err = autorest.Respond( resp, client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) result.Response = autorest.Response{Response: resp} @@ -11376,7 +11376,7 @@ func (client AppsClient) GetSourceControlSlotResponder(resp *http.Response) (res err = autorest.Respond( resp, client.ByInspecting(), - azure.WithErrorUnlessStatusCode(http.StatusOK), + azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) result.Response = autorest.Response{Response: resp} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go index 3d022e4414ca..0bf03ceee37f 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go @@ -18,4 +18,4 @@ package version // Changes may cause incorrect behavior and will be lost if the code is regenerated. // Number contains the semantic version of this SDK. -const Number = "v16.1.0" +const Number = "v16.2.1" diff --git a/vendor/vendor.json b/vendor/vendor.json index cdd9b768a4f0..f7f29678221b 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -5,298 +5,298 @@ { "checksumSHA1": "I1O9w4/hn+3DtQFbJrgwau5VOXI=", "path": "github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "jf0lz1wRA07ILyDujw/NzoU3kMA=", "path": "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "cL5VuAorqkBbkDvfOpB8Mh8Mm48=", "path": "github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "jNqFdbZdsFgDH9xhq3fXNIk1+eM=", "path": "github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "kM2PZfGUZRmE9wFeHAFjHFPepzk=", "path": "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-12-01/compute", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "17kDQcToCpJ8yGuAd7nP1QkOO6M=", "path": "github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "Uafz6z4ARTszbiN4lBDe9XzLvpc=", "path": "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "OS98xAxprza/yF/IQZqgM8QHf30=", "path": "github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "xPqRAsuso4gp81HrMH1RnhbzfCk=", "path": "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "cdSthV7hZqJYRvbNwWuC0VFzn14=", "path": "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "NieGKPVYPaCrPLxkzS+fEMidE3M=", "path": "github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "wVJTMg87mLWoBmlniu/UA/YmVe4=", "path": "github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "x9ceW8JE2/FgODRSywClj0fRlh8=", "path": "github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "XCm0kJwkGqkv1VL2gUNTU7PIK6o=", "path": "github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "o1oH4ofWhXB67MoFvPDl5sl65j4=", "path": "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "IT8QxbA8sPbbCR79wiG9UxyRGEw=", "path": "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "vAkF/ng9NforhX2dTdVfNWMZmKo=", "path": "github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "l5LiS1E96VhqOILV/TKh37eYbeg=", "path": "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-04-30-preview/mysql", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "wRmQ+EBPmpsb6NvjlBXE8Y/JSZA=", "path": "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "DzVfhx2cwj/AgX9m6fvrecc7VyU=", "path": "github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "0ubEDR8ye1PhBuUd5aVsGa3GLJs=", "path": "github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "d0AbZFEWBxTD9kTLApajDviAra8=", "path": "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-04-30-preview/postgresql", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "UWSnIzZywuEpEevbPfbPNLk1dFk=", "path": "github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { - "checksumSHA1": "+PzYADBMf8z7GQmbHh9EmFmFE1c=", + "checksumSHA1": "H9FyJDYC9FApeVyIl7eBnPusRlw=", "path": "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "DJY5zDEcGa82/Hbfud8lgHCuvU4=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "DQuP9Nzul8I8SN5fBg0NqWn124Q=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "pn550P6giSwxXck8lRRaNOPwxaQ=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "G0pRv7MqqQwOFOg6IIaIoSWYwvY=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { - "checksumSHA1": "KnpIP9m1vO3qKIgEaTH/tzdCQsY=", + "checksumSHA1": "mIu5+RFHKL8U4H/6cQRiP2rUg9Q=", "path": "github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler", - "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", - "revisionTime": "2018-04-09T17:42:04Z", - "version": "v15.1.0", - "versionExact": "v15.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "D6gwM+shQnzYSGV0EnvH+uduzIg=", "path": "github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "47wZjqF3UfIT1Xs56kXJ11zpCNc=", "path": "github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "9CF6+vlasWn5NLNO3WGhLAFqp2w=", "path": "github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "Gtq0yrNJHVALuWjOKpHgLRvvgxA=", "path": "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "HhbwyLbz+/pbGSWb2cp+fAp6YsI=", "path": "github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { - "checksumSHA1": "+QoJPj0cY9GZazF63e/KDG5zmfw=", + "checksumSHA1": "SuQHgkFuOrdDvajcGAImyzyb6+E=", "path": "github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "NAkdZOb1m8R72Av84tCFDXxmD2Q=", "path": "github.com/Azure/azure-sdk-for-go/storage", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { - "checksumSHA1": "FAw+h8wS2QiQEIVC3z/8R2q1bvY=", + "checksumSHA1": "E0PGco6Wn0cOyCgy9G2dC5O+yfs=", "path": "github.com/Azure/azure-sdk-for-go/version", - "revision": "767429fcb996dad413936d682c28301e6739bade", - "revisionTime": "2018-05-01T22:35:11Z", - "version": "v16.1.0", - "versionExact": "v16.1.0" + "revision": "4650843026a7fdec254a8d9cf893693a254edd0b", + "revisionTime": "2018-05-04T19:14:26Z", + "version": "v16.2.1", + "versionExact": "v16.2.1" }, { "checksumSHA1": "sQy6zpkumGcXs0QZLhYs8An1vlI=",