diff --git a/azurerm/internal/services/monitor/resource_arm_monitor_metric_alert.go b/azurerm/internal/services/monitor/resource_arm_monitor_metric_alert.go
index ff407c1a0ba37..63983794a554b 100644
--- a/azurerm/internal/services/monitor/resource_arm_monitor_metric_alert.go
+++ b/azurerm/internal/services/monitor/resource_arm_monitor_metric_alert.go
@@ -397,7 +397,7 @@ func expandMonitorMetricAlertAction(input []interface{}) *[]insights.MetricAlert
actions = append(actions, insights.MetricAlertAction{
ActionGroupID: utils.String(agID),
- WebHookProperties: props,
+ WebhookProperties: props,
})
}
}
@@ -466,7 +466,7 @@ func flattenMonitorMetricAlertAction(input *[]insights.MetricAlertAction) (resul
}
props := make(map[string]string)
- for pk, pv := range action.WebHookProperties {
+ for pk, pv := range action.WebhookProperties {
if pv != nil {
props[pk] = *pv
}
diff --git a/go.mod b/go.mod
index f8eeca9746a7b..cc9e7a1620282 100644
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,7 @@
module github.com/terraform-providers/terraform-provider-azurerm
require (
- github.com/Azure/azure-sdk-for-go v39.0.0+incompatible
+ github.com/Azure/azure-sdk-for-go v38.1.0+incompatible
github.com/Azure/go-autorest/autorest v0.9.3
github.com/Azure/go-autorest/autorest/date v0.2.0
github.com/btubbs/datetime v0.1.0
diff --git a/go.sum b/go.sum
index 1901a074a21f3..e9d9fd7f47e2b 100644
--- a/go.sum
+++ b/go.sum
@@ -15,8 +15,6 @@ github.com/Azure/azure-sdk-for-go v32.5.0+incompatible/go.mod h1:9XXNKU+eRnpl9mo
github.com/Azure/azure-sdk-for-go v35.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/azure-sdk-for-go v38.1.0+incompatible h1:5AawcyRJqShKENbdf2ZWJsdOnr+dEt6bz91YStCUmT4=
github.com/Azure/azure-sdk-for-go v38.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v39.0.0+incompatible h1:l2FVXqtd34UC7OZYkhcWY843CSFjRdrIRdBCTOanYwg=
-github.com/Azure/azure-sdk-for-go v39.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
github.com/Azure/go-autorest v10.15.4+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
github.com/Azure/go-autorest v13.0.0+incompatible h1:56c11ykhsFSPNNQuS73Ri8h/ezqVhr2h6t9LJIEKVO0=
github.com/Azure/go-autorest v13.0.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/client.go
index be0a6e353c974..36c86b68d0b4b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/client.go
@@ -42,8 +42,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go
index 5094d8a31fabd..57851ab0f5573 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/operations.go
@@ -36,8 +36,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go
index 3080cda7c035a..5ca8d617ac382 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/servers.go
@@ -37,8 +37,7 @@ func NewServersClient(subscriptionID string) ServersClient {
return NewServersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServersClientWithBaseURI creates an instance of the ServersClient client.
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return ServersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/api.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/api.go
index 8e5186dcd2edd..70e8fa0a24200 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/api.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/api.go
@@ -36,8 +36,7 @@ func NewAPIClient(subscriptionID string) APIClient {
return NewAPIClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIClientWithBaseURI creates an instance of the APIClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIClientWithBaseURI creates an instance of the APIClient client.
func NewAPIClientWithBaseURI(baseURI string, subscriptionID string) APIClient {
return APIClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnostic.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnostic.go
index 51778e0dc0255..d797502b3cea8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnostic.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnostic.go
@@ -36,8 +36,7 @@ func NewAPIDiagnosticClient(subscriptionID string) APIDiagnosticClient {
return NewAPIDiagnosticClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIDiagnosticClientWithBaseURI creates an instance of the APIDiagnosticClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIDiagnosticClientWithBaseURI creates an instance of the APIDiagnosticClient client.
func NewAPIDiagnosticClientWithBaseURI(baseURI string, subscriptionID string) APIDiagnosticClient {
return APIDiagnosticClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnosticlogger.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnosticlogger.go
index 1076396a2f119..0542f87afbd4b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnosticlogger.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apidiagnosticlogger.go
@@ -36,9 +36,7 @@ func NewAPIDiagnosticLoggerClient(subscriptionID string) APIDiagnosticLoggerClie
return NewAPIDiagnosticLoggerClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIDiagnosticLoggerClientWithBaseURI creates an instance of the APIDiagnosticLoggerClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAPIDiagnosticLoggerClientWithBaseURI creates an instance of the APIDiagnosticLoggerClient client.
func NewAPIDiagnosticLoggerClientWithBaseURI(baseURI string, subscriptionID string) APIDiagnosticLoggerClient {
return APIDiagnosticLoggerClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiexport.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiexport.go
index ffe3ff581a46c..d4c3de1715964 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiexport.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiexport.go
@@ -36,8 +36,7 @@ func NewAPIExportClient(subscriptionID string) APIExportClient {
return NewAPIExportClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIExportClientWithBaseURI creates an instance of the APIExportClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIExportClientWithBaseURI creates an instance of the APIExportClient client.
func NewAPIExportClientWithBaseURI(baseURI string, subscriptionID string) APIExportClient {
return APIExportClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissue.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissue.go
index c405563b7e0cc..3de65fa4bd75b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissue.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissue.go
@@ -36,8 +36,7 @@ func NewAPIIssueClient(subscriptionID string) APIIssueClient {
return NewAPIIssueClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIIssueClientWithBaseURI creates an instance of the APIIssueClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIIssueClientWithBaseURI creates an instance of the APIIssueClient client.
func NewAPIIssueClientWithBaseURI(baseURI string, subscriptionID string) APIIssueClient {
return APIIssueClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissueattachment.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissueattachment.go
index 35788ec2144d1..5d7e4111e08c3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissueattachment.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissueattachment.go
@@ -36,9 +36,7 @@ func NewAPIIssueAttachmentClient(subscriptionID string) APIIssueAttachmentClient
return NewAPIIssueAttachmentClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIIssueAttachmentClientWithBaseURI creates an instance of the APIIssueAttachmentClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAPIIssueAttachmentClientWithBaseURI creates an instance of the APIIssueAttachmentClient client.
func NewAPIIssueAttachmentClientWithBaseURI(baseURI string, subscriptionID string) APIIssueAttachmentClient {
return APIIssueAttachmentClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissuecomment.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissuecomment.go
index b305be5cb8d53..b2deb1da4bd11 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissuecomment.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiissuecomment.go
@@ -36,8 +36,7 @@ func NewAPIIssueCommentClient(subscriptionID string) APIIssueCommentClient {
return NewAPIIssueCommentClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIIssueCommentClientWithBaseURI creates an instance of the APIIssueCommentClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIIssueCommentClientWithBaseURI creates an instance of the APIIssueCommentClient client.
func NewAPIIssueCommentClientWithBaseURI(baseURI string, subscriptionID string) APIIssueCommentClient {
return APIIssueCommentClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperation.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperation.go
index f544fd6e517d1..860996c10cc26 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperation.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperation.go
@@ -36,8 +36,7 @@ func NewAPIOperationClient(subscriptionID string) APIOperationClient {
return NewAPIOperationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIOperationClientWithBaseURI creates an instance of the APIOperationClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIOperationClientWithBaseURI creates an instance of the APIOperationClient client.
func NewAPIOperationClientWithBaseURI(baseURI string, subscriptionID string) APIOperationClient {
return APIOperationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperationpolicy.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperationpolicy.go
index 238877770891c..1184193f6fcb0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperationpolicy.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apioperationpolicy.go
@@ -36,9 +36,7 @@ func NewAPIOperationPolicyClient(subscriptionID string) APIOperationPolicyClient
return NewAPIOperationPolicyClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIOperationPolicyClientWithBaseURI creates an instance of the APIOperationPolicyClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAPIOperationPolicyClientWithBaseURI creates an instance of the APIOperationPolicyClient client.
func NewAPIOperationPolicyClientWithBaseURI(baseURI string, subscriptionID string) APIOperationPolicyClient {
return APIOperationPolicyClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apipolicy.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apipolicy.go
index b787e70a7cd58..98944068d1928 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apipolicy.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apipolicy.go
@@ -36,8 +36,7 @@ func NewAPIPolicyClient(subscriptionID string) APIPolicyClient {
return NewAPIPolicyClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIPolicyClientWithBaseURI creates an instance of the APIPolicyClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIPolicyClientWithBaseURI creates an instance of the APIPolicyClient client.
func NewAPIPolicyClientWithBaseURI(baseURI string, subscriptionID string) APIPolicyClient {
return APIPolicyClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiproduct.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiproduct.go
index d6d6199c4e619..6a550f3da6409 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiproduct.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiproduct.go
@@ -36,8 +36,7 @@ func NewAPIProductClient(subscriptionID string) APIProductClient {
return NewAPIProductClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIProductClientWithBaseURI creates an instance of the APIProductClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIProductClientWithBaseURI creates an instance of the APIProductClient client.
func NewAPIProductClientWithBaseURI(baseURI string, subscriptionID string) APIProductClient {
return APIProductClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirelease.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirelease.go
index d9d961ed41c01..d377ee5b3a018 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirelease.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirelease.go
@@ -36,8 +36,7 @@ func NewAPIReleaseClient(subscriptionID string) APIReleaseClient {
return NewAPIReleaseClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIReleaseClientWithBaseURI creates an instance of the APIReleaseClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIReleaseClientWithBaseURI creates an instance of the APIReleaseClient client.
func NewAPIReleaseClientWithBaseURI(baseURI string, subscriptionID string) APIReleaseClient {
return APIReleaseClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirevisions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirevisions.go
index 013561f5a4808..e592aa54a3ce9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirevisions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apirevisions.go
@@ -36,8 +36,7 @@ func NewAPIRevisionsClient(subscriptionID string) APIRevisionsClient {
return NewAPIRevisionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIRevisionsClientWithBaseURI creates an instance of the APIRevisionsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIRevisionsClientWithBaseURI creates an instance of the APIRevisionsClient client.
func NewAPIRevisionsClientWithBaseURI(baseURI string, subscriptionID string) APIRevisionsClient {
return APIRevisionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apischema.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apischema.go
index c29154898a67a..6c968a623f434 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apischema.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apischema.go
@@ -36,8 +36,7 @@ func NewAPISchemaClient(subscriptionID string) APISchemaClient {
return NewAPISchemaClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPISchemaClientWithBaseURI creates an instance of the APISchemaClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPISchemaClientWithBaseURI creates an instance of the APISchemaClient client.
func NewAPISchemaClientWithBaseURI(baseURI string, subscriptionID string) APISchemaClient {
return APISchemaClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiversionset.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiversionset.go
index 1b630540a4c9b..9b076462e145d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiversionset.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apiversionset.go
@@ -36,8 +36,7 @@ func NewAPIVersionSetClient(subscriptionID string) APIVersionSetClient {
return NewAPIVersionSetClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIVersionSetClientWithBaseURI creates an instance of the APIVersionSetClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIVersionSetClientWithBaseURI creates an instance of the APIVersionSetClient client.
func NewAPIVersionSetClientWithBaseURI(baseURI string, subscriptionID string) APIVersionSetClient {
return APIVersionSetClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/authorizationserver.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/authorizationserver.go
index 96c80fcd4846f..f2cf297b900a1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/authorizationserver.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/authorizationserver.go
@@ -36,9 +36,7 @@ func NewAuthorizationServerClient(subscriptionID string) AuthorizationServerClie
return NewAuthorizationServerClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAuthorizationServerClientWithBaseURI creates an instance of the AuthorizationServerClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAuthorizationServerClientWithBaseURI creates an instance of the AuthorizationServerClient client.
func NewAuthorizationServerClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationServerClient {
return AuthorizationServerClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/backend.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/backend.go
index ca4e85a3bc6f7..cbc401781c848 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/backend.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/backend.go
@@ -36,8 +36,7 @@ func NewBackendClient(subscriptionID string) BackendClient {
return NewBackendClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBackendClientWithBaseURI creates an instance of the BackendClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBackendClientWithBaseURI creates an instance of the BackendClient client.
func NewBackendClientWithBaseURI(baseURI string, subscriptionID string) BackendClient {
return BackendClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/certificate.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/certificate.go
index 767269a1a0b0b..c4a50de0dc3ef 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/certificate.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/certificate.go
@@ -36,8 +36,7 @@ func NewCertificateClient(subscriptionID string) CertificateClient {
return NewCertificateClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCertificateClientWithBaseURI creates an instance of the CertificateClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCertificateClientWithBaseURI creates an instance of the CertificateClient client.
func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient {
return CertificateClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/client.go
index cf2bd32aeeec0..a1e4456c4fa7c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/delegationsettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/delegationsettings.go
index b3672e5aeb78b..109af995b57f5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/delegationsettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/delegationsettings.go
@@ -36,9 +36,7 @@ func NewDelegationSettingsClient(subscriptionID string) DelegationSettingsClient
return NewDelegationSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDelegationSettingsClientWithBaseURI creates an instance of the DelegationSettingsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDelegationSettingsClientWithBaseURI creates an instance of the DelegationSettingsClient client.
func NewDelegationSettingsClientWithBaseURI(baseURI string, subscriptionID string) DelegationSettingsClient {
return DelegationSettingsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnostic.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnostic.go
index e5b88d5f8a77e..178af8d52c363 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnostic.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnostic.go
@@ -36,8 +36,7 @@ func NewDiagnosticClient(subscriptionID string) DiagnosticClient {
return NewDiagnosticClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDiagnosticClientWithBaseURI creates an instance of the DiagnosticClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDiagnosticClientWithBaseURI creates an instance of the DiagnosticClient client.
func NewDiagnosticClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticClient {
return DiagnosticClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnosticlogger.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnosticlogger.go
index 576787e38597a..6d7e8da01c69b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnosticlogger.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/diagnosticlogger.go
@@ -36,9 +36,7 @@ func NewDiagnosticLoggerClient(subscriptionID string) DiagnosticLoggerClient {
return NewDiagnosticLoggerClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDiagnosticLoggerClientWithBaseURI creates an instance of the DiagnosticLoggerClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDiagnosticLoggerClientWithBaseURI creates an instance of the DiagnosticLoggerClient client.
func NewDiagnosticLoggerClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticLoggerClient {
return DiagnosticLoggerClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/emailtemplate.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/emailtemplate.go
index 654cec3cab4c9..34b7ec7f5ed67 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/emailtemplate.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/emailtemplate.go
@@ -36,8 +36,7 @@ func NewEmailTemplateClient(subscriptionID string) EmailTemplateClient {
return NewEmailTemplateClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEmailTemplateClientWithBaseURI creates an instance of the EmailTemplateClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEmailTemplateClientWithBaseURI creates an instance of the EmailTemplateClient client.
func NewEmailTemplateClientWithBaseURI(baseURI string, subscriptionID string) EmailTemplateClient {
return EmailTemplateClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/group.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/group.go
index 4116afd70fe4b..a07a50bd1055c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/group.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/group.go
@@ -36,8 +36,7 @@ func NewGroupClient(subscriptionID string) GroupClient {
return NewGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGroupClientWithBaseURI creates an instance of the GroupClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGroupClientWithBaseURI creates an instance of the GroupClient client.
func NewGroupClientWithBaseURI(baseURI string, subscriptionID string) GroupClient {
return GroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/groupuser.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/groupuser.go
index 9405b1cb62466..0fa6dff037af5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/groupuser.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/groupuser.go
@@ -36,8 +36,7 @@ func NewGroupUserClient(subscriptionID string) GroupUserClient {
return NewGroupUserClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGroupUserClientWithBaseURI creates an instance of the GroupUserClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGroupUserClientWithBaseURI creates an instance of the GroupUserClient client.
func NewGroupUserClientWithBaseURI(baseURI string, subscriptionID string) GroupUserClient {
return GroupUserClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/identityprovider.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/identityprovider.go
index 992493c49f285..6c5a597bd594e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/identityprovider.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/identityprovider.go
@@ -36,9 +36,7 @@ func NewIdentityProviderClient(subscriptionID string) IdentityProviderClient {
return NewIdentityProviderClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewIdentityProviderClientWithBaseURI creates an instance of the IdentityProviderClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewIdentityProviderClientWithBaseURI creates an instance of the IdentityProviderClient client.
func NewIdentityProviderClientWithBaseURI(baseURI string, subscriptionID string) IdentityProviderClient {
return IdentityProviderClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/logger.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/logger.go
index 8b431f2263a44..670c63713b394 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/logger.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/logger.go
@@ -36,8 +36,7 @@ func NewLoggerClient(subscriptionID string) LoggerClient {
return NewLoggerClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLoggerClientWithBaseURI creates an instance of the LoggerClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLoggerClientWithBaseURI creates an instance of the LoggerClient client.
func NewLoggerClientWithBaseURI(baseURI string, subscriptionID string) LoggerClient {
return LoggerClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/networkstatus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/networkstatus.go
index c263d3e4f08ea..77fef77579f5a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/networkstatus.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/networkstatus.go
@@ -36,8 +36,7 @@ func NewNetworkStatusClient(subscriptionID string) NetworkStatusClient {
return NewNetworkStatusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNetworkStatusClientWithBaseURI creates an instance of the NetworkStatusClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNetworkStatusClientWithBaseURI creates an instance of the NetworkStatusClient client.
func NewNetworkStatusClientWithBaseURI(baseURI string, subscriptionID string) NetworkStatusClient {
return NetworkStatusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notification.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notification.go
index 0b26aeb77ac9a..daea621b574b0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notification.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notification.go
@@ -36,8 +36,7 @@ func NewNotificationClient(subscriptionID string) NotificationClient {
return NewNotificationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNotificationClientWithBaseURI creates an instance of the NotificationClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNotificationClientWithBaseURI creates an instance of the NotificationClient client.
func NewNotificationClientWithBaseURI(baseURI string, subscriptionID string) NotificationClient {
return NotificationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientemail.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientemail.go
index c37babf4d25d8..11e062d11589e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientemail.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientemail.go
@@ -36,9 +36,7 @@ func NewNotificationRecipientEmailClient(subscriptionID string) NotificationReci
return NewNotificationRecipientEmailClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNotificationRecipientEmailClientWithBaseURI creates an instance of the NotificationRecipientEmailClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewNotificationRecipientEmailClientWithBaseURI creates an instance of the NotificationRecipientEmailClient client.
func NewNotificationRecipientEmailClientWithBaseURI(baseURI string, subscriptionID string) NotificationRecipientEmailClient {
return NotificationRecipientEmailClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientuser.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientuser.go
index d6837664b752f..95b875f863d64 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientuser.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/notificationrecipientuser.go
@@ -36,9 +36,7 @@ func NewNotificationRecipientUserClient(subscriptionID string) NotificationRecip
return NewNotificationRecipientUserClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNotificationRecipientUserClientWithBaseURI creates an instance of the NotificationRecipientUserClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewNotificationRecipientUserClientWithBaseURI creates an instance of the NotificationRecipientUserClient client.
func NewNotificationRecipientUserClientWithBaseURI(baseURI string, subscriptionID string) NotificationRecipientUserClient {
return NotificationRecipientUserClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/openidconnectprovider.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/openidconnectprovider.go
index 6059365c91fe3..30faacf695c86 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/openidconnectprovider.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/openidconnectprovider.go
@@ -36,9 +36,7 @@ func NewOpenIDConnectProviderClient(subscriptionID string) OpenIDConnectProvider
return NewOpenIDConnectProviderClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOpenIDConnectProviderClientWithBaseURI creates an instance of the OpenIDConnectProviderClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewOpenIDConnectProviderClientWithBaseURI creates an instance of the OpenIDConnectProviderClient client.
func NewOpenIDConnectProviderClientWithBaseURI(baseURI string, subscriptionID string) OpenIDConnectProviderClient {
return OpenIDConnectProviderClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operation.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operation.go
index 5d3bb4fa91ae7..6827a4aa1f53a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operation.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operation.go
@@ -36,8 +36,7 @@ func NewOperationClient(subscriptionID string) OperationClient {
return NewOperationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationClientWithBaseURI creates an instance of the OperationClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationClientWithBaseURI creates an instance of the OperationClient client.
func NewOperationClientWithBaseURI(baseURI string, subscriptionID string) OperationClient {
return OperationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operations.go
index f62967e0e5b02..5744852d8eb3f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policy.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policy.go
index 0acc3e24f148f..5deb59f2300b7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policy.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policy.go
@@ -36,8 +36,7 @@ func NewPolicyClient(subscriptionID string) PolicyClient {
return NewPolicyClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPolicyClientWithBaseURI creates an instance of the PolicyClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPolicyClientWithBaseURI creates an instance of the PolicyClient client.
func NewPolicyClientWithBaseURI(baseURI string, subscriptionID string) PolicyClient {
return PolicyClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policysnippets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policysnippets.go
index dc7e8f3fe5904..a93bb85d72845 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policysnippets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/policysnippets.go
@@ -36,8 +36,7 @@ func NewPolicySnippetsClient(subscriptionID string) PolicySnippetsClient {
return NewPolicySnippetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPolicySnippetsClientWithBaseURI creates an instance of the PolicySnippetsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPolicySnippetsClientWithBaseURI creates an instance of the PolicySnippetsClient client.
func NewPolicySnippetsClientWithBaseURI(baseURI string, subscriptionID string) PolicySnippetsClient {
return PolicySnippetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/product.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/product.go
index 1a3e9871faf86..45c47f5df5ea2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/product.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/product.go
@@ -36,8 +36,7 @@ func NewProductClient(subscriptionID string) ProductClient {
return NewProductClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProductClientWithBaseURI creates an instance of the ProductClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProductClientWithBaseURI creates an instance of the ProductClient client.
func NewProductClientWithBaseURI(baseURI string, subscriptionID string) ProductClient {
return ProductClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productapi.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productapi.go
index fe62b275cfb80..b713dfb3cab58 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productapi.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productapi.go
@@ -36,8 +36,7 @@ func NewProductAPIClient(subscriptionID string) ProductAPIClient {
return NewProductAPIClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProductAPIClientWithBaseURI creates an instance of the ProductAPIClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProductAPIClientWithBaseURI creates an instance of the ProductAPIClient client.
func NewProductAPIClientWithBaseURI(baseURI string, subscriptionID string) ProductAPIClient {
return ProductAPIClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productgroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productgroup.go
index 9760b4410b1e4..6c0f3d21ec4d3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productgroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productgroup.go
@@ -36,8 +36,7 @@ func NewProductGroupClient(subscriptionID string) ProductGroupClient {
return NewProductGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProductGroupClientWithBaseURI creates an instance of the ProductGroupClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProductGroupClientWithBaseURI creates an instance of the ProductGroupClient client.
func NewProductGroupClientWithBaseURI(baseURI string, subscriptionID string) ProductGroupClient {
return ProductGroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productpolicy.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productpolicy.go
index 4c4c1bfc07db9..a9f11a9648120 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productpolicy.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productpolicy.go
@@ -36,8 +36,7 @@ func NewProductPolicyClient(subscriptionID string) ProductPolicyClient {
return NewProductPolicyClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProductPolicyClientWithBaseURI creates an instance of the ProductPolicyClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProductPolicyClientWithBaseURI creates an instance of the ProductPolicyClient client.
func NewProductPolicyClientWithBaseURI(baseURI string, subscriptionID string) ProductPolicyClient {
return ProductPolicyClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productsubscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productsubscriptions.go
index 1e358f2dd323d..15afb0b27b76b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productsubscriptions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/productsubscriptions.go
@@ -36,9 +36,7 @@ func NewProductSubscriptionsClient(subscriptionID string) ProductSubscriptionsCl
return NewProductSubscriptionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProductSubscriptionsClientWithBaseURI creates an instance of the ProductSubscriptionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewProductSubscriptionsClientWithBaseURI creates an instance of the ProductSubscriptionsClient client.
func NewProductSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) ProductSubscriptionsClient {
return ProductSubscriptionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/property.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/property.go
index 670fc2a0b1697..1823ef044dcf7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/property.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/property.go
@@ -36,8 +36,7 @@ func NewPropertyClient(subscriptionID string) PropertyClient {
return NewPropertyClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPropertyClientWithBaseURI creates an instance of the PropertyClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPropertyClientWithBaseURI creates an instance of the PropertyClient client.
func NewPropertyClientWithBaseURI(baseURI string, subscriptionID string) PropertyClient {
return PropertyClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabycounterkeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabycounterkeys.go
index f271003f02333..8f4bb75e7c553 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabycounterkeys.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabycounterkeys.go
@@ -36,9 +36,7 @@ func NewQuotaByCounterKeysClient(subscriptionID string) QuotaByCounterKeysClient
return NewQuotaByCounterKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewQuotaByCounterKeysClientWithBaseURI creates an instance of the QuotaByCounterKeysClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewQuotaByCounterKeysClientWithBaseURI creates an instance of the QuotaByCounterKeysClient client.
func NewQuotaByCounterKeysClientWithBaseURI(baseURI string, subscriptionID string) QuotaByCounterKeysClient {
return QuotaByCounterKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabyperiodkeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabyperiodkeys.go
index 4dc48b151a8ff..222effb0082ba 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabyperiodkeys.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/quotabyperiodkeys.go
@@ -36,9 +36,7 @@ func NewQuotaByPeriodKeysClient(subscriptionID string) QuotaByPeriodKeysClient {
return NewQuotaByPeriodKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewQuotaByPeriodKeysClientWithBaseURI creates an instance of the QuotaByPeriodKeysClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewQuotaByPeriodKeysClientWithBaseURI creates an instance of the QuotaByPeriodKeysClient client.
func NewQuotaByPeriodKeysClientWithBaseURI(baseURI string, subscriptionID string) QuotaByPeriodKeysClient {
return QuotaByPeriodKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/regions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/regions.go
index 28363460cd459..aaaecd73d87b7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/regions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/regions.go
@@ -36,8 +36,7 @@ func NewRegionsClient(subscriptionID string) RegionsClient {
return NewRegionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRegionsClientWithBaseURI creates an instance of the RegionsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRegionsClientWithBaseURI creates an instance of the RegionsClient client.
func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsClient {
return RegionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/reports.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/reports.go
index 12076b72655ea..705e7e385b6a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/reports.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/reports.go
@@ -36,8 +36,7 @@ func NewReportsClient(subscriptionID string) ReportsClient {
return NewReportsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReportsClientWithBaseURI creates an instance of the ReportsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewReportsClientWithBaseURI creates an instance of the ReportsClient client.
func NewReportsClientWithBaseURI(baseURI string, subscriptionID string) ReportsClient {
return ReportsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/service.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/service.go
index 5078dafeb7730..34367788fc666 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/service.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/service.go
@@ -36,8 +36,7 @@ func NewServiceClient(subscriptionID string) ServiceClient {
return NewServiceClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceClientWithBaseURI creates an instance of the ServiceClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServiceClientWithBaseURI creates an instance of the ServiceClient client.
func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient {
return ServiceClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/serviceskus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/serviceskus.go
index 60c3ab8e5e801..66ca436cf3fbd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/serviceskus.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/serviceskus.go
@@ -36,8 +36,7 @@ func NewServiceSkusClient(subscriptionID string) ServiceSkusClient {
return NewServiceSkusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceSkusClientWithBaseURI creates an instance of the ServiceSkusClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServiceSkusClientWithBaseURI creates an instance of the ServiceSkusClient client.
func NewServiceSkusClientWithBaseURI(baseURI string, subscriptionID string) ServiceSkusClient {
return ServiceSkusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signinsettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signinsettings.go
index 6b71fb05a0ecd..9160e8d4f4c93 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signinsettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signinsettings.go
@@ -36,8 +36,7 @@ func NewSignInSettingsClient(subscriptionID string) SignInSettingsClient {
return NewSignInSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSignInSettingsClientWithBaseURI creates an instance of the SignInSettingsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSignInSettingsClientWithBaseURI creates an instance of the SignInSettingsClient client.
func NewSignInSettingsClientWithBaseURI(baseURI string, subscriptionID string) SignInSettingsClient {
return SignInSettingsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signupsettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signupsettings.go
index b8e2e6c4d2ef4..4bb630e0cd9d5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signupsettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/signupsettings.go
@@ -36,8 +36,7 @@ func NewSignUpSettingsClient(subscriptionID string) SignUpSettingsClient {
return NewSignUpSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSignUpSettingsClientWithBaseURI creates an instance of the SignUpSettingsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSignUpSettingsClientWithBaseURI creates an instance of the SignUpSettingsClient client.
func NewSignUpSettingsClientWithBaseURI(baseURI string, subscriptionID string) SignUpSettingsClient {
return SignUpSettingsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/subscription.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/subscription.go
index a1f4121e131b1..f688b9e710371 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/subscription.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/subscription.go
@@ -36,8 +36,7 @@ func NewSubscriptionClient(subscriptionID string) SubscriptionClient {
return NewSubscriptionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSubscriptionClientWithBaseURI creates an instance of the SubscriptionClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSubscriptionClientWithBaseURI creates an instance of the SubscriptionClient client.
func NewSubscriptionClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionClient {
return SubscriptionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tag.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tag.go
index 0176d3b8edd8a..ef4ca026018ef 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tag.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tag.go
@@ -36,8 +36,7 @@ func NewTagClient(subscriptionID string) TagClient {
return NewTagClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTagClientWithBaseURI creates an instance of the TagClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTagClientWithBaseURI creates an instance of the TagClient client.
func NewTagClientWithBaseURI(baseURI string, subscriptionID string) TagClient {
return TagClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagdescription.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagdescription.go
index a669711e2896d..b2df335b485c2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagdescription.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagdescription.go
@@ -36,8 +36,7 @@ func NewTagDescriptionClient(subscriptionID string) TagDescriptionClient {
return NewTagDescriptionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTagDescriptionClientWithBaseURI creates an instance of the TagDescriptionClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTagDescriptionClientWithBaseURI creates an instance of the TagDescriptionClient client.
func NewTagDescriptionClientWithBaseURI(baseURI string, subscriptionID string) TagDescriptionClient {
return TagDescriptionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagresource.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagresource.go
index 66a52e1af37f2..6a912bb784a0c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagresource.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tagresource.go
@@ -36,8 +36,7 @@ func NewTagResourceClient(subscriptionID string) TagResourceClient {
return NewTagResourceClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTagResourceClientWithBaseURI creates an instance of the TagResourceClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTagResourceClientWithBaseURI creates an instance of the TagResourceClient client.
func NewTagResourceClientWithBaseURI(baseURI string, subscriptionID string) TagResourceClient {
return TagResourceClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccess.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccess.go
index 74213690cbcf1..80e464af3b2dc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccess.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccess.go
@@ -36,8 +36,7 @@ func NewTenantAccessClient(subscriptionID string) TenantAccessClient {
return NewTenantAccessClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTenantAccessClientWithBaseURI creates an instance of the TenantAccessClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTenantAccessClientWithBaseURI creates an instance of the TenantAccessClient client.
func NewTenantAccessClientWithBaseURI(baseURI string, subscriptionID string) TenantAccessClient {
return TenantAccessClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccessgit.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccessgit.go
index 423f15273c288..9df948701f6ae 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccessgit.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantaccessgit.go
@@ -36,8 +36,7 @@ func NewTenantAccessGitClient(subscriptionID string) TenantAccessGitClient {
return NewTenantAccessGitClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTenantAccessGitClientWithBaseURI creates an instance of the TenantAccessGitClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTenantAccessGitClientWithBaseURI creates an instance of the TenantAccessGitClient client.
func NewTenantAccessGitClientWithBaseURI(baseURI string, subscriptionID string) TenantAccessGitClient {
return TenantAccessGitClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantconfiguration.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantconfiguration.go
index 9e648b127e856..97964985dbd1a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantconfiguration.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/tenantconfiguration.go
@@ -36,9 +36,7 @@ func NewTenantConfigurationClient(subscriptionID string) TenantConfigurationClie
return NewTenantConfigurationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTenantConfigurationClientWithBaseURI creates an instance of the TenantConfigurationClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewTenantConfigurationClientWithBaseURI creates an instance of the TenantConfigurationClient client.
func NewTenantConfigurationClientWithBaseURI(baseURI string, subscriptionID string) TenantConfigurationClient {
return TenantConfigurationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/user.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/user.go
index 5bb1c4c376894..54107f41150e2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/user.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/user.go
@@ -36,8 +36,7 @@ func NewUserClient(subscriptionID string) UserClient {
return NewUserClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUserClientWithBaseURI creates an instance of the UserClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUserClientWithBaseURI creates an instance of the UserClient client.
func NewUserClientWithBaseURI(baseURI string, subscriptionID string) UserClient {
return UserClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usergroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usergroup.go
index 69b6e40f96ccf..bdbdc6aad725f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usergroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usergroup.go
@@ -36,8 +36,7 @@ func NewUserGroupClient(subscriptionID string) UserGroupClient {
return NewUserGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUserGroupClientWithBaseURI creates an instance of the UserGroupClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUserGroupClientWithBaseURI creates an instance of the UserGroupClient client.
func NewUserGroupClientWithBaseURI(baseURI string, subscriptionID string) UserGroupClient {
return UserGroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/useridentities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/useridentities.go
index bd66d961d9610..90f1172f1c236 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/useridentities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/useridentities.go
@@ -36,8 +36,7 @@ func NewUserIdentitiesClient(subscriptionID string) UserIdentitiesClient {
return NewUserIdentitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUserIdentitiesClientWithBaseURI creates an instance of the UserIdentitiesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUserIdentitiesClientWithBaseURI creates an instance of the UserIdentitiesClient client.
func NewUserIdentitiesClientWithBaseURI(baseURI string, subscriptionID string) UserIdentitiesClient {
return UserIdentitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usersubscription.go b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usersubscription.go
index fa7845a3dc731..a52eb5e4faf3d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usersubscription.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/usersubscription.go
@@ -36,9 +36,7 @@ func NewUserSubscriptionClient(subscriptionID string) UserSubscriptionClient {
return NewUserSubscriptionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUserSubscriptionClientWithBaseURI creates an instance of the UserSubscriptionClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewUserSubscriptionClientWithBaseURI creates an instance of the UserSubscriptionClient client.
func NewUserSubscriptionClientWithBaseURI(baseURI string, subscriptionID string) UserSubscriptionClient {
return UserSubscriptionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/client.go
index d4403648c0449..ca729e4e34ff2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/configurationstores.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/configurationstores.go
index 46bd9d263b23b..40daddce716f5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/configurationstores.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/configurationstores.go
@@ -36,9 +36,7 @@ func NewConfigurationStoresClient(subscriptionID string) ConfigurationStoresClie
return NewConfigurationStoresClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConfigurationStoresClientWithBaseURI creates an instance of the ConfigurationStoresClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewConfigurationStoresClientWithBaseURI creates an instance of the ConfigurationStoresClient client.
func NewConfigurationStoresClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationStoresClient {
return ConfigurationStoresClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/operations.go
index 22e909ea0ea36..8840f7d4abdc7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appconfiguration/mgmt/2019-10-01/appconfiguration/operations.go
@@ -36,8 +36,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go
index af65eae871b3c..853ecc6d358d5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/analyticsitems.go
@@ -36,8 +36,7 @@ func NewAnalyticsItemsClient(subscriptionID string) AnalyticsItemsClient {
return NewAnalyticsItemsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAnalyticsItemsClientWithBaseURI creates an instance of the AnalyticsItemsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAnalyticsItemsClientWithBaseURI creates an instance of the AnalyticsItemsClient client.
func NewAnalyticsItemsClientWithBaseURI(baseURI string, subscriptionID string) AnalyticsItemsClient {
return AnalyticsItemsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 d832ce2149a96..c6cbb32e7e91e 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
@@ -36,8 +36,7 @@ func NewAnnotationsClient(subscriptionID string) AnnotationsClient {
return NewAnnotationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAnnotationsClientWithBaseURI creates an instance of the AnnotationsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAnnotationsClientWithBaseURI creates an instance of the AnnotationsClient client.
func NewAnnotationsClientWithBaseURI(baseURI string, subscriptionID string) AnnotationsClient {
return AnnotationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 a494fd7e04682..1b3161dfcd366 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
@@ -36,8 +36,7 @@ func NewAPIKeysClient(subscriptionID string) APIKeysClient {
return NewAPIKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAPIKeysClientWithBaseURI creates an instance of the APIKeysClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAPIKeysClientWithBaseURI creates an instance of the APIKeysClient client.
func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysClient {
return APIKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/client.go
index b15c44bd08d2c..8508d449fead8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
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 6ac7292584b58..08f23492ac83e 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
@@ -36,9 +36,7 @@ func NewComponentAvailableFeaturesClient(subscriptionID string) ComponentAvailab
return NewComponentAvailableFeaturesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewComponentAvailableFeaturesClientWithBaseURI creates an instance of the ComponentAvailableFeaturesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewComponentAvailableFeaturesClientWithBaseURI creates an instance of the ComponentAvailableFeaturesClient client.
func NewComponentAvailableFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentAvailableFeaturesClient {
return ComponentAvailableFeaturesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 827897f8268a1..2a91d53563ed0 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
@@ -37,8 +37,7 @@ func NewComponentCurrentBillingFeaturesClient(subscriptionID string) ComponentCu
}
// NewComponentCurrentBillingFeaturesClientWithBaseURI creates an instance of the ComponentCurrentBillingFeaturesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentCurrentBillingFeaturesClient {
return ComponentCurrentBillingFeaturesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 ba1f865006c0e..9586f98373b6f 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
@@ -37,8 +37,7 @@ func NewComponentFeatureCapabilitiesClient(subscriptionID string) ComponentFeatu
}
// NewComponentFeatureCapabilitiesClientWithBaseURI creates an instance of the ComponentFeatureCapabilitiesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) ComponentFeatureCapabilitiesClient {
return ComponentFeatureCapabilitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 159e89f2b4423..f879138d4fe15 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
@@ -36,9 +36,7 @@ func NewComponentQuotaStatusClient(subscriptionID string) ComponentQuotaStatusCl
return NewComponentQuotaStatusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewComponentQuotaStatusClientWithBaseURI creates an instance of the ComponentQuotaStatusClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewComponentQuotaStatusClientWithBaseURI creates an instance of the ComponentQuotaStatusClient client.
func NewComponentQuotaStatusClientWithBaseURI(baseURI string, subscriptionID string) ComponentQuotaStatusClient {
return ComponentQuotaStatusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 2e6c61139be17..12014255144ee 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
@@ -36,8 +36,7 @@ func NewComponentsClient(subscriptionID string) ComponentsClient {
return NewComponentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewComponentsClientWithBaseURI creates an instance of the ComponentsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewComponentsClientWithBaseURI creates an instance of the ComponentsClient client.
func NewComponentsClientWithBaseURI(baseURI string, subscriptionID string) ComponentsClient {
return ComponentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 a32a15f4406db..7b1fe3573b7b7 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
@@ -36,9 +36,7 @@ func NewExportConfigurationsClient(subscriptionID string) ExportConfigurationsCl
return NewExportConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExportConfigurationsClientWithBaseURI creates an instance of the ExportConfigurationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewExportConfigurationsClientWithBaseURI creates an instance of the ExportConfigurationsClient client.
func NewExportConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ExportConfigurationsClient {
return ExportConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 2f02d70cc3c45..da6bf5bed2c6d 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
@@ -36,8 +36,7 @@ func NewFavoritesClient(subscriptionID string) FavoritesClient {
return NewFavoritesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFavoritesClientWithBaseURI creates an instance of the FavoritesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFavoritesClientWithBaseURI creates an instance of the FavoritesClient client.
func NewFavoritesClientWithBaseURI(baseURI string, subscriptionID string) FavoritesClient {
return FavoritesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/operations.go
index 07ee44767bc62..0cbf7eae8995b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 0420ce3324cb3..b1d2a914724c3 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
@@ -37,8 +37,7 @@ func NewProactiveDetectionConfigurationsClient(subscriptionID string) ProactiveD
}
// NewProactiveDetectionConfigurationsClientWithBaseURI creates an instance of the
-// ProactiveDetectionConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ProactiveDetectionConfigurationsClient client.
func NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ProactiveDetectionConfigurationsClient {
return ProactiveDetectionConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 ac99192b13352..2858eff33335c 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
@@ -36,9 +36,7 @@ func NewWebTestLocationsClient(subscriptionID string) WebTestLocationsClient {
return NewWebTestLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWebTestLocationsClientWithBaseURI creates an instance of the WebTestLocationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewWebTestLocationsClientWithBaseURI creates an instance of the WebTestLocationsClient client.
func NewWebTestLocationsClientWithBaseURI(baseURI string, subscriptionID string) WebTestLocationsClient {
return WebTestLocationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 7a897a461f037..d19956091f3d4 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
@@ -36,8 +36,7 @@ func NewWebTestsClient(subscriptionID string) WebTestsClient {
return NewWebTestsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWebTestsClientWithBaseURI creates an instance of the WebTestsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWebTestsClientWithBaseURI creates an instance of the WebTestsClient client.
func NewWebTestsClientWithBaseURI(baseURI string, subscriptionID string) WebTestsClient {
return WebTestsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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
index 0a8351d7a2f9c..17e4a975e7260 100644
--- 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
@@ -36,8 +36,7 @@ func NewWorkbooksClient(subscriptionID string) WorkbooksClient {
return NewWorkbooksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkbooksClientWithBaseURI creates an instance of the WorkbooksClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWorkbooksClientWithBaseURI creates an instance of the WorkbooksClient client.
func NewWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) WorkbooksClient {
return WorkbooksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 0a80d8ca04615..709f900b6ba50 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
@@ -36,9 +36,7 @@ func NewWorkItemConfigurationsClient(subscriptionID string) WorkItemConfiguratio
return NewWorkItemConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkItemConfigurationsClientWithBaseURI creates an instance of the WorkItemConfigurationsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewWorkItemConfigurationsClientWithBaseURI creates an instance of the WorkItemConfigurationsClient client.
func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) WorkItemConfigurationsClient {
return WorkItemConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/account.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/account.go
index d0417b02f4523..4e6f63f78e089 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/account.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/account.go
@@ -36,8 +36,7 @@ func NewAccountClient(subscriptionID string) AccountClient {
return NewAccountClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountClientWithBaseURI creates an instance of the AccountClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountClientWithBaseURI creates an instance of the AccountClient client.
func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient {
return AccountClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/activity.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/activity.go
index 8a3310d24b2f9..453039a7c6d57 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/activity.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/activity.go
@@ -36,8 +36,7 @@ func NewActivityClient(subscriptionID string) ActivityClient {
return NewActivityClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewActivityClientWithBaseURI creates an instance of the ActivityClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewActivityClientWithBaseURI creates an instance of the ActivityClient client.
func NewActivityClientWithBaseURI(baseURI string, subscriptionID string) ActivityClient {
return ActivityClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go
index 2376931b23b0f..82aee70aa8be2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/agentregistrationinformation.go
@@ -37,8 +37,7 @@ func NewAgentRegistrationInformationClient(subscriptionID string) AgentRegistrat
}
// NewAgentRegistrationInformationClientWithBaseURI creates an instance of the AgentRegistrationInformationClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewAgentRegistrationInformationClientWithBaseURI(baseURI string, subscriptionID string) AgentRegistrationInformationClient {
return AgentRegistrationInformationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/certificate.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/certificate.go
index b6cec1846342b..2c78aee0afd98 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/certificate.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/certificate.go
@@ -36,8 +36,7 @@ func NewCertificateClient(subscriptionID string) CertificateClient {
return NewCertificateClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCertificateClientWithBaseURI creates an instance of the CertificateClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCertificateClientWithBaseURI creates an instance of the CertificateClient client.
func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient {
return CertificateClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/client.go
index a3b8a6ac60354..707fd618586a1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connection.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connection.go
index 8c3df318f915d..8f3f172c1ca18 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connection.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connection.go
@@ -36,8 +36,7 @@ func NewConnectionClient(subscriptionID string) ConnectionClient {
return NewConnectionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConnectionClientWithBaseURI creates an instance of the ConnectionClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewConnectionClientWithBaseURI creates an instance of the ConnectionClient client.
func NewConnectionClientWithBaseURI(baseURI string, subscriptionID string) ConnectionClient {
return ConnectionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connectiontype.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connectiontype.go
index 7aba51e3da4c0..e408013691a04 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connectiontype.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/connectiontype.go
@@ -36,8 +36,7 @@ func NewConnectionTypeClient(subscriptionID string) ConnectionTypeClient {
return NewConnectionTypeClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConnectionTypeClientWithBaseURI creates an instance of the ConnectionTypeClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewConnectionTypeClientWithBaseURI creates an instance of the ConnectionTypeClient client.
func NewConnectionTypeClientWithBaseURI(baseURI string, subscriptionID string) ConnectionTypeClient {
return ConnectionTypeClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/credential.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/credential.go
index 8abdad518e22b..fe721caade5a6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/credential.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/credential.go
@@ -36,8 +36,7 @@ func NewCredentialClient(subscriptionID string) CredentialClient {
return NewCredentialClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCredentialClientWithBaseURI creates an instance of the CredentialClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCredentialClientWithBaseURI creates an instance of the CredentialClient client.
func NewCredentialClientWithBaseURI(baseURI string, subscriptionID string) CredentialClient {
return CredentialClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go
index 4add210683759..d82bca52bb165 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjob.go
@@ -37,9 +37,7 @@ func NewDscCompilationJobClient(subscriptionID string) DscCompilationJobClient {
return NewDscCompilationJobClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDscCompilationJobClientWithBaseURI creates an instance of the DscCompilationJobClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDscCompilationJobClientWithBaseURI creates an instance of the DscCompilationJobClient client.
func NewDscCompilationJobClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobClient {
return DscCompilationJobClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go
index ec659ac8ddb0a..462c8fde2b378 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dsccompilationjobstream.go
@@ -37,9 +37,7 @@ func NewDscCompilationJobStreamClient(subscriptionID string) DscCompilationJobSt
return NewDscCompilationJobStreamClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDscCompilationJobStreamClientWithBaseURI creates an instance of the DscCompilationJobStreamClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewDscCompilationJobStreamClientWithBaseURI creates an instance of the DscCompilationJobStreamClient client.
func NewDscCompilationJobStreamClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobStreamClient {
return DscCompilationJobStreamClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 dc8ffb74290fd..1adb2650c6d0f 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
@@ -36,9 +36,7 @@ func NewDscConfigurationClient(subscriptionID string) DscConfigurationClient {
return NewDscConfigurationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDscConfigurationClientWithBaseURI creates an instance of the DscConfigurationClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDscConfigurationClientWithBaseURI creates an instance of the DscConfigurationClient client.
func NewDscConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscConfigurationClient {
return DscConfigurationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnode.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnode.go
index f5b40646bead7..4e60dfbd888a0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnode.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnode.go
@@ -36,8 +36,7 @@ func NewDscNodeClient(subscriptionID string) DscNodeClient {
return NewDscNodeClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDscNodeClientWithBaseURI creates an instance of the DscNodeClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDscNodeClientWithBaseURI creates an instance of the DscNodeClient client.
func NewDscNodeClientWithBaseURI(baseURI string, subscriptionID string) DscNodeClient {
return DscNodeClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go
index 355523da68b21..71175e74c6365 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/dscnodeconfiguration.go
@@ -36,9 +36,7 @@ func NewDscNodeConfigurationClient(subscriptionID string) DscNodeConfigurationCl
return NewDscNodeConfigurationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDscNodeConfigurationClientWithBaseURI creates an instance of the DscNodeConfigurationClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDscNodeConfigurationClientWithBaseURI creates an instance of the DscNodeConfigurationClient client.
func NewDscNodeConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscNodeConfigurationClient {
return DscNodeConfigurationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/fields.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/fields.go
index d134d7ee6191a..3ebac62895f45 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/fields.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/fields.go
@@ -36,8 +36,7 @@ func NewFieldsClient(subscriptionID string) FieldsClient {
return NewFieldsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFieldsClientWithBaseURI creates an instance of the FieldsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFieldsClientWithBaseURI creates an instance of the FieldsClient client.
func NewFieldsClientWithBaseURI(baseURI string, subscriptionID string) FieldsClient {
return FieldsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go
index 16c0350b5b462..48878c158c2e1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/hybridrunbookworkergroup.go
@@ -36,9 +36,7 @@ func NewHybridRunbookWorkerGroupClient(subscriptionID string) HybridRunbookWorke
return NewHybridRunbookWorkerGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewHybridRunbookWorkerGroupClientWithBaseURI creates an instance of the HybridRunbookWorkerGroupClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewHybridRunbookWorkerGroupClientWithBaseURI creates an instance of the HybridRunbookWorkerGroupClient client.
func NewHybridRunbookWorkerGroupClientWithBaseURI(baseURI string, subscriptionID string) HybridRunbookWorkerGroupClient {
return HybridRunbookWorkerGroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/job.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/job.go
index 9d17939866231..f924ad65f1478 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/job.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/job.go
@@ -37,8 +37,7 @@ func NewJobClient(subscriptionID string) JobClient {
return NewJobClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobClientWithBaseURI creates an instance of the JobClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobClientWithBaseURI creates an instance of the JobClient client.
func NewJobClientWithBaseURI(baseURI string, subscriptionID string) JobClient {
return JobClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobschedule.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobschedule.go
index bbe3542342b4e..78fd95ae7562e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobschedule.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobschedule.go
@@ -37,8 +37,7 @@ func NewJobScheduleClient(subscriptionID string) JobScheduleClient {
return NewJobScheduleClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobScheduleClientWithBaseURI creates an instance of the JobScheduleClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobScheduleClientWithBaseURI creates an instance of the JobScheduleClient client.
func NewJobScheduleClientWithBaseURI(baseURI string, subscriptionID string) JobScheduleClient {
return JobScheduleClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobstream.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobstream.go
index 01b620e10400f..cf30ab7523eac 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobstream.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/jobstream.go
@@ -36,8 +36,7 @@ func NewJobStreamClient(subscriptionID string) JobStreamClient {
return NewJobStreamClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobStreamClientWithBaseURI creates an instance of the JobStreamClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobStreamClientWithBaseURI creates an instance of the JobStreamClient client.
func NewJobStreamClientWithBaseURI(baseURI string, subscriptionID string) JobStreamClient {
return JobStreamClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 4133e9eedfaa5..bd3e6559f126b 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
@@ -36,8 +36,7 @@ func NewKeysClient(subscriptionID string) KeysClient {
return NewKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewKeysClientWithBaseURI creates an instance of the KeysClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewKeysClientWithBaseURI creates an instance of the KeysClient client.
func NewKeysClientWithBaseURI(baseURI string, subscriptionID string) KeysClient {
return KeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go
index bab0e15bb61da..7d8fd87772567 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/linkedworkspace.go
@@ -36,8 +36,7 @@ func NewLinkedWorkspaceClient(subscriptionID string) LinkedWorkspaceClient {
return NewLinkedWorkspaceClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLinkedWorkspaceClientWithBaseURI creates an instance of the LinkedWorkspaceClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLinkedWorkspaceClientWithBaseURI creates an instance of the LinkedWorkspaceClient client.
func NewLinkedWorkspaceClientWithBaseURI(baseURI string, subscriptionID string) LinkedWorkspaceClient {
return LinkedWorkspaceClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/module.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/module.go
index 4baa74c91a06d..caa351e6ad51a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/module.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/module.go
@@ -36,8 +36,7 @@ func NewModuleClient(subscriptionID string) ModuleClient {
return NewModuleClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewModuleClientWithBaseURI creates an instance of the ModuleClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewModuleClientWithBaseURI creates an instance of the ModuleClient client.
func NewModuleClientWithBaseURI(baseURI string, subscriptionID string) ModuleClient {
return ModuleClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/nodereports.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/nodereports.go
index d3f94b7801b0f..034184bc193cb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/nodereports.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/nodereports.go
@@ -36,8 +36,7 @@ func NewNodeReportsClient(subscriptionID string) NodeReportsClient {
return NewNodeReportsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNodeReportsClientWithBaseURI creates an instance of the NodeReportsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNodeReportsClientWithBaseURI creates an instance of the NodeReportsClient client.
func NewNodeReportsClientWithBaseURI(baseURI string, subscriptionID string) NodeReportsClient {
return NodeReportsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go
index fd8db25c5d946..04f4391df47b2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/objectdatatypes.go
@@ -36,8 +36,7 @@ func NewObjectDataTypesClient(subscriptionID string) ObjectDataTypesClient {
return NewObjectDataTypesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewObjectDataTypesClientWithBaseURI creates an instance of the ObjectDataTypesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewObjectDataTypesClientWithBaseURI creates an instance of the ObjectDataTypesClient client.
func NewObjectDataTypesClientWithBaseURI(baseURI string, subscriptionID string) ObjectDataTypesClient {
return ObjectDataTypesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/operations.go
index 3231c683b9ff0..12d40bbde3a70 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbook.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbook.go
index 76d01fded9d3e..3549cafc513c4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbook.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/runbook.go
@@ -36,8 +36,7 @@ func NewRunbookClient(subscriptionID string) RunbookClient {
return NewRunbookClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRunbookClientWithBaseURI creates an instance of the RunbookClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRunbookClientWithBaseURI creates an instance of the RunbookClient client.
func NewRunbookClientWithBaseURI(baseURI string, subscriptionID string) RunbookClient {
return RunbookClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 0fff2f7f986e8..85161bb635f8e 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
@@ -37,8 +37,7 @@ func NewRunbookDraftClient(subscriptionID string) RunbookDraftClient {
return NewRunbookDraftClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRunbookDraftClientWithBaseURI creates an instance of the RunbookDraftClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRunbookDraftClientWithBaseURI creates an instance of the RunbookDraftClient client.
func NewRunbookDraftClientWithBaseURI(baseURI string, subscriptionID string) RunbookDraftClient {
return RunbookDraftClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/schedule.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/schedule.go
index 58b68d34a5cca..0f68168c80733 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/schedule.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/schedule.go
@@ -36,8 +36,7 @@ func NewScheduleClient(subscriptionID string) ScheduleClient {
return NewScheduleClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewScheduleClientWithBaseURI creates an instance of the ScheduleClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewScheduleClientWithBaseURI creates an instance of the ScheduleClient client.
func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient {
return ScheduleClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/statistics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/statistics.go
index e31ab7362b6ff..625062d6ebd28 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/statistics.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/statistics.go
@@ -36,8 +36,7 @@ func NewStatisticsClient(subscriptionID string) StatisticsClient {
return NewStatisticsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewStatisticsClientWithBaseURI creates an instance of the StatisticsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewStatisticsClientWithBaseURI creates an instance of the StatisticsClient client.
func NewStatisticsClientWithBaseURI(baseURI string, subscriptionID string) StatisticsClient {
return StatisticsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjob.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjob.go
index e7e509cb433de..26908a87daec5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjob.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjob.go
@@ -36,8 +36,7 @@ func NewTestJobClient(subscriptionID string) TestJobClient {
return NewTestJobClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTestJobClientWithBaseURI creates an instance of the TestJobClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTestJobClientWithBaseURI creates an instance of the TestJobClient client.
func NewTestJobClientWithBaseURI(baseURI string, subscriptionID string) TestJobClient {
return TestJobClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjobstreams.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjobstreams.go
index 53ccfdda7f24e..67dbb8106d461 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjobstreams.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/testjobstreams.go
@@ -36,8 +36,7 @@ func NewTestJobStreamsClient(subscriptionID string) TestJobStreamsClient {
return NewTestJobStreamsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTestJobStreamsClientWithBaseURI creates an instance of the TestJobStreamsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTestJobStreamsClientWithBaseURI creates an instance of the TestJobStreamsClient client.
func NewTestJobStreamsClientWithBaseURI(baseURI string, subscriptionID string) TestJobStreamsClient {
return TestJobStreamsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/usages.go
index 1c98177cb82dc..ee694d4813824 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/usages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/usages.go
@@ -36,8 +36,7 @@ func NewUsagesClient(subscriptionID string) UsagesClient {
return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/variable.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/variable.go
index 95fb899f1e2b4..dc1b92a10af01 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/variable.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/variable.go
@@ -36,8 +36,7 @@ func NewVariableClient(subscriptionID string) VariableClient {
return NewVariableClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVariableClientWithBaseURI creates an instance of the VariableClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVariableClientWithBaseURI creates an instance of the VariableClient client.
func NewVariableClientWithBaseURI(baseURI string, subscriptionID string) VariableClient {
return VariableClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/webhook.go b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/webhook.go
index 96c30c2a20f41..0f01dd04f5348 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/webhook.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/webhook.go
@@ -36,8 +36,7 @@ func NewWebhookClient(subscriptionID string) WebhookClient {
return NewWebhookClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWebhookClientWithBaseURI creates an instance of the WebhookClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWebhookClientWithBaseURI creates an instance of the WebhookClient client.
func NewWebhookClientWithBaseURI(baseURI string, subscriptionID string) WebhookClient {
return WebhookClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/account.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/account.go
index ed2eac2864844..e64ef09217851 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/account.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/account.go
@@ -36,8 +36,7 @@ func NewAccountClient(subscriptionID string) AccountClient {
return NewAccountClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountClientWithBaseURI creates an instance of the AccountClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountClientWithBaseURI creates an instance of the AccountClient client.
func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient {
return AccountClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/application.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/application.go
index 8cf766d635ce1..6273fbf6e5fc9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/application.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/application.go
@@ -36,8 +36,7 @@ func NewApplicationClient(subscriptionID string) ApplicationClient {
return NewApplicationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client.
func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient {
return ApplicationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/applicationpackage.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/applicationpackage.go
index b44840f69c952..c793f7002c1c5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/applicationpackage.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/applicationpackage.go
@@ -36,9 +36,7 @@ func NewApplicationPackageClient(subscriptionID string) ApplicationPackageClient
return NewApplicationPackageClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationPackageClientWithBaseURI creates an instance of the ApplicationPackageClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewApplicationPackageClientWithBaseURI creates an instance of the ApplicationPackageClient client.
func NewApplicationPackageClientWithBaseURI(baseURI string, subscriptionID string) ApplicationPackageClient {
return ApplicationPackageClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/certificate.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/certificate.go
index 379506db60f35..73a8a1489c7a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/certificate.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/certificate.go
@@ -36,8 +36,7 @@ func NewCertificateClient(subscriptionID string) CertificateClient {
return NewCertificateClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCertificateClientWithBaseURI creates an instance of the CertificateClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCertificateClientWithBaseURI creates an instance of the CertificateClient client.
func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient {
return CertificateClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/client.go
index e19fd513b0aec..90fd26ca233d2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/location.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/location.go
index de53ce116c8b4..25f3a0d546ff9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/location.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/location.go
@@ -36,8 +36,7 @@ func NewLocationClient(subscriptionID string) LocationClient {
return NewLocationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLocationClientWithBaseURI creates an instance of the LocationClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLocationClientWithBaseURI creates an instance of the LocationClient client.
func NewLocationClientWithBaseURI(baseURI string, subscriptionID string) LocationClient {
return LocationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/operations.go
index 7726829e7a97a..ba0cc0f1e6660 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/pool.go b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/pool.go
index 5be82be770d55..4344f2d77d055 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/pool.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2018-12-01/batch/pool.go
@@ -36,8 +36,7 @@ func NewPoolClient(subscriptionID string) PoolClient {
return NewPoolClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPoolClientWithBaseURI creates an instance of the PoolClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPoolClientWithBaseURI creates an instance of the PoolClient client.
func NewPoolClientWithBaseURI(baseURI string, subscriptionID string) PoolClient {
return PoolClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/client.go
index 38fac5958be72..df3714c94d58d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/client.go
@@ -46,8 +46,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/customdomains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/customdomains.go
index d5729ebec4d30..7fe0bdd42003b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/customdomains.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/customdomains.go
@@ -36,8 +36,7 @@ func NewCustomDomainsClient(subscriptionID string) CustomDomainsClient {
return NewCustomDomainsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCustomDomainsClientWithBaseURI creates an instance of the CustomDomainsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCustomDomainsClientWithBaseURI creates an instance of the CustomDomainsClient client.
func NewCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) CustomDomainsClient {
return CustomDomainsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go
index 4442ea7271dd7..11f184afda4e0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/edgenodes.go
@@ -35,8 +35,7 @@ func NewEdgeNodesClient(subscriptionID string) EdgeNodesClient {
return NewEdgeNodesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEdgeNodesClientWithBaseURI creates an instance of the EdgeNodesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEdgeNodesClientWithBaseURI creates an instance of the EdgeNodesClient client.
func NewEdgeNodesClientWithBaseURI(baseURI string, subscriptionID string) EdgeNodesClient {
return EdgeNodesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/endpoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/endpoints.go
index 64055eaa44611..1b780ee656466 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/endpoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/endpoints.go
@@ -36,8 +36,7 @@ func NewEndpointsClient(subscriptionID string) EndpointsClient {
return NewEndpointsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client.
func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient {
return EndpointsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/operations.go
index 9ad8c85c8186b..c6c4ee5e54462 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/origins.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/origins.go
index 604570217e3ac..0fe220e021e20 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/origins.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/origins.go
@@ -36,8 +36,7 @@ func NewOriginsClient(subscriptionID string) OriginsClient {
return NewOriginsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOriginsClientWithBaseURI creates an instance of the OriginsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOriginsClientWithBaseURI creates an instance of the OriginsClient client.
func NewOriginsClientWithBaseURI(baseURI string, subscriptionID string) OriginsClient {
return OriginsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/profiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/profiles.go
index c0d926f8f9601..77b127b13d3b5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/profiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/profiles.go
@@ -36,8 +36,7 @@ func NewProfilesClient(subscriptionID string) ProfilesClient {
return NewProfilesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client.
func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient {
return ProfilesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go
index e45badf655e31..42995a73dbd07 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-10-12/cdn/resourceusage.go
@@ -35,8 +35,7 @@ func NewResourceUsageClient(subscriptionID string) ResourceUsageClient {
return NewResourceUsageClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceUsageClientWithBaseURI creates an instance of the ResourceUsageClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewResourceUsageClientWithBaseURI creates an instance of the ResourceUsageClient client.
func NewResourceUsageClientWithBaseURI(baseURI string, subscriptionID string) ResourceUsageClient {
return ResourceUsageClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go
index 079d8d2e2d684..37a1f4c7a3201 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/accounts.go
@@ -36,8 +36,7 @@ func NewAccountsClient(subscriptionID string) AccountsClient {
return NewAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return AccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go
index 3d6f6978dacdf..49599b4fa9a3f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/client.go
@@ -46,8 +46,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go
index 30e71b46a40fa..7739428ccab02 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go
index 4a32b7e49fcdd..59ea2fd2b42ba 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices/resourceskus.go
@@ -35,8 +35,7 @@ func NewResourceSkusClient(subscriptionID string) ResourceSkusClient {
return NewResourceSkusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client.
func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient {
return ResourceSkusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/availabilitysets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/availabilitysets.go
index 6cd62d64dcc4d..92945517338f5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/availabilitysets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/availabilitysets.go
@@ -35,9 +35,7 @@ func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient {
return NewAvailabilitySetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAvailabilitySetsClientWithBaseURI creates an instance of the AvailabilitySetsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAvailabilitySetsClientWithBaseURI creates an instance of the AvailabilitySetsClient client.
func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient {
return AvailabilitySetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/client.go
index d9d0430190ead..b23c9ca74268d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/containerservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/containerservices.go
index 0927786a9a4ad..d3192f0de4147 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/containerservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/containerservices.go
@@ -36,9 +36,7 @@ func NewContainerServicesClient(subscriptionID string) ContainerServicesClient {
return NewContainerServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewContainerServicesClientWithBaseURI creates an instance of the ContainerServicesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewContainerServicesClientWithBaseURI creates an instance of the ContainerServicesClient client.
func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient {
return ContainerServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhostgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhostgroups.go
index 556391a29c3f8..a3779afa2dbe0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhostgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhostgroups.go
@@ -36,9 +36,7 @@ func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClie
return NewDedicatedHostGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDedicatedHostGroupsClientWithBaseURI creates an instance of the DedicatedHostGroupsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDedicatedHostGroupsClientWithBaseURI creates an instance of the DedicatedHostGroupsClient client.
func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient {
return DedicatedHostGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhosts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhosts.go
index 36a6a9252f225..fd90291556a00 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhosts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/dedicatedhosts.go
@@ -36,8 +36,7 @@ func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient {
return NewDedicatedHostsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDedicatedHostsClientWithBaseURI creates an instance of the DedicatedHostsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDedicatedHostsClientWithBaseURI creates an instance of the DedicatedHostsClient client.
func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient {
return DedicatedHostsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/diskencryptionsets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/diskencryptionsets.go
index 00b531d077377..cb93acdde8746 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/diskencryptionsets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/diskencryptionsets.go
@@ -36,9 +36,7 @@ func NewDiskEncryptionSetsClient(subscriptionID string) DiskEncryptionSetsClient
return NewDiskEncryptionSetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDiskEncryptionSetsClientWithBaseURI creates an instance of the DiskEncryptionSetsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDiskEncryptionSetsClientWithBaseURI creates an instance of the DiskEncryptionSetsClient client.
func NewDiskEncryptionSetsClientWithBaseURI(baseURI string, subscriptionID string) DiskEncryptionSetsClient {
return DiskEncryptionSetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/disks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/disks.go
index 8d4029fd58204..4bf3366891697 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/disks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/disks.go
@@ -36,8 +36,7 @@ func NewDisksClient(subscriptionID string) DisksClient {
return NewDisksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDisksClientWithBaseURI creates an instance of the DisksClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDisksClientWithBaseURI creates an instance of the DisksClient client.
func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient {
return DisksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleries.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleries.go
index 81138492ffb50..8b9486b006522 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleries.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleries.go
@@ -35,8 +35,7 @@ func NewGalleriesClient(subscriptionID string) GalleriesClient {
return NewGalleriesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGalleriesClientWithBaseURI creates an instance of the GalleriesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGalleriesClientWithBaseURI creates an instance of the GalleriesClient client.
func NewGalleriesClientWithBaseURI(baseURI string, subscriptionID string) GalleriesClient {
return GalleriesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplications.go
index 492c0b0100ec5..60651d079a35a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplications.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplications.go
@@ -35,9 +35,7 @@ func NewGalleryApplicationsClient(subscriptionID string) GalleryApplicationsClie
return NewGalleryApplicationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGalleryApplicationsClientWithBaseURI creates an instance of the GalleryApplicationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewGalleryApplicationsClientWithBaseURI creates an instance of the GalleryApplicationsClient client.
func NewGalleryApplicationsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationsClient {
return GalleryApplicationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplicationversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplicationversions.go
index 9318a76b660d9..e2d3695d8d08a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplicationversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryapplicationversions.go
@@ -36,9 +36,7 @@ func NewGalleryApplicationVersionsClient(subscriptionID string) GalleryApplicati
return NewGalleryApplicationVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGalleryApplicationVersionsClientWithBaseURI creates an instance of the GalleryApplicationVersionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewGalleryApplicationVersionsClientWithBaseURI creates an instance of the GalleryApplicationVersionsClient client.
func NewGalleryApplicationVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationVersionsClient {
return GalleryApplicationVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimages.go
index 42f15f088df77..c992180ec1e4e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimages.go
@@ -36,8 +36,7 @@ func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient {
return NewGalleryImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGalleryImagesClientWithBaseURI creates an instance of the GalleryImagesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGalleryImagesClientWithBaseURI creates an instance of the GalleryImagesClient client.
func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient {
return GalleryImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimageversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimageversions.go
index fcfc503bd155c..e1c934b0e17a4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimageversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/galleryimageversions.go
@@ -36,9 +36,7 @@ func NewGalleryImageVersionsClient(subscriptionID string) GalleryImageVersionsCl
return NewGalleryImageVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGalleryImageVersionsClientWithBaseURI creates an instance of the GalleryImageVersionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewGalleryImageVersionsClientWithBaseURI creates an instance of the GalleryImageVersionsClient client.
func NewGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryImageVersionsClient {
return GalleryImageVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/images.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/images.go
index 8f58ad69a2556..dfb92b46b0f71 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/images.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/images.go
@@ -35,8 +35,7 @@ func NewImagesClient(subscriptionID string) ImagesClient {
return NewImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewImagesClientWithBaseURI creates an instance of the ImagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewImagesClientWithBaseURI creates an instance of the ImagesClient client.
func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient {
return ImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/loganalytics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/loganalytics.go
index e6dafc2c8b2aa..145d834d59b8d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/loganalytics.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/loganalytics.go
@@ -36,8 +36,7 @@ func NewLogAnalyticsClient(subscriptionID string) LogAnalyticsClient {
return NewLogAnalyticsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLogAnalyticsClientWithBaseURI creates an instance of the LogAnalyticsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLogAnalyticsClientWithBaseURI creates an instance of the LogAnalyticsClient client.
func NewLogAnalyticsClientWithBaseURI(baseURI string, subscriptionID string) LogAnalyticsClient {
return LogAnalyticsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/models.go
index 1a5dc0df11e5a..95ab62fecde36 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/models.go
@@ -6796,8 +6796,6 @@ type ImageReference struct {
Sku *string `json:"sku,omitempty"`
// Version - Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
Version *string `json:"version,omitempty"`
- // ExactVersion - READ-ONLY; Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- ExactVersion *string `json:"exactVersion,omitempty"`
// ID - Resource Id
ID *string `json:"id,omitempty"`
}
@@ -10284,7 +10282,7 @@ type VirtualMachineProperties struct {
NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
// DiagnosticsProfile - Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.
DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
- // AvailabilitySet - Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
+ // AvailabilitySet - Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`
// VirtualMachineScaleSet - Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01
VirtualMachineScaleSet *SubResource `json:"virtualMachineScaleSet,omitempty"`
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/operations.go
index b1c1a2f783fc6..021b16328e7dc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/proximityplacementgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/proximityplacementgroups.go
index 627c7bdeaf1da..7e5e9013d31cc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/proximityplacementgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/proximityplacementgroups.go
@@ -35,9 +35,7 @@ func NewProximityPlacementGroupsClient(subscriptionID string) ProximityPlacement
return NewProximityPlacementGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProximityPlacementGroupsClientWithBaseURI creates an instance of the ProximityPlacementGroupsClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewProximityPlacementGroupsClientWithBaseURI creates an instance of the ProximityPlacementGroupsClient client.
func NewProximityPlacementGroupsClientWithBaseURI(baseURI string, subscriptionID string) ProximityPlacementGroupsClient {
return ProximityPlacementGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/resourceskus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/resourceskus.go
index ee4fdc3652c71..adb402788c875 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/resourceskus.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/resourceskus.go
@@ -35,8 +35,7 @@ func NewResourceSkusClient(subscriptionID string) ResourceSkusClient {
return NewResourceSkusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client.
func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient {
return ResourceSkusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/snapshots.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/snapshots.go
index 6a82fa9c47ece..3a52fe87388b8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/snapshots.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/snapshots.go
@@ -36,8 +36,7 @@ func NewSnapshotsClient(subscriptionID string) SnapshotsClient {
return NewSnapshotsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client.
func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient {
return SnapshotsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/usage.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/usage.go
index c86bf73c117fd..690136c06d54e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/usage.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/usage.go
@@ -36,8 +36,7 @@ func NewUsageClient(subscriptionID string) UsageClient {
return NewUsageClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsageClientWithBaseURI creates an instance of the UsageClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsageClientWithBaseURI creates an instance of the UsageClient client.
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return UsageClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensionimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensionimages.go
index 4fed8fbc6239e..7a670a607c822 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensionimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensionimages.go
@@ -36,8 +36,7 @@ func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachin
}
// NewVirtualMachineExtensionImagesClientWithBaseURI creates an instance of the VirtualMachineExtensionImagesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient {
return VirtualMachineExtensionImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensions.go
index afce9fdcf571d..a77180ddc6889 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineextensions.go
@@ -35,9 +35,7 @@ func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExte
return NewVirtualMachineExtensionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachineExtensionsClientWithBaseURI creates an instance of the VirtualMachineExtensionsClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewVirtualMachineExtensionsClientWithBaseURI creates an instance of the VirtualMachineExtensionsClient client.
func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient {
return VirtualMachineExtensionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineimages.go
index bda85ef1161ff..e1e830c2f4321 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineimages.go
@@ -35,9 +35,7 @@ func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesCl
return NewVirtualMachineImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachineImagesClientWithBaseURI creates an instance of the VirtualMachineImagesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualMachineImagesClientWithBaseURI creates an instance of the VirtualMachineImagesClient client.
func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient {
return VirtualMachineImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineruncommands.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineruncommands.go
index c41cdd0c5095a..82be43acfd4c1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineruncommands.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachineruncommands.go
@@ -36,9 +36,7 @@ func NewVirtualMachineRunCommandsClient(subscriptionID string) VirtualMachineRun
return NewVirtualMachineRunCommandsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachineRunCommandsClientWithBaseURI creates an instance of the VirtualMachineRunCommandsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewVirtualMachineRunCommandsClientWithBaseURI creates an instance of the VirtualMachineRunCommandsClient client.
func NewVirtualMachineRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineRunCommandsClient {
return VirtualMachineRunCommandsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachines.go
index 9d75dd35ca37c..40f47fff86a93 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachines.go
@@ -36,8 +36,7 @@ func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
return NewVirtualMachinesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client.
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
return VirtualMachinesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetextensions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetextensions.go
index cff74bd7c356b..54d16ac721568 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetextensions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetextensions.go
@@ -36,8 +36,7 @@ func NewVirtualMachineScaleSetExtensionsClient(subscriptionID string) VirtualMac
}
// NewVirtualMachineScaleSetExtensionsClientWithBaseURI creates an instance of the
-// VirtualMachineScaleSetExtensionsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// VirtualMachineScaleSetExtensionsClient client.
func NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetExtensionsClient {
return VirtualMachineScaleSetExtensionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetrollingupgrades.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetrollingupgrades.go
index 98d2275d89645..c20c01d515cfa 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetrollingupgrades.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetrollingupgrades.go
@@ -37,8 +37,7 @@ func NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID string) Virtu
}
// NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI creates an instance of the
-// VirtualMachineScaleSetRollingUpgradesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// VirtualMachineScaleSetRollingUpgradesClient client.
func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient {
return VirtualMachineScaleSetRollingUpgradesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesets.go
index aec7894e50a4f..4480fb9955629 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesets.go
@@ -36,9 +36,7 @@ func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScale
return NewVirtualMachineScaleSetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachineScaleSetsClientWithBaseURI creates an instance of the VirtualMachineScaleSetsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVirtualMachineScaleSetsClientWithBaseURI creates an instance of the VirtualMachineScaleSetsClient client.
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient {
return VirtualMachineScaleSetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvmextensions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvmextensions.go
index 1c9ea79b7f875..3fe6bf51dd22d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvmextensions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvmextensions.go
@@ -37,8 +37,7 @@ func NewVirtualMachineScaleSetVMExtensionsClient(subscriptionID string) VirtualM
}
// NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI creates an instance of the
-// VirtualMachineScaleSetVMExtensionsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// VirtualMachineScaleSetVMExtensionsClient client.
func NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMExtensionsClient {
return VirtualMachineScaleSetVMExtensionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvms.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvms.go
index 88d6f86e879e7..155e6eee83dfb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvms.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinescalesetvms.go
@@ -36,9 +36,7 @@ func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineSca
return NewVirtualMachineScaleSetVMsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachineScaleSetVMsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewVirtualMachineScaleSetVMsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsClient client.
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient {
return VirtualMachineScaleSetVMsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinesizes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinesizes.go
index 5390b0d0d7e50..55335fe9a518d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinesizes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-07-01/compute/virtualmachinesizes.go
@@ -36,9 +36,7 @@ func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClie
return NewVirtualMachineSizesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client.
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
return VirtualMachineSizesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go
index 23970e387e53d..86b35d56d51c3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go
@@ -45,8 +45,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go
index 56366d98a42e6..d2c454561ed79 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go
@@ -35,8 +35,7 @@ func NewContainerClient(subscriptionID string) ContainerClient {
return NewContainerClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewContainerClientWithBaseURI creates an instance of the ContainerClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewContainerClientWithBaseURI creates an instance of the ContainerClient client.
func NewContainerClientWithBaseURI(baseURI string, subscriptionID string) ContainerClient {
return ContainerClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go
index 37367bd554717..8467499652a70 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go
@@ -36,8 +36,7 @@ func NewContainerGroupsClient(subscriptionID string) ContainerGroupsClient {
return NewContainerGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewContainerGroupsClientWithBaseURI creates an instance of the ContainerGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewContainerGroupsClientWithBaseURI creates an instance of the ContainerGroupsClient client.
func NewContainerGroupsClientWithBaseURI(baseURI string, subscriptionID string) ContainerGroupsClient {
return ContainerGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go
index 6b92ed52015e4..f4933f9a5c4fd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go
@@ -35,9 +35,7 @@ func NewContainerGroupUsageClient(subscriptionID string) ContainerGroupUsageClie
return NewContainerGroupUsageClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewContainerGroupUsageClientWithBaseURI creates an instance of the ContainerGroupUsageClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewContainerGroupUsageClientWithBaseURI creates an instance of the ContainerGroupUsageClient client.
func NewContainerGroupUsageClientWithBaseURI(baseURI string, subscriptionID string) ContainerGroupUsageClient {
return ContainerGroupUsageClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go
index aa5da2025fe9e..23aa69498ab20 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go
index 1397236188350..d39598eeebbc0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go
@@ -35,9 +35,7 @@ func NewServiceAssociationLinkClient(subscriptionID string) ServiceAssociationLi
return NewServiceAssociationLinkClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceAssociationLinkClientWithBaseURI creates an instance of the ServiceAssociationLinkClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewServiceAssociationLinkClientWithBaseURI creates an instance of the ServiceAssociationLinkClient client.
func NewServiceAssociationLinkClientWithBaseURI(baseURI string, subscriptionID string) ServiceAssociationLinkClient {
return ServiceAssociationLinkClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/client.go
index 578a43823145a..b463ed53737b3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go
index 2eaed86de9f24..6123d75bf3844 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go
index 622d176b8a186..18fd04e47ce2a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/registries.go
@@ -36,8 +36,7 @@ func NewRegistriesClient(subscriptionID string) RegistriesClient {
return NewRegistriesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRegistriesClientWithBaseURI creates an instance of the RegistriesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRegistriesClientWithBaseURI creates an instance of the RegistriesClient client.
func NewRegistriesClientWithBaseURI(baseURI string, subscriptionID string) RegistriesClient {
return RegistriesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go
index aef18a24a12e3..f356afa2d4f83 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/replications.go
@@ -36,8 +36,7 @@ func NewReplicationsClient(subscriptionID string) ReplicationsClient {
return NewReplicationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReplicationsClientWithBaseURI creates an instance of the ReplicationsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewReplicationsClientWithBaseURI creates an instance of the ReplicationsClient client.
func NewReplicationsClientWithBaseURI(baseURI string, subscriptionID string) ReplicationsClient {
return ReplicationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go
index c60110a8b9fe6..61bf73f553b7a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/runs.go
@@ -36,8 +36,7 @@ func NewRunsClient(subscriptionID string) RunsClient {
return NewRunsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRunsClientWithBaseURI creates an instance of the RunsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRunsClientWithBaseURI creates an instance of the RunsClient client.
func NewRunsClientWithBaseURI(baseURI string, subscriptionID string) RunsClient {
return RunsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go
index 085b4c9a79853..7e4733fbfc061 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/tasks.go
@@ -36,8 +36,7 @@ func NewTasksClient(subscriptionID string) TasksClient {
return NewTasksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTasksClientWithBaseURI creates an instance of the TasksClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTasksClientWithBaseURI creates an instance of the TasksClient client.
func NewTasksClientWithBaseURI(baseURI string, subscriptionID string) TasksClient {
return TasksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go
index ebe61d50b5ffe..de31f53c3d023 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry/webhooks.go
@@ -36,8 +36,7 @@ func NewWebhooksClient(subscriptionID string) WebhooksClient {
return NewWebhooksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWebhooksClientWithBaseURI creates an instance of the WebhooksClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWebhooksClientWithBaseURI creates an instance of the WebhooksClient client.
func NewWebhooksClientWithBaseURI(baseURI string, subscriptionID string) WebhooksClient {
return WebhooksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/agentpools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/agentpools.go
index 29dff30c5552a..1412b4cb84c97 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/agentpools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/agentpools.go
@@ -36,8 +36,7 @@ func NewAgentPoolsClient(subscriptionID string) AgentPoolsClient {
return NewAgentPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAgentPoolsClientWithBaseURI creates an instance of the AgentPoolsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAgentPoolsClientWithBaseURI creates an instance of the AgentPoolsClient client.
func NewAgentPoolsClientWithBaseURI(baseURI string, subscriptionID string) AgentPoolsClient {
return AgentPoolsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/client.go
index 858e168f208f2..09a36def717c4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/containerservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/containerservices.go
index 4e598cbfe88a6..1bd2a37eec45c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/containerservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/containerservices.go
@@ -36,9 +36,7 @@ func NewContainerServicesClient(subscriptionID string) ContainerServicesClient {
return NewContainerServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewContainerServicesClientWithBaseURI creates an instance of the ContainerServicesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewContainerServicesClientWithBaseURI creates an instance of the ContainerServicesClient client.
func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient {
return ContainerServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/managedclusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/managedclusters.go
index d114b8d9e04c2..2fd0fa910f54a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/managedclusters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/managedclusters.go
@@ -36,8 +36,7 @@ func NewManagedClustersClient(subscriptionID string) ManagedClustersClient {
return NewManagedClustersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagedClustersClientWithBaseURI creates an instance of the ManagedClustersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewManagedClustersClientWithBaseURI creates an instance of the ManagedClustersClient client.
func NewManagedClustersClientWithBaseURI(baseURI string, subscriptionID string) ManagedClustersClient {
return ManagedClustersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/openshiftmanagedclusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/openshiftmanagedclusters.go
index 0610faf699936..ac574f3c4121a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/openshiftmanagedclusters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/openshiftmanagedclusters.go
@@ -36,9 +36,7 @@ func NewOpenShiftManagedClustersClient(subscriptionID string) OpenShiftManagedCl
return NewOpenShiftManagedClustersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOpenShiftManagedClustersClientWithBaseURI creates an instance of the OpenShiftManagedClustersClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewOpenShiftManagedClustersClientWithBaseURI creates an instance of the OpenShiftManagedClustersClient client.
func NewOpenShiftManagedClustersClientWithBaseURI(baseURI string, subscriptionID string) OpenShiftManagedClustersClient {
return OpenShiftManagedClustersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/operations.go
index 0474ce4ac830a..978c301f731c4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2019-10-01/containerservice/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/client.go
index 686008d9006be..8799ab4fb9c61 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
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 f21635ea7a434..3019e7ed3fca8 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
@@ -36,8 +36,7 @@ func NewCollectionClient(subscriptionID string) CollectionClient {
return NewCollectionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCollectionClientWithBaseURI creates an instance of the CollectionClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCollectionClientWithBaseURI creates an instance of the CollectionClient client.
func NewCollectionClientWithBaseURI(baseURI string, subscriptionID string) CollectionClient {
return CollectionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 258476575ef5a..4a514d1b2b2f9 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
@@ -36,9 +36,7 @@ func NewCollectionPartitionClient(subscriptionID string) CollectionPartitionClie
return NewCollectionPartitionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCollectionPartitionClientWithBaseURI creates an instance of the CollectionPartitionClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewCollectionPartitionClientWithBaseURI creates an instance of the CollectionPartitionClient client.
func NewCollectionPartitionClientWithBaseURI(baseURI string, subscriptionID string) CollectionPartitionClient {
return CollectionPartitionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 d958987d78fb0..8f027b5490b83 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
@@ -36,9 +36,7 @@ func NewCollectionPartitionRegionClient(subscriptionID string) CollectionPartiti
return NewCollectionPartitionRegionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCollectionPartitionRegionClientWithBaseURI creates an instance of the CollectionPartitionRegionClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewCollectionPartitionRegionClientWithBaseURI creates an instance of the CollectionPartitionRegionClient client.
func NewCollectionPartitionRegionClientWithBaseURI(baseURI string, subscriptionID string) CollectionPartitionRegionClient {
return CollectionPartitionRegionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 3c5534a72ed07..0aae092d46c6e 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
@@ -36,9 +36,7 @@ func NewCollectionRegionClient(subscriptionID string) CollectionRegionClient {
return NewCollectionRegionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCollectionRegionClientWithBaseURI creates an instance of the CollectionRegionClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewCollectionRegionClientWithBaseURI creates an instance of the CollectionRegionClient client.
func NewCollectionRegionClientWithBaseURI(baseURI string, subscriptionID string) CollectionRegionClient {
return CollectionRegionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 1f2dac7316ec3..6dc44902d600c 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
@@ -36,8 +36,7 @@ func NewDatabaseClient(subscriptionID string) DatabaseClient {
return NewDatabaseClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseClientWithBaseURI creates an instance of the DatabaseClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabaseClientWithBaseURI creates an instance of the DatabaseClient client.
func NewDatabaseClientWithBaseURI(baseURI string, subscriptionID string) DatabaseClient {
return DatabaseClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 96b077c867818..23e0b50a26f5b 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
@@ -36,9 +36,7 @@ func NewDatabaseAccountRegionClient(subscriptionID string) DatabaseAccountRegion
return NewDatabaseAccountRegionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseAccountRegionClientWithBaseURI creates an instance of the DatabaseAccountRegionClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewDatabaseAccountRegionClientWithBaseURI creates an instance of the DatabaseAccountRegionClient client.
func NewDatabaseAccountRegionClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAccountRegionClient {
return DatabaseAccountRegionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 8377a88a4fdcf..961d731a5ffa1 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
@@ -36,9 +36,7 @@ func NewDatabaseAccountsClient(subscriptionID string) DatabaseAccountsClient {
return NewDatabaseAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseAccountsClientWithBaseURI creates an instance of the DatabaseAccountsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDatabaseAccountsClientWithBaseURI creates an instance of the DatabaseAccountsClient client.
func NewDatabaseAccountsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAccountsClient {
return DatabaseAccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go
index d378e86820ac6..f294c8839b619 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 b9b799e15910b..5a5dde502f71d 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
@@ -36,9 +36,7 @@ func NewPartitionKeyRangeIDClient(subscriptionID string) PartitionKeyRangeIDClie
return NewPartitionKeyRangeIDClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPartitionKeyRangeIDClientWithBaseURI creates an instance of the PartitionKeyRangeIDClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewPartitionKeyRangeIDClientWithBaseURI creates an instance of the PartitionKeyRangeIDClient client.
func NewPartitionKeyRangeIDClientWithBaseURI(baseURI string, subscriptionID string) PartitionKeyRangeIDClient {
return PartitionKeyRangeIDClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 c815599ba0936..d5a47e1bb7f43 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
@@ -36,9 +36,7 @@ func NewPartitionKeyRangeIDRegionClient(subscriptionID string) PartitionKeyRange
return NewPartitionKeyRangeIDRegionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPartitionKeyRangeIDRegionClientWithBaseURI creates an instance of the PartitionKeyRangeIDRegionClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewPartitionKeyRangeIDRegionClientWithBaseURI creates an instance of the PartitionKeyRangeIDRegionClient client.
func NewPartitionKeyRangeIDRegionClientWithBaseURI(baseURI string, subscriptionID string) PartitionKeyRangeIDRegionClient {
return PartitionKeyRangeIDRegionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 5c05ed3655266..bf37a1d3f0d10 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
@@ -36,8 +36,7 @@ func NewPercentileClient(subscriptionID string) PercentileClient {
return NewPercentileClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPercentileClientWithBaseURI creates an instance of the PercentileClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPercentileClientWithBaseURI creates an instance of the PercentileClient client.
func NewPercentileClientWithBaseURI(baseURI string, subscriptionID string) PercentileClient {
return PercentileClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 1d3546bcdf86c..b9ed0211b47cb 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
@@ -36,9 +36,7 @@ func NewPercentileSourceTargetClient(subscriptionID string) PercentileSourceTarg
return NewPercentileSourceTargetClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPercentileSourceTargetClientWithBaseURI creates an instance of the PercentileSourceTargetClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewPercentileSourceTargetClientWithBaseURI creates an instance of the PercentileSourceTargetClient client.
func NewPercentileSourceTargetClientWithBaseURI(baseURI string, subscriptionID string) PercentileSourceTargetClient {
return PercentileSourceTargetClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 b5b6163d7ba5b..9ddaa71f79c68 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
@@ -36,9 +36,7 @@ func NewPercentileTargetClient(subscriptionID string) PercentileTargetClient {
return NewPercentileTargetClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPercentileTargetClientWithBaseURI creates an instance of the PercentileTargetClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewPercentileTargetClientWithBaseURI creates an instance of the PercentileTargetClient client.
func NewPercentileTargetClientWithBaseURI(baseURI string, subscriptionID string) PercentileTargetClient {
return PercentileTargetClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/client.go
index 9931948e9dddb..cee8daa3781b0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/operations.go
index fa7be12289c06..24ee785a04be9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/workspaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/workspaces.go
index 2cb4d5c193267..cc9d858d1887d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/workspaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/databricks/mgmt/2018-04-01/databricks/workspaces.go
@@ -36,8 +36,7 @@ func NewWorkspacesClient(subscriptionID string) WorkspacesClient {
return NewWorkspacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client.
func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient {
return WorkspacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go
index 8f6f8f4484553..ae94efdbb01f6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go
@@ -37,8 +37,7 @@ func NewActivityRunsClient(subscriptionID string) ActivityRunsClient {
return NewActivityRunsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewActivityRunsClientWithBaseURI creates an instance of the ActivityRunsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewActivityRunsClientWithBaseURI creates an instance of the ActivityRunsClient client.
func NewActivityRunsClientWithBaseURI(baseURI string, subscriptionID string) ActivityRunsClient {
return ActivityRunsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/client.go
index 4825f9ccc4228..8fb1140cd52c7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/client.go
@@ -42,8 +42,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go
index 4390b73af1f7a..91bab8cfe2e1a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go
@@ -37,9 +37,7 @@ func NewDataFlowDebugSessionClient(subscriptionID string) DataFlowDebugSessionCl
return NewDataFlowDebugSessionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataFlowDebugSessionClientWithBaseURI creates an instance of the DataFlowDebugSessionClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDataFlowDebugSessionClientWithBaseURI creates an instance of the DataFlowDebugSessionClient client.
func NewDataFlowDebugSessionClientWithBaseURI(baseURI string, subscriptionID string) DataFlowDebugSessionClient {
return DataFlowDebugSessionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go
index 873854533f124..b8d003bd0f901 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go
@@ -37,8 +37,7 @@ func NewDataFlowsClient(subscriptionID string) DataFlowsClient {
return NewDataFlowsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataFlowsClientWithBaseURI creates an instance of the DataFlowsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDataFlowsClientWithBaseURI creates an instance of the DataFlowsClient client.
func NewDataFlowsClientWithBaseURI(baseURI string, subscriptionID string) DataFlowsClient {
return DataFlowsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go
index 3aa3cad418056..9f30025d49f44 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go
@@ -37,8 +37,7 @@ func NewDatasetsClient(subscriptionID string) DatasetsClient {
return NewDatasetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatasetsClientWithBaseURI creates an instance of the DatasetsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatasetsClientWithBaseURI creates an instance of the DatasetsClient client.
func NewDatasetsClientWithBaseURI(baseURI string, subscriptionID string) DatasetsClient {
return DatasetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go
index 7a3f875b1126d..7463fdaa347e2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go
@@ -37,8 +37,7 @@ func NewExposureControlClient(subscriptionID string) ExposureControlClient {
return NewExposureControlClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExposureControlClientWithBaseURI creates an instance of the ExposureControlClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewExposureControlClientWithBaseURI creates an instance of the ExposureControlClient client.
func NewExposureControlClientWithBaseURI(baseURI string, subscriptionID string) ExposureControlClient {
return ExposureControlClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/factories.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/factories.go
index f4b4f9292fddb..a38f605234f13 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/factories.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/factories.go
@@ -37,8 +37,7 @@ func NewFactoriesClient(subscriptionID string) FactoriesClient {
return NewFactoriesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFactoriesClientWithBaseURI creates an instance of the FactoriesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFactoriesClientWithBaseURI creates an instance of the FactoriesClient client.
func NewFactoriesClientWithBaseURI(baseURI string, subscriptionID string) FactoriesClient {
return FactoriesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go
index a33e73be463c9..007184ec149e5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go
@@ -37,9 +37,7 @@ func NewIntegrationRuntimeNodesClient(subscriptionID string) IntegrationRuntimeN
return NewIntegrationRuntimeNodesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewIntegrationRuntimeNodesClientWithBaseURI creates an instance of the IntegrationRuntimeNodesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewIntegrationRuntimeNodesClientWithBaseURI creates an instance of the IntegrationRuntimeNodesClient client.
func NewIntegrationRuntimeNodesClientWithBaseURI(baseURI string, subscriptionID string) IntegrationRuntimeNodesClient {
return IntegrationRuntimeNodesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go
index 419e23c6fb717..a32e614cd3f18 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go
@@ -38,8 +38,7 @@ func NewIntegrationRuntimeObjectMetadataClient(subscriptionID string) Integratio
}
// NewIntegrationRuntimeObjectMetadataClientWithBaseURI creates an instance of the
-// IntegrationRuntimeObjectMetadataClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// IntegrationRuntimeObjectMetadataClient client.
func NewIntegrationRuntimeObjectMetadataClientWithBaseURI(baseURI string, subscriptionID string) IntegrationRuntimeObjectMetadataClient {
return IntegrationRuntimeObjectMetadataClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go
index 9729cf903ba9e..7be42541bdae4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go
@@ -37,9 +37,7 @@ func NewIntegrationRuntimesClient(subscriptionID string) IntegrationRuntimesClie
return NewIntegrationRuntimesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewIntegrationRuntimesClientWithBaseURI creates an instance of the IntegrationRuntimesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewIntegrationRuntimesClientWithBaseURI creates an instance of the IntegrationRuntimesClient client.
func NewIntegrationRuntimesClientWithBaseURI(baseURI string, subscriptionID string) IntegrationRuntimesClient {
return IntegrationRuntimesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go
index 7079b43a217c6..2dc34f42c5d8a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go
@@ -37,8 +37,7 @@ func NewLinkedServicesClient(subscriptionID string) LinkedServicesClient {
return NewLinkedServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLinkedServicesClientWithBaseURI creates an instance of the LinkedServicesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLinkedServicesClientWithBaseURI creates an instance of the LinkedServicesClient client.
func NewLinkedServicesClientWithBaseURI(baseURI string, subscriptionID string) LinkedServicesClient {
return LinkedServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/operations.go
index b0eff6eb954fd..f5ccc98dcddfe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/operations.go
@@ -36,8 +36,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go
index 9625f588ceaf5..446ab3d5c2ba3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go
@@ -37,8 +37,7 @@ func NewPipelineRunsClient(subscriptionID string) PipelineRunsClient {
return NewPipelineRunsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPipelineRunsClientWithBaseURI creates an instance of the PipelineRunsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPipelineRunsClientWithBaseURI creates an instance of the PipelineRunsClient client.
func NewPipelineRunsClientWithBaseURI(baseURI string, subscriptionID string) PipelineRunsClient {
return PipelineRunsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go
index ae2209f922f6e..bb39a45be6f3c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go
@@ -37,8 +37,7 @@ func NewPipelinesClient(subscriptionID string) PipelinesClient {
return NewPipelinesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPipelinesClientWithBaseURI creates an instance of the PipelinesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPipelinesClientWithBaseURI creates an instance of the PipelinesClient client.
func NewPipelinesClientWithBaseURI(baseURI string, subscriptionID string) PipelinesClient {
return PipelinesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go
index c34b8d25ea6e6..e7ef76f62d095 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/reruntriggers.go
@@ -37,8 +37,7 @@ func NewRerunTriggersClient(subscriptionID string) RerunTriggersClient {
return NewRerunTriggersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRerunTriggersClientWithBaseURI creates an instance of the RerunTriggersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRerunTriggersClientWithBaseURI creates an instance of the RerunTriggersClient client.
func NewRerunTriggersClientWithBaseURI(baseURI string, subscriptionID string) RerunTriggersClient {
return RerunTriggersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go
index a6346a64820cd..266c3fe6ff9f7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go
@@ -37,8 +37,7 @@ func NewTriggerRunsClient(subscriptionID string) TriggerRunsClient {
return NewTriggerRunsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTriggerRunsClientWithBaseURI creates an instance of the TriggerRunsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTriggerRunsClientWithBaseURI creates an instance of the TriggerRunsClient client.
func NewTriggerRunsClientWithBaseURI(baseURI string, subscriptionID string) TriggerRunsClient {
return TriggerRunsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go
index aaac3f2c8ec3f..ace9d7cfbbce4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go
@@ -37,8 +37,7 @@ func NewTriggersClient(subscriptionID string) TriggersClient {
return NewTriggersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTriggersClientWithBaseURI creates an instance of the TriggersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTriggersClientWithBaseURI creates an instance of the TriggersClient client.
func NewTriggersClientWithBaseURI(baseURI string, subscriptionID string) TriggersClient {
return TriggersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/accounts.go
index 7aadc75125d4c..27ad4acd7a8e8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/accounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/accounts.go
@@ -36,8 +36,7 @@ func NewAccountsClient(subscriptionID string) AccountsClient {
return NewAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return AccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/client.go
index 2e7a39098ec91..76477f63fec15 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/computepolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/computepolicies.go
index 6060f5e550e82..d098c7937b9dc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/computepolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/computepolicies.go
@@ -36,8 +36,7 @@ func NewComputePoliciesClient(subscriptionID string) ComputePoliciesClient {
return NewComputePoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewComputePoliciesClientWithBaseURI creates an instance of the ComputePoliciesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewComputePoliciesClientWithBaseURI creates an instance of the ComputePoliciesClient client.
func NewComputePoliciesClientWithBaseURI(baseURI string, subscriptionID string) ComputePoliciesClient {
return ComputePoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/datalakestoreaccounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/datalakestoreaccounts.go
index 3909db8fb7619..87526468d0f7f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/datalakestoreaccounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/datalakestoreaccounts.go
@@ -36,9 +36,7 @@ func NewDataLakeStoreAccountsClient(subscriptionID string) DataLakeStoreAccounts
return NewDataLakeStoreAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataLakeStoreAccountsClientWithBaseURI creates an instance of the DataLakeStoreAccountsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewDataLakeStoreAccountsClientWithBaseURI creates an instance of the DataLakeStoreAccountsClient client.
func NewDataLakeStoreAccountsClientWithBaseURI(baseURI string, subscriptionID string) DataLakeStoreAccountsClient {
return DataLakeStoreAccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/firewallrules.go
index 5058c8548b09c..4bbddb090604d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/firewallrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/firewallrules.go
@@ -36,8 +36,7 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/locations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/locations.go
index 81c50f1cf311e..ca1a3fd77f1c6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/locations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/locations.go
@@ -35,8 +35,7 @@ func NewLocationsClient(subscriptionID string) LocationsClient {
return NewLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return LocationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/operations.go
index 3812b633dcd6b..a267b332e5d01 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/storageaccounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/storageaccounts.go
index a2f2c6df36aab..94496f4dfd097 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/storageaccounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/storageaccounts.go
@@ -36,8 +36,7 @@ func NewStorageAccountsClient(subscriptionID string) StorageAccountsClient {
return NewStorageAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewStorageAccountsClientWithBaseURI creates an instance of the StorageAccountsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewStorageAccountsClientWithBaseURI creates an instance of the StorageAccountsClient client.
func NewStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) StorageAccountsClient {
return StorageAccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/accounts.go
index 18b03a0ab5128..50b543a42b349 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/accounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/accounts.go
@@ -36,8 +36,7 @@ func NewAccountsClient(subscriptionID string) AccountsClient {
return NewAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return AccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/client.go
index b7026d9a5846b..d0b410873c460 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/firewallrules.go
index 1ee2ef2fd1001..8f03d94a9fa88 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/firewallrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/firewallrules.go
@@ -36,8 +36,7 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/locations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/locations.go
index 21c2f35f7e15c..c4fb8df6ef62d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/locations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/locations.go
@@ -35,8 +35,7 @@ func NewLocationsClient(subscriptionID string) LocationsClient {
return NewLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return LocationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/operations.go
index 6b17a8d9dcf2e..936b275904790 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/trustedidproviders.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/trustedidproviders.go
index 22dd629e46d12..35ff323248feb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/trustedidproviders.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/trustedidproviders.go
@@ -36,9 +36,7 @@ func NewTrustedIDProvidersClient(subscriptionID string) TrustedIDProvidersClient
return NewTrustedIDProvidersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTrustedIDProvidersClientWithBaseURI creates an instance of the TrustedIDProvidersClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewTrustedIDProvidersClientWithBaseURI creates an instance of the TrustedIDProvidersClient client.
func NewTrustedIDProvidersClientWithBaseURI(baseURI string, subscriptionID string) TrustedIDProvidersClient {
return TrustedIDProvidersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/virtualnetworkrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/virtualnetworkrules.go
index 1292aafb1bf2f..f12000d586d66 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/virtualnetworkrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account/virtualnetworkrules.go
@@ -36,9 +36,7 @@ func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClie
return NewVirtualNetworkRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
return VirtualNetworkRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/client.go
index fa03dadc8f9ba..036d8f5c358a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/containerhostmappings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/containerhostmappings.go
index 85d75760b5510..66f7659fc5493 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/containerhostmappings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/containerhostmappings.go
@@ -36,9 +36,7 @@ func NewContainerHostMappingsClient(subscriptionID string) ContainerHostMappings
return NewContainerHostMappingsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewContainerHostMappingsClientWithBaseURI creates an instance of the ContainerHostMappingsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewContainerHostMappingsClientWithBaseURI creates an instance of the ContainerHostMappingsClient client.
func NewContainerHostMappingsClientWithBaseURI(baseURI string, subscriptionID string) ContainerHostMappingsClient {
return ContainerHostMappingsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/controllers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/controllers.go
index d7c2484f9ce24..67139bb63022a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/controllers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/controllers.go
@@ -36,8 +36,7 @@ func NewControllersClient(subscriptionID string) ControllersClient {
return NewControllersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewControllersClientWithBaseURI creates an instance of the ControllersClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewControllersClientWithBaseURI creates an instance of the ControllersClient client.
func NewControllersClientWithBaseURI(baseURI string, subscriptionID string) ControllersClient {
return ControllersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/operations.go
index cc590c47e9167..eddf7c0e2a714 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/armtemplates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/armtemplates.go
index 4457cb12e350d..dd664fff9994f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/armtemplates.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/armtemplates.go
@@ -35,8 +35,7 @@ func NewArmTemplatesClient(subscriptionID string) ArmTemplatesClient {
return NewArmTemplatesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewArmTemplatesClientWithBaseURI creates an instance of the ArmTemplatesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewArmTemplatesClientWithBaseURI creates an instance of the ArmTemplatesClient client.
func NewArmTemplatesClientWithBaseURI(baseURI string, subscriptionID string) ArmTemplatesClient {
return ArmTemplatesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifacts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifacts.go
index 3867950f98d1a..41c0ea8103e7d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifacts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifacts.go
@@ -35,8 +35,7 @@ func NewArtifactsClient(subscriptionID string) ArtifactsClient {
return NewArtifactsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewArtifactsClientWithBaseURI creates an instance of the ArtifactsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewArtifactsClientWithBaseURI creates an instance of the ArtifactsClient client.
func NewArtifactsClientWithBaseURI(baseURI string, subscriptionID string) ArtifactsClient {
return ArtifactsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifactsources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifactsources.go
index c534dfcf7befa..26d630d85affc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifactsources.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/artifactsources.go
@@ -36,8 +36,7 @@ func NewArtifactSourcesClient(subscriptionID string) ArtifactSourcesClient {
return NewArtifactSourcesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewArtifactSourcesClientWithBaseURI creates an instance of the ArtifactSourcesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewArtifactSourcesClientWithBaseURI creates an instance of the ArtifactSourcesClient client.
func NewArtifactSourcesClientWithBaseURI(baseURI string, subscriptionID string) ArtifactSourcesClient {
return ArtifactSourcesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/client.go
index 9efc11fd7d2e9..032c34907701f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/costs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/costs.go
index eedc50d06f8b5..688f6584f0117 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/costs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/costs.go
@@ -36,8 +36,7 @@ func NewCostsClient(subscriptionID string) CostsClient {
return NewCostsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCostsClientWithBaseURI creates an instance of the CostsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCostsClientWithBaseURI creates an instance of the CostsClient client.
func NewCostsClientWithBaseURI(baseURI string, subscriptionID string) CostsClient {
return CostsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/customimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/customimages.go
index e07f274ab00d5..ab92cc4103bc0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/customimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/customimages.go
@@ -36,8 +36,7 @@ func NewCustomImagesClient(subscriptionID string) CustomImagesClient {
return NewCustomImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCustomImagesClientWithBaseURI creates an instance of the CustomImagesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCustomImagesClientWithBaseURI creates an instance of the CustomImagesClient client.
func NewCustomImagesClientWithBaseURI(baseURI string, subscriptionID string) CustomImagesClient {
return CustomImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/disks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/disks.go
index 48cc804986da3..6f13c616d4b25 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/disks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/disks.go
@@ -36,8 +36,7 @@ func NewDisksClient(subscriptionID string) DisksClient {
return NewDisksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDisksClientWithBaseURI creates an instance of the DisksClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDisksClientWithBaseURI creates an instance of the DisksClient client.
func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient {
return DisksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/environments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/environments.go
index d915f25ba7020..284a4432747d4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/environments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/environments.go
@@ -36,8 +36,7 @@ func NewEnvironmentsClient(subscriptionID string) EnvironmentsClient {
return NewEnvironmentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEnvironmentsClientWithBaseURI creates an instance of the EnvironmentsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEnvironmentsClientWithBaseURI creates an instance of the EnvironmentsClient client.
func NewEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentsClient {
return EnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/formulas.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/formulas.go
index 22209f58163d2..4013db88157b2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/formulas.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/formulas.go
@@ -36,8 +36,7 @@ func NewFormulasClient(subscriptionID string) FormulasClient {
return NewFormulasClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFormulasClientWithBaseURI creates an instance of the FormulasClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFormulasClientWithBaseURI creates an instance of the FormulasClient client.
func NewFormulasClientWithBaseURI(baseURI string, subscriptionID string) FormulasClient {
return FormulasClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/galleryimages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/galleryimages.go
index c532ae46d331d..7fc0b6308bd98 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/galleryimages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/galleryimages.go
@@ -35,8 +35,7 @@ func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient {
return NewGalleryImagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGalleryImagesClientWithBaseURI creates an instance of the GalleryImagesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGalleryImagesClientWithBaseURI creates an instance of the GalleryImagesClient client.
func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient {
return GalleryImagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/globalschedules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/globalschedules.go
index fe1ef4ffbb4d7..65cd3f24e9335 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/globalschedules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/globalschedules.go
@@ -36,8 +36,7 @@ func NewGlobalSchedulesClient(subscriptionID string) GlobalSchedulesClient {
return NewGlobalSchedulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGlobalSchedulesClientWithBaseURI creates an instance of the GlobalSchedulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGlobalSchedulesClientWithBaseURI creates an instance of the GlobalSchedulesClient client.
func NewGlobalSchedulesClientWithBaseURI(baseURI string, subscriptionID string) GlobalSchedulesClient {
return GlobalSchedulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/labs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/labs.go
index 6c21e08cd7dbf..a27151906050a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/labs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/labs.go
@@ -36,8 +36,7 @@ func NewLabsClient(subscriptionID string) LabsClient {
return NewLabsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLabsClientWithBaseURI creates an instance of the LabsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLabsClientWithBaseURI creates an instance of the LabsClient client.
func NewLabsClientWithBaseURI(baseURI string, subscriptionID string) LabsClient {
return LabsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/notificationchannels.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/notificationchannels.go
index c40bf7c16e528..f3ccbaf34407d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/notificationchannels.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/notificationchannels.go
@@ -36,9 +36,7 @@ func NewNotificationChannelsClient(subscriptionID string) NotificationChannelsCl
return NewNotificationChannelsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNotificationChannelsClientWithBaseURI creates an instance of the NotificationChannelsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewNotificationChannelsClientWithBaseURI creates an instance of the NotificationChannelsClient client.
func NewNotificationChannelsClientWithBaseURI(baseURI string, subscriptionID string) NotificationChannelsClient {
return NotificationChannelsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/operations.go
index 65e5621f63177..741bb7cfb6969 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policies.go
index eb8a9c7456649..a22e37302ee1b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policies.go
@@ -36,8 +36,7 @@ func NewPoliciesClient(subscriptionID string) PoliciesClient {
return NewPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client.
func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient {
return PoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policysets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policysets.go
index 5d86be46a7c44..bb96aad45d2bc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policysets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/policysets.go
@@ -35,8 +35,7 @@ func NewPolicySetsClient(subscriptionID string) PolicySetsClient {
return NewPolicySetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPolicySetsClientWithBaseURI creates an instance of the PolicySetsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPolicySetsClientWithBaseURI creates an instance of the PolicySetsClient client.
func NewPolicySetsClientWithBaseURI(baseURI string, subscriptionID string) PolicySetsClient {
return PolicySetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/provideroperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/provideroperations.go
index 18915183a3488..26c08983d2ebe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/provideroperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/provideroperations.go
@@ -35,9 +35,7 @@ func NewProviderOperationsClient(subscriptionID string) ProviderOperationsClient
return NewProviderOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProviderOperationsClientWithBaseURI creates an instance of the ProviderOperationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewProviderOperationsClientWithBaseURI creates an instance of the ProviderOperationsClient client.
func NewProviderOperationsClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsClient {
return ProviderOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/schedules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/schedules.go
index 31a41f179d593..910b48d6a0a90 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/schedules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/schedules.go
@@ -36,8 +36,7 @@ func NewSchedulesClient(subscriptionID string) SchedulesClient {
return NewSchedulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSchedulesClientWithBaseURI creates an instance of the SchedulesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSchedulesClientWithBaseURI creates an instance of the SchedulesClient client.
func NewSchedulesClientWithBaseURI(baseURI string, subscriptionID string) SchedulesClient {
return SchedulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/secrets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/secrets.go
index 4a67a4e43ba7b..16922c0d8b3c8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/secrets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/secrets.go
@@ -36,8 +36,7 @@ func NewSecretsClient(subscriptionID string) SecretsClient {
return NewSecretsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSecretsClientWithBaseURI creates an instance of the SecretsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSecretsClientWithBaseURI creates an instance of the SecretsClient client.
func NewSecretsClientWithBaseURI(baseURI string, subscriptionID string) SecretsClient {
return SecretsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/servicerunners.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/servicerunners.go
index e6d7fecf7717a..d49825fa00eac 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/servicerunners.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/servicerunners.go
@@ -35,8 +35,7 @@ func NewServiceRunnersClient(subscriptionID string) ServiceRunnersClient {
return NewServiceRunnersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceRunnersClientWithBaseURI creates an instance of the ServiceRunnersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServiceRunnersClientWithBaseURI creates an instance of the ServiceRunnersClient client.
func NewServiceRunnersClientWithBaseURI(baseURI string, subscriptionID string) ServiceRunnersClient {
return ServiceRunnersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/users.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/users.go
index 43d23d81b1de2..cd0069c2c4458 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/users.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/users.go
@@ -35,8 +35,7 @@ func NewUsersClient(subscriptionID string) UsersClient {
return NewUsersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsersClientWithBaseURI creates an instance of the UsersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsersClientWithBaseURI creates an instance of the UsersClient client.
func NewUsersClientWithBaseURI(baseURI string, subscriptionID string) UsersClient {
return UsersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachines.go
index 07d11ab71c708..ef90467727cbc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachines.go
@@ -36,8 +36,7 @@ func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
return NewVirtualMachinesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client.
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
return VirtualMachinesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachineschedules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachineschedules.go
index 305d4995aff11..077c1afcd3710 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachineschedules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualmachineschedules.go
@@ -36,9 +36,7 @@ func NewVirtualMachineSchedulesClient(subscriptionID string) VirtualMachineSched
return NewVirtualMachineSchedulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualMachineSchedulesClientWithBaseURI creates an instance of the VirtualMachineSchedulesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVirtualMachineSchedulesClientWithBaseURI creates an instance of the VirtualMachineSchedulesClient client.
func NewVirtualMachineSchedulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSchedulesClient {
return VirtualMachineSchedulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualnetworks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualnetworks.go
index d3da7274cbeeb..dcf1a10562ebc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualnetworks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl/virtualnetworks.go
@@ -35,8 +35,7 @@ func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient {
return NewVirtualNetworksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client.
func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient {
return VirtualNetworksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/client.go
index fb721c511bd6c..cf17ca134ab07 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/recordsets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/recordsets.go
index 8ca7dfb7ec803..a54a79fa17dec 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/recordsets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/recordsets.go
@@ -35,8 +35,7 @@ func NewRecordSetsClient(subscriptionID string) RecordSetsClient {
return NewRecordSetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecordSetsClientWithBaseURI creates an instance of the RecordSetsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRecordSetsClientWithBaseURI creates an instance of the RecordSetsClient client.
func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) RecordSetsClient {
return RecordSetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/resourcereference.go b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/resourcereference.go
index 418c65b3ae338..35f01ca41b50a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/resourcereference.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/resourcereference.go
@@ -35,9 +35,7 @@ func NewResourceReferenceClient(subscriptionID string) ResourceReferenceClient {
return NewResourceReferenceClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceReferenceClientWithBaseURI creates an instance of the ResourceReferenceClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewResourceReferenceClientWithBaseURI creates an instance of the ResourceReferenceClient client.
func NewResourceReferenceClientWithBaseURI(baseURI string, subscriptionID string) ResourceReferenceClient {
return ResourceReferenceClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/zones.go b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/zones.go
index 4d5bb9204efbb..de1ede07511de 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/zones.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2018-05-01/dns/zones.go
@@ -35,8 +35,7 @@ func NewZonesClient(subscriptionID string) ZonesClient {
return NewZonesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewZonesClientWithBaseURI creates an instance of the ZonesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewZonesClientWithBaseURI creates an instance of the ZonesClient client.
func NewZonesClientWithBaseURI(baseURI string, subscriptionID string) ZonesClient {
return ZonesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/client.go
index 7be22d87dce0a..87055b6514ce3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
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 9af57dcf7b87f..4dd7608808160 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
@@ -36,8 +36,7 @@ func NewConsumerGroupsClient(subscriptionID string) ConsumerGroupsClient {
return NewConsumerGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConsumerGroupsClientWithBaseURI creates an instance of the ConsumerGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewConsumerGroupsClientWithBaseURI creates an instance of the ConsumerGroupsClient client.
func NewConsumerGroupsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerGroupsClient {
return ConsumerGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 e4d771e165d44..3a202f057d527 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
@@ -36,9 +36,7 @@ func NewDisasterRecoveryConfigsClient(subscriptionID string) DisasterRecoveryCon
return NewDisasterRecoveryConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDisasterRecoveryConfigsClientWithBaseURI creates an instance of the DisasterRecoveryConfigsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewDisasterRecoveryConfigsClientWithBaseURI creates an instance of the DisasterRecoveryConfigsClient client.
func NewDisasterRecoveryConfigsClientWithBaseURI(baseURI string, subscriptionID string) DisasterRecoveryConfigsClient {
return DisasterRecoveryConfigsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 fca6d126f5779..d9b70ccb444a4 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
@@ -36,8 +36,7 @@ func NewEventHubsClient(subscriptionID string) EventHubsClient {
return NewEventHubsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEventHubsClientWithBaseURI creates an instance of the EventHubsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEventHubsClientWithBaseURI creates an instance of the EventHubsClient client.
func NewEventHubsClientWithBaseURI(baseURI string, subscriptionID string) EventHubsClient {
return EventHubsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
@@ -154,8 +153,7 @@ func (client EventHubsClient) CreateOrUpdateResponder(resp *http.Response) (resu
return
}
-// CreateOrUpdateAuthorizationRule creates or updates an AuthorizationRule for the specified Event Hub. Creation/update
-// of the AuthorizationRule will take a few seconds to take effect.
+// CreateOrUpdateAuthorizationRule creates or updates an AuthorizationRule for the specified Event Hub.
// Parameters:
// resourceGroupName - name of the resource group within the azure subscription.
// namespaceName - the Namespace name
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 26518905413ac..919bea875af10 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
@@ -36,8 +36,7 @@ func NewNamespacesClient(subscriptionID string) NamespacesClient {
return NewNamespacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.
func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient {
return NamespacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/operations.go
index 3f0ed4e3538ea..e2a19e4ef243e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 61d58dc22e368..4a93684373500 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
@@ -36,8 +36,7 @@ func NewRegionsClient(subscriptionID string) RegionsClient {
return NewRegionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRegionsClientWithBaseURI creates an instance of the RegionsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRegionsClientWithBaseURI creates an instance of the RegionsClient client.
func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsClient {
return RegionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 17becd8be761c..fab7676fa8e37 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
@@ -37,8 +37,7 @@ func NewApplicationsClient(tenantID string) ApplicationsClient {
return NewApplicationsClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client.
func NewApplicationsClientWithBaseURI(baseURI string, tenantID string) ApplicationsClient {
return ApplicationsClient{NewWithBaseURI(baseURI, tenantID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/client.go
index e22971a0fc5d3..6f46fe18bf906 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/client.go
@@ -41,8 +41,7 @@ func New(tenantID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, tenantID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/deletedapplications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/deletedapplications.go
index 6bda5ecb9c91c..fe3b2da5dbc3d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/deletedapplications.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/deletedapplications.go
@@ -36,9 +36,7 @@ func NewDeletedApplicationsClient(tenantID string) DeletedApplicationsClient {
return NewDeletedApplicationsClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewDeletedApplicationsClientWithBaseURI creates an instance of the DeletedApplicationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDeletedApplicationsClientWithBaseURI creates an instance of the DeletedApplicationsClient client.
func NewDeletedApplicationsClientWithBaseURI(baseURI string, tenantID string) DeletedApplicationsClient {
return DeletedApplicationsClient{NewWithBaseURI(baseURI, tenantID)}
}
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 02765147c3d61..93c6cac1e0639 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
@@ -35,8 +35,7 @@ func NewDomainsClient(tenantID string) DomainsClient {
return NewDomainsClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewDomainsClientWithBaseURI creates an instance of the DomainsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDomainsClientWithBaseURI creates an instance of the DomainsClient client.
func NewDomainsClientWithBaseURI(baseURI string, tenantID string) DomainsClient {
return DomainsClient{NewWithBaseURI(baseURI, tenantID)}
}
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 19c13e6efdb09..4ed37e94f0a87 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
@@ -37,8 +37,7 @@ func NewGroupsClient(tenantID string) GroupsClient {
return NewGroupsClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewGroupsClientWithBaseURI creates an instance of the GroupsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGroupsClientWithBaseURI creates an instance of the GroupsClient client.
func NewGroupsClientWithBaseURI(baseURI string, tenantID string) GroupsClient {
return GroupsClient{NewWithBaseURI(baseURI, tenantID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/oauth2permissiongrant.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/oauth2permissiongrant.go
index a1a28dd4a632f..04ddbb3e89c4f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/oauth2permissiongrant.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/oauth2permissiongrant.go
@@ -36,9 +36,7 @@ func NewOAuth2PermissionGrantClient(tenantID string) OAuth2PermissionGrantClient
return NewOAuth2PermissionGrantClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewOAuth2PermissionGrantClientWithBaseURI creates an instance of the OAuth2PermissionGrantClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewOAuth2PermissionGrantClientWithBaseURI creates an instance of the OAuth2PermissionGrantClient client.
func NewOAuth2PermissionGrantClientWithBaseURI(baseURI string, tenantID string) OAuth2PermissionGrantClient {
return OAuth2PermissionGrantClient{NewWithBaseURI(baseURI, tenantID)}
}
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 a6c1bb8457189..3f6ca5c4bfc1b 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
@@ -36,8 +36,7 @@ func NewObjectsClient(tenantID string) ObjectsClient {
return NewObjectsClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewObjectsClientWithBaseURI creates an instance of the ObjectsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewObjectsClientWithBaseURI creates an instance of the ObjectsClient client.
func NewObjectsClientWithBaseURI(baseURI string, tenantID string) ObjectsClient {
return ObjectsClient{NewWithBaseURI(baseURI, tenantID)}
}
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 4b862ce93ffc5..45099830b53b4 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
@@ -37,9 +37,7 @@ func NewServicePrincipalsClient(tenantID string) ServicePrincipalsClient {
return NewServicePrincipalsClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewServicePrincipalsClientWithBaseURI creates an instance of the ServicePrincipalsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewServicePrincipalsClientWithBaseURI creates an instance of the ServicePrincipalsClient client.
func NewServicePrincipalsClientWithBaseURI(baseURI string, tenantID string) ServicePrincipalsClient {
return ServicePrincipalsClient{NewWithBaseURI(baseURI, tenantID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/signedinuser.go b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/signedinuser.go
index 2fb8e30e34029..057658eefd6b6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/signedinuser.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac/signedinuser.go
@@ -36,8 +36,7 @@ func NewSignedInUserClient(tenantID string) SignedInUserClient {
return NewSignedInUserClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewSignedInUserClientWithBaseURI creates an instance of the SignedInUserClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSignedInUserClientWithBaseURI creates an instance of the SignedInUserClient client.
func NewSignedInUserClientWithBaseURI(baseURI string, tenantID string) SignedInUserClient {
return SignedInUserClient{NewWithBaseURI(baseURI, tenantID)}
}
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 bb2913c311257..3c688fe7ba07d 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
@@ -37,8 +37,7 @@ func NewUsersClient(tenantID string) UsersClient {
return NewUsersClientWithBaseURI(DefaultBaseURI, tenantID)
}
-// NewUsersClientWithBaseURI creates an instance of the UsersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsersClientWithBaseURI creates an instance of the UsersClient client.
func NewUsersClientWithBaseURI(baseURI string, tenantID string) UsersClient {
return UsersClient{NewWithBaseURI(baseURI, tenantID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/client.go
index 2f8fa6b64fda3..c2bd63627422f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/models.go
index 38d2939b915df..23c268b77377f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/models.go
@@ -47,21 +47,6 @@ func PossibleKindValues() []Kind {
return []Kind{Fhir, FhirR4, FhirStu3}
}
-// ManagedServiceIdentityType enumerates the values for managed service identity type.
-type ManagedServiceIdentityType string
-
-const (
- // None ...
- None ManagedServiceIdentityType = "None"
- // SystemAssigned ...
- SystemAssigned ManagedServiceIdentityType = "SystemAssigned"
-)
-
-// PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type.
-func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType {
- return []ManagedServiceIdentityType{None, SystemAssigned}
-}
-
// OperationResultStatus enumerates the values for operation result status.
type OperationResultStatus string
@@ -350,8 +335,6 @@ type Resource struct {
Tags map[string]*string `json:"tags"`
// Etag - An etag associated with the resource, used for optimistic concurrency when editing it.
Etag *string `json:"etag,omitempty"`
- // Identity - Setting indicating whether the service has a managed identity associated with it.
- Identity *ResourceIdentity `json:"identity,omitempty"`
}
// MarshalJSON is the custom marshaler for Resource.
@@ -369,18 +352,9 @@ func (r Resource) MarshalJSON() ([]byte, error) {
if r.Etag != nil {
objectMap["etag"] = r.Etag
}
- if r.Identity != nil {
- objectMap["identity"] = r.Identity
- }
return json.Marshal(objectMap)
}
-// ResourceIdentity setting indicating whether the service has a managed identity associated with it.
-type ResourceIdentity struct {
- // Type - Type of identity being specified, currently SystemAssigned and None are allowed. Possible values include: 'SystemAssigned', 'None'
- Type ManagedServiceIdentityType `json:"type,omitempty"`
-}
-
// ServiceAccessPolicyEntry an access policy entry.
type ServiceAccessPolicyEntry struct {
// ObjectID - An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.
@@ -488,8 +462,6 @@ type ServicesDescription struct {
Tags map[string]*string `json:"tags"`
// Etag - An etag associated with the resource, used for optimistic concurrency when editing it.
Etag *string `json:"etag,omitempty"`
- // Identity - Setting indicating whether the service has a managed identity associated with it.
- Identity *ResourceIdentity `json:"identity,omitempty"`
}
// MarshalJSON is the custom marshaler for ServicesDescription.
@@ -510,9 +482,6 @@ func (sd ServicesDescription) MarshalJSON() ([]byte, error) {
if sd.Etag != nil {
objectMap["etag"] = sd.Etag
}
- if sd.Identity != nil {
- objectMap["identity"] = sd.Identity
- }
return json.Marshal(objectMap)
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operationresults.go
index 772cd7fd3b6f2..10f2174c33df7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operationresults.go
@@ -35,9 +35,7 @@ func NewOperationResultsClient(subscriptionID string) OperationResultsClient {
return NewOperationResultsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client.
func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient {
return OperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operations.go
index c8512e997acac..5acb766ce32c7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/services.go b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/services.go
index 15db962f7f976..347775a60469e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/services.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/healthcareapis/mgmt/2019-09-16/healthcareapis/services.go
@@ -36,8 +36,7 @@ func NewServicesClient(subscriptionID string) ServicesClient {
return NewServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServicesClientWithBaseURI creates an instance of the ServicesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServicesClientWithBaseURI creates an instance of the ServicesClient client.
func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
return ServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/client.go
index e8666730b759a..4491a94067c56 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/models.go
index ceb1da4305c1b..62a3df4c90940 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/models.go
@@ -180,49 +180,6 @@ func PossibleNetworkRuleBypassOptionsValues() []NetworkRuleBypassOptions {
return []NetworkRuleBypassOptions{AzureServices, None}
}
-// PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection
-// provisioning state.
-type PrivateEndpointConnectionProvisioningState string
-
-const (
- // Creating ...
- Creating PrivateEndpointConnectionProvisioningState = "Creating"
- // Deleting ...
- Deleting PrivateEndpointConnectionProvisioningState = "Deleting"
- // Disconnected ...
- Disconnected PrivateEndpointConnectionProvisioningState = "Disconnected"
- // Failed ...
- Failed PrivateEndpointConnectionProvisioningState = "Failed"
- // Succeeded ...
- Succeeded PrivateEndpointConnectionProvisioningState = "Succeeded"
- // Updating ...
- Updating PrivateEndpointConnectionProvisioningState = "Updating"
-)
-
-// PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.
-func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState {
- return []PrivateEndpointConnectionProvisioningState{Creating, Deleting, Disconnected, Failed, Succeeded, Updating}
-}
-
-// PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.
-type PrivateEndpointServiceConnectionStatus string
-
-const (
- // PrivateEndpointServiceConnectionStatusApproved ...
- PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
- // PrivateEndpointServiceConnectionStatusDisconnected ...
- PrivateEndpointServiceConnectionStatusDisconnected PrivateEndpointServiceConnectionStatus = "Disconnected"
- // PrivateEndpointServiceConnectionStatusPending ...
- PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
- // PrivateEndpointServiceConnectionStatusRejected ...
- PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
-)
-
-// PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.
-func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus {
- return []PrivateEndpointServiceConnectionStatus{PrivateEndpointServiceConnectionStatusApproved, PrivateEndpointServiceConnectionStatusDisconnected, PrivateEndpointServiceConnectionStatusPending, PrivateEndpointServiceConnectionStatusRejected}
-}
-
// Reason enumerates the values for reason.
type Reason string
@@ -343,19 +300,6 @@ type CheckNameAvailabilityResult struct {
Message *string `json:"message,omitempty"`
}
-// CloudError an error response from Key Vault resource provider
-type CloudError struct {
- Error *CloudErrorBody `json:"error,omitempty"`
-}
-
-// CloudErrorBody an error response from Key Vault resource provider
-type CloudErrorBody struct {
- // Code - Error code. This is a mnemonic that can be consumed programmatically.
- Code *string `json:"code,omitempty"`
- // Message - User friendly error message. The message is typically localized and may vary with service version.
- Message *string `json:"message,omitempty"`
-}
-
// DeletedVault deleted vault information with extended details.
type DeletedVault struct {
autorest.Response `json:"-"`
@@ -821,324 +765,29 @@ type Permissions struct {
Storage *[]StoragePermissions `json:"storage,omitempty"`
}
-// PrivateEndpoint private endpoint object properties.
-type PrivateEndpoint struct {
- // ID - READ-ONLY; Full identifier of the private endpoint resource.
- ID *string `json:"id,omitempty"`
-}
-
-// PrivateEndpointConnection private endpoint connection resource.
-type PrivateEndpointConnection struct {
- autorest.Response `json:"-"`
- // PrivateEndpointConnectionProperties - Resource properties.
- *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified identifier of the key vault resource.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Name of the key vault resource.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; Resource type of the key vault resource.
- Type *string `json:"type,omitempty"`
- // Location - READ-ONLY; Azure location of the key vault resource.
- Location *string `json:"location,omitempty"`
- // Tags - READ-ONLY; Tags assigned to the key vault resource.
- Tags map[string]*string `json:"tags"`
-}
-
-// MarshalJSON is the custom marshaler for PrivateEndpointConnection.
-func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if pec.PrivateEndpointConnectionProperties != nil {
- objectMap["properties"] = pec.PrivateEndpointConnectionProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
-func (pec *PrivateEndpointConnection) 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 privateEndpointConnectionProperties PrivateEndpointConnectionProperties
- err = json.Unmarshal(*v, &privateEndpointConnectionProperties)
- if err != nil {
- return err
- }
- pec.PrivateEndpointConnectionProperties = &privateEndpointConnectionProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- pec.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- pec.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- pec.Type = &typeVar
- }
- case "location":
- if v != nil {
- var location string
- err = json.Unmarshal(*v, &location)
- if err != nil {
- return err
- }
- pec.Location = &location
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- pec.Tags = tags
- }
- }
- }
-
- return nil
-}
-
-// PrivateEndpointConnectionItem private endpoint connection item.
-type PrivateEndpointConnectionItem struct {
- // PrivateEndpointConnectionProperties - Private endpoint connection properties.
- *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for PrivateEndpointConnectionItem.
-func (peci PrivateEndpointConnectionItem) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if peci.PrivateEndpointConnectionProperties != nil {
- objectMap["properties"] = peci.PrivateEndpointConnectionProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnectionItem struct.
-func (peci *PrivateEndpointConnectionItem) 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 privateEndpointConnectionProperties PrivateEndpointConnectionProperties
- err = json.Unmarshal(*v, &privateEndpointConnectionProperties)
- if err != nil {
- return err
- }
- peci.PrivateEndpointConnectionProperties = &privateEndpointConnectionProperties
- }
- }
- }
-
- return nil
-}
-
-// PrivateEndpointConnectionProperties properties of the private endpoint connection resource.
-type PrivateEndpointConnectionProperties struct {
- // PrivateEndpoint - Properties of the private endpoint object.
- PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
- // PrivateLinkServiceConnectionState - Approval state of the private link connection.
- PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
- // ProvisioningState - Provisioning state of the private endpoint connection. Possible values include: 'Succeeded', 'Creating', 'Updating', 'Deleting', 'Failed', 'Disconnected'
- ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
-}
-
-// PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type PrivateEndpointConnectionsDeleteFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PrivateEndpointConnectionsDeleteFuture) Result(client PrivateEndpointConnectionsClient) (pec PrivateEndpointConnection, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsDeleteFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("keyvault.PrivateEndpointConnectionsDeleteFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if pec.Response.Response, err = future.GetResult(sender); err == nil && pec.Response.Response.StatusCode != http.StatusNoContent {
- pec, err = client.DeleteResponder(pec.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsDeleteFuture", "Result", pec.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// PrivateLinkResource a private link resource
-type PrivateLinkResource struct {
- // PrivateLinkResourceProperties - Resource properties.
- *PrivateLinkResourceProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified identifier of the key vault resource.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Name of the key vault resource.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; Resource type of the key vault resource.
- Type *string `json:"type,omitempty"`
- // Location - READ-ONLY; Azure location of the key vault resource.
- Location *string `json:"location,omitempty"`
- // Tags - READ-ONLY; Tags assigned to the key vault resource.
- Tags map[string]*string `json:"tags"`
-}
-
-// MarshalJSON is the custom marshaler for PrivateLinkResource.
-func (plr PrivateLinkResource) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if plr.PrivateLinkResourceProperties != nil {
- objectMap["properties"] = plr.PrivateLinkResourceProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.
-func (plr *PrivateLinkResource) 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 privateLinkResourceProperties PrivateLinkResourceProperties
- err = json.Unmarshal(*v, &privateLinkResourceProperties)
- if err != nil {
- return err
- }
- plr.PrivateLinkResourceProperties = &privateLinkResourceProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- plr.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- plr.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- plr.Type = &typeVar
- }
- case "location":
- if v != nil {
- var location string
- err = json.Unmarshal(*v, &location)
- if err != nil {
- return err
- }
- plr.Location = &location
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- plr.Tags = tags
- }
- }
- }
-
- return nil
-}
-
-// PrivateLinkResourceListResult a list of private link resources
-type PrivateLinkResourceListResult struct {
- autorest.Response `json:"-"`
- // Value - Array of private link resources
- Value *[]PrivateLinkResource `json:"value,omitempty"`
-}
-
-// PrivateLinkResourceProperties properties of a private link resource.
-type PrivateLinkResourceProperties struct {
- // GroupID - READ-ONLY; Group identifier of private link resource.
- GroupID *string `json:"groupId,omitempty"`
- // RequiredMembers - READ-ONLY; Required member names of private link resource.
- RequiredMembers *[]string `json:"requiredMembers,omitempty"`
- // RequiredZoneNames - Required DNS zone names of the the private link resource.
- RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
-}
-
-// PrivateLinkServiceConnectionState an object that represents the approval state of the private link
-// connection.
-type PrivateLinkServiceConnectionState struct {
- // Status - Indicates whether the connection has been approved, rejected or removed by the key vault owner. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected', 'PrivateEndpointServiceConnectionStatusDisconnected'
- Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
- // Description - The reason for approval or rejection.
- Description *string `json:"description,omitempty"`
- // ActionRequired - A message indicating if changes on the service provider require any updates on the consumer.
- ActionRequired *string `json:"actionRequired,omitempty"`
-}
-
// Resource key Vault resource
type Resource struct {
- // ID - READ-ONLY; Fully qualified identifier of the key vault resource.
+ // ID - READ-ONLY; The Azure Resource Manager resource ID for the key vault.
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Name of the key vault resource.
+ // Name - READ-ONLY; The name of the key vault.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; Resource type of the key vault resource.
+ // Type - READ-ONLY; The resource type of the key vault.
Type *string `json:"type,omitempty"`
- // Location - READ-ONLY; Azure location of the key vault resource.
+ // Location - The supported Azure location where the key vault should be created.
Location *string `json:"location,omitempty"`
- // Tags - READ-ONLY; Tags assigned to the key vault resource.
+ // Tags - The tags that will be assigned to the key vault.
Tags map[string]*string `json:"tags"`
}
// MarshalJSON is the custom marshaler for Resource.
func (r Resource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
+ if r.Location != nil {
+ objectMap["location"] = r.Location
+ }
+ if r.Tags != nil {
+ objectMap["tags"] = r.Tags
+ }
return json.Marshal(objectMap)
}
@@ -1305,32 +954,32 @@ type Sku struct {
// Vault resource information with extended details.
type Vault struct {
autorest.Response `json:"-"`
- // ID - READ-ONLY; Fully qualified identifier of the key vault resource.
+ // Properties - Properties of the vault
+ Properties *VaultProperties `json:"properties,omitempty"`
+ // ID - READ-ONLY; The Azure Resource Manager resource ID for the key vault.
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Name of the key vault resource.
+ // Name - READ-ONLY; The name of the key vault.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; Resource type of the key vault resource.
+ // Type - READ-ONLY; The resource type of the key vault.
Type *string `json:"type,omitempty"`
- // Location - Azure location of the key vault resource.
+ // Location - The supported Azure location where the key vault should be created.
Location *string `json:"location,omitempty"`
- // Tags - Tags assigned to the key vault resource.
+ // Tags - The tags that will be assigned to the key vault.
Tags map[string]*string `json:"tags"`
- // Properties - Properties of the vault
- Properties *VaultProperties `json:"properties,omitempty"`
}
// MarshalJSON is the custom marshaler for Vault.
func (vVar Vault) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
+ if vVar.Properties != nil {
+ objectMap["properties"] = vVar.Properties
+ }
if vVar.Location != nil {
objectMap["location"] = vVar.Location
}
if vVar.Tags != nil {
objectMap["tags"] = vVar.Tags
}
- if vVar.Properties != nil {
- objectMap["properties"] = vVar.Properties
- }
return json.Marshal(objectMap)
}
@@ -1600,10 +1249,8 @@ type VaultProperties struct {
CreateMode CreateMode `json:"createMode,omitempty"`
// EnablePurgeProtection - Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value.
EnablePurgeProtection *bool `json:"enablePurgeProtection,omitempty"`
- // NetworkAcls - Rules governing the accessibility of the key vault from specific network locations.
+ // NetworkAcls - A collection of rules governing the accessibility of the vault from specific network locations.
NetworkAcls *NetworkRuleSet `json:"networkAcls,omitempty"`
- // PrivateEndpointConnections - READ-ONLY; List of private endpoint connections associated with the key vault.
- PrivateEndpointConnections *[]PrivateEndpointConnectionItem `json:"privateEndpointConnections,omitempty"`
}
// VaultsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/operations.go
index a876d14afe556..1564b79c88f39 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/operations.go
@@ -36,8 +36,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/privateendpointconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/privateendpointconnections.go
deleted file mode 100644
index 610be72a2c5ec..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/privateendpointconnections.go
+++ /dev/null
@@ -1,303 +0,0 @@
-package keyvault
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// PrivateEndpointConnectionsClient is the the Azure management API provides a RESTful set of web services that
-// interact with Azure Key Vault.
-type PrivateEndpointConnectionsClient struct {
- BaseClient
-}
-
-// NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
-func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient {
- return NewPrivateEndpointConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
-func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient {
- return PrivateEndpointConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Delete deletes the specified private endpoint connection associated with the key vault.
-// Parameters:
-// resourceGroupName - name of the resource group that contains the key vault.
-// vaultName - the name of the key vault.
-// privateEndpointConnectionName - name of the private endpoint connection associated with the key vault.
-func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.Delete")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: vaultName,
- Constraints: []validation.Constraint{{Target: "vaultName", Name: validation.Pattern, Rule: `^[a-zA-Z0-9-]{3,24}$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("keyvault.PrivateEndpointConnectionsClient", "Delete", err.Error())
- }
-
- req, err := client.DeletePreparer(ctx, resourceGroupName, vaultName, privateEndpointConnectionName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Delete", nil, "Failure preparing request")
- return
- }
-
- result, err = client.DeleteSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Delete", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// DeletePreparer prepares the Delete request.
-func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "vaultName": autorest.Encode("path", vaultName),
- }
-
- const APIVersion = "2018-02-14"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsDelete(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}", 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 PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// DeleteResponder handles the response to the Delete request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result PrivateEndpointConnection, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// Get gets the specified private endpoint connection associated with the key vault.
-// Parameters:
-// resourceGroupName - name of the resource group that contains the key vault.
-// vaultName - the name of the key vault.
-// privateEndpointConnectionName - name of the private endpoint connection associated with the key vault.
-func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: vaultName,
- Constraints: []validation.Constraint{{Target: "vaultName", Name: validation.Pattern, Rule: `^[a-zA-Z0-9-]{3,24}$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("keyvault.PrivateEndpointConnectionsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, vaultName, privateEndpointConnectionName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "vaultName": autorest.Encode("path", vaultName),
- }
-
- const APIVersion = "2018-02-14"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}", 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 PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// Put updates the specified private endpoint connection associated with the key vault.
-// Parameters:
-// resourceGroupName - name of the resource group that contains the key vault.
-// vaultName - the name of the key vault.
-// privateEndpointConnectionName - name of the private endpoint connection associated with the key vault.
-// properties - the intended state of private endpoint connection.
-func (client PrivateEndpointConnectionsClient) Put(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (result PrivateEndpointConnection, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.Put")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: vaultName,
- Constraints: []validation.Constraint{{Target: "vaultName", Name: validation.Pattern, Rule: `^[a-zA-Z0-9-]{3,24}$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("keyvault.PrivateEndpointConnectionsClient", "Put", err.Error())
- }
-
- req, err := client.PutPreparer(ctx, resourceGroupName, vaultName, privateEndpointConnectionName, properties)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Put", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.PutSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Put", resp, "Failure sending request")
- return
- }
-
- result, err = client.PutResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateEndpointConnectionsClient", "Put", resp, "Failure responding to request")
- }
-
- return
-}
-
-// PutPreparer prepares the Put request.
-func (client PrivateEndpointConnectionsClient) PutPreparer(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "vaultName": autorest.Encode("path", vaultName),
- }
-
- const APIVersion = "2018-02-14"
- 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.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}", pathParameters),
- autorest.WithJSON(properties),
- 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 PrivateEndpointConnectionsClient) PutSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// PutResponder handles the response to the Put request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) PutResponder(resp *http.Response) (result PrivateEndpointConnection, 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/keyvault/mgmt/2018-02-14/keyvault/privatelinkresources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/privatelinkresources.go
deleted file mode 100644
index 85ca8910f8108..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/privatelinkresources.go
+++ /dev/null
@@ -1,128 +0,0 @@
-package keyvault
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// PrivateLinkResourcesClient is the the Azure management API provides a RESTful set of web services that interact with
-// Azure Key Vault.
-type PrivateLinkResourcesClient struct {
- BaseClient
-}
-
-// NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
-func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient {
- return NewPrivateLinkResourcesClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
-func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient {
- return PrivateLinkResourcesClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// ListByVault gets the private link resources supported for the key vault.
-// Parameters:
-// resourceGroupName - name of the resource group that contains the key vault.
-// vaultName - the name of the key vault.
-func (client PrivateLinkResourcesClient) ListByVault(ctx context.Context, resourceGroupName string, vaultName string) (result PrivateLinkResourceListResult, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourcesClient.ListByVault")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: vaultName,
- Constraints: []validation.Constraint{{Target: "vaultName", Name: validation.Pattern, Rule: `^[a-zA-Z0-9-]{3,24}$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("keyvault.PrivateLinkResourcesClient", "ListByVault", err.Error())
- }
-
- req, err := client.ListByVaultPreparer(ctx, resourceGroupName, vaultName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateLinkResourcesClient", "ListByVault", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByVaultSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "keyvault.PrivateLinkResourcesClient", "ListByVault", resp, "Failure sending request")
- return
- }
-
- result, err = client.ListByVaultResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "keyvault.PrivateLinkResourcesClient", "ListByVault", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByVaultPreparer prepares the ListByVault request.
-func (client PrivateLinkResourcesClient) ListByVaultPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "vaultName": autorest.Encode("path", vaultName),
- }
-
- const APIVersion = "2018-02-14"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateLinkResources", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListByVaultSender sends the ListByVault request. The method will close the
-// http.Response Body if it receives an error.
-func (client PrivateLinkResourcesClient) ListByVaultSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByVaultResponder handles the response to the ListByVault request. The method always
-// closes the http.Response Body.
-func (client PrivateLinkResourcesClient) ListByVaultResponder(resp *http.Response) (result PrivateLinkResourceListResult, 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/keyvault/mgmt/2018-02-14/keyvault/vaults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/vaults.go
index 803cdbdc105c8..28c6c63862d72 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/vaults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/vaults.go
@@ -37,8 +37,7 @@ func NewVaultsClient(subscriptionID string) VaultsClient {
return NewVaultsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVaultsClientWithBaseURI creates an instance of the VaultsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVaultsClientWithBaseURI creates an instance of the VaultsClient client.
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return VaultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/client.go
index 38114f3525411..33a7c71a46b9e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/client.go
@@ -42,8 +42,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/clusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/clusters.go
index c60046a539a96..622255fc94919 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/clusters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/clusters.go
@@ -38,8 +38,7 @@ func NewClustersClient(subscriptionID string) ClustersClient {
return NewClustersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClustersClientWithBaseURI creates an instance of the ClustersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClustersClientWithBaseURI creates an instance of the ClustersClient client.
func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient {
return ClustersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/databases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/databases.go
index 46e97892640eb..9d1b3c96909a5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/databases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/databases.go
@@ -38,8 +38,7 @@ func NewDatabasesClient(subscriptionID string) DatabasesClient {
return NewDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client.
func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
return DatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/dataconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/dataconnections.go
index 96f9cff726a2f..d026779854ede 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/dataconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/dataconnections.go
@@ -38,8 +38,7 @@ func NewDataConnectionsClient(subscriptionID string) DataConnectionsClient {
return NewDataConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataConnectionsClientWithBaseURI creates an instance of the DataConnectionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDataConnectionsClientWithBaseURI creates an instance of the DataConnectionsClient client.
func NewDataConnectionsClientWithBaseURI(baseURI string, subscriptionID string) DataConnectionsClient {
return DataConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/operations.go
index b499a25afcc95..3a47798bc40cd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto/operations.go
@@ -37,8 +37,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/agreements.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/agreements.go
index bf6f4341f3615..5b3fef13df692 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/agreements.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/agreements.go
@@ -36,8 +36,7 @@ func NewAgreementsClient(subscriptionID string) AgreementsClient {
return NewAgreementsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAgreementsClientWithBaseURI creates an instance of the AgreementsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAgreementsClientWithBaseURI creates an instance of the AgreementsClient client.
func NewAgreementsClientWithBaseURI(baseURI string, subscriptionID string) AgreementsClient {
return AgreementsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/certificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/certificates.go
index 1f6025e24102f..4676ae15a4429 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/certificates.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/certificates.go
@@ -36,8 +36,7 @@ func NewCertificatesClient(subscriptionID string) CertificatesClient {
return NewCertificatesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client.
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient {
return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/client.go
index f428c067a47c7..662f7e6dee669 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/client.go
@@ -45,8 +45,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountassemblies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountassemblies.go
index a49a35ceb0679..7b44fd9aaf394 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountassemblies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountassemblies.go
@@ -37,8 +37,7 @@ func NewIntegrationAccountAssembliesClient(subscriptionID string) IntegrationAcc
}
// NewIntegrationAccountAssembliesClientWithBaseURI creates an instance of the IntegrationAccountAssembliesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewIntegrationAccountAssembliesClientWithBaseURI(baseURI string, subscriptionID string) IntegrationAccountAssembliesClient {
return IntegrationAccountAssembliesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountbatchconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountbatchconfigurations.go
index b3978b6c8db18..f870f34330e43 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountbatchconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccountbatchconfigurations.go
@@ -38,8 +38,7 @@ func NewIntegrationAccountBatchConfigurationsClient(subscriptionID string) Integ
}
// NewIntegrationAccountBatchConfigurationsClientWithBaseURI creates an instance of the
-// IntegrationAccountBatchConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// IntegrationAccountBatchConfigurationsClient client.
func NewIntegrationAccountBatchConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) IntegrationAccountBatchConfigurationsClient {
return IntegrationAccountBatchConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccounts.go
index 49983b7c8f605..221ba913bc91a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/integrationaccounts.go
@@ -36,9 +36,7 @@ func NewIntegrationAccountsClient(subscriptionID string) IntegrationAccountsClie
return NewIntegrationAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewIntegrationAccountsClientWithBaseURI creates an instance of the IntegrationAccountsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewIntegrationAccountsClientWithBaseURI creates an instance of the IntegrationAccountsClient client.
func NewIntegrationAccountsClientWithBaseURI(baseURI string, subscriptionID string) IntegrationAccountsClient {
return IntegrationAccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/maps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/maps.go
index 2f6fd4bd74935..0fdfda0422138 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/maps.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/maps.go
@@ -36,8 +36,7 @@ func NewMapsClient(subscriptionID string) MapsClient {
return NewMapsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMapsClientWithBaseURI creates an instance of the MapsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewMapsClientWithBaseURI creates an instance of the MapsClient client.
func NewMapsClientWithBaseURI(baseURI string, subscriptionID string) MapsClient {
return MapsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/partners.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/partners.go
index c87194aa020af..75eff2ec29372 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/partners.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/partners.go
@@ -36,8 +36,7 @@ func NewPartnersClient(subscriptionID string) PartnersClient {
return NewPartnersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPartnersClientWithBaseURI creates an instance of the PartnersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPartnersClientWithBaseURI creates an instance of the PartnersClient client.
func NewPartnersClientWithBaseURI(baseURI string, subscriptionID string) PartnersClient {
return PartnersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/rosettanetprocessconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/rosettanetprocessconfigurations.go
index daec7e770e93e..c249ea55c4bb8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/rosettanetprocessconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/rosettanetprocessconfigurations.go
@@ -37,8 +37,7 @@ func NewRosettaNetProcessConfigurationsClient(subscriptionID string) RosettaNetP
}
// NewRosettaNetProcessConfigurationsClientWithBaseURI creates an instance of the RosettaNetProcessConfigurationsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewRosettaNetProcessConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) RosettaNetProcessConfigurationsClient {
return RosettaNetProcessConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/schemas.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/schemas.go
index 9828d43d2174b..21642577f8407 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/schemas.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/schemas.go
@@ -36,8 +36,7 @@ func NewSchemasClient(subscriptionID string) SchemasClient {
return NewSchemasClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSchemasClientWithBaseURI creates an instance of the SchemasClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSchemasClientWithBaseURI creates an instance of the SchemasClient client.
func NewSchemasClientWithBaseURI(baseURI string, subscriptionID string) SchemasClient {
return SchemasClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/sessions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/sessions.go
index ae222a6259343..ebf7bccb148c6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/sessions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/sessions.go
@@ -36,8 +36,7 @@ func NewSessionsClient(subscriptionID string) SessionsClient {
return NewSessionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSessionsClientWithBaseURI creates an instance of the SessionsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSessionsClientWithBaseURI creates an instance of the SessionsClient client.
func NewSessionsClientWithBaseURI(baseURI string, subscriptionID string) SessionsClient {
return SessionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitions.go
index d25a9a0ccf15b..43b61a068ce68 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitions.go
@@ -36,8 +36,7 @@ func NewWorkflowRunActionRepetitionsClient(subscriptionID string) WorkflowRunAct
}
// NewWorkflowRunActionRepetitionsClientWithBaseURI creates an instance of the WorkflowRunActionRepetitionsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewWorkflowRunActionRepetitionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionRepetitionsClient {
return WorkflowRunActionRepetitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitionsrequesthistories.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitionsrequesthistories.go
index df59308d69f17..3d0259599c107 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitionsrequesthistories.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrepetitionsrequesthistories.go
@@ -37,8 +37,7 @@ func NewWorkflowRunActionRepetitionsRequestHistoriesClient(subscriptionID string
}
// NewWorkflowRunActionRepetitionsRequestHistoriesClientWithBaseURI creates an instance of the
-// WorkflowRunActionRepetitionsRequestHistoriesClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// WorkflowRunActionRepetitionsRequestHistoriesClient client.
func NewWorkflowRunActionRepetitionsRequestHistoriesClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionRepetitionsRequestHistoriesClient {
return WorkflowRunActionRepetitionsRequestHistoriesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrequesthistories.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrequesthistories.go
index 46c480b32ddba..f5dfcfddcf984 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrequesthistories.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionrequesthistories.go
@@ -37,8 +37,7 @@ func NewWorkflowRunActionRequestHistoriesClient(subscriptionID string) WorkflowR
}
// NewWorkflowRunActionRequestHistoriesClientWithBaseURI creates an instance of the
-// WorkflowRunActionRequestHistoriesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// WorkflowRunActionRequestHistoriesClient client.
func NewWorkflowRunActionRequestHistoriesClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionRequestHistoriesClient {
return WorkflowRunActionRequestHistoriesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactions.go
index f4899f3694c68..7177c81af7c04 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactions.go
@@ -35,9 +35,7 @@ func NewWorkflowRunActionsClient(subscriptionID string) WorkflowRunActionsClient
return NewWorkflowRunActionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkflowRunActionsClientWithBaseURI creates an instance of the WorkflowRunActionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewWorkflowRunActionsClientWithBaseURI creates an instance of the WorkflowRunActionsClient client.
func NewWorkflowRunActionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionsClient {
return WorkflowRunActionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionscopedrepetitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionscopedrepetitions.go
index d19704e12fc4c..8bdd74edbe471 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionscopedrepetitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunactionscopedrepetitions.go
@@ -37,8 +37,7 @@ func NewWorkflowRunActionScopedRepetitionsClient(subscriptionID string) Workflow
}
// NewWorkflowRunActionScopedRepetitionsClientWithBaseURI creates an instance of the
-// WorkflowRunActionScopedRepetitionsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// WorkflowRunActionScopedRepetitionsClient client.
func NewWorkflowRunActionScopedRepetitionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionScopedRepetitionsClient {
return WorkflowRunActionScopedRepetitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunoperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunoperations.go
index 6e6f4fdd2cfb4..25e359c26941b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunoperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowrunoperations.go
@@ -35,9 +35,7 @@ func NewWorkflowRunOperationsClient(subscriptionID string) WorkflowRunOperations
return NewWorkflowRunOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkflowRunOperationsClientWithBaseURI creates an instance of the WorkflowRunOperationsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewWorkflowRunOperationsClientWithBaseURI creates an instance of the WorkflowRunOperationsClient client.
func NewWorkflowRunOperationsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunOperationsClient {
return WorkflowRunOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowruns.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowruns.go
index 9c7ebf1ec6e9d..5049bb1e43e25 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowruns.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowruns.go
@@ -35,8 +35,7 @@ func NewWorkflowRunsClient(subscriptionID string) WorkflowRunsClient {
return NewWorkflowRunsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkflowRunsClientWithBaseURI creates an instance of the WorkflowRunsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWorkflowRunsClientWithBaseURI creates an instance of the WorkflowRunsClient client.
func NewWorkflowRunsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunsClient {
return WorkflowRunsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflows.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflows.go
index cb2e535c75fc4..54e43c9eea8e6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflows.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflows.go
@@ -35,8 +35,7 @@ func NewWorkflowsClient(subscriptionID string) WorkflowsClient {
return NewWorkflowsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkflowsClientWithBaseURI creates an instance of the WorkflowsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWorkflowsClientWithBaseURI creates an instance of the WorkflowsClient client.
func NewWorkflowsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowsClient {
return WorkflowsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggerhistories.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggerhistories.go
index d00bc714e6091..de8e995537531 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggerhistories.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggerhistories.go
@@ -35,9 +35,7 @@ func NewWorkflowTriggerHistoriesClient(subscriptionID string) WorkflowTriggerHis
return NewWorkflowTriggerHistoriesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkflowTriggerHistoriesClientWithBaseURI creates an instance of the WorkflowTriggerHistoriesClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewWorkflowTriggerHistoriesClientWithBaseURI creates an instance of the WorkflowTriggerHistoriesClient client.
func NewWorkflowTriggerHistoriesClientWithBaseURI(baseURI string, subscriptionID string) WorkflowTriggerHistoriesClient {
return WorkflowTriggerHistoriesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggers.go
index c050d12852dd8..627c6736cad58 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowtriggers.go
@@ -36,9 +36,7 @@ func NewWorkflowTriggersClient(subscriptionID string) WorkflowTriggersClient {
return NewWorkflowTriggersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkflowTriggersClientWithBaseURI creates an instance of the WorkflowTriggersClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewWorkflowTriggersClientWithBaseURI creates an instance of the WorkflowTriggersClient client.
func NewWorkflowTriggersClientWithBaseURI(baseURI string, subscriptionID string) WorkflowTriggersClient {
return WorkflowTriggersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowversions.go
index 4e37f27d0f157..d50b0e49a63df 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic/workflowversions.go
@@ -35,9 +35,7 @@ func NewWorkflowVersionsClient(subscriptionID string) WorkflowVersionsClient {
return NewWorkflowVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkflowVersionsClientWithBaseURI creates an instance of the WorkflowVersionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewWorkflowVersionsClientWithBaseURI creates an instance of the WorkflowVersionsClient client.
func NewWorkflowVersionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowVersionsClient {
return WorkflowVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/client.go
deleted file mode 100644
index 50ffe2e754d70..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/client.go
+++ /dev/null
@@ -1,166 +0,0 @@
-// Package machinelearningservices implements the Azure ARM Machinelearningservices service API version 2019-11-01.
-//
-// These APIs allow end users to operate on Azure Machine Learning Workspace resources.
-package machinelearningservices
-
-// 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/tracing"
- "net/http"
-)
-
-const (
- // DefaultBaseURI is the default URI used for the service Machinelearningservices
- DefaultBaseURI = "https://management.azure.com"
-)
-
-// BaseClient is the base client for Machinelearningservices.
-type BaseClient struct {
- autorest.Client
- BaseURI string
- SubscriptionID string
-}
-
-// New creates an instance of the BaseClient client.
-func New(subscriptionID string) BaseClient {
- return NewWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
- return BaseClient{
- Client: autorest.NewClientWithUserAgent(UserAgent()),
- BaseURI: baseURI,
- SubscriptionID: subscriptionID,
- }
-}
-
-// ListSkus lists all skus with associated features
-func (client BaseClient) ListSkus(ctx context.Context) (result SkuListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus")
- defer func() {
- sc := -1
- if result.slr.Response.Response != nil {
- sc = result.slr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.fn = client.listSkusNextResults
- req, err := client.ListSkusPreparer(ctx)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.BaseClient", "ListSkus", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListSkusSender(req)
- if err != nil {
- result.slr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.BaseClient", "ListSkus", resp, "Failure sending request")
- return
- }
-
- result.slr, err = client.ListSkusResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.BaseClient", "ListSkus", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListSkusPreparer prepares the ListSkus request.
-func (client BaseClient) ListSkusPreparer(ctx context.Context) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListSkusSender sends the ListSkus request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) ListSkusSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListSkusResponder handles the response to the ListSkus request. The method always
-// closes the http.Response Body.
-func (client BaseClient) ListSkusResponder(resp *http.Response) (result SkuListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listSkusNextResults retrieves the next set of results, if any.
-func (client BaseClient) listSkusNextResults(ctx context.Context, lastResults SkuListResult) (result SkuListResult, err error) {
- req, err := lastResults.skuListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "machinelearningservices.BaseClient", "listSkusNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListSkusSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "machinelearningservices.BaseClient", "listSkusNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListSkusResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.BaseClient", "listSkusNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListSkusComplete enumerates all values, automatically crossing page boundaries as required.
-func (client BaseClient) ListSkusComplete(ctx context.Context) (result SkuListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.ListSkus")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListSkus(ctx)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/machinelearningcompute.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/machinelearningcompute.go
deleted file mode 100644
index ac0e79478237c..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/machinelearningcompute.go
+++ /dev/null
@@ -1,648 +0,0 @@
-package machinelearningservices
-
-// 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/tracing"
- "net/http"
-)
-
-// MachineLearningComputeClient is the these APIs allow end users to operate on Azure Machine Learning Workspace
-// resources.
-type MachineLearningComputeClient struct {
- BaseClient
-}
-
-// NewMachineLearningComputeClient creates an instance of the MachineLearningComputeClient client.
-func NewMachineLearningComputeClient(subscriptionID string) MachineLearningComputeClient {
- return NewMachineLearningComputeClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewMachineLearningComputeClientWithBaseURI creates an instance of the MachineLearningComputeClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
-func NewMachineLearningComputeClientWithBaseURI(baseURI string, subscriptionID string) MachineLearningComputeClient {
- return MachineLearningComputeClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// CreateOrUpdate creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable
-// operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// computeName - name of the Azure Machine Learning compute.
-// parameters - payload with Machine Learning compute definition.
-func (client MachineLearningComputeClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, parameters ComputeResource) (result MachineLearningComputeCreateOrUpdateFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.CreateOrUpdate")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, workspaceName, computeName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "CreateOrUpdate", nil, "Failure preparing request")
- return
- }
-
- result, err = client.CreateOrUpdateSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "CreateOrUpdate", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
-func (client MachineLearningComputeClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, parameters ComputeResource) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "computeName": autorest.Encode("path", computeName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", pathParameters),
- autorest.WithJSON(parameters),
- 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 MachineLearningComputeClient) CreateOrUpdateSender(req *http.Request) (future MachineLearningComputeCreateOrUpdateFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
-// closes the http.Response Body.
-func (client MachineLearningComputeClient) CreateOrUpdateResponder(resp *http.Response) (result ComputeResource, 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 specified Machine Learning compute.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// computeName - name of the Azure Machine Learning compute.
-// underlyingResourceAction - delete the underlying compute if 'Delete', or detach the underlying compute from
-// workspace if 'Detach'.
-func (client MachineLearningComputeClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, underlyingResourceAction UnderlyingResourceAction) (result MachineLearningComputeDeleteFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.Delete")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.DeletePreparer(ctx, resourceGroupName, workspaceName, computeName, underlyingResourceAction)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "Delete", nil, "Failure preparing request")
- return
- }
-
- result, err = client.DeleteSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "Delete", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// DeletePreparer prepares the Delete request.
-func (client MachineLearningComputeClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, underlyingResourceAction UnderlyingResourceAction) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "computeName": autorest.Encode("path", computeName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- "underlyingResourceAction": autorest.Encode("query", underlyingResourceAction),
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsDelete(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", 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 MachineLearningComputeClient) DeleteSender(req *http.Request) (future MachineLearningComputeDeleteFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// DeleteResponder handles the response to the Delete request. The method always
-// closes the http.Response Body.
-func (client MachineLearningComputeClient) DeleteResponder(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
-}
-
-// Get gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use
-// 'keys' nested resource to get them.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// computeName - name of the Azure Machine Learning compute.
-func (client MachineLearningComputeClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (result ComputeResource, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.GetPreparer(ctx, resourceGroupName, workspaceName, computeName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client MachineLearningComputeClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "computeName": autorest.Encode("path", computeName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", 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 MachineLearningComputeClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client MachineLearningComputeClient) GetResponder(resp *http.Response) (result ComputeResource, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// ListByWorkspace gets computes in specified workspace.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// skiptoken - continuation token for pagination.
-func (client MachineLearningComputeClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, skiptoken string) (result PaginatedComputeResourcesListPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.ListByWorkspace")
- defer func() {
- sc := -1
- if result.pcrl.Response.Response != nil {
- sc = result.pcrl.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.fn = client.listByWorkspaceNextResults
- req, err := client.ListByWorkspacePreparer(ctx, resourceGroupName, workspaceName, skiptoken)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListByWorkspace", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByWorkspaceSender(req)
- if err != nil {
- result.pcrl.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListByWorkspace", resp, "Failure sending request")
- return
- }
-
- result.pcrl, err = client.ListByWorkspaceResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListByWorkspace", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByWorkspacePreparer prepares the ListByWorkspace request.
-func (client MachineLearningComputeClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, skiptoken string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
- if len(skiptoken) > 0 {
- queryParameters["$skiptoken"] = autorest.Encode("query", skiptoken)
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListByWorkspaceSender sends the ListByWorkspace request. The method will close the
-// http.Response Body if it receives an error.
-func (client MachineLearningComputeClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always
-// closes the http.Response Body.
-func (client MachineLearningComputeClient) ListByWorkspaceResponder(resp *http.Response) (result PaginatedComputeResourcesList, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByWorkspaceNextResults retrieves the next set of results, if any.
-func (client MachineLearningComputeClient) listByWorkspaceNextResults(ctx context.Context, lastResults PaginatedComputeResourcesList) (result PaginatedComputeResourcesList, err error) {
- req, err := lastResults.paginatedComputeResourcesListPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "listByWorkspaceNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByWorkspaceSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "listByWorkspaceNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByWorkspaceResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "listByWorkspaceNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.
-func (client MachineLearningComputeClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, skiptoken string) (result PaginatedComputeResourcesListIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.ListByWorkspace")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByWorkspace(ctx, resourceGroupName, workspaceName, skiptoken)
- return
-}
-
-// ListKeys gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// computeName - name of the Azure Machine Learning compute.
-func (client MachineLearningComputeClient) ListKeys(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (result ComputeSecretsModel, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.ListKeys")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.ListKeysPreparer(ctx, resourceGroupName, workspaceName, computeName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListKeys", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListKeysSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListKeys", resp, "Failure sending request")
- return
- }
-
- result, err = client.ListKeysResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListKeys", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListKeysPreparer prepares the ListKeys request.
-func (client MachineLearningComputeClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "computeName": autorest.Encode("path", computeName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListKeysSender sends the ListKeys request. The method will close the
-// http.Response Body if it receives an error.
-func (client MachineLearningComputeClient) ListKeysSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListKeysResponder handles the response to the ListKeys request. The method always
-// closes the http.Response Body.
-func (client MachineLearningComputeClient) ListKeysResponder(resp *http.Response) (result ComputeSecretsModel, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// ListNodes get the details (e.g IP address, port etc) of all the compute nodes in the compute.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// computeName - name of the Azure Machine Learning compute.
-func (client MachineLearningComputeClient) ListNodes(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (result AmlComputeNodesInformation, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.ListNodes")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.ListNodesPreparer(ctx, resourceGroupName, workspaceName, computeName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListNodes", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListNodesSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListNodes", resp, "Failure sending request")
- return
- }
-
- result, err = client.ListNodesResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "ListNodes", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListNodesPreparer prepares the ListNodes request.
-func (client MachineLearningComputeClient) ListNodesPreparer(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "computeName": autorest.Encode("path", computeName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListNodesSender sends the ListNodes request. The method will close the
-// http.Response Body if it receives an error.
-func (client MachineLearningComputeClient) ListNodesSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListNodesResponder handles the response to the ListNodes request. The method always
-// closes the http.Response Body.
-func (client MachineLearningComputeClient) ListNodesResponder(resp *http.Response) (result AmlComputeNodesInformation, 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 properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable
-// operation.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// computeName - name of the Azure Machine Learning compute.
-// parameters - additional parameters for cluster update.
-func (client MachineLearningComputeClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, parameters ClusterUpdateParameters) (result MachineLearningComputeUpdateFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/MachineLearningComputeClient.Update")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.UpdatePreparer(ctx, resourceGroupName, workspaceName, computeName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "Update", nil, "Failure preparing request")
- return
- }
-
- result, err = client.UpdateSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeClient", "Update", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// UpdatePreparer prepares the Update request.
-func (client MachineLearningComputeClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, parameters ClusterUpdateParameters) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "computeName": autorest.Encode("path", computeName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}", pathParameters),
- autorest.WithJSON(parameters),
- 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 MachineLearningComputeClient) UpdateSender(req *http.Request) (future MachineLearningComputeUpdateFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// UpdateResponder handles the response to the Update request. The method always
-// closes the http.Response Body.
-func (client MachineLearningComputeClient) UpdateResponder(resp *http.Response) (result ComputeResource, 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/machinelearningservices/mgmt/2019-11-01/machinelearningservices/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/models.go
deleted file mode 100644
index 8c7b987c97569..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/models.go
+++ /dev/null
@@ -1,3379 +0,0 @@
-package machinelearningservices
-
-// 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"
- "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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// The package's fully qualified name.
-const fqdn = "github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices"
-
-// AllocationState enumerates the values for allocation state.
-type AllocationState string
-
-const (
- // Resizing ...
- Resizing AllocationState = "Resizing"
- // Steady ...
- Steady AllocationState = "Steady"
-)
-
-// PossibleAllocationStateValues returns an array of possible values for the AllocationState const type.
-func PossibleAllocationStateValues() []AllocationState {
- return []AllocationState{Resizing, Steady}
-}
-
-// ComputeType enumerates the values for compute type.
-type ComputeType string
-
-const (
- // ComputeTypeAKS ...
- ComputeTypeAKS ComputeType = "AKS"
- // ComputeTypeAmlCompute ...
- ComputeTypeAmlCompute ComputeType = "AmlCompute"
- // ComputeTypeDatabricks ...
- ComputeTypeDatabricks ComputeType = "Databricks"
- // ComputeTypeDataFactory ...
- ComputeTypeDataFactory ComputeType = "DataFactory"
- // ComputeTypeDataLakeAnalytics ...
- ComputeTypeDataLakeAnalytics ComputeType = "DataLakeAnalytics"
- // ComputeTypeHDInsight ...
- ComputeTypeHDInsight ComputeType = "HDInsight"
- // ComputeTypeVirtualMachine ...
- ComputeTypeVirtualMachine ComputeType = "VirtualMachine"
-)
-
-// PossibleComputeTypeValues returns an array of possible values for the ComputeType const type.
-func PossibleComputeTypeValues() []ComputeType {
- return []ComputeType{ComputeTypeAKS, ComputeTypeAmlCompute, ComputeTypeDatabricks, ComputeTypeDataFactory, ComputeTypeDataLakeAnalytics, ComputeTypeHDInsight, ComputeTypeVirtualMachine}
-}
-
-// ComputeTypeBasicCompute enumerates the values for compute type basic compute.
-type ComputeTypeBasicCompute string
-
-const (
- // ComputeTypeAKS1 ...
- ComputeTypeAKS1 ComputeTypeBasicCompute = "AKS"
- // ComputeTypeAmlCompute1 ...
- ComputeTypeAmlCompute1 ComputeTypeBasicCompute = "AmlCompute"
- // ComputeTypeCompute ...
- ComputeTypeCompute ComputeTypeBasicCompute = "Compute"
- // ComputeTypeDatabricks1 ...
- ComputeTypeDatabricks1 ComputeTypeBasicCompute = "Databricks"
- // ComputeTypeDataFactory1 ...
- ComputeTypeDataFactory1 ComputeTypeBasicCompute = "DataFactory"
- // ComputeTypeDataLakeAnalytics1 ...
- ComputeTypeDataLakeAnalytics1 ComputeTypeBasicCompute = "DataLakeAnalytics"
- // ComputeTypeHDInsight1 ...
- ComputeTypeHDInsight1 ComputeTypeBasicCompute = "HDInsight"
- // ComputeTypeVirtualMachine1 ...
- ComputeTypeVirtualMachine1 ComputeTypeBasicCompute = "VirtualMachine"
-)
-
-// PossibleComputeTypeBasicComputeValues returns an array of possible values for the ComputeTypeBasicCompute const type.
-func PossibleComputeTypeBasicComputeValues() []ComputeTypeBasicCompute {
- return []ComputeTypeBasicCompute{ComputeTypeAKS1, ComputeTypeAmlCompute1, ComputeTypeCompute, ComputeTypeDatabricks1, ComputeTypeDataFactory1, ComputeTypeDataLakeAnalytics1, ComputeTypeHDInsight1, ComputeTypeVirtualMachine1}
-}
-
-// ComputeTypeBasicComputeNodesInformation enumerates the values for compute type basic compute nodes
-// information.
-type ComputeTypeBasicComputeNodesInformation string
-
-const (
- // ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ...
- ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ComputeTypeBasicComputeNodesInformation = "AmlCompute"
- // ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ...
- ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ComputeTypeBasicComputeNodesInformation = "ComputeNodesInformation"
-)
-
-// PossibleComputeTypeBasicComputeNodesInformationValues returns an array of possible values for the ComputeTypeBasicComputeNodesInformation const type.
-func PossibleComputeTypeBasicComputeNodesInformationValues() []ComputeTypeBasicComputeNodesInformation {
- return []ComputeTypeBasicComputeNodesInformation{ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute, ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation}
-}
-
-// ComputeTypeBasicComputeSecrets enumerates the values for compute type basic compute secrets.
-type ComputeTypeBasicComputeSecrets string
-
-const (
- // ComputeTypeBasicComputeSecretsComputeTypeAKS ...
- ComputeTypeBasicComputeSecretsComputeTypeAKS ComputeTypeBasicComputeSecrets = "AKS"
- // ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ...
- ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ComputeTypeBasicComputeSecrets = "ComputeSecrets"
- // ComputeTypeBasicComputeSecretsComputeTypeDatabricks ...
- ComputeTypeBasicComputeSecretsComputeTypeDatabricks ComputeTypeBasicComputeSecrets = "Databricks"
- // ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ...
- ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ComputeTypeBasicComputeSecrets = "VirtualMachine"
-)
-
-// PossibleComputeTypeBasicComputeSecretsValues returns an array of possible values for the ComputeTypeBasicComputeSecrets const type.
-func PossibleComputeTypeBasicComputeSecretsValues() []ComputeTypeBasicComputeSecrets {
- return []ComputeTypeBasicComputeSecrets{ComputeTypeBasicComputeSecretsComputeTypeAKS, ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets, ComputeTypeBasicComputeSecretsComputeTypeDatabricks, ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine}
-}
-
-// NodeState enumerates the values for node state.
-type NodeState string
-
-const (
- // Idle ...
- Idle NodeState = "idle"
- // Leaving ...
- Leaving NodeState = "leaving"
- // Preempted ...
- Preempted NodeState = "preempted"
- // Preparing ...
- Preparing NodeState = "preparing"
- // Running ...
- Running NodeState = "running"
- // Unusable ...
- Unusable NodeState = "unusable"
-)
-
-// PossibleNodeStateValues returns an array of possible values for the NodeState const type.
-func PossibleNodeStateValues() []NodeState {
- return []NodeState{Idle, Leaving, Preempted, Preparing, Running, Unusable}
-}
-
-// ProvisioningState enumerates the values for provisioning state.
-type ProvisioningState string
-
-const (
- // Canceled ...
- Canceled ProvisioningState = "Canceled"
- // Creating ...
- Creating ProvisioningState = "Creating"
- // Deleting ...
- Deleting ProvisioningState = "Deleting"
- // Failed ...
- Failed ProvisioningState = "Failed"
- // Succeeded ...
- Succeeded ProvisioningState = "Succeeded"
- // Unknown ...
- Unknown ProvisioningState = "Unknown"
- // Updating ...
- Updating ProvisioningState = "Updating"
-)
-
-// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
-func PossibleProvisioningStateValues() []ProvisioningState {
- return []ProvisioningState{Canceled, Creating, Deleting, Failed, Succeeded, Unknown, Updating}
-}
-
-// QuotaUnit enumerates the values for quota unit.
-type QuotaUnit string
-
-const (
- // Count ...
- Count QuotaUnit = "Count"
-)
-
-// PossibleQuotaUnitValues returns an array of possible values for the QuotaUnit const type.
-func PossibleQuotaUnitValues() []QuotaUnit {
- return []QuotaUnit{Count}
-}
-
-// ReasonCode enumerates the values for reason code.
-type ReasonCode string
-
-const (
- // NotAvailableForRegion ...
- NotAvailableForRegion ReasonCode = "NotAvailableForRegion"
- // NotAvailableForSubscription ...
- NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription"
- // NotSpecified ...
- NotSpecified ReasonCode = "NotSpecified"
-)
-
-// PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type.
-func PossibleReasonCodeValues() []ReasonCode {
- return []ReasonCode{NotAvailableForRegion, NotAvailableForSubscription, NotSpecified}
-}
-
-// RemoteLoginPortPublicAccess enumerates the values for remote login port public access.
-type RemoteLoginPortPublicAccess string
-
-const (
- // RemoteLoginPortPublicAccessDisabled ...
- RemoteLoginPortPublicAccessDisabled RemoteLoginPortPublicAccess = "Disabled"
- // RemoteLoginPortPublicAccessEnabled ...
- RemoteLoginPortPublicAccessEnabled RemoteLoginPortPublicAccess = "Enabled"
- // RemoteLoginPortPublicAccessNotSpecified ...
- RemoteLoginPortPublicAccessNotSpecified RemoteLoginPortPublicAccess = "NotSpecified"
-)
-
-// PossibleRemoteLoginPortPublicAccessValues returns an array of possible values for the RemoteLoginPortPublicAccess const type.
-func PossibleRemoteLoginPortPublicAccessValues() []RemoteLoginPortPublicAccess {
- return []RemoteLoginPortPublicAccess{RemoteLoginPortPublicAccessDisabled, RemoteLoginPortPublicAccessEnabled, RemoteLoginPortPublicAccessNotSpecified}
-}
-
-// ResourceIdentityType enumerates the values for resource identity type.
-type ResourceIdentityType string
-
-const (
- // SystemAssigned ...
- SystemAssigned ResourceIdentityType = "SystemAssigned"
-)
-
-// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
-func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
- return []ResourceIdentityType{SystemAssigned}
-}
-
-// Status enumerates the values for status.
-type Status string
-
-const (
- // Failure ...
- Failure Status = "Failure"
- // InvalidQuotaBelowClusterMinimum ...
- InvalidQuotaBelowClusterMinimum Status = "InvalidQuotaBelowClusterMinimum"
- // InvalidQuotaExceedsSubscriptionLimit ...
- InvalidQuotaExceedsSubscriptionLimit Status = "InvalidQuotaExceedsSubscriptionLimit"
- // InvalidVMFamilyName ...
- InvalidVMFamilyName Status = "InvalidVMFamilyName"
- // OperationNotEnabledForRegion ...
- OperationNotEnabledForRegion Status = "OperationNotEnabledForRegion"
- // OperationNotSupportedForSku ...
- OperationNotSupportedForSku Status = "OperationNotSupportedForSku"
- // Success ...
- Success Status = "Success"
- // Undefined ...
- Undefined Status = "Undefined"
-)
-
-// PossibleStatusValues returns an array of possible values for the Status const type.
-func PossibleStatusValues() []Status {
- return []Status{Failure, InvalidQuotaBelowClusterMinimum, InvalidQuotaExceedsSubscriptionLimit, InvalidVMFamilyName, OperationNotEnabledForRegion, OperationNotSupportedForSku, Success, Undefined}
-}
-
-// Status1 enumerates the values for status 1.
-type Status1 string
-
-const (
- // Disabled ...
- Disabled Status1 = "Disabled"
- // Enabled ...
- Enabled Status1 = "Enabled"
-)
-
-// PossibleStatus1Values returns an array of possible values for the Status1 const type.
-func PossibleStatus1Values() []Status1 {
- return []Status1{Disabled, Enabled}
-}
-
-// UnderlyingResourceAction enumerates the values for underlying resource action.
-type UnderlyingResourceAction string
-
-const (
- // Delete ...
- Delete UnderlyingResourceAction = "Delete"
- // Detach ...
- Detach UnderlyingResourceAction = "Detach"
-)
-
-// PossibleUnderlyingResourceActionValues returns an array of possible values for the UnderlyingResourceAction const type.
-func PossibleUnderlyingResourceActionValues() []UnderlyingResourceAction {
- return []UnderlyingResourceAction{Delete, Detach}
-}
-
-// UsageUnit enumerates the values for usage unit.
-type UsageUnit string
-
-const (
- // UsageUnitCount ...
- UsageUnitCount UsageUnit = "Count"
-)
-
-// PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
-func PossibleUsageUnitValues() []UsageUnit {
- return []UsageUnit{UsageUnitCount}
-}
-
-// VMPriority enumerates the values for vm priority.
-type VMPriority string
-
-const (
- // Dedicated ...
- Dedicated VMPriority = "Dedicated"
- // LowPriority ...
- LowPriority VMPriority = "LowPriority"
-)
-
-// PossibleVMPriorityValues returns an array of possible values for the VMPriority const type.
-func PossibleVMPriorityValues() []VMPriority {
- return []VMPriority{Dedicated, LowPriority}
-}
-
-// AKS a Machine Learning compute based on AKS.
-type AKS struct {
- // Properties - AKS properties
- Properties *AKSProperties `json:"properties,omitempty"`
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for AKS.
-func (a AKS) MarshalJSON() ([]byte, error) {
- a.ComputeType = ComputeTypeAKS1
- objectMap := make(map[string]interface{})
- if a.Properties != nil {
- objectMap["properties"] = a.Properties
- }
- if a.ComputeLocation != nil {
- objectMap["computeLocation"] = a.ComputeLocation
- }
- if a.Description != nil {
- objectMap["description"] = a.Description
- }
- if a.ResourceID != nil {
- objectMap["resourceId"] = a.ResourceID
- }
- if a.ComputeType != "" {
- objectMap["computeType"] = a.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for AKS.
-func (a AKS) AsAKS() (*AKS, bool) {
- return &a, true
-}
-
-// AsAmlCompute is the BasicCompute implementation for AKS.
-func (a AKS) AsAmlCompute() (*AmlCompute, bool) {
- return nil, false
-}
-
-// AsVirtualMachine is the BasicCompute implementation for AKS.
-func (a AKS) AsVirtualMachine() (*VirtualMachine, bool) {
- return nil, false
-}
-
-// AsHDInsight is the BasicCompute implementation for AKS.
-func (a AKS) AsHDInsight() (*HDInsight, bool) {
- return nil, false
-}
-
-// AsDataFactory is the BasicCompute implementation for AKS.
-func (a AKS) AsDataFactory() (*DataFactory, bool) {
- return nil, false
-}
-
-// AsDatabricks is the BasicCompute implementation for AKS.
-func (a AKS) AsDatabricks() (*Databricks, bool) {
- return nil, false
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for AKS.
-func (a AKS) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return nil, false
-}
-
-// AsCompute is the BasicCompute implementation for AKS.
-func (a AKS) AsCompute() (*Compute, bool) {
- return nil, false
-}
-
-// AsBasicCompute is the BasicCompute implementation for AKS.
-func (a AKS) AsBasicCompute() (BasicCompute, bool) {
- return &a, true
-}
-
-// AksComputeSecrets secrets related to a Machine Learning compute based on AKS.
-type AksComputeSecrets struct {
- // UserKubeConfig - Content of kubeconfig file that can be used to connect to the Kubernetes cluster.
- UserKubeConfig *string `json:"userKubeConfig,omitempty"`
- // AdminKubeConfig - Content of kubeconfig file that can be used to connect to the Kubernetes cluster.
- AdminKubeConfig *string `json:"adminKubeConfig,omitempty"`
- // ImagePullSecretName - Image registry pull secret.
- ImagePullSecretName *string `json:"imagePullSecretName,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets', 'ComputeTypeBasicComputeSecretsComputeTypeAKS', 'ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine', 'ComputeTypeBasicComputeSecretsComputeTypeDatabricks'
- ComputeType ComputeTypeBasicComputeSecrets `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for AksComputeSecrets.
-func (acs AksComputeSecrets) MarshalJSON() ([]byte, error) {
- acs.ComputeType = ComputeTypeBasicComputeSecretsComputeTypeAKS
- objectMap := make(map[string]interface{})
- if acs.UserKubeConfig != nil {
- objectMap["userKubeConfig"] = acs.UserKubeConfig
- }
- if acs.AdminKubeConfig != nil {
- objectMap["adminKubeConfig"] = acs.AdminKubeConfig
- }
- if acs.ImagePullSecretName != nil {
- objectMap["imagePullSecretName"] = acs.ImagePullSecretName
- }
- if acs.ComputeType != "" {
- objectMap["computeType"] = acs.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAksComputeSecrets is the BasicComputeSecrets implementation for AksComputeSecrets.
-func (acs AksComputeSecrets) AsAksComputeSecrets() (*AksComputeSecrets, bool) {
- return &acs, true
-}
-
-// AsVirtualMachineSecrets is the BasicComputeSecrets implementation for AksComputeSecrets.
-func (acs AksComputeSecrets) AsVirtualMachineSecrets() (*VirtualMachineSecrets, bool) {
- return nil, false
-}
-
-// AsDatabricksComputeSecrets is the BasicComputeSecrets implementation for AksComputeSecrets.
-func (acs AksComputeSecrets) AsDatabricksComputeSecrets() (*DatabricksComputeSecrets, bool) {
- return nil, false
-}
-
-// AsComputeSecrets is the BasicComputeSecrets implementation for AksComputeSecrets.
-func (acs AksComputeSecrets) AsComputeSecrets() (*ComputeSecrets, bool) {
- return nil, false
-}
-
-// AsBasicComputeSecrets is the BasicComputeSecrets implementation for AksComputeSecrets.
-func (acs AksComputeSecrets) AsBasicComputeSecrets() (BasicComputeSecrets, bool) {
- return &acs, true
-}
-
-// AksNetworkingConfiguration advance configuration for AKS networking
-type AksNetworkingConfiguration struct {
- // SubnetID - Virtual network subnet resource ID the compute nodes belong to
- SubnetID *string `json:"subnetId,omitempty"`
- // ServiceCidr - A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- ServiceCidr *string `json:"serviceCidr,omitempty"`
- // DNSServiceIP - An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- DNSServiceIP *string `json:"dnsServiceIP,omitempty"`
- // DockerBridgeCidr - A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.
- DockerBridgeCidr *string `json:"dockerBridgeCidr,omitempty"`
-}
-
-// AKSProperties AKS properties
-type AKSProperties struct {
- // ClusterFqdn - Cluster full qualified domain name
- ClusterFqdn *string `json:"clusterFqdn,omitempty"`
- // SystemServices - READ-ONLY; System services
- SystemServices *[]SystemService `json:"systemServices,omitempty"`
- // AgentCount - Number of agents
- AgentCount *int32 `json:"agentCount,omitempty"`
- // AgentVMSize - Agent virtual machine size
- AgentVMSize *string `json:"agentVMSize,omitempty"`
- // SslConfiguration - SSL configuration
- SslConfiguration *SslConfiguration `json:"sslConfiguration,omitempty"`
- // AksNetworkingConfiguration - AKS networking configuration for vnet
- AksNetworkingConfiguration *AksNetworkingConfiguration `json:"aksNetworkingConfiguration,omitempty"`
-}
-
-// AmlCompute an Azure Machine Learning compute.
-type AmlCompute struct {
- // Properties - AML Compute properties
- Properties *AmlComputeProperties `json:"properties,omitempty"`
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for AmlCompute.
-func (ac AmlCompute) MarshalJSON() ([]byte, error) {
- ac.ComputeType = ComputeTypeAmlCompute1
- objectMap := make(map[string]interface{})
- if ac.Properties != nil {
- objectMap["properties"] = ac.Properties
- }
- if ac.ComputeLocation != nil {
- objectMap["computeLocation"] = ac.ComputeLocation
- }
- if ac.Description != nil {
- objectMap["description"] = ac.Description
- }
- if ac.ResourceID != nil {
- objectMap["resourceId"] = ac.ResourceID
- }
- if ac.ComputeType != "" {
- objectMap["computeType"] = ac.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsAKS() (*AKS, bool) {
- return nil, false
-}
-
-// AsAmlCompute is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsAmlCompute() (*AmlCompute, bool) {
- return &ac, true
-}
-
-// AsVirtualMachine is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsVirtualMachine() (*VirtualMachine, bool) {
- return nil, false
-}
-
-// AsHDInsight is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsHDInsight() (*HDInsight, bool) {
- return nil, false
-}
-
-// AsDataFactory is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsDataFactory() (*DataFactory, bool) {
- return nil, false
-}
-
-// AsDatabricks is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsDatabricks() (*Databricks, bool) {
- return nil, false
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return nil, false
-}
-
-// AsCompute is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsCompute() (*Compute, bool) {
- return nil, false
-}
-
-// AsBasicCompute is the BasicCompute implementation for AmlCompute.
-func (ac AmlCompute) AsBasicCompute() (BasicCompute, bool) {
- return &ac, true
-}
-
-// AmlComputeNodeInformation compute node information related to a AmlCompute.
-type AmlComputeNodeInformation struct {
- // NodeID - READ-ONLY; ID of the compute node.
- NodeID *string `json:"nodeId,omitempty"`
- // PrivateIPAddress - READ-ONLY; Private IP address of the compute node.
- PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
- // PublicIPAddress - READ-ONLY; Public IP address of the compute node.
- PublicIPAddress *string `json:"publicIpAddress,omitempty"`
- // Port - READ-ONLY; SSH port number of the node.
- Port *float64 `json:"port,omitempty"`
- // NodeState - READ-ONLY; State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted. Possible values include: 'Idle', 'Running', 'Preparing', 'Unusable', 'Leaving', 'Preempted'
- NodeState NodeState `json:"nodeState,omitempty"`
- // RunID - READ-ONLY; ID of the Experiment running on the node, if any else null.
- RunID *string `json:"runId,omitempty"`
-}
-
-// AmlComputeNodesInformation compute node information related to a AmlCompute.
-type AmlComputeNodesInformation struct {
- autorest.Response `json:"-"`
- // Nodes - READ-ONLY; The collection of returned AmlCompute nodes details.
- Nodes *[]AmlComputeNodeInformation `json:"nodes,omitempty"`
- // NextLink - READ-ONLY; The continuation token.
- NextLink *string `json:"nextLink,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation', 'ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute'
- ComputeType ComputeTypeBasicComputeNodesInformation `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for AmlComputeNodesInformation.
-func (acni AmlComputeNodesInformation) MarshalJSON() ([]byte, error) {
- acni.ComputeType = ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute
- objectMap := make(map[string]interface{})
- if acni.ComputeType != "" {
- objectMap["computeType"] = acni.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAmlComputeNodesInformation is the BasicComputeNodesInformation implementation for AmlComputeNodesInformation.
-func (acni AmlComputeNodesInformation) AsAmlComputeNodesInformation() (*AmlComputeNodesInformation, bool) {
- return &acni, true
-}
-
-// AsComputeNodesInformation is the BasicComputeNodesInformation implementation for AmlComputeNodesInformation.
-func (acni AmlComputeNodesInformation) AsComputeNodesInformation() (*ComputeNodesInformation, bool) {
- return nil, false
-}
-
-// AsBasicComputeNodesInformation is the BasicComputeNodesInformation implementation for AmlComputeNodesInformation.
-func (acni AmlComputeNodesInformation) AsBasicComputeNodesInformation() (BasicComputeNodesInformation, bool) {
- return &acni, true
-}
-
-// AmlComputeProperties AML Compute properties
-type AmlComputeProperties struct {
- // VMSize - Virtual Machine Size
- VMSize *string `json:"vmSize,omitempty"`
- // VMPriority - Virtual Machine priority. Possible values include: 'Dedicated', 'LowPriority'
- VMPriority VMPriority `json:"vmPriority,omitempty"`
- // ScaleSettings - Scale settings for AML Compute
- ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"`
- // UserAccountCredentials - Credentials for an administrator user account that will be created on each compute node.
- UserAccountCredentials *UserAccountCredentials `json:"userAccountCredentials,omitempty"`
- // Subnet - Virtual network subnet resource ID the compute nodes belong to.
- Subnet *ResourceID `json:"subnet,omitempty"`
- // RemoteLoginPortPublicAccess - State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. Possible values include: 'RemoteLoginPortPublicAccessEnabled', 'RemoteLoginPortPublicAccessDisabled', 'RemoteLoginPortPublicAccessNotSpecified'
- RemoteLoginPortPublicAccess RemoteLoginPortPublicAccess `json:"remoteLoginPortPublicAccess,omitempty"`
- // AllocationState - READ-ONLY; Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. Possible values include: 'Steady', 'Resizing'
- AllocationState AllocationState `json:"allocationState,omitempty"`
- // AllocationStateTransitionTime - READ-ONLY; The time at which the compute entered its current allocation state.
- AllocationStateTransitionTime *date.Time `json:"allocationStateTransitionTime,omitempty"`
- // Errors - READ-ONLY; Collection of errors encountered by various compute nodes during node setup.
- Errors *[]Error `json:"errors,omitempty"`
- // CurrentNodeCount - READ-ONLY; The number of compute nodes currently assigned to the compute.
- CurrentNodeCount *int32 `json:"currentNodeCount,omitempty"`
- // TargetNodeCount - READ-ONLY; The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation.
- TargetNodeCount *int32 `json:"targetNodeCount,omitempty"`
- // NodeStateCounts - READ-ONLY; Counts of various node states on the compute.
- NodeStateCounts *NodeStateCounts `json:"nodeStateCounts,omitempty"`
-}
-
-// AmlUserFeature features enabled for a workspace
-type AmlUserFeature struct {
- // ID - Specifies the feature ID
- ID *string `json:"id,omitempty"`
- // DisplayName - Specifies the feature name
- DisplayName *string `json:"displayName,omitempty"`
- // Description - Describes the feature for user experience
- Description *string `json:"description,omitempty"`
-}
-
-// ClusterUpdateParameters amlCompute update parameters.
-type ClusterUpdateParameters struct {
- // ClusterUpdateProperties - The properties of the amlCompute.
- *ClusterUpdateProperties `json:"properties,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for ClusterUpdateParameters.
-func (cup ClusterUpdateParameters) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if cup.ClusterUpdateProperties != nil {
- objectMap["properties"] = cup.ClusterUpdateProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for ClusterUpdateParameters struct.
-func (cup *ClusterUpdateParameters) 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 clusterUpdateProperties ClusterUpdateProperties
- err = json.Unmarshal(*v, &clusterUpdateProperties)
- if err != nil {
- return err
- }
- cup.ClusterUpdateProperties = &clusterUpdateProperties
- }
- }
- }
-
- return nil
-}
-
-// ClusterUpdateProperties the properties of a amlCompute that need to be updated.
-type ClusterUpdateProperties struct {
- // ScaleSettings - Desired scale settings for the amlCompute.
- ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"`
-}
-
-// BasicCompute machine Learning compute object.
-type BasicCompute interface {
- AsAKS() (*AKS, bool)
- AsAmlCompute() (*AmlCompute, bool)
- AsVirtualMachine() (*VirtualMachine, bool)
- AsHDInsight() (*HDInsight, bool)
- AsDataFactory() (*DataFactory, bool)
- AsDatabricks() (*Databricks, bool)
- AsDataLakeAnalytics() (*DataLakeAnalytics, bool)
- AsCompute() (*Compute, bool)
-}
-
-// Compute machine Learning compute object.
-type Compute struct {
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-func unmarshalBasicCompute(body []byte) (BasicCompute, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["computeType"] {
- case string(ComputeTypeAKS1):
- var a AKS
- err := json.Unmarshal(body, &a)
- return a, err
- case string(ComputeTypeAmlCompute1):
- var ac AmlCompute
- err := json.Unmarshal(body, &ac)
- return ac, err
- case string(ComputeTypeVirtualMachine1):
- var VM VirtualMachine
- err := json.Unmarshal(body, &VM)
- return VM, err
- case string(ComputeTypeHDInsight1):
- var hi HDInsight
- err := json.Unmarshal(body, &hi)
- return hi, err
- case string(ComputeTypeDataFactory1):
- var df DataFactory
- err := json.Unmarshal(body, &df)
- return df, err
- case string(ComputeTypeDatabricks1):
- var d Databricks
- err := json.Unmarshal(body, &d)
- return d, err
- case string(ComputeTypeDataLakeAnalytics1):
- var dla DataLakeAnalytics
- err := json.Unmarshal(body, &dla)
- return dla, err
- default:
- var c Compute
- err := json.Unmarshal(body, &c)
- return c, err
- }
-}
-func unmarshalBasicComputeArray(body []byte) ([]BasicCompute, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- cArray := make([]BasicCompute, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- c, err := unmarshalBasicCompute(*rawMessage)
- if err != nil {
- return nil, err
- }
- cArray[index] = c
- }
- return cArray, nil
-}
-
-// MarshalJSON is the custom marshaler for Compute.
-func (c Compute) MarshalJSON() ([]byte, error) {
- c.ComputeType = ComputeTypeCompute
- objectMap := make(map[string]interface{})
- if c.ComputeLocation != nil {
- objectMap["computeLocation"] = c.ComputeLocation
- }
- if c.Description != nil {
- objectMap["description"] = c.Description
- }
- if c.ResourceID != nil {
- objectMap["resourceId"] = c.ResourceID
- }
- if c.ComputeType != "" {
- objectMap["computeType"] = c.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for Compute.
-func (c Compute) AsAKS() (*AKS, bool) {
- return nil, false
-}
-
-// AsAmlCompute is the BasicCompute implementation for Compute.
-func (c Compute) AsAmlCompute() (*AmlCompute, bool) {
- return nil, false
-}
-
-// AsVirtualMachine is the BasicCompute implementation for Compute.
-func (c Compute) AsVirtualMachine() (*VirtualMachine, bool) {
- return nil, false
-}
-
-// AsHDInsight is the BasicCompute implementation for Compute.
-func (c Compute) AsHDInsight() (*HDInsight, bool) {
- return nil, false
-}
-
-// AsDataFactory is the BasicCompute implementation for Compute.
-func (c Compute) AsDataFactory() (*DataFactory, bool) {
- return nil, false
-}
-
-// AsDatabricks is the BasicCompute implementation for Compute.
-func (c Compute) AsDatabricks() (*Databricks, bool) {
- return nil, false
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for Compute.
-func (c Compute) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return nil, false
-}
-
-// AsCompute is the BasicCompute implementation for Compute.
-func (c Compute) AsCompute() (*Compute, bool) {
- return &c, true
-}
-
-// AsBasicCompute is the BasicCompute implementation for Compute.
-func (c Compute) AsBasicCompute() (BasicCompute, bool) {
- return &c, true
-}
-
-// BasicComputeNodesInformation compute nodes information related to a Machine Learning compute. Might differ for every
-// type of compute.
-type BasicComputeNodesInformation interface {
- AsAmlComputeNodesInformation() (*AmlComputeNodesInformation, bool)
- AsComputeNodesInformation() (*ComputeNodesInformation, bool)
-}
-
-// ComputeNodesInformation compute nodes information related to a Machine Learning compute. Might differ for
-// every type of compute.
-type ComputeNodesInformation struct {
- // NextLink - READ-ONLY; The continuation token.
- NextLink *string `json:"nextLink,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation', 'ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute'
- ComputeType ComputeTypeBasicComputeNodesInformation `json:"computeType,omitempty"`
-}
-
-func unmarshalBasicComputeNodesInformation(body []byte) (BasicComputeNodesInformation, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["computeType"] {
- case string(ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute):
- var acni AmlComputeNodesInformation
- err := json.Unmarshal(body, &acni)
- return acni, err
- default:
- var cni ComputeNodesInformation
- err := json.Unmarshal(body, &cni)
- return cni, err
- }
-}
-func unmarshalBasicComputeNodesInformationArray(body []byte) ([]BasicComputeNodesInformation, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- cniArray := make([]BasicComputeNodesInformation, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- cni, err := unmarshalBasicComputeNodesInformation(*rawMessage)
- if err != nil {
- return nil, err
- }
- cniArray[index] = cni
- }
- return cniArray, nil
-}
-
-// MarshalJSON is the custom marshaler for ComputeNodesInformation.
-func (cni ComputeNodesInformation) MarshalJSON() ([]byte, error) {
- cni.ComputeType = ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation
- objectMap := make(map[string]interface{})
- if cni.ComputeType != "" {
- objectMap["computeType"] = cni.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAmlComputeNodesInformation is the BasicComputeNodesInformation implementation for ComputeNodesInformation.
-func (cni ComputeNodesInformation) AsAmlComputeNodesInformation() (*AmlComputeNodesInformation, bool) {
- return nil, false
-}
-
-// AsComputeNodesInformation is the BasicComputeNodesInformation implementation for ComputeNodesInformation.
-func (cni ComputeNodesInformation) AsComputeNodesInformation() (*ComputeNodesInformation, bool) {
- return &cni, true
-}
-
-// AsBasicComputeNodesInformation is the BasicComputeNodesInformation implementation for ComputeNodesInformation.
-func (cni ComputeNodesInformation) AsBasicComputeNodesInformation() (BasicComputeNodesInformation, bool) {
- return &cni, true
-}
-
-// ComputeResource machine Learning compute object wrapped into ARM resource envelope.
-type ComputeResource struct {
- autorest.Response `json:"-"`
- // Properties - Compute properties
- Properties BasicCompute `json:"properties,omitempty"`
- // ID - READ-ONLY; Specifies the resource ID.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Specifies the name of the resource.
- Name *string `json:"name,omitempty"`
- // Identity - The identity of the resource.
- Identity *Identity `json:"identity,omitempty"`
- // Location - Specifies the location of the resource.
- Location *string `json:"location,omitempty"`
- // Type - READ-ONLY; Specifies the type of the resource.
- Type *string `json:"type,omitempty"`
- // Tags - Contains resource tags defined as key/value pairs.
- Tags map[string]*string `json:"tags"`
- // Sku - The sku of the workspace.
- Sku *Sku `json:"sku,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for ComputeResource.
-func (cr ComputeResource) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- objectMap["properties"] = cr.Properties
- if cr.Identity != nil {
- objectMap["identity"] = cr.Identity
- }
- if cr.Location != nil {
- objectMap["location"] = cr.Location
- }
- if cr.Tags != nil {
- objectMap["tags"] = cr.Tags
- }
- if cr.Sku != nil {
- objectMap["sku"] = cr.Sku
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for ComputeResource struct.
-func (cr *ComputeResource) 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 {
- properties, err := unmarshalBasicCompute(*v)
- if err != nil {
- return err
- }
- cr.Properties = properties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- cr.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- cr.Name = &name
- }
- case "identity":
- if v != nil {
- var identity Identity
- err = json.Unmarshal(*v, &identity)
- if err != nil {
- return err
- }
- cr.Identity = &identity
- }
- case "location":
- if v != nil {
- var location string
- err = json.Unmarshal(*v, &location)
- if err != nil {
- return err
- }
- cr.Location = &location
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- cr.Type = &typeVar
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- cr.Tags = tags
- }
- case "sku":
- if v != nil {
- var sku Sku
- err = json.Unmarshal(*v, &sku)
- if err != nil {
- return err
- }
- cr.Sku = &sku
- }
- }
- }
-
- return nil
-}
-
-// BasicComputeSecrets secrets related to a Machine Learning compute. Might differ for every type of compute.
-type BasicComputeSecrets interface {
- AsAksComputeSecrets() (*AksComputeSecrets, bool)
- AsVirtualMachineSecrets() (*VirtualMachineSecrets, bool)
- AsDatabricksComputeSecrets() (*DatabricksComputeSecrets, bool)
- AsComputeSecrets() (*ComputeSecrets, bool)
-}
-
-// ComputeSecrets secrets related to a Machine Learning compute. Might differ for every type of compute.
-type ComputeSecrets struct {
- autorest.Response `json:"-"`
- // ComputeType - Possible values include: 'ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets', 'ComputeTypeBasicComputeSecretsComputeTypeAKS', 'ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine', 'ComputeTypeBasicComputeSecretsComputeTypeDatabricks'
- ComputeType ComputeTypeBasicComputeSecrets `json:"computeType,omitempty"`
-}
-
-func unmarshalBasicComputeSecrets(body []byte) (BasicComputeSecrets, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["computeType"] {
- case string(ComputeTypeBasicComputeSecretsComputeTypeAKS):
- var acs AksComputeSecrets
- err := json.Unmarshal(body, &acs)
- return acs, err
- case string(ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine):
- var vms VirtualMachineSecrets
- err := json.Unmarshal(body, &vms)
- return vms, err
- case string(ComputeTypeBasicComputeSecretsComputeTypeDatabricks):
- var dcs DatabricksComputeSecrets
- err := json.Unmarshal(body, &dcs)
- return dcs, err
- default:
- var cs ComputeSecrets
- err := json.Unmarshal(body, &cs)
- return cs, err
- }
-}
-func unmarshalBasicComputeSecretsArray(body []byte) ([]BasicComputeSecrets, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- csArray := make([]BasicComputeSecrets, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- cs, err := unmarshalBasicComputeSecrets(*rawMessage)
- if err != nil {
- return nil, err
- }
- csArray[index] = cs
- }
- return csArray, nil
-}
-
-// MarshalJSON is the custom marshaler for ComputeSecrets.
-func (cs ComputeSecrets) MarshalJSON() ([]byte, error) {
- cs.ComputeType = ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets
- objectMap := make(map[string]interface{})
- if cs.ComputeType != "" {
- objectMap["computeType"] = cs.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAksComputeSecrets is the BasicComputeSecrets implementation for ComputeSecrets.
-func (cs ComputeSecrets) AsAksComputeSecrets() (*AksComputeSecrets, bool) {
- return nil, false
-}
-
-// AsVirtualMachineSecrets is the BasicComputeSecrets implementation for ComputeSecrets.
-func (cs ComputeSecrets) AsVirtualMachineSecrets() (*VirtualMachineSecrets, bool) {
- return nil, false
-}
-
-// AsDatabricksComputeSecrets is the BasicComputeSecrets implementation for ComputeSecrets.
-func (cs ComputeSecrets) AsDatabricksComputeSecrets() (*DatabricksComputeSecrets, bool) {
- return nil, false
-}
-
-// AsComputeSecrets is the BasicComputeSecrets implementation for ComputeSecrets.
-func (cs ComputeSecrets) AsComputeSecrets() (*ComputeSecrets, bool) {
- return &cs, true
-}
-
-// AsBasicComputeSecrets is the BasicComputeSecrets implementation for ComputeSecrets.
-func (cs ComputeSecrets) AsBasicComputeSecrets() (BasicComputeSecrets, bool) {
- return &cs, true
-}
-
-// ComputeSecretsModel ...
-type ComputeSecretsModel struct {
- autorest.Response `json:"-"`
- Value BasicComputeSecrets `json:"value,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for ComputeSecretsModel struct.
-func (csm *ComputeSecretsModel) UnmarshalJSON(body []byte) error {
- cs, err := unmarshalBasicComputeSecrets(body)
- if err != nil {
- return err
- }
- csm.Value = cs
-
- return nil
-}
-
-// Databricks a DataFactory compute.
-type Databricks struct {
- Properties *DatabricksProperties `json:"properties,omitempty"`
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for Databricks.
-func (d Databricks) MarshalJSON() ([]byte, error) {
- d.ComputeType = ComputeTypeDatabricks1
- objectMap := make(map[string]interface{})
- if d.Properties != nil {
- objectMap["properties"] = d.Properties
- }
- if d.ComputeLocation != nil {
- objectMap["computeLocation"] = d.ComputeLocation
- }
- if d.Description != nil {
- objectMap["description"] = d.Description
- }
- if d.ResourceID != nil {
- objectMap["resourceId"] = d.ResourceID
- }
- if d.ComputeType != "" {
- objectMap["computeType"] = d.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for Databricks.
-func (d Databricks) AsAKS() (*AKS, bool) {
- return nil, false
-}
-
-// AsAmlCompute is the BasicCompute implementation for Databricks.
-func (d Databricks) AsAmlCompute() (*AmlCompute, bool) {
- return nil, false
-}
-
-// AsVirtualMachine is the BasicCompute implementation for Databricks.
-func (d Databricks) AsVirtualMachine() (*VirtualMachine, bool) {
- return nil, false
-}
-
-// AsHDInsight is the BasicCompute implementation for Databricks.
-func (d Databricks) AsHDInsight() (*HDInsight, bool) {
- return nil, false
-}
-
-// AsDataFactory is the BasicCompute implementation for Databricks.
-func (d Databricks) AsDataFactory() (*DataFactory, bool) {
- return nil, false
-}
-
-// AsDatabricks is the BasicCompute implementation for Databricks.
-func (d Databricks) AsDatabricks() (*Databricks, bool) {
- return &d, true
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for Databricks.
-func (d Databricks) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return nil, false
-}
-
-// AsCompute is the BasicCompute implementation for Databricks.
-func (d Databricks) AsCompute() (*Compute, bool) {
- return nil, false
-}
-
-// AsBasicCompute is the BasicCompute implementation for Databricks.
-func (d Databricks) AsBasicCompute() (BasicCompute, bool) {
- return &d, true
-}
-
-// DatabricksComputeSecrets secrets related to a Machine Learning compute based on Databricks.
-type DatabricksComputeSecrets struct {
- // DatabricksAccessToken - access token for databricks account.
- DatabricksAccessToken *string `json:"databricksAccessToken,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets', 'ComputeTypeBasicComputeSecretsComputeTypeAKS', 'ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine', 'ComputeTypeBasicComputeSecretsComputeTypeDatabricks'
- ComputeType ComputeTypeBasicComputeSecrets `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DatabricksComputeSecrets.
-func (dcs DatabricksComputeSecrets) MarshalJSON() ([]byte, error) {
- dcs.ComputeType = ComputeTypeBasicComputeSecretsComputeTypeDatabricks
- objectMap := make(map[string]interface{})
- if dcs.DatabricksAccessToken != nil {
- objectMap["databricksAccessToken"] = dcs.DatabricksAccessToken
- }
- if dcs.ComputeType != "" {
- objectMap["computeType"] = dcs.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAksComputeSecrets is the BasicComputeSecrets implementation for DatabricksComputeSecrets.
-func (dcs DatabricksComputeSecrets) AsAksComputeSecrets() (*AksComputeSecrets, bool) {
- return nil, false
-}
-
-// AsVirtualMachineSecrets is the BasicComputeSecrets implementation for DatabricksComputeSecrets.
-func (dcs DatabricksComputeSecrets) AsVirtualMachineSecrets() (*VirtualMachineSecrets, bool) {
- return nil, false
-}
-
-// AsDatabricksComputeSecrets is the BasicComputeSecrets implementation for DatabricksComputeSecrets.
-func (dcs DatabricksComputeSecrets) AsDatabricksComputeSecrets() (*DatabricksComputeSecrets, bool) {
- return &dcs, true
-}
-
-// AsComputeSecrets is the BasicComputeSecrets implementation for DatabricksComputeSecrets.
-func (dcs DatabricksComputeSecrets) AsComputeSecrets() (*ComputeSecrets, bool) {
- return nil, false
-}
-
-// AsBasicComputeSecrets is the BasicComputeSecrets implementation for DatabricksComputeSecrets.
-func (dcs DatabricksComputeSecrets) AsBasicComputeSecrets() (BasicComputeSecrets, bool) {
- return &dcs, true
-}
-
-// DatabricksProperties ...
-type DatabricksProperties struct {
- // DatabricksAccessToken - Databricks access token
- DatabricksAccessToken *string `json:"databricksAccessToken,omitempty"`
-}
-
-// DataFactory a DataFactory compute.
-type DataFactory struct {
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DataFactory.
-func (df DataFactory) MarshalJSON() ([]byte, error) {
- df.ComputeType = ComputeTypeDataFactory1
- objectMap := make(map[string]interface{})
- if df.ComputeLocation != nil {
- objectMap["computeLocation"] = df.ComputeLocation
- }
- if df.Description != nil {
- objectMap["description"] = df.Description
- }
- if df.ResourceID != nil {
- objectMap["resourceId"] = df.ResourceID
- }
- if df.ComputeType != "" {
- objectMap["computeType"] = df.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsAKS() (*AKS, bool) {
- return nil, false
-}
-
-// AsAmlCompute is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsAmlCompute() (*AmlCompute, bool) {
- return nil, false
-}
-
-// AsVirtualMachine is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsVirtualMachine() (*VirtualMachine, bool) {
- return nil, false
-}
-
-// AsHDInsight is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsHDInsight() (*HDInsight, bool) {
- return nil, false
-}
-
-// AsDataFactory is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsDataFactory() (*DataFactory, bool) {
- return &df, true
-}
-
-// AsDatabricks is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsDatabricks() (*Databricks, bool) {
- return nil, false
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return nil, false
-}
-
-// AsCompute is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsCompute() (*Compute, bool) {
- return nil, false
-}
-
-// AsBasicCompute is the BasicCompute implementation for DataFactory.
-func (df DataFactory) AsBasicCompute() (BasicCompute, bool) {
- return &df, true
-}
-
-// DataLakeAnalytics a DataLakeAnalytics compute.
-type DataLakeAnalytics struct {
- Properties *DataLakeAnalyticsProperties `json:"properties,omitempty"`
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for DataLakeAnalytics.
-func (dla DataLakeAnalytics) MarshalJSON() ([]byte, error) {
- dla.ComputeType = ComputeTypeDataLakeAnalytics1
- objectMap := make(map[string]interface{})
- if dla.Properties != nil {
- objectMap["properties"] = dla.Properties
- }
- if dla.ComputeLocation != nil {
- objectMap["computeLocation"] = dla.ComputeLocation
- }
- if dla.Description != nil {
- objectMap["description"] = dla.Description
- }
- if dla.ResourceID != nil {
- objectMap["resourceId"] = dla.ResourceID
- }
- if dla.ComputeType != "" {
- objectMap["computeType"] = dla.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsAKS() (*AKS, bool) {
- return nil, false
-}
-
-// AsAmlCompute is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsAmlCompute() (*AmlCompute, bool) {
- return nil, false
-}
-
-// AsVirtualMachine is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsVirtualMachine() (*VirtualMachine, bool) {
- return nil, false
-}
-
-// AsHDInsight is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsHDInsight() (*HDInsight, bool) {
- return nil, false
-}
-
-// AsDataFactory is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsDataFactory() (*DataFactory, bool) {
- return nil, false
-}
-
-// AsDatabricks is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsDatabricks() (*Databricks, bool) {
- return nil, false
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return &dla, true
-}
-
-// AsCompute is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsCompute() (*Compute, bool) {
- return nil, false
-}
-
-// AsBasicCompute is the BasicCompute implementation for DataLakeAnalytics.
-func (dla DataLakeAnalytics) AsBasicCompute() (BasicCompute, bool) {
- return &dla, true
-}
-
-// DataLakeAnalyticsProperties ...
-type DataLakeAnalyticsProperties struct {
- // DataLakeStoreAccountName - DataLake Store Account Name
- DataLakeStoreAccountName *string `json:"dataLakeStoreAccountName,omitempty"`
-}
-
-// Error wrapper for error response to follow ARM guidelines.
-type Error struct {
- // Error - READ-ONLY; The error response.
- Error *ErrorResponse `json:"error,omitempty"`
-}
-
-// ErrorDetail error detail information.
-type ErrorDetail struct {
- // Code - Error code.
- Code *string `json:"code,omitempty"`
- // Message - Error message.
- Message *string `json:"message,omitempty"`
-}
-
-// ErrorResponse error response information.
-type ErrorResponse struct {
- // Code - READ-ONLY; Error code.
- Code *string `json:"code,omitempty"`
- // Message - READ-ONLY; Error message.
- Message *string `json:"message,omitempty"`
- // Details - READ-ONLY; An array of error detail objects.
- Details *[]ErrorDetail `json:"details,omitempty"`
-}
-
-// HDInsight a HDInsight compute.
-type HDInsight struct {
- Properties *HDInsightProperties `json:"properties,omitempty"`
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for HDInsight.
-func (hi HDInsight) MarshalJSON() ([]byte, error) {
- hi.ComputeType = ComputeTypeHDInsight1
- objectMap := make(map[string]interface{})
- if hi.Properties != nil {
- objectMap["properties"] = hi.Properties
- }
- if hi.ComputeLocation != nil {
- objectMap["computeLocation"] = hi.ComputeLocation
- }
- if hi.Description != nil {
- objectMap["description"] = hi.Description
- }
- if hi.ResourceID != nil {
- objectMap["resourceId"] = hi.ResourceID
- }
- if hi.ComputeType != "" {
- objectMap["computeType"] = hi.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsAKS() (*AKS, bool) {
- return nil, false
-}
-
-// AsAmlCompute is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsAmlCompute() (*AmlCompute, bool) {
- return nil, false
-}
-
-// AsVirtualMachine is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsVirtualMachine() (*VirtualMachine, bool) {
- return nil, false
-}
-
-// AsHDInsight is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsHDInsight() (*HDInsight, bool) {
- return &hi, true
-}
-
-// AsDataFactory is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsDataFactory() (*DataFactory, bool) {
- return nil, false
-}
-
-// AsDatabricks is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsDatabricks() (*Databricks, bool) {
- return nil, false
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return nil, false
-}
-
-// AsCompute is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsCompute() (*Compute, bool) {
- return nil, false
-}
-
-// AsBasicCompute is the BasicCompute implementation for HDInsight.
-func (hi HDInsight) AsBasicCompute() (BasicCompute, bool) {
- return &hi, true
-}
-
-// HDInsightProperties ...
-type HDInsightProperties struct {
- // SSHPort - Port open for ssh connections on the master node of the cluster.
- SSHPort *int32 `json:"sshPort,omitempty"`
- // Address - Public IP address of the master node of the cluster.
- Address *string `json:"address,omitempty"`
- // AdministratorAccount - Admin credentials for master node of the cluster
- AdministratorAccount *VirtualMachineSSHCredentials `json:"administratorAccount,omitempty"`
-}
-
-// Identity identity for the resource.
-type Identity struct {
- // PrincipalID - READ-ONLY; The principal ID of resource identity.
- PrincipalID *string `json:"principalId,omitempty"`
- // TenantID - READ-ONLY; The tenant ID of resource.
- TenantID *string `json:"tenantId,omitempty"`
- // Type - The identity type. Possible values include: 'SystemAssigned'
- Type ResourceIdentityType `json:"type,omitempty"`
-}
-
-// ListAmlUserFeatureResult the List Aml user feature operation response.
-type ListAmlUserFeatureResult struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of AML user facing features.
- Value *[]AmlUserFeature `json:"value,omitempty"`
- // NextLink - READ-ONLY; The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// ListAmlUserFeatureResultIterator provides access to a complete listing of AmlUserFeature values.
-type ListAmlUserFeatureResultIterator struct {
- i int
- page ListAmlUserFeatureResultPage
-}
-
-// NextWithContext 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 *ListAmlUserFeatureResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/ListAmlUserFeatureResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *ListAmlUserFeatureResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter ListAmlUserFeatureResultIterator) 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 ListAmlUserFeatureResultIterator) Response() ListAmlUserFeatureResult {
- 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 ListAmlUserFeatureResultIterator) Value() AmlUserFeature {
- if !iter.page.NotDone() {
- return AmlUserFeature{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the ListAmlUserFeatureResultIterator type.
-func NewListAmlUserFeatureResultIterator(page ListAmlUserFeatureResultPage) ListAmlUserFeatureResultIterator {
- return ListAmlUserFeatureResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (laufr ListAmlUserFeatureResult) IsEmpty() bool {
- return laufr.Value == nil || len(*laufr.Value) == 0
-}
-
-// listAmlUserFeatureResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (laufr ListAmlUserFeatureResult) listAmlUserFeatureResultPreparer(ctx context.Context) (*http.Request, error) {
- if laufr.NextLink == nil || len(to.String(laufr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(laufr.NextLink)))
-}
-
-// ListAmlUserFeatureResultPage contains a page of AmlUserFeature values.
-type ListAmlUserFeatureResultPage struct {
- fn func(context.Context, ListAmlUserFeatureResult) (ListAmlUserFeatureResult, error)
- laufr ListAmlUserFeatureResult
-}
-
-// NextWithContext 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 *ListAmlUserFeatureResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/ListAmlUserFeatureResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.laufr)
- if err != nil {
- return err
- }
- page.laufr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *ListAmlUserFeatureResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page ListAmlUserFeatureResultPage) NotDone() bool {
- return !page.laufr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page ListAmlUserFeatureResultPage) Response() ListAmlUserFeatureResult {
- return page.laufr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page ListAmlUserFeatureResultPage) Values() []AmlUserFeature {
- if page.laufr.IsEmpty() {
- return nil
- }
- return *page.laufr.Value
-}
-
-// Creates a new instance of the ListAmlUserFeatureResultPage type.
-func NewListAmlUserFeatureResultPage(getNextPage func(context.Context, ListAmlUserFeatureResult) (ListAmlUserFeatureResult, error)) ListAmlUserFeatureResultPage {
- return ListAmlUserFeatureResultPage{fn: getNextPage}
-}
-
-// ListUsagesResult the List Usages operation response.
-type ListUsagesResult struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of AML resource usages.
- Value *[]Usage `json:"value,omitempty"`
- // NextLink - READ-ONLY; The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// ListUsagesResultIterator provides access to a complete listing of Usage values.
-type ListUsagesResultIterator struct {
- i int
- page ListUsagesResultPage
-}
-
-// NextWithContext 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 *ListUsagesResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/ListUsagesResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *ListUsagesResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter ListUsagesResultIterator) 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 ListUsagesResultIterator) Response() ListUsagesResult {
- 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 ListUsagesResultIterator) Value() Usage {
- if !iter.page.NotDone() {
- return Usage{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the ListUsagesResultIterator type.
-func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIterator {
- return ListUsagesResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (lur ListUsagesResult) IsEmpty() bool {
- return lur.Value == nil || len(*lur.Value) == 0
-}
-
-// listUsagesResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (lur ListUsagesResult) listUsagesResultPreparer(ctx context.Context) (*http.Request, error) {
- if lur.NextLink == nil || len(to.String(lur.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(lur.NextLink)))
-}
-
-// ListUsagesResultPage contains a page of Usage values.
-type ListUsagesResultPage struct {
- fn func(context.Context, ListUsagesResult) (ListUsagesResult, error)
- lur ListUsagesResult
-}
-
-// NextWithContext 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 *ListUsagesResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/ListUsagesResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.lur)
- if err != nil {
- return err
- }
- page.lur = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *ListUsagesResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page ListUsagesResultPage) NotDone() bool {
- return !page.lur.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page ListUsagesResultPage) Response() ListUsagesResult {
- return page.lur
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page ListUsagesResultPage) Values() []Usage {
- if page.lur.IsEmpty() {
- return nil
- }
- return *page.lur.Value
-}
-
-// Creates a new instance of the ListUsagesResultPage type.
-func NewListUsagesResultPage(getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
- return ListUsagesResultPage{fn: getNextPage}
-}
-
-// ListWorkspaceKeysResult ...
-type ListWorkspaceKeysResult struct {
- autorest.Response `json:"-"`
- // UserStorageKey - READ-ONLY
- UserStorageKey *string `json:"userStorageKey,omitempty"`
- // UserStorageResourceID - READ-ONLY
- UserStorageResourceID *string `json:"userStorageResourceId,omitempty"`
- // AppInsightsInstrumentationKey - READ-ONLY
- AppInsightsInstrumentationKey *string `json:"appInsightsInstrumentationKey,omitempty"`
- // ContainerRegistryCredentials - READ-ONLY
- ContainerRegistryCredentials *RegistryListCredentialsResult `json:"containerRegistryCredentials,omitempty"`
-}
-
-// ListWorkspaceQuotas the List WorkspaceQuotasByVMFamily operation response.
-type ListWorkspaceQuotas struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of Workspace Quotas by VM Family
- Value *[]ResourceQuota `json:"value,omitempty"`
- // NextLink - READ-ONLY; The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// ListWorkspaceQuotasIterator provides access to a complete listing of ResourceQuota values.
-type ListWorkspaceQuotasIterator struct {
- i int
- page ListWorkspaceQuotasPage
-}
-
-// NextWithContext 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 *ListWorkspaceQuotasIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/ListWorkspaceQuotasIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *ListWorkspaceQuotasIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter ListWorkspaceQuotasIterator) 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 ListWorkspaceQuotasIterator) Response() ListWorkspaceQuotas {
- 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 ListWorkspaceQuotasIterator) Value() ResourceQuota {
- if !iter.page.NotDone() {
- return ResourceQuota{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the ListWorkspaceQuotasIterator type.
-func NewListWorkspaceQuotasIterator(page ListWorkspaceQuotasPage) ListWorkspaceQuotasIterator {
- return ListWorkspaceQuotasIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (lwq ListWorkspaceQuotas) IsEmpty() bool {
- return lwq.Value == nil || len(*lwq.Value) == 0
-}
-
-// listWorkspaceQuotasPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (lwq ListWorkspaceQuotas) listWorkspaceQuotasPreparer(ctx context.Context) (*http.Request, error) {
- if lwq.NextLink == nil || len(to.String(lwq.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(lwq.NextLink)))
-}
-
-// ListWorkspaceQuotasPage contains a page of ResourceQuota values.
-type ListWorkspaceQuotasPage struct {
- fn func(context.Context, ListWorkspaceQuotas) (ListWorkspaceQuotas, error)
- lwq ListWorkspaceQuotas
-}
-
-// NextWithContext 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 *ListWorkspaceQuotasPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/ListWorkspaceQuotasPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.lwq)
- if err != nil {
- return err
- }
- page.lwq = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *ListWorkspaceQuotasPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page ListWorkspaceQuotasPage) NotDone() bool {
- return !page.lwq.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page ListWorkspaceQuotasPage) Response() ListWorkspaceQuotas {
- return page.lwq
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page ListWorkspaceQuotasPage) Values() []ResourceQuota {
- if page.lwq.IsEmpty() {
- return nil
- }
- return *page.lwq.Value
-}
-
-// Creates a new instance of the ListWorkspaceQuotasPage type.
-func NewListWorkspaceQuotasPage(getNextPage func(context.Context, ListWorkspaceQuotas) (ListWorkspaceQuotas, error)) ListWorkspaceQuotasPage {
- return ListWorkspaceQuotasPage{fn: getNextPage}
-}
-
-// MachineLearningComputeCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type MachineLearningComputeCreateOrUpdateFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *MachineLearningComputeCreateOrUpdateFuture) Result(client MachineLearningComputeClient) (cr ComputeResource, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("machinelearningservices.MachineLearningComputeCreateOrUpdateFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if cr.Response.Response, err = future.GetResult(sender); err == nil && cr.Response.Response.StatusCode != http.StatusNoContent {
- cr, err = client.CreateOrUpdateResponder(cr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeCreateOrUpdateFuture", "Result", cr.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// MachineLearningComputeDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type MachineLearningComputeDeleteFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *MachineLearningComputeDeleteFuture) Result(client MachineLearningComputeClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeDeleteFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("machinelearningservices.MachineLearningComputeDeleteFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
-// MachineLearningComputeUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type MachineLearningComputeUpdateFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *MachineLearningComputeUpdateFuture) Result(client MachineLearningComputeClient) (cr ComputeResource, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeUpdateFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("machinelearningservices.MachineLearningComputeUpdateFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if cr.Response.Response, err = future.GetResult(sender); err == nil && cr.Response.Response.StatusCode != http.StatusNoContent {
- cr, err = client.UpdateResponder(cr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.MachineLearningComputeUpdateFuture", "Result", cr.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// NodeStateCounts counts of various compute node states on the amlCompute.
-type NodeStateCounts struct {
- // IdleNodeCount - READ-ONLY; Number of compute nodes in idle state.
- IdleNodeCount *int32 `json:"idleNodeCount,omitempty"`
- // RunningNodeCount - READ-ONLY; Number of compute nodes which are running jobs.
- RunningNodeCount *int32 `json:"runningNodeCount,omitempty"`
- // PreparingNodeCount - READ-ONLY; Number of compute nodes which are being prepared.
- PreparingNodeCount *int32 `json:"preparingNodeCount,omitempty"`
- // UnusableNodeCount - READ-ONLY; Number of compute nodes which are in unusable state.
- UnusableNodeCount *int32 `json:"unusableNodeCount,omitempty"`
- // LeavingNodeCount - READ-ONLY; Number of compute nodes which are leaving the amlCompute.
- LeavingNodeCount *int32 `json:"leavingNodeCount,omitempty"`
- // PreemptedNodeCount - READ-ONLY; Number of compute nodes which are in preempted state.
- PreemptedNodeCount *int32 `json:"preemptedNodeCount,omitempty"`
-}
-
-// Operation azure Machine Learning workspace REST API operation
-type Operation struct {
- // Name - Operation name: {provider}/{resource}/{operation}
- Name *string `json:"name,omitempty"`
- // Display - Display name of operation
- Display *OperationDisplay `json:"display,omitempty"`
-}
-
-// OperationDisplay display name of operation
-type OperationDisplay struct {
- // Provider - The resource provider name: Microsoft.MachineLearningExperimentation
- Provider *string `json:"provider,omitempty"`
- // Resource - The resource on which the operation is performed.
- Resource *string `json:"resource,omitempty"`
- // Operation - The operation that users can perform.
- Operation *string `json:"operation,omitempty"`
- // Description - The description for the operation.
- Description *string `json:"description,omitempty"`
-}
-
-// OperationListResult an array of operations supported by the resource provider.
-type OperationListResult struct {
- autorest.Response `json:"-"`
- // Value - List of AML workspace operations supported by the AML workspace resource provider.
- Value *[]Operation `json:"value,omitempty"`
-}
-
-// PaginatedComputeResourcesList paginated list of Machine Learning compute objects wrapped in ARM resource
-// envelope.
-type PaginatedComputeResourcesList struct {
- autorest.Response `json:"-"`
- // Value - An array of Machine Learning compute objects wrapped in ARM resource envelope.
- Value *[]ComputeResource `json:"value,omitempty"`
- // NextLink - A continuation link (absolute URI) to the next page of results in the list.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// PaginatedComputeResourcesListIterator provides access to a complete listing of ComputeResource values.
-type PaginatedComputeResourcesListIterator struct {
- i int
- page PaginatedComputeResourcesListPage
-}
-
-// NextWithContext 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 *PaginatedComputeResourcesListIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PaginatedComputeResourcesListIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *PaginatedComputeResourcesListIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter PaginatedComputeResourcesListIterator) 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 PaginatedComputeResourcesListIterator) Response() PaginatedComputeResourcesList {
- 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 PaginatedComputeResourcesListIterator) Value() ComputeResource {
- if !iter.page.NotDone() {
- return ComputeResource{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the PaginatedComputeResourcesListIterator type.
-func NewPaginatedComputeResourcesListIterator(page PaginatedComputeResourcesListPage) PaginatedComputeResourcesListIterator {
- return PaginatedComputeResourcesListIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (pcrl PaginatedComputeResourcesList) IsEmpty() bool {
- return pcrl.Value == nil || len(*pcrl.Value) == 0
-}
-
-// paginatedComputeResourcesListPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (pcrl PaginatedComputeResourcesList) paginatedComputeResourcesListPreparer(ctx context.Context) (*http.Request, error) {
- if pcrl.NextLink == nil || len(to.String(pcrl.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(pcrl.NextLink)))
-}
-
-// PaginatedComputeResourcesListPage contains a page of ComputeResource values.
-type PaginatedComputeResourcesListPage struct {
- fn func(context.Context, PaginatedComputeResourcesList) (PaginatedComputeResourcesList, error)
- pcrl PaginatedComputeResourcesList
-}
-
-// NextWithContext 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 *PaginatedComputeResourcesListPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PaginatedComputeResourcesListPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.pcrl)
- if err != nil {
- return err
- }
- page.pcrl = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *PaginatedComputeResourcesListPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page PaginatedComputeResourcesListPage) NotDone() bool {
- return !page.pcrl.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page PaginatedComputeResourcesListPage) Response() PaginatedComputeResourcesList {
- return page.pcrl
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page PaginatedComputeResourcesListPage) Values() []ComputeResource {
- if page.pcrl.IsEmpty() {
- return nil
- }
- return *page.pcrl.Value
-}
-
-// Creates a new instance of the PaginatedComputeResourcesListPage type.
-func NewPaginatedComputeResourcesListPage(getNextPage func(context.Context, PaginatedComputeResourcesList) (PaginatedComputeResourcesList, error)) PaginatedComputeResourcesListPage {
- return PaginatedComputeResourcesListPage{fn: getNextPage}
-}
-
-// Password ...
-type Password struct {
- // Name - READ-ONLY
- Name *string `json:"name,omitempty"`
- // Value - READ-ONLY
- Value *string `json:"value,omitempty"`
-}
-
-// QuotaBaseProperties the properties for Quota update or retrieval.
-type QuotaBaseProperties struct {
- // ID - Specifies the resource ID.
- ID *string `json:"id,omitempty"`
- // Type - Specifies the resource type.
- Type *string `json:"type,omitempty"`
- // Limit - The maximum permitted quota of the resource.
- Limit *int64 `json:"limit,omitempty"`
- // Unit - An enum describing the unit of quota measurement. Possible values include: 'Count'
- Unit QuotaUnit `json:"unit,omitempty"`
-}
-
-// QuotaUpdateParameters quota update parameters.
-type QuotaUpdateParameters struct {
- // Value - The list for update quota.
- Value *[]QuotaBaseProperties `json:"value,omitempty"`
-}
-
-// RegistryListCredentialsResult ...
-type RegistryListCredentialsResult struct {
- // Location - READ-ONLY
- Location *string `json:"location,omitempty"`
- // Username - READ-ONLY
- Username *string `json:"username,omitempty"`
- Passwords *[]Password `json:"passwords,omitempty"`
-}
-
-// Resource azure Resource Manager resource envelope.
-type Resource struct {
- // ID - READ-ONLY; Specifies the resource ID.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Specifies the name of the resource.
- Name *string `json:"name,omitempty"`
- // Identity - The identity of the resource.
- Identity *Identity `json:"identity,omitempty"`
- // Location - Specifies the location of the resource.
- Location *string `json:"location,omitempty"`
- // Type - READ-ONLY; Specifies the type of the resource.
- Type *string `json:"type,omitempty"`
- // Tags - Contains resource tags defined as key/value pairs.
- Tags map[string]*string `json:"tags"`
- // Sku - The sku of the workspace.
- Sku *Sku `json:"sku,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for Resource.
-func (r Resource) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if r.Identity != nil {
- objectMap["identity"] = r.Identity
- }
- if r.Location != nil {
- objectMap["location"] = r.Location
- }
- if r.Tags != nil {
- objectMap["tags"] = r.Tags
- }
- if r.Sku != nil {
- objectMap["sku"] = r.Sku
- }
- return json.Marshal(objectMap)
-}
-
-// ResourceID represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.
-type ResourceID struct {
- // ID - The ID of the resource
- ID *string `json:"id,omitempty"`
-}
-
-// ResourceName the Resource Name.
-type ResourceName struct {
- // Value - READ-ONLY; The name of the resource.
- Value *string `json:"value,omitempty"`
- // LocalizedValue - READ-ONLY; The localized name of the resource.
- LocalizedValue *string `json:"localizedValue,omitempty"`
-}
-
-// ResourceQuota the quota assigned to a resource.
-type ResourceQuota struct {
- // ID - READ-ONLY; Specifies the resource ID.
- ID *string `json:"id,omitempty"`
- // Type - READ-ONLY; Specifies the resource type.
- Type *string `json:"type,omitempty"`
- // Name - READ-ONLY; Name of the resource.
- Name *ResourceName `json:"name,omitempty"`
- // Limit - READ-ONLY; The maximum permitted quota of the resource.
- Limit *int64 `json:"limit,omitempty"`
- // Unit - READ-ONLY; An enum describing the unit of quota measurement. Possible values include: 'Count'
- Unit QuotaUnit `json:"unit,omitempty"`
-}
-
-// ResourceSkuLocationInfo ...
-type ResourceSkuLocationInfo struct {
- // Location - READ-ONLY; Location of the SKU
- Location *string `json:"location,omitempty"`
- // Zones - READ-ONLY; List of availability zones where the SKU is supported.
- Zones *[]string `json:"zones,omitempty"`
- // ZoneDetails - READ-ONLY; Details of capabilities available to a SKU in specific zones.
- ZoneDetails *[]ResourceSkuZoneDetails `json:"zoneDetails,omitempty"`
-}
-
-// ResourceSkuZoneDetails describes The zonal capabilities of a SKU.
-type ResourceSkuZoneDetails struct {
- // Name - READ-ONLY; The set of zones that the SKU is available in with the specified capabilities.
- Name *[]string `json:"name,omitempty"`
- // Capabilities - READ-ONLY; A list of capabilities that are available for the SKU in the specified list of zones.
- Capabilities *[]SKUCapability `json:"capabilities,omitempty"`
-}
-
-// Restriction the restriction because of which SKU cannot be used.
-type Restriction struct {
- // Type - READ-ONLY; The type of restrictions. As of now only possible value for this is location.
- Type *string `json:"type,omitempty"`
- // Values - READ-ONLY; The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
- Values *[]string `json:"values,omitempty"`
- // ReasonCode - The reason for the restriction. Possible values include: 'NotSpecified', 'NotAvailableForRegion', 'NotAvailableForSubscription'
- ReasonCode ReasonCode `json:"reasonCode,omitempty"`
-}
-
-// ScaleSettings scale settings for AML Compute
-type ScaleSettings struct {
- // MaxNodeCount - Max number of nodes to use
- MaxNodeCount *int32 `json:"maxNodeCount,omitempty"`
- // MinNodeCount - Min number of nodes to use
- MinNodeCount *int32 `json:"minNodeCount,omitempty"`
- // NodeIdleTimeBeforeScaleDown - Node Idle Time before scaling down amlCompute
- NodeIdleTimeBeforeScaleDown *string `json:"nodeIdleTimeBeforeScaleDown,omitempty"`
-}
-
-// ServicePrincipalCredentials service principal credentials.
-type ServicePrincipalCredentials struct {
- // ClientID - Client Id
- ClientID *string `json:"clientId,omitempty"`
- // ClientSecret - Client secret
- ClientSecret *string `json:"clientSecret,omitempty"`
-}
-
-// Sku sku of the resource
-type Sku struct {
- // Name - Name of the sku
- Name *string `json:"name,omitempty"`
- // Tier - Tier of the sku like Basic or Enterprise
- Tier *string `json:"tier,omitempty"`
-}
-
-// SKUCapability features/user capabilities associated with the sku
-type SKUCapability struct {
- // Name - Capability/Feature ID
- Name *string `json:"name,omitempty"`
- // Value - Details about the feature/capability
- Value *string `json:"value,omitempty"`
-}
-
-// SkuListResult list of skus with features
-type SkuListResult struct {
- autorest.Response `json:"-"`
- Value *[]WorkspaceSku `json:"value,omitempty"`
- // NextLink - The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// SkuListResultIterator provides access to a complete listing of WorkspaceSku values.
-type SkuListResultIterator struct {
- i int
- page SkuListResultPage
-}
-
-// NextWithContext 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 *SkuListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/SkuListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *SkuListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter SkuListResultIterator) 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 SkuListResultIterator) Response() SkuListResult {
- 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 SkuListResultIterator) Value() WorkspaceSku {
- if !iter.page.NotDone() {
- return WorkspaceSku{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the SkuListResultIterator type.
-func NewSkuListResultIterator(page SkuListResultPage) SkuListResultIterator {
- return SkuListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (slr SkuListResult) IsEmpty() bool {
- return slr.Value == nil || len(*slr.Value) == 0
-}
-
-// skuListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (slr SkuListResult) skuListResultPreparer(ctx context.Context) (*http.Request, error) {
- if slr.NextLink == nil || len(to.String(slr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(slr.NextLink)))
-}
-
-// SkuListResultPage contains a page of WorkspaceSku values.
-type SkuListResultPage struct {
- fn func(context.Context, SkuListResult) (SkuListResult, error)
- slr SkuListResult
-}
-
-// NextWithContext 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 *SkuListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/SkuListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.slr)
- if err != nil {
- return err
- }
- page.slr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *SkuListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page SkuListResultPage) NotDone() bool {
- return !page.slr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page SkuListResultPage) Response() SkuListResult {
- return page.slr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page SkuListResultPage) Values() []WorkspaceSku {
- if page.slr.IsEmpty() {
- return nil
- }
- return *page.slr.Value
-}
-
-// Creates a new instance of the SkuListResultPage type.
-func NewSkuListResultPage(getNextPage func(context.Context, SkuListResult) (SkuListResult, error)) SkuListResultPage {
- return SkuListResultPage{fn: getNextPage}
-}
-
-// SslConfiguration the ssl configuration for scoring
-type SslConfiguration struct {
- // Status - Enable or disable ssl for scoring. Possible values include: 'Disabled', 'Enabled'
- Status Status1 `json:"status,omitempty"`
- // Cert - Cert data
- Cert *string `json:"cert,omitempty"`
- // Key - Key data
- Key *string `json:"key,omitempty"`
- // Cname - CNAME of the cert
- Cname *string `json:"cname,omitempty"`
-}
-
-// SystemService a system service running on a compute.
-type SystemService struct {
- // SystemServiceType - READ-ONLY; The type of this system service.
- SystemServiceType *string `json:"systemServiceType,omitempty"`
- // PublicIPAddress - READ-ONLY; Public IP address
- PublicIPAddress *string `json:"publicIpAddress,omitempty"`
- // Version - READ-ONLY; The version for this type.
- Version *string `json:"version,omitempty"`
-}
-
-// UpdateWorkspaceQuotas the properties for update Quota response.
-type UpdateWorkspaceQuotas struct {
- // ID - READ-ONLY; Specifies the resource ID.
- ID *string `json:"id,omitempty"`
- // Type - READ-ONLY; Specifies the resource type.
- Type *string `json:"type,omitempty"`
- // Limit - The maximum permitted quota of the resource.
- Limit *int64 `json:"limit,omitempty"`
- // Unit - READ-ONLY; An enum describing the unit of quota measurement. Possible values include: 'Count'
- Unit QuotaUnit `json:"unit,omitempty"`
- // Status - Status of update workspace quota. Possible values include: 'Undefined', 'Success', 'Failure', 'InvalidQuotaBelowClusterMinimum', 'InvalidQuotaExceedsSubscriptionLimit', 'InvalidVMFamilyName', 'OperationNotSupportedForSku', 'OperationNotEnabledForRegion'
- Status Status `json:"status,omitempty"`
-}
-
-// UpdateWorkspaceQuotasResult the result of update workspace quota.
-type UpdateWorkspaceQuotasResult struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of workspace quota update result.
- Value *[]UpdateWorkspaceQuotas `json:"value,omitempty"`
- // NextLink - READ-ONLY; The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// Usage describes AML Resource Usage.
-type Usage struct {
- // ID - READ-ONLY; Specifies the resource ID.
- ID *string `json:"id,omitempty"`
- // Type - READ-ONLY; Specifies the resource type.
- Type *string `json:"type,omitempty"`
- // Unit - READ-ONLY; An enum describing the unit of usage measurement. Possible values include: 'UsageUnitCount'
- Unit UsageUnit `json:"unit,omitempty"`
- // CurrentValue - READ-ONLY; The current usage of the resource.
- CurrentValue *int64 `json:"currentValue,omitempty"`
- // Limit - READ-ONLY; The maximum permitted usage of the resource.
- Limit *int64 `json:"limit,omitempty"`
- // Name - READ-ONLY; The name of the type of usage.
- Name *UsageName `json:"name,omitempty"`
-}
-
-// UsageName the Usage Names.
-type UsageName struct {
- // Value - READ-ONLY; The name of the resource.
- Value *string `json:"value,omitempty"`
- // LocalizedValue - READ-ONLY; The localized name of the resource.
- LocalizedValue *string `json:"localizedValue,omitempty"`
-}
-
-// UserAccountCredentials settings for user account that gets created on each on the nodes of a compute.
-type UserAccountCredentials struct {
- // AdminUserName - Name of the administrator user account which can be used to SSH to nodes.
- AdminUserName *string `json:"adminUserName,omitempty"`
- // AdminUserSSHPublicKey - SSH public key of the administrator user account.
- AdminUserSSHPublicKey *string `json:"adminUserSshPublicKey,omitempty"`
- // AdminUserPassword - Password of the administrator user account.
- AdminUserPassword *string `json:"adminUserPassword,omitempty"`
-}
-
-// VirtualMachine a Machine Learning compute based on Azure Virtual Machines.
-type VirtualMachine struct {
- Properties *VirtualMachineProperties `json:"properties,omitempty"`
- // ComputeLocation - Location for the underlying compute
- ComputeLocation *string `json:"computeLocation,omitempty"`
- // ProvisioningState - READ-ONLY; The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
- // Description - The description of the Machine Learning compute.
- Description *string `json:"description,omitempty"`
- // CreatedOn - READ-ONLY; The date and time when the compute was created.
- CreatedOn *date.Time `json:"createdOn,omitempty"`
- // ModifiedOn - READ-ONLY; The date and time when the compute was last modified.
- ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
- // ResourceID - ARM resource id of the underlying compute
- ResourceID *string `json:"resourceId,omitempty"`
- // ProvisioningErrors - READ-ONLY; Errors during provisioning
- ProvisioningErrors *[]Error `json:"provisioningErrors,omitempty"`
- // IsAttachedCompute - READ-ONLY; Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
- IsAttachedCompute *bool `json:"isAttachedCompute,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeCompute', 'ComputeTypeAKS1', 'ComputeTypeAmlCompute1', 'ComputeTypeVirtualMachine1', 'ComputeTypeHDInsight1', 'ComputeTypeDataFactory1', 'ComputeTypeDatabricks1', 'ComputeTypeDataLakeAnalytics1'
- ComputeType ComputeTypeBasicCompute `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for VirtualMachine.
-func (VM VirtualMachine) MarshalJSON() ([]byte, error) {
- VM.ComputeType = ComputeTypeVirtualMachine1
- objectMap := make(map[string]interface{})
- if VM.Properties != nil {
- objectMap["properties"] = VM.Properties
- }
- if VM.ComputeLocation != nil {
- objectMap["computeLocation"] = VM.ComputeLocation
- }
- if VM.Description != nil {
- objectMap["description"] = VM.Description
- }
- if VM.ResourceID != nil {
- objectMap["resourceId"] = VM.ResourceID
- }
- if VM.ComputeType != "" {
- objectMap["computeType"] = VM.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAKS is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsAKS() (*AKS, bool) {
- return nil, false
-}
-
-// AsAmlCompute is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsAmlCompute() (*AmlCompute, bool) {
- return nil, false
-}
-
-// AsVirtualMachine is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsVirtualMachine() (*VirtualMachine, bool) {
- return &VM, true
-}
-
-// AsHDInsight is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsHDInsight() (*HDInsight, bool) {
- return nil, false
-}
-
-// AsDataFactory is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsDataFactory() (*DataFactory, bool) {
- return nil, false
-}
-
-// AsDatabricks is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsDatabricks() (*Databricks, bool) {
- return nil, false
-}
-
-// AsDataLakeAnalytics is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsDataLakeAnalytics() (*DataLakeAnalytics, bool) {
- return nil, false
-}
-
-// AsCompute is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsCompute() (*Compute, bool) {
- return nil, false
-}
-
-// AsBasicCompute is the BasicCompute implementation for VirtualMachine.
-func (VM VirtualMachine) AsBasicCompute() (BasicCompute, bool) {
- return &VM, true
-}
-
-// VirtualMachineProperties ...
-type VirtualMachineProperties struct {
- // VirtualMachineSize - Virtual Machine size
- VirtualMachineSize *string `json:"virtualMachineSize,omitempty"`
- // SSHPort - Port open for ssh connections.
- SSHPort *int32 `json:"sshPort,omitempty"`
- // Address - Public IP address of the virtual machine.
- Address *string `json:"address,omitempty"`
- // AdministratorAccount - Admin credentials for virtual machine
- AdministratorAccount *VirtualMachineSSHCredentials `json:"administratorAccount,omitempty"`
-}
-
-// VirtualMachineSecrets secrets related to a Machine Learning compute based on AKS.
-type VirtualMachineSecrets struct {
- // AdministratorAccount - Admin credentials for virtual machine.
- AdministratorAccount *VirtualMachineSSHCredentials `json:"administratorAccount,omitempty"`
- // ComputeType - Possible values include: 'ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets', 'ComputeTypeBasicComputeSecretsComputeTypeAKS', 'ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine', 'ComputeTypeBasicComputeSecretsComputeTypeDatabricks'
- ComputeType ComputeTypeBasicComputeSecrets `json:"computeType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for VirtualMachineSecrets.
-func (vms VirtualMachineSecrets) MarshalJSON() ([]byte, error) {
- vms.ComputeType = ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine
- objectMap := make(map[string]interface{})
- if vms.AdministratorAccount != nil {
- objectMap["administratorAccount"] = vms.AdministratorAccount
- }
- if vms.ComputeType != "" {
- objectMap["computeType"] = vms.ComputeType
- }
- return json.Marshal(objectMap)
-}
-
-// AsAksComputeSecrets is the BasicComputeSecrets implementation for VirtualMachineSecrets.
-func (vms VirtualMachineSecrets) AsAksComputeSecrets() (*AksComputeSecrets, bool) {
- return nil, false
-}
-
-// AsVirtualMachineSecrets is the BasicComputeSecrets implementation for VirtualMachineSecrets.
-func (vms VirtualMachineSecrets) AsVirtualMachineSecrets() (*VirtualMachineSecrets, bool) {
- return &vms, true
-}
-
-// AsDatabricksComputeSecrets is the BasicComputeSecrets implementation for VirtualMachineSecrets.
-func (vms VirtualMachineSecrets) AsDatabricksComputeSecrets() (*DatabricksComputeSecrets, bool) {
- return nil, false
-}
-
-// AsComputeSecrets is the BasicComputeSecrets implementation for VirtualMachineSecrets.
-func (vms VirtualMachineSecrets) AsComputeSecrets() (*ComputeSecrets, bool) {
- return nil, false
-}
-
-// AsBasicComputeSecrets is the BasicComputeSecrets implementation for VirtualMachineSecrets.
-func (vms VirtualMachineSecrets) AsBasicComputeSecrets() (BasicComputeSecrets, bool) {
- return &vms, true
-}
-
-// VirtualMachineSize describes the properties of a VM size.
-type VirtualMachineSize struct {
- // Name - READ-ONLY; The name of the virtual machine size.
- Name *string `json:"name,omitempty"`
- // Family - READ-ONLY; The family name of the virtual machine size.
- Family *string `json:"family,omitempty"`
- // VCPUs - READ-ONLY; The number of vCPUs supported by the virtual machine size.
- VCPUs *int32 `json:"vCPUs,omitempty"`
- // Gpus - READ-ONLY; The number of gPUs supported by the virtual machine size.
- Gpus *int32 `json:"gpus,omitempty"`
- // OsVhdSizeMB - READ-ONLY; The OS VHD disk size, in MB, allowed by the virtual machine size.
- OsVhdSizeMB *int32 `json:"osVhdSizeMB,omitempty"`
- // MaxResourceVolumeMB - READ-ONLY; The resource volume size, in MB, allowed by the virtual machine size.
- MaxResourceVolumeMB *int32 `json:"maxResourceVolumeMB,omitempty"`
- // MemoryGB - READ-ONLY; The amount of memory, in GB, supported by the virtual machine size.
- MemoryGB *float64 `json:"memoryGB,omitempty"`
- // LowPriorityCapable - READ-ONLY; Specifies if the virtual machine size supports low priority VMs.
- LowPriorityCapable *bool `json:"lowPriorityCapable,omitempty"`
- // PremiumIO - READ-ONLY; Specifies if the virtual machine size supports premium IO.
- PremiumIO *bool `json:"premiumIO,omitempty"`
-}
-
-// VirtualMachineSizeListResult the List Virtual Machine size operation response.
-type VirtualMachineSizeListResult struct {
- autorest.Response `json:"-"`
- // AmlCompute - The list of virtual machine sizes supported by AmlCompute.
- AmlCompute *[]VirtualMachineSize `json:"amlCompute,omitempty"`
-}
-
-// VirtualMachineSSHCredentials admin credentials for virtual machine
-type VirtualMachineSSHCredentials struct {
- // Username - Username of admin account
- Username *string `json:"username,omitempty"`
- // Password - Password of admin account
- Password *string `json:"password,omitempty"`
- // PublicKeyData - Public key data
- PublicKeyData *string `json:"publicKeyData,omitempty"`
- // PrivateKeyData - Private key data
- PrivateKeyData *string `json:"privateKeyData,omitempty"`
-}
-
-// Workspace an object that represents a machine learning workspace.
-type Workspace struct {
- autorest.Response `json:"-"`
- // WorkspaceProperties - The properties of the machine learning workspace.
- *WorkspaceProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Specifies the resource ID.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Specifies the name of the resource.
- Name *string `json:"name,omitempty"`
- // Identity - The identity of the resource.
- Identity *Identity `json:"identity,omitempty"`
- // Location - Specifies the location of the resource.
- Location *string `json:"location,omitempty"`
- // Type - READ-ONLY; Specifies the type of the resource.
- Type *string `json:"type,omitempty"`
- // Tags - Contains resource tags defined as key/value pairs.
- Tags map[string]*string `json:"tags"`
- // Sku - The sku of the workspace.
- Sku *Sku `json:"sku,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for Workspace.
-func (w Workspace) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if w.WorkspaceProperties != nil {
- objectMap["properties"] = w.WorkspaceProperties
- }
- if w.Identity != nil {
- objectMap["identity"] = w.Identity
- }
- if w.Location != nil {
- objectMap["location"] = w.Location
- }
- if w.Tags != nil {
- objectMap["tags"] = w.Tags
- }
- if w.Sku != nil {
- objectMap["sku"] = w.Sku
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for Workspace struct.
-func (w *Workspace) 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 workspaceProperties WorkspaceProperties
- err = json.Unmarshal(*v, &workspaceProperties)
- if err != nil {
- return err
- }
- w.WorkspaceProperties = &workspaceProperties
- }
- 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 "identity":
- if v != nil {
- var identity Identity
- err = json.Unmarshal(*v, &identity)
- if err != nil {
- return err
- }
- w.Identity = &identity
- }
- case "location":
- if v != nil {
- var location string
- err = json.Unmarshal(*v, &location)
- if err != nil {
- return err
- }
- w.Location = &location
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- w.Type = &typeVar
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- w.Tags = tags
- }
- case "sku":
- if v != nil {
- var sku Sku
- err = json.Unmarshal(*v, &sku)
- if err != nil {
- return err
- }
- w.Sku = &sku
- }
- }
- }
-
- return nil
-}
-
-// WorkspaceListResult the result of a request to list machine learning workspaces.
-type WorkspaceListResult struct {
- autorest.Response `json:"-"`
- // Value - The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.
- Value *[]Workspace `json:"value,omitempty"`
- // NextLink - The URI that can be used to request the next list of machine learning workspaces.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// WorkspaceListResultIterator provides access to a complete listing of Workspace values.
-type WorkspaceListResultIterator struct {
- i int
- page WorkspaceListResultPage
-}
-
-// NextWithContext 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 *WorkspaceListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspaceListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *WorkspaceListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter WorkspaceListResultIterator) 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 WorkspaceListResultIterator) Response() WorkspaceListResult {
- 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 WorkspaceListResultIterator) Value() Workspace {
- if !iter.page.NotDone() {
- return Workspace{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the WorkspaceListResultIterator type.
-func NewWorkspaceListResultIterator(page WorkspaceListResultPage) WorkspaceListResultIterator {
- return WorkspaceListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (wlr WorkspaceListResult) IsEmpty() bool {
- return wlr.Value == nil || len(*wlr.Value) == 0
-}
-
-// workspaceListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (wlr WorkspaceListResult) workspaceListResultPreparer(ctx context.Context) (*http.Request, error) {
- if wlr.NextLink == nil || len(to.String(wlr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(wlr.NextLink)))
-}
-
-// WorkspaceListResultPage contains a page of Workspace values.
-type WorkspaceListResultPage struct {
- fn func(context.Context, WorkspaceListResult) (WorkspaceListResult, error)
- wlr WorkspaceListResult
-}
-
-// NextWithContext 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 *WorkspaceListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspaceListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.wlr)
- if err != nil {
- return err
- }
- page.wlr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *WorkspaceListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page WorkspaceListResultPage) NotDone() bool {
- return !page.wlr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page WorkspaceListResultPage) Response() WorkspaceListResult {
- return page.wlr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page WorkspaceListResultPage) Values() []Workspace {
- if page.wlr.IsEmpty() {
- return nil
- }
- return *page.wlr.Value
-}
-
-// Creates a new instance of the WorkspaceListResultPage type.
-func NewWorkspaceListResultPage(getNextPage func(context.Context, WorkspaceListResult) (WorkspaceListResult, error)) WorkspaceListResultPage {
- return WorkspaceListResultPage{fn: getNextPage}
-}
-
-// WorkspaceProperties the properties of a machine learning workspace.
-type WorkspaceProperties struct {
- // WorkspaceID - READ-ONLY; The immutable id associated with this workspace.
- WorkspaceID *string `json:"workspaceId,omitempty"`
- // Description - The description of this workspace.
- Description *string `json:"description,omitempty"`
- // FriendlyName - The friendly name for this workspace. This name in mutable
- FriendlyName *string `json:"friendlyName,omitempty"`
- // CreationTime - READ-ONLY; The creation time of the machine learning workspace in ISO8601 format.
- CreationTime *date.Time `json:"creationTime,omitempty"`
- // KeyVault - ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created
- KeyVault *string `json:"keyVault,omitempty"`
- // ApplicationInsights - ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created
- ApplicationInsights *string `json:"applicationInsights,omitempty"`
- // ContainerRegistry - ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created
- ContainerRegistry *string `json:"containerRegistry,omitempty"`
- // StorageAccount - ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created
- StorageAccount *string `json:"storageAccount,omitempty"`
- // DiscoveryURL - Url for the discovery service to identify regional endpoints for machine learning experimentation services
- DiscoveryURL *string `json:"discoveryUrl,omitempty"`
- // ProvisioningState - READ-ONLY; The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
-}
-
-// WorkspacePropertiesUpdateParameters the parameters for updating the properties of a machine learning
-// workspace.
-type WorkspacePropertiesUpdateParameters struct {
- // Description - The description of this workspace.
- Description *string `json:"description,omitempty"`
- // FriendlyName - The friendly name for this workspace.
- FriendlyName *string `json:"friendlyName,omitempty"`
-}
-
-// WorkspacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type WorkspacesCreateOrUpdateFuture struct {
- azure.Future
-}
-
-// 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) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("machinelearningservices.WorkspacesCreateOrUpdateFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if w.Response.Response, err = future.GetResult(sender); err == nil && w.Response.Response.StatusCode != http.StatusNoContent {
- w, err = client.CreateOrUpdateResponder(w.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesCreateOrUpdateFuture", "Result", w.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// WorkspaceSku describes Workspace Sku details and features
-type WorkspaceSku struct {
- // Locations - READ-ONLY; The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
- Locations *[]string `json:"locations,omitempty"`
- // LocationInfo - READ-ONLY; A list of locations and availability zones in those locations where the SKU is available.
- LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"`
- // Tier - READ-ONLY; Sku Tier like Basic or Enterprise
- Tier *string `json:"tier,omitempty"`
- // ResourceType - READ-ONLY
- ResourceType *string `json:"resourceType,omitempty"`
- // Name - READ-ONLY
- Name *string `json:"name,omitempty"`
- // Capabilities - READ-ONLY; List of features/user capabilities associated with the sku
- Capabilities *[]SKUCapability `json:"capabilities,omitempty"`
- // Restrictions - The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
- Restrictions *[]Restriction `json:"restrictions,omitempty"`
-}
-
-// WorkspaceUpdateParameters the parameters for updating a machine learning workspace.
-type WorkspaceUpdateParameters struct {
- // Tags - The resource tags for the machine learning workspace.
- Tags map[string]*string `json:"tags"`
- // Sku - The sku of the workspace.
- Sku *Sku `json:"sku,omitempty"`
- // WorkspacePropertiesUpdateParameters - The properties that the machine learning workspace will be updated with.
- *WorkspacePropertiesUpdateParameters `json:"properties,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for WorkspaceUpdateParameters.
-func (wup WorkspaceUpdateParameters) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if wup.Tags != nil {
- objectMap["tags"] = wup.Tags
- }
- if wup.Sku != nil {
- objectMap["sku"] = wup.Sku
- }
- if wup.WorkspacePropertiesUpdateParameters != nil {
- objectMap["properties"] = wup.WorkspacePropertiesUpdateParameters
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for WorkspaceUpdateParameters struct.
-func (wup *WorkspaceUpdateParameters) 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 "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- wup.Tags = tags
- }
- case "sku":
- if v != nil {
- var sku Sku
- err = json.Unmarshal(*v, &sku)
- if err != nil {
- return err
- }
- wup.Sku = &sku
- }
- case "properties":
- if v != nil {
- var workspacePropertiesUpdateParameters WorkspacePropertiesUpdateParameters
- err = json.Unmarshal(*v, &workspacePropertiesUpdateParameters)
- if err != nil {
- return err
- }
- wup.WorkspacePropertiesUpdateParameters = &workspacePropertiesUpdateParameters
- }
- }
- }
-
- return nil
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/operations.go
deleted file mode 100644
index 2161fbaad23ae..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/operations.go
+++ /dev/null
@@ -1,110 +0,0 @@
-package machinelearningservices
-
-// 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/tracing"
- "net/http"
-)
-
-// OperationsClient is the these APIs allow end users to operate on Azure Machine Learning Workspace resources.
-type OperationsClient struct {
- BaseClient
-}
-
-// NewOperationsClient creates an instance of the OperationsClient client.
-func NewOperationsClient(subscriptionID string) OperationsClient {
- return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
- return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// List lists all of the available Azure Machine Learning Workspaces REST API operations.
-func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/OperationsClient.List")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.ListPreparer(ctx)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.OperationsClient", "List", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.OperationsClient", "List", resp, "Failure sending request")
- return
- }
-
- result, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.OperationsClient", "List", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListPreparer prepares the List request.
-func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) {
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPath("/providers/Microsoft.MachineLearningServices/operations"),
- 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 OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// 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) {
- 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/machinelearningservices/mgmt/2019-11-01/machinelearningservices/quotas.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/quotas.go
deleted file mode 100644
index 78ce2232bbdb2..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/quotas.go
+++ /dev/null
@@ -1,246 +0,0 @@
-package machinelearningservices
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// QuotasClient is the these APIs allow end users to operate on Azure Machine Learning Workspace resources.
-type QuotasClient struct {
- BaseClient
-}
-
-// NewQuotasClient creates an instance of the QuotasClient client.
-func NewQuotasClient(subscriptionID string) QuotasClient {
- return NewQuotasClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewQuotasClientWithBaseURI creates an instance of the QuotasClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewQuotasClientWithBaseURI(baseURI string, subscriptionID string) QuotasClient {
- return QuotasClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// List gets the currently assigned Workspace Quotas based on VMFamily.
-// Parameters:
-// location - the location for which resource usage is queried.
-func (client QuotasClient) List(ctx context.Context, location string) (result ListWorkspaceQuotasPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QuotasClient.List")
- defer func() {
- sc := -1
- if result.lwq.Response.Response != nil {
- sc = result.lwq.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: location,
- Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("machinelearningservices.QuotasClient", "List", err.Error())
- }
-
- result.fn = client.listNextResults
- req, err := client.ListPreparer(ctx, location)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "List", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListSender(req)
- if err != nil {
- result.lwq.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "List", resp, "Failure sending request")
- return
- }
-
- result.lwq, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "List", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListPreparer prepares the List request.
-func (client QuotasClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "location": autorest.Encode("path", location),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/Quotas", 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 QuotasClient) ListSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListResponder handles the response to the List request. The method always
-// closes the http.Response Body.
-func (client QuotasClient) ListResponder(resp *http.Response) (result ListWorkspaceQuotas, 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 QuotasClient) listNextResults(ctx context.Context, lastResults ListWorkspaceQuotas) (result ListWorkspaceQuotas, err error) {
- req, err := lastResults.listWorkspaceQuotasPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "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, "machinelearningservices.QuotasClient", "listNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "listNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListComplete enumerates all values, automatically crossing page boundaries as required.
-func (client QuotasClient) ListComplete(ctx context.Context, location string) (result ListWorkspaceQuotasIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QuotasClient.List")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.List(ctx, location)
- return
-}
-
-// Update update quota for each VM family in workspace.
-// Parameters:
-// location - the location for update quota is queried.
-// parameters - quota update parameters.
-func (client QuotasClient) Update(ctx context.Context, location string, parameters QuotaUpdateParameters) (result UpdateWorkspaceQuotasResult, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QuotasClient.Update")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: location,
- Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("machinelearningservices.QuotasClient", "Update", err.Error())
- }
-
- req, err := client.UpdatePreparer(ctx, location, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "Update", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.UpdateSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "Update", resp, "Failure sending request")
- return
- }
-
- result, err = client.UpdateResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.QuotasClient", "Update", resp, "Failure responding to request")
- }
-
- return
-}
-
-// UpdatePreparer prepares the Update request.
-func (client QuotasClient) UpdatePreparer(ctx context.Context, location string, parameters QuotaUpdateParameters) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "location": autorest.Encode("path", location),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-11-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}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas", pathParameters),
- autorest.WithJSON(parameters),
- 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 QuotasClient) UpdateSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// UpdateResponder handles the response to the Update request. The method always
-// closes the http.Response Body.
-func (client QuotasClient) UpdateResponder(resp *http.Response) (result UpdateWorkspaceQuotasResult, 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/machinelearningservices/mgmt/2019-11-01/machinelearningservices/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/usages.go
deleted file mode 100644
index 1a8258ccd3704..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/usages.go
+++ /dev/null
@@ -1,162 +0,0 @@
-package machinelearningservices
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// UsagesClient is the these APIs allow end users to operate on Azure Machine Learning Workspace resources.
-type UsagesClient struct {
- BaseClient
-}
-
-// NewUsagesClient creates an instance of the UsagesClient client.
-func NewUsagesClient(subscriptionID string) UsagesClient {
- return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
- return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// List gets the current usage information as well as limits for AML resources for given subscription and location.
-// Parameters:
-// location - the location for which resource usage is queried.
-func (client UsagesClient) List(ctx context.Context, location string) (result ListUsagesResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/UsagesClient.List")
- defer func() {
- sc := -1
- if result.lur.Response.Response != nil {
- sc = result.lur.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: location,
- Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("machinelearningservices.UsagesClient", "List", err.Error())
- }
-
- result.fn = client.listNextResults
- req, err := client.ListPreparer(ctx, location)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.UsagesClient", "List", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListSender(req)
- if err != nil {
- result.lur.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.UsagesClient", "List", resp, "Failure sending request")
- return
- }
-
- result.lur, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.UsagesClient", "List", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListPreparer prepares the List request.
-func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "location": autorest.Encode("path", location),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages", 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 UsagesClient) ListSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListResponder handles the response to the List request. The method always
-// closes the http.Response Body.
-func (client UsagesClient) ListResponder(resp *http.Response) (result ListUsagesResult, 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 UsagesClient) listNextResults(ctx context.Context, lastResults ListUsagesResult) (result ListUsagesResult, err error) {
- req, err := lastResults.listUsagesResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "machinelearningservices.UsagesClient", "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, "machinelearningservices.UsagesClient", "listNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.UsagesClient", "listNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListComplete enumerates all values, automatically crossing page boundaries as required.
-func (client UsagesClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/UsagesClient.List")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.List(ctx, location)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/version.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/version.go
deleted file mode 100644
index ac06eadc9b764..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/version.go
+++ /dev/null
@@ -1,30 +0,0 @@
-package machinelearningservices
-
-import "github.com/Azure/azure-sdk-for-go/version"
-
-// 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.
-
-// UserAgent returns the UserAgent string to use when sending http.Requests.
-func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " machinelearningservices/2019-11-01"
-}
-
-// 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/machinelearningservices/mgmt/2019-11-01/machinelearningservices/virtualmachinesizes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/virtualmachinesizes.go
deleted file mode 100644
index d5cdfaa391c1e..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/virtualmachinesizes.go
+++ /dev/null
@@ -1,126 +0,0 @@
-package machinelearningservices
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// VirtualMachineSizesClient is the these APIs allow end users to operate on Azure Machine Learning Workspace
-// resources.
-type VirtualMachineSizesClient struct {
- BaseClient
-}
-
-// NewVirtualMachineSizesClient creates an instance of the VirtualMachineSizesClient client.
-func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient {
- return NewVirtualMachineSizesClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
-func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
- return VirtualMachineSizesClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// List returns supported VM Sizes in a location
-// Parameters:
-// location - the location upon which virtual-machine-sizes is queried.
-func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/VirtualMachineSizesClient.List")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: location,
- Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
- return result, validation.NewError("machinelearningservices.VirtualMachineSizesClient", "List", err.Error())
- }
-
- req, err := client.ListPreparer(ctx, location)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.VirtualMachineSizesClient", "List", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.VirtualMachineSizesClient", "List", resp, "Failure sending request")
- return
- }
-
- result, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.VirtualMachineSizesClient", "List", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListPreparer prepares the List request.
-func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "location": autorest.Encode("path", location),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes", 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 VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListResponder handles the response to the List request. The method always
-// closes the http.Response Body.
-func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, 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/machinelearningservices/mgmt/2019-11-01/machinelearningservices/workspacefeatures.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/workspacefeatures.go
deleted file mode 100644
index 65c70eaea2b09..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/workspacefeatures.go
+++ /dev/null
@@ -1,158 +0,0 @@
-package machinelearningservices
-
-// 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/tracing"
- "net/http"
-)
-
-// WorkspaceFeaturesClient is the these APIs allow end users to operate on Azure Machine Learning Workspace resources.
-type WorkspaceFeaturesClient struct {
- BaseClient
-}
-
-// NewWorkspaceFeaturesClient creates an instance of the WorkspaceFeaturesClient client.
-func NewWorkspaceFeaturesClient(subscriptionID string) WorkspaceFeaturesClient {
- return NewWorkspaceFeaturesClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewWorkspaceFeaturesClientWithBaseURI creates an instance of the WorkspaceFeaturesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
-func NewWorkspaceFeaturesClientWithBaseURI(baseURI string, subscriptionID string) WorkspaceFeaturesClient {
- return WorkspaceFeaturesClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// List lists all enabled features for a workspace
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-func (client WorkspaceFeaturesClient) List(ctx context.Context, resourceGroupName string, workspaceName string) (result ListAmlUserFeatureResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspaceFeaturesClient.List")
- defer func() {
- sc := -1
- if result.laufr.Response.Response != nil {
- sc = result.laufr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.fn = client.listNextResults
- req, err := client.ListPreparer(ctx, resourceGroupName, workspaceName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspaceFeaturesClient", "List", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListSender(req)
- if err != nil {
- result.laufr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspaceFeaturesClient", "List", resp, "Failure sending request")
- return
- }
-
- result.laufr, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspaceFeaturesClient", "List", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListPreparer prepares the List request.
-func (client WorkspaceFeaturesClient) ListPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}/features", 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 WorkspaceFeaturesClient) ListSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListResponder handles the response to the List request. The method always
-// closes the http.Response Body.
-func (client WorkspaceFeaturesClient) ListResponder(resp *http.Response) (result ListAmlUserFeatureResult, 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 WorkspaceFeaturesClient) listNextResults(ctx context.Context, lastResults ListAmlUserFeatureResult) (result ListAmlUserFeatureResult, err error) {
- req, err := lastResults.listAmlUserFeatureResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "machinelearningservices.WorkspaceFeaturesClient", "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, "machinelearningservices.WorkspaceFeaturesClient", "listNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspaceFeaturesClient", "listNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListComplete enumerates all values, automatically crossing page boundaries as required.
-func (client WorkspaceFeaturesClient) ListComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result ListAmlUserFeatureResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspaceFeaturesClient.List")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.List(ctx, resourceGroupName, workspaceName)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/workspaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/workspaces.go
deleted file mode 100644
index 59deddcdfe7af..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices/workspaces.go
+++ /dev/null
@@ -1,742 +0,0 @@
-package machinelearningservices
-
-// 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/tracing"
- "net/http"
-)
-
-// WorkspacesClient is the these APIs allow end users to operate on Azure Machine Learning Workspace resources.
-type WorkspacesClient struct {
- BaseClient
-}
-
-// NewWorkspacesClient creates an instance of the WorkspacesClient client.
-func NewWorkspacesClient(subscriptionID string) WorkspacesClient {
- return NewWorkspacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient {
- return WorkspacesClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// CreateOrUpdate creates or updates a workspace with the specified parameters.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// parameters - the parameters for creating or updating a machine learning workspace.
-func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, parameters Workspace) (result WorkspacesCreateOrUpdateFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.CreateOrUpdate")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, workspaceName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "CreateOrUpdate", nil, "Failure preparing request")
- return
- }
-
- result, err = client.CreateOrUpdateSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "CreateOrUpdate", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// 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{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}", pathParameters),
- autorest.WithJSON(parameters),
- 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 WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// 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) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated, http.StatusAccepted),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// Delete deletes a machine learning workspace.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.Delete")
- defer func() {
- sc := -1
- if result.Response != nil {
- sc = result.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.DeletePreparer(ctx, resourceGroupName, workspaceName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Delete", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.DeleteSender(req)
- if err != nil {
- result.Response = resp
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Delete", resp, "Failure sending request")
- return
- }
-
- result, err = client.DeleteResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Delete", resp, "Failure responding to request")
- }
-
- return
-}
-
-// DeletePreparer prepares the Delete request.
-func (client WorkspacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}", 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 WorkspacesClient) DeleteSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// 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) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent),
- autorest.ByClosing())
- result.Response = resp
- return
-}
-
-// Get gets the properties of the specified machine learning workspace.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.GetPreparer(ctx, resourceGroupName, workspaceName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client WorkspacesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}", 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 WorkspacesClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// 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) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// ListByResourceGroup lists all the available machine learning workspaces under the specified resource group.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// skiptoken - continuation token for pagination.
-func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, skiptoken string) (result WorkspaceListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListByResourceGroup")
- defer func() {
- sc := -1
- if result.wlr.Response.Response != nil {
- sc = result.wlr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.fn = client.listByResourceGroupNextResults
- req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName, skiptoken)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListByResourceGroup", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByResourceGroupSender(req)
- if err != nil {
- result.wlr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListByResourceGroup", resp, "Failure sending request")
- return
- }
-
- result.wlr, err = client.ListByResourceGroupResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListByResourceGroup", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByResourceGroupPreparer prepares the ListByResourceGroup request.
-func (client WorkspacesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skiptoken string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
- if len(skiptoken) > 0 {
- queryParameters["$skiptoken"] = autorest.Encode("query", skiptoken)
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces", 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 WorkspacesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// 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) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByResourceGroupNextResults retrieves the next set of results, if any.
-func (client WorkspacesClient) listByResourceGroupNextResults(ctx context.Context, lastResults WorkspaceListResult) (result WorkspaceListResult, err error) {
- req, err := lastResults.workspaceListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByResourceGroupSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "listByResourceGroupNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByResourceGroupResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
-func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skiptoken string) (result WorkspaceListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListByResourceGroup")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByResourceGroup(ctx, resourceGroupName, skiptoken)
- return
-}
-
-// ListBySubscription lists all the available machine learning workspaces under the specified subscription.
-// Parameters:
-// skiptoken - continuation token for pagination.
-func (client WorkspacesClient) ListBySubscription(ctx context.Context, skiptoken string) (result WorkspaceListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListBySubscription")
- defer func() {
- sc := -1
- if result.wlr.Response.Response != nil {
- sc = result.wlr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.fn = client.listBySubscriptionNextResults
- req, err := client.ListBySubscriptionPreparer(ctx, skiptoken)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListBySubscription", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListBySubscriptionSender(req)
- if err != nil {
- result.wlr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListBySubscription", resp, "Failure sending request")
- return
- }
-
- result.wlr, err = client.ListBySubscriptionResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListBySubscription", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListBySubscriptionPreparer prepares the ListBySubscription request.
-func (client WorkspacesClient) ListBySubscriptionPreparer(ctx context.Context, skiptoken string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-11-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
- if len(skiptoken) > 0 {
- queryParameters["$skiptoken"] = autorest.Encode("query", skiptoken)
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
-// http.Response Body if it receives an error.
-func (client WorkspacesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
-// closes the http.Response Body.
-func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listBySubscriptionNextResults retrieves the next set of results, if any.
-func (client WorkspacesClient) listBySubscriptionNextResults(ctx context.Context, lastResults WorkspaceListResult) (result WorkspaceListResult, err error) {
- req, err := lastResults.workspaceListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "listBySubscriptionNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListBySubscriptionSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "listBySubscriptionNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListBySubscriptionResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "listBySubscriptionNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
-func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context, skiptoken string) (result WorkspaceListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListBySubscription")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListBySubscription(ctx, skiptoken)
- return
-}
-
-// ListKeys lists all the keys associated with this workspace. This includes keys for the storage account, app insights
-// and password for container registry
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-func (client WorkspacesClient) ListKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result ListWorkspaceKeysResult, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ListKeys")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.ListKeysPreparer(ctx, resourceGroupName, workspaceName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListKeys", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListKeysSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListKeys", resp, "Failure sending request")
- return
- }
-
- result, err = client.ListKeysResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ListKeys", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListKeysPreparer prepares the ListKeys request.
-func (client WorkspacesClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}/listKeys", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListKeysSender sends the ListKeys request. The method will close the
-// http.Response Body if it receives an error.
-func (client WorkspacesClient) ListKeysSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListKeysResponder handles the response to the ListKeys request. The method always
-// closes the http.Response Body.
-func (client WorkspacesClient) ListKeysResponder(resp *http.Response) (result ListWorkspaceKeysResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// ResyncKeys resync all the keys associated with this workspace. This includes keys for the storage account, app
-// insights and password for container registry
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-func (client WorkspacesClient) ResyncKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.ResyncKeys")
- defer func() {
- sc := -1
- if result.Response != nil {
- sc = result.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.ResyncKeysPreparer(ctx, resourceGroupName, workspaceName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ResyncKeys", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ResyncKeysSender(req)
- if err != nil {
- result.Response = resp
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ResyncKeys", resp, "Failure sending request")
- return
- }
-
- result, err = client.ResyncKeysResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "ResyncKeys", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ResyncKeysPreparer prepares the ResyncKeys request.
-func (client WorkspacesClient) ResyncKeysPreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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.MachineLearningServices/workspaces/{workspaceName}/resyncKeys", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ResyncKeysSender sends the ResyncKeys request. The method will close the
-// http.Response Body if it receives an error.
-func (client WorkspacesClient) ResyncKeysSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ResyncKeysResponder handles the response to the ResyncKeys request. The method always
-// closes the http.Response Body.
-func (client WorkspacesClient) ResyncKeysResponder(resp *http.Response) (result autorest.Response, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByClosing())
- result.Response = resp
- return
-}
-
-// Update updates a machine learning workspace with the specified parameters.
-// Parameters:
-// resourceGroupName - name of the resource group in which workspace is located.
-// workspaceName - name of Azure Machine Learning workspace.
-// parameters - the parameters for updating a machine learning workspace.
-func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, parameters WorkspaceUpdateParameters) (result Workspace, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WorkspacesClient.Update")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.UpdatePreparer(ctx, resourceGroupName, workspaceName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Update", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.UpdateSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Update", resp, "Failure sending request")
- return
- }
-
- result, err = client.UpdateResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "machinelearningservices.WorkspacesClient", "Update", resp, "Failure responding to request")
- }
-
- return
-}
-
-// UpdatePreparer prepares the Update request.
-func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, parameters WorkspaceUpdateParameters) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2019-11-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}", pathParameters),
- autorest.WithJSON(parameters),
- 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 WorkspacesClient) UpdateSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// 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) {
- 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/maps/mgmt/2018-05-01/maps/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps/accounts.go
index c46c076eeadc1..cef985677e7a6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps/accounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps/accounts.go
@@ -36,8 +36,7 @@ func NewAccountsClient(subscriptionID string) AccountsClient {
return NewAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return AccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps/client.go
index 74455ea6cd361..55340f47fe2ed 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/advisors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/advisors.go
deleted file mode 100644
index a95897c45a3d3..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/advisors.go
+++ /dev/null
@@ -1,257 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// AdvisorsClient is the mariaDB Client
-type AdvisorsClient struct {
- BaseClient
-}
-
-// NewAdvisorsClient creates an instance of the AdvisorsClient client.
-func NewAdvisorsClient(subscriptionID string) AdvisorsClient {
- return NewAdvisorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewAdvisorsClientWithBaseURI creates an instance of the AdvisorsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) AdvisorsClient {
- return AdvisorsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get get a recommendation action advisor.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// advisorName - the advisor name for recommendation action.
-func (client AdvisorsClient) Get(ctx context.Context, resourceGroupName string, serverName string, advisorName string) (result Advisor, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/AdvisorsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.AdvisorsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, serverName, advisorName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client AdvisorsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "advisorName": autorest.Encode("path", advisorName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/advisors/{advisorName}", 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 AdvisorsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client AdvisorsClient) GetResponder(resp *http.Response) (result Advisor, 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 list recommendation action advisors.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-func (client AdvisorsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result AdvisorsResultListPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/AdvisorsClient.ListByServer")
- defer func() {
- sc := -1
- if result.arl.Response.Response != nil {
- sc = result.arl.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.AdvisorsClient", "ListByServer", err.Error())
- }
-
- result.fn = client.listByServerNextResults
- req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "ListByServer", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.arl.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "ListByServer", resp, "Failure sending request")
- return
- }
-
- result.arl, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "ListByServer", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByServerPreparer prepares the ListByServer request.
-func (client AdvisorsClient) 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 = "2018-06-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.DBforMariaDB/servers/{serverName}/advisors", 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 AdvisorsClient) ListByServerSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByServerResponder handles the response to the ListByServer request. The method always
-// closes the http.Response Body.
-func (client AdvisorsClient) ListByServerResponder(resp *http.Response) (result AdvisorsResultList, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByServerNextResults retrieves the next set of results, if any.
-func (client AdvisorsClient) listByServerNextResults(ctx context.Context, lastResults AdvisorsResultList) (result AdvisorsResultList, err error) {
- req, err := lastResults.advisorsResultListPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "listByServerNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "listByServerNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.AdvisorsClient", "listByServerNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
-func (client AdvisorsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result AdvisorsResultListIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/AdvisorsClient.ListByServer")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByServer(ctx, resourceGroupName, serverName)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/checknameavailability.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/checknameavailability.go
index 9d3e278527e73..d77bef57a380b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/checknameavailability.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/checknameavailability.go
@@ -36,9 +36,7 @@ func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailability
return NewCheckNameAvailabilityClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCheckNameAvailabilityClientWithBaseURI creates an instance of the CheckNameAvailabilityClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewCheckNameAvailabilityClientWithBaseURI creates an instance of the CheckNameAvailabilityClient client.
func NewCheckNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckNameAvailabilityClient {
return CheckNameAvailabilityClient{NewWithBaseURI(baseURI, subscriptionID)}
}
@@ -58,8 +56,6 @@ func (client CheckNameAvailabilityClient) Execute(ctx context.Context, nameAvail
}()
}
if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
{TargetValue: nameAvailabilityRequest,
Constraints: []validation.Constraint{{Target: "nameAvailabilityRequest.Name", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
return result, validation.NewError("mariadb.CheckNameAvailabilityClient", "Execute", err.Error())
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/client.go
index 525cfff0fa4c8..f478c10e58353 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/client.go
@@ -21,12 +21,7 @@ package mariadb
// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
)
const (
@@ -46,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
@@ -55,93 +49,3 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
SubscriptionID: subscriptionID,
}
}
-
-// CreateRecommendedActionSession create recommendation action session for the advisor.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// advisorName - the advisor name for recommendation action.
-// databaseName - the name of the database.
-func (client BaseClient) CreateRecommendedActionSession(ctx context.Context, resourceGroupName string, serverName string, advisorName string, databaseName string) (result CreateRecommendedActionSessionFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.CreateRecommendedActionSession")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.BaseClient", "CreateRecommendedActionSession", err.Error())
- }
-
- req, err := client.CreateRecommendedActionSessionPreparer(ctx, resourceGroupName, serverName, advisorName, databaseName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.BaseClient", "CreateRecommendedActionSession", nil, "Failure preparing request")
- return
- }
-
- result, err = client.CreateRecommendedActionSessionSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.BaseClient", "CreateRecommendedActionSession", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// CreateRecommendedActionSessionPreparer prepares the CreateRecommendedActionSession request.
-func (client BaseClient) CreateRecommendedActionSessionPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, databaseName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "advisorName": autorest.Encode("path", advisorName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- "databaseName": autorest.Encode("query", databaseName),
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsPost(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/advisors/{advisorName}/createRecommendedActionSession", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// CreateRecommendedActionSessionSender sends the CreateRecommendedActionSession request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) CreateRecommendedActionSessionSender(req *http.Request) (future CreateRecommendedActionSessionFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// CreateRecommendedActionSessionResponder handles the response to the CreateRecommendedActionSession request. The method always
-// closes the http.Response Body.
-func (client BaseClient) CreateRecommendedActionSessionResponder(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
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/configurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/configurations.go
index c4b66402a060b..c35ccad8c0c34 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/configurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/configurations.go
@@ -21,7 +21,6 @@ import (
"context"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
- "github.com/Azure/go-autorest/autorest/validation"
"github.com/Azure/go-autorest/tracing"
"net/http"
)
@@ -36,15 +35,15 @@ func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
return NewConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client.
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
return ConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate updates a configuration of a server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// configurationName - the name of the server configuration.
// parameters - the required parameters for updating a server configuration.
@@ -59,16 +58,6 @@ func (client ConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceG
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ConfigurationsClient", "CreateOrUpdate", err.Error())
- }
-
req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, serverName, configurationName, parameters)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ConfigurationsClient", "CreateOrUpdate", nil, "Failure preparing request")
@@ -136,7 +125,8 @@ func (client ConfigurationsClient) CreateOrUpdateResponder(resp *http.Response)
// Get gets information about a configuration of server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// configurationName - the name of the server configuration.
func (client ConfigurationsClient) Get(ctx context.Context, resourceGroupName string, serverName string, configurationName string) (result Configuration, err error) {
@@ -150,16 +140,6 @@ func (client ConfigurationsClient) Get(ctx context.Context, resourceGroupName st
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ConfigurationsClient", "Get", err.Error())
- }
-
req, err := client.GetPreparer(ctx, resourceGroupName, serverName, configurationName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ConfigurationsClient", "Get", nil, "Failure preparing request")
@@ -225,7 +205,8 @@ func (client ConfigurationsClient) GetResponder(resp *http.Response) (result Con
// ListByServer list all the configurations in a given server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client ConfigurationsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ConfigurationListResult, err error) {
if tracing.IsEnabled() {
@@ -238,16 +219,6 @@ func (client ConfigurationsClient) ListByServer(ctx context.Context, resourceGro
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ConfigurationsClient", "ListByServer", err.Error())
- }
-
req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ConfigurationsClient", "ListByServer", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/databases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/databases.go
index d4e4f16820e5f..0d5e4a6d8addd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/databases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/databases.go
@@ -21,7 +21,6 @@ import (
"context"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
- "github.com/Azure/go-autorest/autorest/validation"
"github.com/Azure/go-autorest/tracing"
"net/http"
)
@@ -36,15 +35,15 @@ func NewDatabasesClient(subscriptionID string) DatabasesClient {
return NewDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client.
func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
return DatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates a new database or updates an existing database.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// databaseName - the name of the database.
// parameters - the required parameters for creating or updating a database.
@@ -59,16 +58,6 @@ func (client DatabasesClient) CreateOrUpdate(ctx context.Context, resourceGroupN
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.DatabasesClient", "CreateOrUpdate", err.Error())
- }
-
req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, serverName, databaseName, parameters)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.DatabasesClient", "CreateOrUpdate", nil, "Failure preparing request")
@@ -136,7 +125,8 @@ func (client DatabasesClient) CreateOrUpdateResponder(resp *http.Response) (resu
// Delete deletes a database.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// databaseName - the name of the database.
func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result DatabasesDeleteFuture, err error) {
@@ -150,16 +140,6 @@ func (client DatabasesClient) Delete(ctx context.Context, resourceGroupName stri
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.DatabasesClient", "Delete", err.Error())
- }
-
req, err := client.DeletePreparer(ctx, resourceGroupName, serverName, databaseName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.DatabasesClient", "Delete", nil, "Failure preparing request")
@@ -224,7 +204,8 @@ func (client DatabasesClient) DeleteResponder(resp *http.Response) (result autor
// Get gets information about a database.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// databaseName - the name of the database.
func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string, serverName string, databaseName string) (result Database, err error) {
@@ -238,16 +219,6 @@ func (client DatabasesClient) Get(ctx context.Context, resourceGroupName string,
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.DatabasesClient", "Get", err.Error())
- }
-
req, err := client.GetPreparer(ctx, resourceGroupName, serverName, databaseName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.DatabasesClient", "Get", nil, "Failure preparing request")
@@ -313,7 +284,8 @@ func (client DatabasesClient) GetResponder(resp *http.Response) (result Database
// ListByServer list all the databases in a given server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client DatabasesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result DatabaseListResult, err error) {
if tracing.IsEnabled() {
@@ -326,16 +298,6 @@ func (client DatabasesClient) ListByServer(ctx context.Context, resourceGroupNam
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.DatabasesClient", "ListByServer", err.Error())
- }
-
req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.DatabasesClient", "ListByServer", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/firewallrules.go
index 4ef360fd5547d..1c91048d17c69 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/firewallrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/firewallrules.go
@@ -36,15 +36,15 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates a new firewall rule or updates an existing firewall rule.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// firewallRuleName - the name of the server firewall rule.
// parameters - the required parameters for creating or updating a firewall rule.
@@ -60,12 +60,6 @@ func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGr
}()
}
if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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: parameters,
Constraints: []validation.Constraint{{Target: "parameters.FirewallRuleProperties", Name: validation.Null, Rule: true,
Chain: []validation.Constraint{{Target: "parameters.FirewallRuleProperties.StartIPAddress", Name: validation.Null, Rule: true,
@@ -143,7 +137,8 @@ func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (
// Delete deletes a server firewall rule.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// firewallRuleName - the name of the server firewall rule.
func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRulesDeleteFuture, err error) {
@@ -157,16 +152,6 @@ func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.FirewallRulesClient", "Delete", err.Error())
- }
-
req, err := client.DeletePreparer(ctx, resourceGroupName, serverName, firewallRuleName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.FirewallRulesClient", "Delete", nil, "Failure preparing request")
@@ -231,7 +216,8 @@ func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result a
// Get gets information about a server firewall rule.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// firewallRuleName - the name of the server firewall rule.
func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRule, err error) {
@@ -245,16 +231,6 @@ func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName str
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.FirewallRulesClient", "Get", err.Error())
- }
-
req, err := client.GetPreparer(ctx, resourceGroupName, serverName, firewallRuleName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.FirewallRulesClient", "Get", nil, "Failure preparing request")
@@ -320,7 +296,8 @@ func (client FirewallRulesClient) GetResponder(resp *http.Response) (result Fire
// ListByServer list all the firewall rules in a given server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result FirewallRuleListResult, err error) {
if tracing.IsEnabled() {
@@ -333,16 +310,6 @@ func (client FirewallRulesClient) ListByServer(ctx context.Context, resourceGrou
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.FirewallRulesClient", "ListByServer", err.Error())
- }
-
req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.FirewallRulesClient", "ListByServer", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedperformancetier.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedperformancetier.go
index 03e627a8d81ee..040cf81b88cad 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedperformancetier.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedperformancetier.go
@@ -21,7 +21,6 @@ import (
"context"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
- "github.com/Azure/go-autorest/autorest/validation"
"github.com/Azure/go-autorest/tracing"
"net/http"
)
@@ -37,8 +36,7 @@ func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedP
}
// NewLocationBasedPerformanceTierClientWithBaseURI creates an instance of the LocationBasedPerformanceTierClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewLocationBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedPerformanceTierClient {
return LocationBasedPerformanceTierClient{NewWithBaseURI(baseURI, subscriptionID)}
}
@@ -57,12 +55,6 @@ func (client LocationBasedPerformanceTierClient) List(ctx context.Context, locat
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.LocationBasedPerformanceTierClient", "List", err.Error())
- }
-
req, err := client.ListPreparer(ctx, locationName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.LocationBasedPerformanceTierClient", "List", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedrecommendedactionsessionsoperationstatus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedrecommendedactionsessionsoperationstatus.go
deleted file mode 100644
index 78dcb8f6f6039..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedrecommendedactionsessionsoperationstatus.go
+++ /dev/null
@@ -1,128 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// LocationBasedRecommendedActionSessionsOperationStatusClient is the mariaDB Client
-type LocationBasedRecommendedActionSessionsOperationStatusClient struct {
- BaseClient
-}
-
-// NewLocationBasedRecommendedActionSessionsOperationStatusClient creates an instance of the
-// LocationBasedRecommendedActionSessionsOperationStatusClient client.
-func NewLocationBasedRecommendedActionSessionsOperationStatusClient(subscriptionID string) LocationBasedRecommendedActionSessionsOperationStatusClient {
- return NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI creates an instance of the
-// LocationBasedRecommendedActionSessionsOperationStatusClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewLocationBasedRecommendedActionSessionsOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedRecommendedActionSessionsOperationStatusClient {
- return LocationBasedRecommendedActionSessionsOperationStatusClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get recommendation action session operation status.
-// Parameters:
-// locationName - the name of the location.
-// operationID - the operation identifier.
-func (client LocationBasedRecommendedActionSessionsOperationStatusClient) Get(ctx context.Context, locationName string, operationID string) (result RecommendedActionSessionsOperationStatus, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/LocationBasedRecommendedActionSessionsOperationStatusClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.LocationBasedRecommendedActionSessionsOperationStatusClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, locationName, operationID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsOperationStatusClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsOperationStatusClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsOperationStatusClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "locationName": autorest.Encode("path", locationName),
- "operationId": autorest.Encode("path", operationID),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.DBforMariaDB/locations/{locationName}/recommendedActionSessionsAzureAsyncOperation/{operationId}", 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 LocationBasedRecommendedActionSessionsOperationStatusClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client LocationBasedRecommendedActionSessionsOperationStatusClient) GetResponder(resp *http.Response) (result RecommendedActionSessionsOperationStatus, 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/mariadb/mgmt/2018-06-01/mariadb/locationbasedrecommendedactionsessionsresult.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedrecommendedactionsessionsresult.go
deleted file mode 100644
index bc085b425d666..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/locationbasedrecommendedactionsessionsresult.go
+++ /dev/null
@@ -1,166 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// LocationBasedRecommendedActionSessionsResultClient is the mariaDB Client
-type LocationBasedRecommendedActionSessionsResultClient struct {
- BaseClient
-}
-
-// NewLocationBasedRecommendedActionSessionsResultClient creates an instance of the
-// LocationBasedRecommendedActionSessionsResultClient client.
-func NewLocationBasedRecommendedActionSessionsResultClient(subscriptionID string) LocationBasedRecommendedActionSessionsResultClient {
- return NewLocationBasedRecommendedActionSessionsResultClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewLocationBasedRecommendedActionSessionsResultClientWithBaseURI creates an instance of the
-// LocationBasedRecommendedActionSessionsResultClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewLocationBasedRecommendedActionSessionsResultClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedRecommendedActionSessionsResultClient {
- return LocationBasedRecommendedActionSessionsResultClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// List recommendation action session operation result.
-// Parameters:
-// locationName - the name of the location.
-// operationID - the operation identifier.
-func (client LocationBasedRecommendedActionSessionsResultClient) List(ctx context.Context, locationName string, operationID string) (result RecommendationActionsResultListPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/LocationBasedRecommendedActionSessionsResultClient.List")
- defer func() {
- sc := -1
- if result.rarl.Response.Response != nil {
- sc = result.rarl.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.LocationBasedRecommendedActionSessionsResultClient", "List", err.Error())
- }
-
- result.fn = client.listNextResults
- req, err := client.ListPreparer(ctx, locationName, operationID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsResultClient", "List", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListSender(req)
- if err != nil {
- result.rarl.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsResultClient", "List", resp, "Failure sending request")
- return
- }
-
- result.rarl, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsResultClient", "List", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListPreparer prepares the List request.
-func (client LocationBasedRecommendedActionSessionsResultClient) ListPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "locationName": autorest.Encode("path", locationName),
- "operationId": autorest.Encode("path", operationID),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.DBforMariaDB/locations/{locationName}/recommendedActionSessionsOperationResults/{operationId}", 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 LocationBasedRecommendedActionSessionsResultClient) ListSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListResponder handles the response to the List request. The method always
-// closes the http.Response Body.
-func (client LocationBasedRecommendedActionSessionsResultClient) ListResponder(resp *http.Response) (result RecommendationActionsResultList, 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
-}
-
-// listNextResults retrieves the next set of results, if any.
-func (client LocationBasedRecommendedActionSessionsResultClient) listNextResults(ctx context.Context, lastResults RecommendationActionsResultList) (result RecommendationActionsResultList, err error) {
- req, err := lastResults.recommendationActionsResultListPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsResultClient", "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, "mariadb.LocationBasedRecommendedActionSessionsResultClient", "listNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.LocationBasedRecommendedActionSessionsResultClient", "listNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListComplete enumerates all values, automatically crossing page boundaries as required.
-func (client LocationBasedRecommendedActionSessionsResultClient) ListComplete(ctx context.Context, locationName string, operationID string) (result RecommendationActionsResultListIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/LocationBasedRecommendedActionSessionsResultClient.List")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.List(ctx, locationName, operationID)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/logfiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/logfiles.go
index 119d70bd363bf..447fad31ef37f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/logfiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/logfiles.go
@@ -21,7 +21,6 @@ import (
"context"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
- "github.com/Azure/go-autorest/autorest/validation"
"github.com/Azure/go-autorest/tracing"
"net/http"
)
@@ -36,15 +35,15 @@ func NewLogFilesClient(subscriptionID string) LogFilesClient {
return NewLogFilesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLogFilesClientWithBaseURI creates an instance of the LogFilesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLogFilesClientWithBaseURI creates an instance of the LogFilesClient client.
func NewLogFilesClientWithBaseURI(baseURI string, subscriptionID string) LogFilesClient {
return LogFilesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// ListByServer list all the log files in a given server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client LogFilesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result LogFileListResult, err error) {
if tracing.IsEnabled() {
@@ -57,16 +56,6 @@ func (client LogFilesClient) ListByServer(ctx context.Context, resourceGroupName
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.LogFilesClient", "ListByServer", err.Error())
- }
-
req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.LogFilesClient", "ListByServer", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/models.go
index d059d0fa3a9cc..24274d04bac3e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/models.go
@@ -199,180 +199,21 @@ func PossibleVirtualNetworkRuleStateValues() []VirtualNetworkRuleState {
return []VirtualNetworkRuleState{Deleting, Initializing, InProgress, Ready, Unknown}
}
-// Advisor represents a recommendation action advisor.
-type Advisor struct {
- autorest.Response `json:"-"`
- // Properties - The properties of a recommendation action advisor.
- Properties interface{} `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// AdvisorsResultList a list of query statistics.
-type AdvisorsResultList struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of recommendation action advisors.
- Value *[]Advisor `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// AdvisorsResultListIterator provides access to a complete listing of Advisor values.
-type AdvisorsResultListIterator struct {
- i int
- page AdvisorsResultListPage
-}
-
-// NextWithContext 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 *AdvisorsResultListIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/AdvisorsResultListIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *AdvisorsResultListIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter AdvisorsResultListIterator) 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 AdvisorsResultListIterator) Response() AdvisorsResultList {
- 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 AdvisorsResultListIterator) Value() Advisor {
- if !iter.page.NotDone() {
- return Advisor{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the AdvisorsResultListIterator type.
-func NewAdvisorsResultListIterator(page AdvisorsResultListPage) AdvisorsResultListIterator {
- return AdvisorsResultListIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (arl AdvisorsResultList) IsEmpty() bool {
- return arl.Value == nil || len(*arl.Value) == 0
-}
-
-// advisorsResultListPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (arl AdvisorsResultList) advisorsResultListPreparer(ctx context.Context) (*http.Request, error) {
- if arl.NextLink == nil || len(to.String(arl.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(arl.NextLink)))
-}
-
-// AdvisorsResultListPage contains a page of Advisor values.
-type AdvisorsResultListPage struct {
- fn func(context.Context, AdvisorsResultList) (AdvisorsResultList, error)
- arl AdvisorsResultList
-}
-
-// NextWithContext 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 *AdvisorsResultListPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/AdvisorsResultListPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.arl)
- if err != nil {
- return err
- }
- page.arl = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *AdvisorsResultListPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page AdvisorsResultListPage) NotDone() bool {
- return !page.arl.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page AdvisorsResultListPage) Response() AdvisorsResultList {
- return page.arl
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page AdvisorsResultListPage) Values() []Advisor {
- if page.arl.IsEmpty() {
- return nil
- }
- return *page.arl.Value
-}
-
-// Creates a new instance of the AdvisorsResultListPage type.
-func NewAdvisorsResultListPage(getNextPage func(context.Context, AdvisorsResultList) (AdvisorsResultList, error)) AdvisorsResultListPage {
- return AdvisorsResultListPage{fn: getNextPage}
-}
-
-// AzureEntityResource the resource model definition for a Azure Resource Manager resource with an etag.
-type AzureEntityResource struct {
- // Etag - READ-ONLY; Resource Etag.
- Etag *string `json:"etag,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
// CloudError an error response from the Batch service.
type CloudError struct {
- Error *ErrorResponse `json:"error,omitempty"`
+ Error *CloudErrorBody `json:"error,omitempty"`
+}
+
+// CloudErrorBody an error response from the Batch service.
+type CloudErrorBody struct {
+ // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
+ Code *string `json:"code,omitempty"`
+ // Message - A message describing the error, intended to be suitable for display in a user interface.
+ Message *string `json:"message,omitempty"`
+ // Target - The target of the particular error. For example, the name of the property in error.
+ Target *string `json:"target,omitempty"`
+ // Details - A list of additional details about the error.
+ Details *[]CloudErrorBody `json:"details,omitempty"`
}
// Configuration represents a Configuration.
@@ -380,11 +221,11 @@ type Configuration struct {
autorest.Response `json:"-"`
// ConfigurationProperties - The properties of a configuration.
*ConfigurationProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
@@ -500,39 +341,16 @@ func (future *ConfigurationsCreateOrUpdateFuture) Result(client ConfigurationsCl
return
}
-// CreateRecommendedActionSessionFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type CreateRecommendedActionSessionFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *CreateRecommendedActionSessionFuture) Result(client BaseClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.CreateRecommendedActionSessionFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("mariadb.CreateRecommendedActionSessionFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
// Database represents a Database.
type Database struct {
autorest.Response `json:"-"`
// DatabaseProperties - The properties of a database.
*DatabaseProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
@@ -663,38 +481,16 @@ func (future *DatabasesDeleteFuture) Result(client DatabasesClient) (ar autorest
return
}
-// ErrorAdditionalInfo the resource management error additional info.
-type ErrorAdditionalInfo struct {
- // Type - READ-ONLY; The additional info type.
- Type *string `json:"type,omitempty"`
- // Info - READ-ONLY; The additional info.
- Info interface{} `json:"info,omitempty"`
-}
-
-// ErrorResponse the resource management error response.
-type ErrorResponse struct {
- // Code - READ-ONLY; The error code.
- Code *string `json:"code,omitempty"`
- // Message - READ-ONLY; The error message.
- Message *string `json:"message,omitempty"`
- // Target - READ-ONLY; The error target.
- Target *string `json:"target,omitempty"`
- // Details - READ-ONLY; The error details.
- Details *[]ErrorResponse `json:"details,omitempty"`
- // AdditionalInfo - READ-ONLY; The error additional info.
- AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
-}
-
// FirewallRule represents a server firewall rule.
type FirewallRule struct {
autorest.Response `json:"-"`
// FirewallRuleProperties - The properties of a firewall rule.
*FirewallRuleProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
@@ -829,11 +625,11 @@ func (future *FirewallRulesDeleteFuture) Result(client FirewallRulesClient) (ar
type LogFile struct {
// LogFileProperties - The properties of the log file.
*LogFileProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
@@ -1009,30 +805,73 @@ type PerformanceTierServiceLevelObjectives struct {
MinStorageMB *int32 `json:"minStorageMB,omitempty"`
}
-// PrivateEndpointConnection a private endpoint connection
-type PrivateEndpointConnection struct {
+// ProxyResource resource properties.
+type ProxyResource struct {
+ // ID - READ-ONLY; Resource ID
+ ID *string `json:"id,omitempty"`
+ // Name - READ-ONLY; Resource name.
+ Name *string `json:"name,omitempty"`
+ // Type - READ-ONLY; Resource type.
+ Type *string `json:"type,omitempty"`
+}
+
+// SecurityAlertPolicyProperties properties of a security alert policy.
+type SecurityAlertPolicyProperties struct {
+ // State - Specifies the state of the policy, whether it is enabled or disabled. Possible values include: 'ServerSecurityAlertPolicyStateEnabled', 'ServerSecurityAlertPolicyStateDisabled'
+ State ServerSecurityAlertPolicyState `json:"state,omitempty"`
+ // DisabledAlerts - Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly
+ DisabledAlerts *[]string `json:"disabledAlerts,omitempty"`
+ // EmailAddresses - Specifies an array of e-mail addresses to which the alert is sent.
+ EmailAddresses *[]string `json:"emailAddresses,omitempty"`
+ // EmailAccountAdmins - Specifies that the alert is sent to the account administrators.
+ EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`
+ // StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
+ StorageEndpoint *string `json:"storageEndpoint,omitempty"`
+ // StorageAccountAccessKey - Specifies the identifier key of the Threat Detection audit storage account.
+ StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"`
+ // RetentionDays - Specifies the number of days to keep in the Threat Detection audit logs.
+ RetentionDays *int32 `json:"retentionDays,omitempty"`
+}
+
+// Server represents a server.
+type Server struct {
autorest.Response `json:"-"`
- // PrivateEndpointConnectionProperties - Resource properties.
- *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // Sku - The SKU (pricing tier) of the server.
+ Sku *Sku `json:"sku,omitempty"`
+ // ServerProperties - Properties of the server.
+ *ServerProperties `json:"properties,omitempty"`
+ // Location - The location the resource resides in.
+ Location *string `json:"location,omitempty"`
+ // Tags - Application-specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags"`
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
-// MarshalJSON is the custom marshaler for PrivateEndpointConnection.
-func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error) {
+// MarshalJSON is the custom marshaler for Server.
+func (s Server) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if pec.PrivateEndpointConnectionProperties != nil {
- objectMap["properties"] = pec.PrivateEndpointConnectionProperties
+ if s.Sku != nil {
+ objectMap["sku"] = s.Sku
+ }
+ if s.ServerProperties != nil {
+ objectMap["properties"] = s.ServerProperties
+ }
+ if s.Location != nil {
+ objectMap["location"] = s.Location
+ }
+ if s.Tags != nil {
+ objectMap["tags"] = s.Tags
}
return json.Marshal(objectMap)
}
-// UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
-func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error {
+// UnmarshalJSON is the custom unmarshaler for Server struct.
+func (s *Server) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
@@ -1040,14 +879,41 @@ func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error {
}
for k, v := range m {
switch k {
+ case "sku":
+ if v != nil {
+ var sku Sku
+ err = json.Unmarshal(*v, &sku)
+ if err != nil {
+ return err
+ }
+ s.Sku = &sku
+ }
case "properties":
if v != nil {
- var privateEndpointConnectionProperties PrivateEndpointConnectionProperties
- err = json.Unmarshal(*v, &privateEndpointConnectionProperties)
+ var serverProperties ServerProperties
+ err = json.Unmarshal(*v, &serverProperties)
+ if err != nil {
+ return err
+ }
+ s.ServerProperties = &serverProperties
+ }
+ case "location":
+ if v != nil {
+ var location string
+ err = json.Unmarshal(*v, &location)
+ if err != nil {
+ return err
+ }
+ s.Location = &location
+ }
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
if err != nil {
return err
}
- pec.PrivateEndpointConnectionProperties = &privateEndpointConnectionProperties
+ s.Tags = tags
}
case "id":
if v != nil {
@@ -1056,7 +922,7 @@ func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pec.ID = &ID
+ s.ID = &ID
}
case "name":
if v != nil {
@@ -1065,7 +931,7 @@ func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pec.Name = &name
+ s.Name = &name
}
case "type":
if v != nil {
@@ -1074,7 +940,7 @@ func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error {
if err != nil {
return err
}
- pec.Type = &typeVar
+ s.Type = &typeVar
}
}
}
@@ -1082,1197 +948,16 @@ func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error {
return nil
}
-// PrivateEndpointConnectionListResult a list of private endpoint connections.
-type PrivateEndpointConnectionListResult struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; Array of results.
- Value *[]PrivateEndpointConnection `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// PrivateEndpointConnectionListResultIterator provides access to a complete listing of
-// PrivateEndpointConnection values.
-type PrivateEndpointConnectionListResultIterator struct {
- i int
- page PrivateEndpointConnectionListResultPage
-}
-
-// NextWithContext 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 *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *PrivateEndpointConnectionListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter PrivateEndpointConnectionListResultIterator) 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 PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult {
- 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 PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection {
- if !iter.page.NotDone() {
- return PrivateEndpointConnection{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the PrivateEndpointConnectionListResultIterator type.
-func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator {
- return PrivateEndpointConnectionListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool {
- return peclr.Value == nil || len(*peclr.Value) == 0
-}
-
-// privateEndpointConnectionListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (peclr PrivateEndpointConnectionListResult) privateEndpointConnectionListResultPreparer(ctx context.Context) (*http.Request, error) {
- if peclr.NextLink == nil || len(to.String(peclr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(peclr.NextLink)))
-}
-
-// PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.
-type PrivateEndpointConnectionListResultPage struct {
- fn func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)
- peclr PrivateEndpointConnectionListResult
-}
-
-// NextWithContext 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 *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.peclr)
- if err != nil {
- return err
- }
- page.peclr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *PrivateEndpointConnectionListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page PrivateEndpointConnectionListResultPage) NotDone() bool {
- return !page.peclr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult {
- return page.peclr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection {
- if page.peclr.IsEmpty() {
- return nil
- }
- return *page.peclr.Value
-}
-
-// Creates a new instance of the PrivateEndpointConnectionListResultPage type.
-func NewPrivateEndpointConnectionListResultPage(getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage {
- return PrivateEndpointConnectionListResultPage{fn: getNextPage}
-}
-
-// PrivateEndpointConnectionProperties properties of a private endpoint connection.
-type PrivateEndpointConnectionProperties struct {
- // PrivateEndpoint - Private endpoint which the connection belongs to.
- PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"`
- // PrivateLinkServiceConnectionState - Connection state of the private endpoint connection.
- PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"`
- // ProvisioningState - READ-ONLY; State of the private endpoint connection.
- ProvisioningState *string `json:"provisioningState,omitempty"`
-}
-
-// PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
-type PrivateEndpointConnectionsCreateOrUpdateFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) Result(client PrivateEndpointConnectionsClient) (pec PrivateEndpointConnection, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("mariadb.PrivateEndpointConnectionsCreateOrUpdateFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if pec.Response.Response, err = future.GetResult(sender); err == nil && pec.Response.Response.StatusCode != http.StatusNoContent {
- pec, err = client.CreateOrUpdateResponder(pec.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsCreateOrUpdateFuture", "Result", pec.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type PrivateEndpointConnectionsDeleteFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PrivateEndpointConnectionsDeleteFuture) Result(client PrivateEndpointConnectionsClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsDeleteFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("mariadb.PrivateEndpointConnectionsDeleteFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
-// PrivateEndpointConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type PrivateEndpointConnectionsUpdateTagsFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PrivateEndpointConnectionsUpdateTagsFuture) Result(client PrivateEndpointConnectionsClient) (pec PrivateEndpointConnection, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsUpdateTagsFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("mariadb.PrivateEndpointConnectionsUpdateTagsFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if pec.Response.Response, err = future.GetResult(sender); err == nil && pec.Response.Response.StatusCode != http.StatusNoContent {
- pec, err = client.UpdateTagsResponder(pec.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsUpdateTagsFuture", "Result", pec.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// PrivateEndpointProperty ...
-type PrivateEndpointProperty struct {
- // ID - Resource id of the private endpoint.
- ID *string `json:"id,omitempty"`
-}
-
-// PrivateLinkResource a private link resource
-type PrivateLinkResource struct {
- autorest.Response `json:"-"`
- // Properties - READ-ONLY; The private link resource group id.
- Properties *PrivateLinkResourceProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// PrivateLinkResourceListResult a list of private link resources
-type PrivateLinkResourceListResult struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; Array of results.
- Value *[]PrivateLinkResource `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource
-// values.
-type PrivateLinkResourceListResultIterator struct {
- i int
- page PrivateLinkResourceListResultPage
-}
-
-// NextWithContext 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 *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourceListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *PrivateLinkResourceListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter PrivateLinkResourceListResultIterator) 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 PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult {
- 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 PrivateLinkResourceListResultIterator) Value() PrivateLinkResource {
- if !iter.page.NotDone() {
- return PrivateLinkResource{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the PrivateLinkResourceListResultIterator type.
-func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator {
- return PrivateLinkResourceListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (plrlr PrivateLinkResourceListResult) IsEmpty() bool {
- return plrlr.Value == nil || len(*plrlr.Value) == 0
-}
-
-// privateLinkResourceListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (plrlr PrivateLinkResourceListResult) privateLinkResourceListResultPreparer(ctx context.Context) (*http.Request, error) {
- if plrlr.NextLink == nil || len(to.String(plrlr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(plrlr.NextLink)))
-}
-
-// PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.
-type PrivateLinkResourceListResultPage struct {
- fn func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)
- plrlr PrivateLinkResourceListResult
-}
-
-// NextWithContext 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 *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourceListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.plrlr)
- if err != nil {
- return err
- }
- page.plrlr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *PrivateLinkResourceListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page PrivateLinkResourceListResultPage) NotDone() bool {
- return !page.plrlr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult {
- return page.plrlr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource {
- if page.plrlr.IsEmpty() {
- return nil
- }
- return *page.plrlr.Value
-}
-
-// Creates a new instance of the PrivateLinkResourceListResultPage type.
-func NewPrivateLinkResourceListResultPage(getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage {
- return PrivateLinkResourceListResultPage{fn: getNextPage}
-}
-
-// PrivateLinkResourceProperties properties of a private link resource.
-type PrivateLinkResourceProperties struct {
- // GroupID - READ-ONLY; The private link resource group id.
- GroupID *string `json:"groupId,omitempty"`
- // RequiredMembers - READ-ONLY; The private link resource required member names.
- RequiredMembers *[]string `json:"requiredMembers,omitempty"`
-}
-
-// PrivateLinkServiceConnectionStateProperty ...
-type PrivateLinkServiceConnectionStateProperty struct {
- // Status - The private link service connection status.
- Status *string `json:"status,omitempty"`
- // Description - The private link service connection description.
- Description *string `json:"description,omitempty"`
- // ActionsRequired - READ-ONLY; The actions required for private link service connection.
- ActionsRequired *string `json:"actionsRequired,omitempty"`
-}
-
-// ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than
-// required location and tags
-type ProxyResource struct {
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// QueryStatistic represents a Query Statistic.
-type QueryStatistic struct {
- autorest.Response `json:"-"`
- // QueryStatisticProperties - The properties of a query statistic.
- *QueryStatisticProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for QueryStatistic.
-func (qs QueryStatistic) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if qs.QueryStatisticProperties != nil {
- objectMap["properties"] = qs.QueryStatisticProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for QueryStatistic struct.
-func (qs *QueryStatistic) 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 queryStatisticProperties QueryStatisticProperties
- err = json.Unmarshal(*v, &queryStatisticProperties)
- if err != nil {
- return err
- }
- qs.QueryStatisticProperties = &queryStatisticProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- qs.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- qs.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- qs.Type = &typeVar
- }
- }
- }
-
- return nil
-}
-
-// QueryStatisticProperties the properties of a query statistic.
-type QueryStatisticProperties struct {
- // QueryID - Database query identifier.
- QueryID *string `json:"queryId,omitempty"`
- // StartTime - Observation start time.
- StartTime *date.Time `json:"startTime,omitempty"`
- // EndTime - Observation end time.
- EndTime *date.Time `json:"endTime,omitempty"`
- // AggregationFunction - Aggregation function name.
- AggregationFunction *string `json:"aggregationFunction,omitempty"`
- // DatabaseNames - The list of database names.
- DatabaseNames *[]string `json:"databaseNames,omitempty"`
- // QueryExecutionCount - Number of query executions in this time interval.
- QueryExecutionCount *int64 `json:"queryExecutionCount,omitempty"`
- // MetricName - Metric name.
- MetricName *string `json:"metricName,omitempty"`
- // MetricDisplayName - Metric display name.
- MetricDisplayName *string `json:"metricDisplayName,omitempty"`
- // MetricValue - Metric value.
- MetricValue *float64 `json:"metricValue,omitempty"`
- // MetricValueUnit - Metric value unit.
- MetricValueUnit *string `json:"metricValueUnit,omitempty"`
-}
-
-// QueryText represents a Query Text.
-type QueryText struct {
- autorest.Response `json:"-"`
- // QueryTextProperties - The properties of a query text.
- *QueryTextProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for QueryText.
-func (qt QueryText) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if qt.QueryTextProperties != nil {
- objectMap["properties"] = qt.QueryTextProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for QueryText struct.
-func (qt *QueryText) 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 queryTextProperties QueryTextProperties
- err = json.Unmarshal(*v, &queryTextProperties)
- if err != nil {
- return err
- }
- qt.QueryTextProperties = &queryTextProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- qt.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- qt.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- qt.Type = &typeVar
- }
- }
- }
-
- return nil
-}
-
-// QueryTextProperties the properties of a query text.
-type QueryTextProperties struct {
- // QueryID - Query identifier unique to the server.
- QueryID *string `json:"queryId,omitempty"`
- // QueryText - Query text.
- QueryText *string `json:"queryText,omitempty"`
-}
-
-// QueryTextsResultList a list of query texts.
-type QueryTextsResultList struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of query texts.
- Value *[]QueryText `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// QueryTextsResultListIterator provides access to a complete listing of QueryText values.
-type QueryTextsResultListIterator struct {
- i int
- page QueryTextsResultListPage
-}
-
-// NextWithContext 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 *QueryTextsResultListIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QueryTextsResultListIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *QueryTextsResultListIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter QueryTextsResultListIterator) 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 QueryTextsResultListIterator) Response() QueryTextsResultList {
- 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 QueryTextsResultListIterator) Value() QueryText {
- if !iter.page.NotDone() {
- return QueryText{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the QueryTextsResultListIterator type.
-func NewQueryTextsResultListIterator(page QueryTextsResultListPage) QueryTextsResultListIterator {
- return QueryTextsResultListIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (qtrl QueryTextsResultList) IsEmpty() bool {
- return qtrl.Value == nil || len(*qtrl.Value) == 0
-}
-
-// queryTextsResultListPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (qtrl QueryTextsResultList) queryTextsResultListPreparer(ctx context.Context) (*http.Request, error) {
- if qtrl.NextLink == nil || len(to.String(qtrl.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(qtrl.NextLink)))
-}
-
-// QueryTextsResultListPage contains a page of QueryText values.
-type QueryTextsResultListPage struct {
- fn func(context.Context, QueryTextsResultList) (QueryTextsResultList, error)
- qtrl QueryTextsResultList
-}
-
-// NextWithContext 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 *QueryTextsResultListPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QueryTextsResultListPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.qtrl)
- if err != nil {
- return err
- }
- page.qtrl = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *QueryTextsResultListPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page QueryTextsResultListPage) NotDone() bool {
- return !page.qtrl.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page QueryTextsResultListPage) Response() QueryTextsResultList {
- return page.qtrl
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page QueryTextsResultListPage) Values() []QueryText {
- if page.qtrl.IsEmpty() {
- return nil
- }
- return *page.qtrl.Value
-}
-
-// Creates a new instance of the QueryTextsResultListPage type.
-func NewQueryTextsResultListPage(getNextPage func(context.Context, QueryTextsResultList) (QueryTextsResultList, error)) QueryTextsResultListPage {
- return QueryTextsResultListPage{fn: getNextPage}
-}
-
-// RecommendationAction represents a Recommendation Action.
-type RecommendationAction struct {
- autorest.Response `json:"-"`
- // RecommendationActionProperties - The properties of a recommendation action.
- *RecommendationActionProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for RecommendationAction.
-func (ra RecommendationAction) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if ra.RecommendationActionProperties != nil {
- objectMap["properties"] = ra.RecommendationActionProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for RecommendationAction struct.
-func (ra *RecommendationAction) 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 recommendationActionProperties RecommendationActionProperties
- err = json.Unmarshal(*v, &recommendationActionProperties)
- if err != nil {
- return err
- }
- ra.RecommendationActionProperties = &recommendationActionProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- ra.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- ra.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ra.Type = &typeVar
- }
- }
- }
-
- return nil
-}
-
-// RecommendationActionProperties the properties of a recommendation action.
-type RecommendationActionProperties struct {
- // AdvisorName - Advisor name.
- AdvisorName *string `json:"advisorName,omitempty"`
- // SessionID - Recommendation action session identifier.
- SessionID *string `json:"sessionId,omitempty"`
- // ActionID - Recommendation action identifier.
- ActionID *int32 `json:"actionId,omitempty"`
- // CreatedTime - Recommendation action creation time.
- CreatedTime *date.Time `json:"createdTime,omitempty"`
- // ExpirationTime - Recommendation action expiration time.
- ExpirationTime *date.Time `json:"expirationTime,omitempty"`
- // Reason - Recommendation action reason.
- Reason *string `json:"reason,omitempty"`
- // RecommendationType - Recommendation action type.
- RecommendationType *string `json:"recommendationType,omitempty"`
- // Details - Recommendation action details.
- Details map[string]*string `json:"details"`
-}
-
-// MarshalJSON is the custom marshaler for RecommendationActionProperties.
-func (rap RecommendationActionProperties) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if rap.AdvisorName != nil {
- objectMap["advisorName"] = rap.AdvisorName
- }
- if rap.SessionID != nil {
- objectMap["sessionId"] = rap.SessionID
- }
- if rap.ActionID != nil {
- objectMap["actionId"] = rap.ActionID
- }
- if rap.CreatedTime != nil {
- objectMap["createdTime"] = rap.CreatedTime
- }
- if rap.ExpirationTime != nil {
- objectMap["expirationTime"] = rap.ExpirationTime
- }
- if rap.Reason != nil {
- objectMap["reason"] = rap.Reason
- }
- if rap.RecommendationType != nil {
- objectMap["recommendationType"] = rap.RecommendationType
- }
- if rap.Details != nil {
- objectMap["details"] = rap.Details
- }
- return json.Marshal(objectMap)
-}
-
-// RecommendationActionsResultList a list of recommendation actions.
-type RecommendationActionsResultList struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of recommendation action advisors.
- Value *[]RecommendationAction `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// RecommendationActionsResultListIterator provides access to a complete listing of RecommendationAction
-// values.
-type RecommendationActionsResultListIterator struct {
- i int
- page RecommendationActionsResultListPage
-}
-
-// NextWithContext 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 *RecommendationActionsResultListIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationActionsResultListIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *RecommendationActionsResultListIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter RecommendationActionsResultListIterator) 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 RecommendationActionsResultListIterator) Response() RecommendationActionsResultList {
- 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 RecommendationActionsResultListIterator) Value() RecommendationAction {
- if !iter.page.NotDone() {
- return RecommendationAction{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the RecommendationActionsResultListIterator type.
-func NewRecommendationActionsResultListIterator(page RecommendationActionsResultListPage) RecommendationActionsResultListIterator {
- return RecommendationActionsResultListIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (rarl RecommendationActionsResultList) IsEmpty() bool {
- return rarl.Value == nil || len(*rarl.Value) == 0
-}
-
-// recommendationActionsResultListPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (rarl RecommendationActionsResultList) recommendationActionsResultListPreparer(ctx context.Context) (*http.Request, error) {
- if rarl.NextLink == nil || len(to.String(rarl.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(rarl.NextLink)))
-}
-
-// RecommendationActionsResultListPage contains a page of RecommendationAction values.
-type RecommendationActionsResultListPage struct {
- fn func(context.Context, RecommendationActionsResultList) (RecommendationActionsResultList, error)
- rarl RecommendationActionsResultList
-}
-
-// NextWithContext 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 *RecommendationActionsResultListPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/RecommendationActionsResultListPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.rarl)
- if err != nil {
- return err
- }
- page.rarl = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *RecommendationActionsResultListPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page RecommendationActionsResultListPage) NotDone() bool {
- return !page.rarl.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page RecommendationActionsResultListPage) Response() RecommendationActionsResultList {
- return page.rarl
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page RecommendationActionsResultListPage) Values() []RecommendationAction {
- if page.rarl.IsEmpty() {
- return nil
- }
- return *page.rarl.Value
-}
-
-// Creates a new instance of the RecommendationActionsResultListPage type.
-func NewRecommendationActionsResultListPage(getNextPage func(context.Context, RecommendationActionsResultList) (RecommendationActionsResultList, error)) RecommendationActionsResultListPage {
- return RecommendationActionsResultListPage{fn: getNextPage}
-}
-
-// RecommendedActionSessionsOperationStatus recommendation action session operation status.
-type RecommendedActionSessionsOperationStatus struct {
- autorest.Response `json:"-"`
- // Name - Operation identifier.
- Name *string `json:"name,omitempty"`
- // StartTime - Operation start time.
- StartTime *date.Time `json:"startTime,omitempty"`
- // Status - Operation status.
- Status *string `json:"status,omitempty"`
-}
-
-// Resource ...
-type Resource struct {
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// SecurityAlertPolicyProperties properties of a security alert policy.
-type SecurityAlertPolicyProperties struct {
- // State - Specifies the state of the policy, whether it is enabled or disabled. Possible values include: 'ServerSecurityAlertPolicyStateEnabled', 'ServerSecurityAlertPolicyStateDisabled'
- State ServerSecurityAlertPolicyState `json:"state,omitempty"`
- // DisabledAlerts - Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly
- DisabledAlerts *[]string `json:"disabledAlerts,omitempty"`
- // EmailAddresses - Specifies an array of e-mail addresses to which the alert is sent.
- EmailAddresses *[]string `json:"emailAddresses,omitempty"`
- // EmailAccountAdmins - Specifies that the alert is sent to the account administrators.
- EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"`
- // StorageEndpoint - Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
- StorageEndpoint *string `json:"storageEndpoint,omitempty"`
- // StorageAccountAccessKey - Specifies the identifier key of the Threat Detection audit storage account.
- StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"`
- // RetentionDays - Specifies the number of days to keep in the Threat Detection audit logs.
- RetentionDays *int32 `json:"retentionDays,omitempty"`
-}
-
-// Server represents a server.
-type Server struct {
- autorest.Response `json:"-"`
- // Sku - The SKU (pricing tier) of the server.
- Sku *Sku `json:"sku,omitempty"`
- // ServerProperties - Properties of the server.
- *ServerProperties `json:"properties,omitempty"`
- // Tags - Resource tags.
- Tags map[string]*string `json:"tags"`
- // Location - The geo-location where the resource lives
- Location *string `json:"location,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for Server.
-func (s Server) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if s.Sku != nil {
- objectMap["sku"] = s.Sku
- }
- if s.ServerProperties != nil {
- objectMap["properties"] = s.ServerProperties
- }
- if s.Tags != nil {
- objectMap["tags"] = s.Tags
- }
- if s.Location != nil {
- objectMap["location"] = s.Location
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for Server struct.
-func (s *Server) 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 "sku":
- if v != nil {
- var sku Sku
- err = json.Unmarshal(*v, &sku)
- if err != nil {
- return err
- }
- s.Sku = &sku
- }
- case "properties":
- if v != nil {
- var serverProperties ServerProperties
- err = json.Unmarshal(*v, &serverProperties)
- if err != nil {
- return err
- }
- s.ServerProperties = &serverProperties
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- s.Tags = tags
- }
- case "location":
- if v != nil {
- var location string
- err = json.Unmarshal(*v, &location)
- if err != nil {
- return err
- }
- s.Location = &location
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- s.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- s.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- s.Type = &typeVar
- }
- }
- }
-
- return nil
-}
-
-// ServerForCreate represents a server to be created.
-type ServerForCreate struct {
- // Sku - The SKU (pricing tier) of the server.
- Sku *Sku `json:"sku,omitempty"`
- // Properties - Properties of the server.
- Properties BasicServerPropertiesForCreate `json:"properties,omitempty"`
- // Location - The location the resource resides in.
- Location *string `json:"location,omitempty"`
- // Tags - Application-specific metadata in the form of key-value pairs.
- Tags map[string]*string `json:"tags"`
+// ServerForCreate represents a server to be created.
+type ServerForCreate struct {
+ // Sku - The SKU (pricing tier) of the server.
+ Sku *Sku `json:"sku,omitempty"`
+ // Properties - Properties of the server.
+ Properties BasicServerPropertiesForCreate `json:"properties,omitempty"`
+ // Location - The location the resource resides in.
+ Location *string `json:"location,omitempty"`
+ // Tags - Application-specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags"`
}
// MarshalJSON is the custom marshaler for ServerForCreate.
@@ -2852,11 +1537,11 @@ type ServerSecurityAlertPolicy struct {
autorest.Response `json:"-"`
// SecurityAlertPolicyProperties - Resource properties.
*SecurityAlertPolicyProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
@@ -3024,300 +1709,84 @@ func (sup *ServerUpdateParameters) UnmarshalJSON(body []byte) error {
}
sup.ServerUpdateParametersProperties = &serverUpdateParametersProperties
}
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- sup.Tags = tags
- }
- }
- }
-
- return nil
-}
-
-// ServerUpdateParametersProperties the properties that can be updated for a server.
-type ServerUpdateParametersProperties struct {
- // StorageProfile - Storage profile of a server.
- StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
- // AdministratorLoginPassword - The password of the administrator login.
- AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"`
- // Version - The version of a server. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
- Version ServerVersion `json:"version,omitempty"`
- // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
- SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
- // ReplicationRole - The replication role of the server.
- ReplicationRole *string `json:"replicationRole,omitempty"`
-}
-
-// Sku billing information related properties of a server.
-type Sku struct {
- // Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- Name *string `json:"name,omitempty"`
- // Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'
- Tier SkuTier `json:"tier,omitempty"`
- // Capacity - The scale up/out capacity, representing server's compute units.
- Capacity *int32 `json:"capacity,omitempty"`
- // Size - The size code, to be interpreted by resource as appropriate.
- Size *string `json:"size,omitempty"`
- // Family - The family of hardware.
- Family *string `json:"family,omitempty"`
-}
-
-// StorageProfile storage Profile properties of a server
-type StorageProfile struct {
- // BackupRetentionDays - Backup retention days for the server.
- BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"`
- // GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled'
- GeoRedundantBackup GeoRedundantBackup `json:"geoRedundantBackup,omitempty"`
- // StorageMB - Max storage allowed for a server.
- StorageMB *int32 `json:"storageMB,omitempty"`
- // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'StorageAutogrowEnabled', 'StorageAutogrowDisabled'
- StorageAutogrow StorageAutogrow `json:"storageAutogrow,omitempty"`
-}
-
-// TagsObject tags object for patch operations.
-type TagsObject struct {
- // Tags - Resource tags.
- Tags map[string]*string `json:"tags"`
-}
-
-// MarshalJSON is the custom marshaler for TagsObject.
-func (toVar TagsObject) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if toVar.Tags != nil {
- objectMap["tags"] = toVar.Tags
- }
- return json.Marshal(objectMap)
-}
-
-// TopQueryStatisticsInput input to get top query statistics
-type TopQueryStatisticsInput struct {
- // TopQueryStatisticsInputProperties - The properties of a wait statistics input.
- *TopQueryStatisticsInputProperties `json:"properties,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for TopQueryStatisticsInput.
-func (tqsi TopQueryStatisticsInput) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if tqsi.TopQueryStatisticsInputProperties != nil {
- objectMap["properties"] = tqsi.TopQueryStatisticsInputProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for TopQueryStatisticsInput struct.
-func (tqsi *TopQueryStatisticsInput) 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 topQueryStatisticsInputProperties TopQueryStatisticsInputProperties
- err = json.Unmarshal(*v, &topQueryStatisticsInputProperties)
- if err != nil {
- return err
- }
- tqsi.TopQueryStatisticsInputProperties = &topQueryStatisticsInputProperties
- }
- }
- }
-
- return nil
-}
-
-// TopQueryStatisticsInputProperties the properties for input to get top query statistics
-type TopQueryStatisticsInputProperties struct {
- // NumberOfTopQueries - Max number of top queries to return.
- NumberOfTopQueries *int32 `json:"numberOfTopQueries,omitempty"`
- // AggregationFunction - Aggregation function name.
- AggregationFunction *string `json:"aggregationFunction,omitempty"`
- // ObservedMetric - Observed metric name.
- ObservedMetric *string `json:"observedMetric,omitempty"`
- // ObservationStartTime - Observation start time.
- ObservationStartTime *date.Time `json:"observationStartTime,omitempty"`
- // ObservationEndTime - Observation end time.
- ObservationEndTime *date.Time `json:"observationEndTime,omitempty"`
- // AggregationWindow - Aggregation interval type in ISO 8601 format.
- AggregationWindow *string `json:"aggregationWindow,omitempty"`
-}
-
-// TopQueryStatisticsResultList a list of query statistics.
-type TopQueryStatisticsResultList struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of top query statistics.
- Value *[]QueryStatistic `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// TopQueryStatisticsResultListIterator provides access to a complete listing of QueryStatistic values.
-type TopQueryStatisticsResultListIterator struct {
- i int
- page TopQueryStatisticsResultListPage
-}
-
-// NextWithContext 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 *TopQueryStatisticsResultListIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/TopQueryStatisticsResultListIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *TopQueryStatisticsResultListIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter TopQueryStatisticsResultListIterator) 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 TopQueryStatisticsResultListIterator) Response() TopQueryStatisticsResultList {
- 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 TopQueryStatisticsResultListIterator) Value() QueryStatistic {
- if !iter.page.NotDone() {
- return QueryStatistic{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the TopQueryStatisticsResultListIterator type.
-func NewTopQueryStatisticsResultListIterator(page TopQueryStatisticsResultListPage) TopQueryStatisticsResultListIterator {
- return TopQueryStatisticsResultListIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (tqsrl TopQueryStatisticsResultList) IsEmpty() bool {
- return tqsrl.Value == nil || len(*tqsrl.Value) == 0
-}
-
-// topQueryStatisticsResultListPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (tqsrl TopQueryStatisticsResultList) topQueryStatisticsResultListPreparer(ctx context.Context) (*http.Request, error) {
- if tqsrl.NextLink == nil || len(to.String(tqsrl.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(tqsrl.NextLink)))
-}
-
-// TopQueryStatisticsResultListPage contains a page of QueryStatistic values.
-type TopQueryStatisticsResultListPage struct {
- fn func(context.Context, TopQueryStatisticsResultList) (TopQueryStatisticsResultList, error)
- tqsrl TopQueryStatisticsResultList
-}
-
-// NextWithContext 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 *TopQueryStatisticsResultListPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/TopQueryStatisticsResultListPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
+ case "tags":
+ if v != nil {
+ var tags map[string]*string
+ err = json.Unmarshal(*v, &tags)
+ if err != nil {
+ return err
+ }
+ sup.Tags = tags
}
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.tqsrl)
- if err != nil {
- return err
+ }
}
- page.tqsrl = next
- return nil
-}
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *TopQueryStatisticsResultListPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page TopQueryStatisticsResultListPage) NotDone() bool {
- return !page.tqsrl.IsEmpty()
+ return nil
}
-// Response returns the raw server response from the last page request.
-func (page TopQueryStatisticsResultListPage) Response() TopQueryStatisticsResultList {
- return page.tqsrl
+// ServerUpdateParametersProperties the properties that can be updated for a server.
+type ServerUpdateParametersProperties struct {
+ // StorageProfile - Storage profile of a server.
+ StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
+ // AdministratorLoginPassword - The password of the administrator login.
+ AdministratorLoginPassword *string `json:"administratorLoginPassword,omitempty"`
+ // Version - The version of a server. Possible values include: 'FiveFullStopSix', 'FiveFullStopSeven'
+ Version ServerVersion `json:"version,omitempty"`
+ // SslEnforcement - Enable ssl enforcement or not when connect to server. Possible values include: 'SslEnforcementEnumEnabled', 'SslEnforcementEnumDisabled'
+ SslEnforcement SslEnforcementEnum `json:"sslEnforcement,omitempty"`
+ // ReplicationRole - The replication role of the server.
+ ReplicationRole *string `json:"replicationRole,omitempty"`
}
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page TopQueryStatisticsResultListPage) Values() []QueryStatistic {
- if page.tqsrl.IsEmpty() {
- return nil
- }
- return *page.tqsrl.Value
+// Sku billing information related properties of a server.
+type Sku struct {
+ // Name - The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
+ Name *string `json:"name,omitempty"`
+ // Tier - The tier of the particular SKU, e.g. Basic. Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'
+ Tier SkuTier `json:"tier,omitempty"`
+ // Capacity - The scale up/out capacity, representing server's compute units.
+ Capacity *int32 `json:"capacity,omitempty"`
+ // Size - The size code, to be interpreted by resource as appropriate.
+ Size *string `json:"size,omitempty"`
+ // Family - The family of hardware.
+ Family *string `json:"family,omitempty"`
}
-// Creates a new instance of the TopQueryStatisticsResultListPage type.
-func NewTopQueryStatisticsResultListPage(getNextPage func(context.Context, TopQueryStatisticsResultList) (TopQueryStatisticsResultList, error)) TopQueryStatisticsResultListPage {
- return TopQueryStatisticsResultListPage{fn: getNextPage}
+// StorageProfile storage Profile properties of a server
+type StorageProfile struct {
+ // BackupRetentionDays - Backup retention days for the server.
+ BackupRetentionDays *int32 `json:"backupRetentionDays,omitempty"`
+ // GeoRedundantBackup - Enable Geo-redundant or not for server backup. Possible values include: 'Enabled', 'Disabled'
+ GeoRedundantBackup GeoRedundantBackup `json:"geoRedundantBackup,omitempty"`
+ // StorageMB - Max storage allowed for a server.
+ StorageMB *int32 `json:"storageMB,omitempty"`
+ // StorageAutogrow - Enable Storage Auto Grow. Possible values include: 'StorageAutogrowEnabled', 'StorageAutogrowDisabled'
+ StorageAutogrow StorageAutogrow `json:"storageAutogrow,omitempty"`
}
-// TrackedResource the resource model definition for a ARM tracked top level resource
+// TrackedResource resource properties including location and tags for track resources.
type TrackedResource struct {
- // Tags - Resource tags.
- Tags map[string]*string `json:"tags"`
- // Location - The geo-location where the resource lives
+ // Location - The location the resource resides in.
Location *string `json:"location,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // Tags - Application-specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags"`
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
// MarshalJSON is the custom marshaler for TrackedResource.
func (tr TrackedResource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
- if tr.Tags != nil {
- objectMap["tags"] = tr.Tags
- }
if tr.Location != nil {
objectMap["location"] = tr.Location
}
+ if tr.Tags != nil {
+ objectMap["tags"] = tr.Tags
+ }
return json.Marshal(objectMap)
}
@@ -3326,11 +1795,11 @@ type VirtualNetworkRule struct {
autorest.Response `json:"-"`
// VirtualNetworkRuleProperties - Resource properties.
*VirtualNetworkRuleProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ // ID - READ-ONLY; Resource ID
ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
+ // Name - READ-ONLY; Resource name.
Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
+ // Type - READ-ONLY; Resource type.
Type *string `json:"type,omitempty"`
}
@@ -3601,293 +2070,3 @@ func (future *VirtualNetworkRulesDeleteFuture) Result(client VirtualNetworkRules
ar.Response = future.Response()
return
}
-
-// WaitStatistic represents a Wait Statistic.
-type WaitStatistic struct {
- autorest.Response `json:"-"`
- // WaitStatisticProperties - The properties of a wait statistic.
- *WaitStatisticProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; The name of the resource
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Type *string `json:"type,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for WaitStatistic.
-func (ws WaitStatistic) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if ws.WaitStatisticProperties != nil {
- objectMap["properties"] = ws.WaitStatisticProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for WaitStatistic struct.
-func (ws *WaitStatistic) 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 waitStatisticProperties WaitStatisticProperties
- err = json.Unmarshal(*v, &waitStatisticProperties)
- if err != nil {
- return err
- }
- ws.WaitStatisticProperties = &waitStatisticProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- ws.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- ws.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- ws.Type = &typeVar
- }
- }
- }
-
- return nil
-}
-
-// WaitStatisticProperties the properties of a wait statistic.
-type WaitStatisticProperties struct {
- // StartTime - Observation start time.
- StartTime *date.Time `json:"startTime,omitempty"`
- // EndTime - Observation end time.
- EndTime *date.Time `json:"endTime,omitempty"`
- // EventName - Wait event name.
- EventName *string `json:"eventName,omitempty"`
- // EventTypeName - Wait event type name.
- EventTypeName *string `json:"eventTypeName,omitempty"`
- // QueryID - Database query identifier.
- QueryID *int64 `json:"queryId,omitempty"`
- // DatabaseName - Database Name.
- DatabaseName *string `json:"databaseName,omitempty"`
- // UserID - Database user identifier.
- UserID *int64 `json:"userId,omitempty"`
- // Count - Wait event count observed in this time interval.
- Count *int64 `json:"count,omitempty"`
- // TotalTimeInMs - Total time of wait in milliseconds in this time interval.
- TotalTimeInMs *float64 `json:"totalTimeInMs,omitempty"`
-}
-
-// WaitStatisticsInput input to get wait statistics
-type WaitStatisticsInput struct {
- // WaitStatisticsInputProperties - The properties of a wait statistics input.
- *WaitStatisticsInputProperties `json:"properties,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for WaitStatisticsInput.
-func (wsi WaitStatisticsInput) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if wsi.WaitStatisticsInputProperties != nil {
- objectMap["properties"] = wsi.WaitStatisticsInputProperties
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for WaitStatisticsInput struct.
-func (wsi *WaitStatisticsInput) 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 waitStatisticsInputProperties WaitStatisticsInputProperties
- err = json.Unmarshal(*v, &waitStatisticsInputProperties)
- if err != nil {
- return err
- }
- wsi.WaitStatisticsInputProperties = &waitStatisticsInputProperties
- }
- }
- }
-
- return nil
-}
-
-// WaitStatisticsInputProperties the properties for input to get wait statistics
-type WaitStatisticsInputProperties struct {
- // ObservationStartTime - Observation start time.
- ObservationStartTime *date.Time `json:"observationStartTime,omitempty"`
- // ObservationEndTime - Observation end time.
- ObservationEndTime *date.Time `json:"observationEndTime,omitempty"`
- // AggregationWindow - Aggregation interval type in ISO 8601 format.
- AggregationWindow *string `json:"aggregationWindow,omitempty"`
-}
-
-// WaitStatisticsResultList a list of wait statistics.
-type WaitStatisticsResultList struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; The list of wait statistics.
- Value *[]WaitStatistic `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// WaitStatisticsResultListIterator provides access to a complete listing of WaitStatistic values.
-type WaitStatisticsResultListIterator struct {
- i int
- page WaitStatisticsResultListPage
-}
-
-// NextWithContext 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 *WaitStatisticsResultListIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WaitStatisticsResultListIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *WaitStatisticsResultListIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter WaitStatisticsResultListIterator) 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 WaitStatisticsResultListIterator) Response() WaitStatisticsResultList {
- 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 WaitStatisticsResultListIterator) Value() WaitStatistic {
- if !iter.page.NotDone() {
- return WaitStatistic{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the WaitStatisticsResultListIterator type.
-func NewWaitStatisticsResultListIterator(page WaitStatisticsResultListPage) WaitStatisticsResultListIterator {
- return WaitStatisticsResultListIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (wsrl WaitStatisticsResultList) IsEmpty() bool {
- return wsrl.Value == nil || len(*wsrl.Value) == 0
-}
-
-// waitStatisticsResultListPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (wsrl WaitStatisticsResultList) waitStatisticsResultListPreparer(ctx context.Context) (*http.Request, error) {
- if wsrl.NextLink == nil || len(to.String(wsrl.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(wsrl.NextLink)))
-}
-
-// WaitStatisticsResultListPage contains a page of WaitStatistic values.
-type WaitStatisticsResultListPage struct {
- fn func(context.Context, WaitStatisticsResultList) (WaitStatisticsResultList, error)
- wsrl WaitStatisticsResultList
-}
-
-// NextWithContext 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 *WaitStatisticsResultListPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WaitStatisticsResultListPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.wsrl)
- if err != nil {
- return err
- }
- page.wsrl = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *WaitStatisticsResultListPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page WaitStatisticsResultListPage) NotDone() bool {
- return !page.wsrl.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page WaitStatisticsResultListPage) Response() WaitStatisticsResultList {
- return page.wsrl
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page WaitStatisticsResultListPage) Values() []WaitStatistic {
- if page.wsrl.IsEmpty() {
- return nil
- }
- return *page.wsrl.Value
-}
-
-// Creates a new instance of the WaitStatisticsResultListPage type.
-func NewWaitStatisticsResultListPage(getNextPage func(context.Context, WaitStatisticsResultList) (WaitStatisticsResultList, error)) WaitStatisticsResultListPage {
- return WaitStatisticsResultListPage{fn: getNextPage}
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/operations.go
index cc4bc217481ea..4e9ad80e72c2a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/privateendpointconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/privateendpointconnections.go
deleted file mode 100644
index 2324aa4d454f5..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/privateendpointconnections.go
+++ /dev/null
@@ -1,533 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// PrivateEndpointConnectionsClient is the mariaDB Client
-type PrivateEndpointConnectionsClient struct {
- BaseClient
-}
-
-// NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
-func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient {
- return NewPrivateEndpointConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
-func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient {
- return PrivateEndpointConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// CreateOrUpdate approve or reject a private endpoint connection with a given name.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.CreateOrUpdate")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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: parameters,
- Constraints: []validation.Constraint{{Target: "parameters.PrivateEndpointConnectionProperties", Name: validation.Null, Rule: false,
- Chain: []validation.Constraint{{Target: "parameters.PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState", Name: validation.Null, Rule: false,
- Chain: []validation.Constraint{{Target: "parameters.PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState.Status", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState.Description", Name: validation.Null, Rule: true, Chain: nil},
- }},
- }}}},
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.PrivateEndpointConnectionsClient", "CreateOrUpdate", err.Error())
- }
-
- req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, serverName, privateEndpointConnectionName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "CreateOrUpdate", nil, "Failure preparing request")
- return
- }
-
- result, err = client.CreateOrUpdateSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
-func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", pathParameters),
- autorest.WithJSON(parameters),
- 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 PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// Delete deletes a private endpoint connection with a given name.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.Delete")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.PrivateEndpointConnectionsClient", "Delete", err.Error())
- }
-
- req, err := client.DeletePreparer(ctx, resourceGroupName, serverName, privateEndpointConnectionName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "Delete", nil, "Failure preparing request")
- return
- }
-
- result, err = client.DeleteSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "Delete", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// DeletePreparer prepares the Delete request.
-func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", 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 PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// DeleteResponder handles the response to the Delete request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
- autorest.ByClosing())
- result.Response = resp
- return
-}
-
-// Get gets a private endpoint connection.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// privateEndpointConnectionName - the name of the private endpoint connection.
-func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.PrivateEndpointConnectionsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, serverName, privateEndpointConnectionName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", 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 PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, 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 gets all private endpoint connections on a server.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-func (client PrivateEndpointConnectionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.ListByServer")
- defer func() {
- sc := -1
- if result.peclr.Response.Response != nil {
- sc = result.peclr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.PrivateEndpointConnectionsClient", "ListByServer", err.Error())
- }
-
- result.fn = client.listByServerNextResults
- req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "ListByServer", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.peclr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "ListByServer", resp, "Failure sending request")
- return
- }
-
- result.peclr, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "ListByServer", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByServerPreparer prepares the ListByServer request.
-func (client PrivateEndpointConnectionsClient) 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 = "2018-06-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.DBforMariaDB/servers/{serverName}/privateEndpointConnections", 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 PrivateEndpointConnectionsClient) ListByServerSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByServerResponder handles the response to the ListByServer request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) ListByServerResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByServerNextResults retrieves the next set of results, if any.
-func (client PrivateEndpointConnectionsClient) listByServerNextResults(ctx context.Context, lastResults PrivateEndpointConnectionListResult) (result PrivateEndpointConnectionListResult, err error) {
- req, err := lastResults.privateEndpointConnectionListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "listByServerNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "listByServerNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "listByServerNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
-func (client PrivateEndpointConnectionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateEndpointConnectionListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.ListByServer")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByServer(ctx, resourceGroupName, serverName)
- return
-}
-
-// UpdateTags updates private endpoint connection with the specified tags.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// parameters - parameters supplied to the Update private endpoint connection Tags operation.
-func (client PrivateEndpointConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters TagsObject) (result PrivateEndpointConnectionsUpdateTagsFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.UpdateTags")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.PrivateEndpointConnectionsClient", "UpdateTags", err.Error())
- }
-
- req, err := client.UpdateTagsPreparer(ctx, resourceGroupName, serverName, privateEndpointConnectionName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "UpdateTags", nil, "Failure preparing request")
- return
- }
-
- result, err = client.UpdateTagsSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateEndpointConnectionsClient", "UpdateTags", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// UpdateTagsPreparer prepares the UpdateTags request.
-func (client PrivateEndpointConnectionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters TagsObject) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}", pathParameters),
- autorest.WithJSON(parameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// UpdateTagsSender sends the UpdateTags request. The method will close the
-// http.Response Body if it receives an error.
-func (client PrivateEndpointConnectionsClient) UpdateTagsSender(req *http.Request) (future PrivateEndpointConnectionsUpdateTagsFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// UpdateTagsResponder handles the response to the UpdateTags request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) UpdateTagsResponder(resp *http.Response) (result PrivateEndpointConnection, 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/mariadb/mgmt/2018-06-01/mariadb/privatelinkresources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/privatelinkresources.go
deleted file mode 100644
index 82fa5fb755c02..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/privatelinkresources.go
+++ /dev/null
@@ -1,258 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// PrivateLinkResourcesClient is the mariaDB Client
-type PrivateLinkResourcesClient struct {
- BaseClient
-}
-
-// NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
-func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient {
- return NewPrivateLinkResourcesClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
-func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient {
- return PrivateLinkResourcesClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get gets a private link resource for MariaDB server.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// groupName - the name of the private link resource.
-func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, serverName string, groupName string) (result PrivateLinkResource, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourcesClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.PrivateLinkResourcesClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, serverName, groupName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, groupName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "groupName": autorest.Encode("path", groupName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/privateLinkResources/{groupName}", 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 PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, 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 gets the private link resources for MariaDB server.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-func (client PrivateLinkResourcesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourcesClient.ListByServer")
- defer func() {
- sc := -1
- if result.plrlr.Response.Response != nil {
- sc = result.plrlr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.PrivateLinkResourcesClient", "ListByServer", err.Error())
- }
-
- result.fn = client.listByServerNextResults
- req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "ListByServer", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.plrlr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "ListByServer", resp, "Failure sending request")
- return
- }
-
- result.plrlr, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "ListByServer", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByServerPreparer prepares the ListByServer request.
-func (client PrivateLinkResourcesClient) 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 = "2018-06-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.DBforMariaDB/servers/{serverName}/privateLinkResources", 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 PrivateLinkResourcesClient) ListByServerSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByServerResponder handles the response to the ListByServer request. The method always
-// closes the http.Response Body.
-func (client PrivateLinkResourcesClient) ListByServerResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByServerNextResults retrieves the next set of results, if any.
-func (client PrivateLinkResourcesClient) listByServerNextResults(ctx context.Context, lastResults PrivateLinkResourceListResult) (result PrivateLinkResourceListResult, err error) {
- req, err := lastResults.privateLinkResourceListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "listByServerNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "listByServerNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.PrivateLinkResourcesClient", "listByServerNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
-func (client PrivateLinkResourcesClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string) (result PrivateLinkResourceListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourcesClient.ListByServer")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByServer(ctx, resourceGroupName, serverName)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/querytexts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/querytexts.go
deleted file mode 100644
index 9e7613eb38a0b..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/querytexts.go
+++ /dev/null
@@ -1,261 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// QueryTextsClient is the mariaDB Client
-type QueryTextsClient struct {
- BaseClient
-}
-
-// NewQueryTextsClient creates an instance of the QueryTextsClient client.
-func NewQueryTextsClient(subscriptionID string) QueryTextsClient {
- return NewQueryTextsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewQueryTextsClientWithBaseURI creates an instance of the QueryTextsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewQueryTextsClientWithBaseURI(baseURI string, subscriptionID string) QueryTextsClient {
- return QueryTextsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get retrieve the Query-Store query texts for the queryId.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// queryID - the Query-Store query identifier.
-func (client QueryTextsClient) Get(ctx context.Context, resourceGroupName string, serverName string, queryID string) (result QueryText, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QueryTextsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.QueryTextsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, serverName, queryID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client QueryTextsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, queryID string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "queryId": autorest.Encode("path", queryID),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/queryTexts/{queryId}", 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 QueryTextsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client QueryTextsClient) GetResponder(resp *http.Response) (result QueryText, 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 retrieve the Query-Store query texts for specified queryIds.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// queryIds - the query identifiers
-func (client QueryTextsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, queryIds []string) (result QueryTextsResultListPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QueryTextsClient.ListByServer")
- defer func() {
- sc := -1
- if result.qtrl.Response.Response != nil {
- sc = result.qtrl.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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: queryIds,
- Constraints: []validation.Constraint{{Target: "queryIds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.QueryTextsClient", "ListByServer", err.Error())
- }
-
- result.fn = client.listByServerNextResults
- req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName, queryIds)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "ListByServer", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.qtrl.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "ListByServer", resp, "Failure sending request")
- return
- }
-
- result.qtrl, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "ListByServer", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByServerPreparer prepares the ListByServer request.
-func (client QueryTextsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, queryIds []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 = "2018-06-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- "queryIds": queryIds,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/queryTexts", 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 QueryTextsClient) ListByServerSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByServerResponder handles the response to the ListByServer request. The method always
-// closes the http.Response Body.
-func (client QueryTextsClient) ListByServerResponder(resp *http.Response) (result QueryTextsResultList, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByServerNextResults retrieves the next set of results, if any.
-func (client QueryTextsClient) listByServerNextResults(ctx context.Context, lastResults QueryTextsResultList) (result QueryTextsResultList, err error) {
- req, err := lastResults.queryTextsResultListPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "listByServerNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "listByServerNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.QueryTextsClient", "listByServerNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
-func (client QueryTextsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, queryIds []string) (result QueryTextsResultListIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QueryTextsClient.ListByServer")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByServer(ctx, resourceGroupName, serverName, queryIds)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/recommendedactions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/recommendedactions.go
deleted file mode 100644
index 70a2b78bdbc59..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/recommendedactions.go
+++ /dev/null
@@ -1,266 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// RecommendedActionsClient is the mariaDB Client
-type RecommendedActionsClient struct {
- BaseClient
-}
-
-// NewRecommendedActionsClient creates an instance of the RecommendedActionsClient client.
-func NewRecommendedActionsClient(subscriptionID string) RecommendedActionsClient {
- return NewRecommendedActionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewRecommendedActionsClientWithBaseURI creates an instance of the RecommendedActionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
-func NewRecommendedActionsClientWithBaseURI(baseURI string, subscriptionID string) RecommendedActionsClient {
- return RecommendedActionsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get retrieve recommended actions from the advisor.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// advisorName - the advisor name for recommendation action.
-// recommendedActionName - the recommended action name.
-func (client RecommendedActionsClient) Get(ctx context.Context, resourceGroupName string, serverName string, advisorName string, recommendedActionName string) (result RecommendationAction, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/RecommendedActionsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.RecommendedActionsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, serverName, advisorName, recommendedActionName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client RecommendedActionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, recommendedActionName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "advisorName": autorest.Encode("path", advisorName),
- "recommendedActionName": autorest.Encode("path", recommendedActionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}", 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 RecommendedActionsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client RecommendedActionsClient) GetResponder(resp *http.Response) (result RecommendationAction, 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 retrieve recommended actions from the advisor.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// advisorName - the advisor name for recommendation action.
-// sessionID - the recommendation action session identifier.
-func (client RecommendedActionsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, sessionID string) (result RecommendationActionsResultListPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/RecommendedActionsClient.ListByServer")
- defer func() {
- sc := -1
- if result.rarl.Response.Response != nil {
- sc = result.rarl.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.RecommendedActionsClient", "ListByServer", err.Error())
- }
-
- result.fn = client.listByServerNextResults
- req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName, advisorName, sessionID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "ListByServer", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.rarl.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "ListByServer", resp, "Failure sending request")
- return
- }
-
- result.rarl, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "ListByServer", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByServerPreparer prepares the ListByServer request.
-func (client RecommendedActionsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, advisorName string, sessionID string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "advisorName": autorest.Encode("path", advisorName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
- if len(sessionID) > 0 {
- queryParameters["sessionId"] = autorest.Encode("query", sessionID)
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/advisors/{advisorName}/recommendedActions", 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 RecommendedActionsClient) ListByServerSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByServerResponder handles the response to the ListByServer request. The method always
-// closes the http.Response Body.
-func (client RecommendedActionsClient) ListByServerResponder(resp *http.Response) (result RecommendationActionsResultList, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByServerNextResults retrieves the next set of results, if any.
-func (client RecommendedActionsClient) listByServerNextResults(ctx context.Context, lastResults RecommendationActionsResultList) (result RecommendationActionsResultList, err error) {
- req, err := lastResults.recommendationActionsResultListPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "listByServerNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "listByServerNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.RecommendedActionsClient", "listByServerNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
-func (client RecommendedActionsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, advisorName string, sessionID string) (result RecommendationActionsResultListIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/RecommendedActionsClient.ListByServer")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByServer(ctx, resourceGroupName, serverName, advisorName, sessionID)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/replicas.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/replicas.go
index d8dcc5e8ef127..93211c855d884 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/replicas.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/replicas.go
@@ -21,7 +21,6 @@ import (
"context"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
- "github.com/Azure/go-autorest/autorest/validation"
"github.com/Azure/go-autorest/tracing"
"net/http"
)
@@ -36,15 +35,15 @@ func NewReplicasClient(subscriptionID string) ReplicasClient {
return NewReplicasClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client.
func NewReplicasClientWithBaseURI(baseURI string, subscriptionID string) ReplicasClient {
return ReplicasClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// ListByServer list all the replicas for a given server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client ReplicasClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result ServerListResult, err error) {
if tracing.IsEnabled() {
@@ -57,16 +56,6 @@ func (client ReplicasClient) ListByServer(ctx context.Context, resourceGroupName
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ReplicasClient", "ListByServer", err.Error())
- }
-
req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ReplicasClient", "ListByServer", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/servers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/servers.go
index a23c4e92379e1..c01879a7e4521 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/servers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/servers.go
@@ -36,15 +36,15 @@ func NewServersClient(subscriptionID string) ServersClient {
return NewServersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServersClientWithBaseURI creates an instance of the ServersClient client.
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return ServersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// Create creates a new server or updates an existing server. The update action will overwrite the existing server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// parameters - the required parameters for creating or updating a server.
func (client ServersClient) Create(ctx context.Context, resourceGroupName string, serverName string, parameters ServerForCreate) (result ServersCreateFuture, err error) {
@@ -59,12 +59,6 @@ func (client ServersClient) Create(ctx context.Context, resourceGroupName string
}()
}
if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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: parameters,
Constraints: []validation.Constraint{{Target: "parameters.Sku", Name: validation.Null, Rule: false,
Chain: []validation.Constraint{{Target: "parameters.Sku.Capacity", Name: validation.Null, Rule: false,
@@ -141,7 +135,8 @@ func (client ServersClient) CreateResponder(resp *http.Response) (result Server,
// Delete deletes a server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client ServersClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error) {
if tracing.IsEnabled() {
@@ -154,16 +149,6 @@ func (client ServersClient) Delete(ctx context.Context, resourceGroupName string
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ServersClient", "Delete", err.Error())
- }
-
req, err := client.DeletePreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServersClient", "Delete", nil, "Failure preparing request")
@@ -227,7 +212,8 @@ func (client ServersClient) DeleteResponder(resp *http.Response) (result autores
// Get gets information about a server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client ServersClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error) {
if tracing.IsEnabled() {
@@ -240,16 +226,6 @@ func (client ServersClient) Get(ctx context.Context, resourceGroupName string, s
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ServersClient", "Get", err.Error())
- }
-
req, err := client.GetPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServersClient", "Get", nil, "Failure preparing request")
@@ -324,12 +300,6 @@ func (client ServersClient) List(ctx context.Context) (result ServerListResult,
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.ServersClient", "List", err.Error())
- }
-
req, err := client.ListPreparer(ctx)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServersClient", "List", nil, "Failure preparing request")
@@ -392,7 +362,8 @@ func (client ServersClient) ListResponder(resp *http.Response) (result ServerLis
// ListByResourceGroup list all the servers in a given resource group.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - the name of the resource group that contains the resource. You can obtain this value
+// from the Azure Resource Manager API or the portal.
func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServerListResult, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/ServersClient.ListByResourceGroup")
@@ -404,16 +375,6 @@ func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGro
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ServersClient", "ListByResourceGroup", err.Error())
- }
-
req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServersClient", "ListByResourceGroup", nil, "Failure preparing request")
@@ -477,7 +438,8 @@ func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (r
// Restart restarts a server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client ServersClient) Restart(ctx context.Context, resourceGroupName string, serverName string) (result ServersRestartFuture, err error) {
if tracing.IsEnabled() {
@@ -490,16 +452,6 @@ func (client ServersClient) Restart(ctx context.Context, resourceGroupName strin
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ServersClient", "Restart", err.Error())
- }
-
req, err := client.RestartPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServersClient", "Restart", nil, "Failure preparing request")
@@ -564,7 +516,8 @@ func (client ServersClient) RestartResponder(resp *http.Response) (result autore
// Update updates an existing server. The request body can contain one to many of the properties present in the normal
// server definition.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// parameters - the required parameters for updating a server.
func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, parameters ServerUpdateParameters) (result ServersUpdateFuture, err error) {
@@ -578,16 +531,6 @@ func (client ServersClient) Update(ctx context.Context, resourceGroupName string
tracing.EndSpan(ctx, sc, err)
}()
}
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.ServersClient", "Update", err.Error())
- }
-
req, err := client.UpdatePreparer(ctx, resourceGroupName, serverName, parameters)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServersClient", "Update", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/serversecurityalertpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/serversecurityalertpolicies.go
index 08de6b43dc095..8f8bdfdcd7e99 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/serversecurityalertpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/serversecurityalertpolicies.go
@@ -21,7 +21,6 @@ import (
"context"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
- "github.com/Azure/go-autorest/autorest/validation"
"github.com/Azure/go-autorest/tracing"
"net/http"
)
@@ -36,16 +35,15 @@ func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityA
return NewServerSecurityAlertPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client.
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
return ServerSecurityAlertPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates or updates a threat detection policy.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// parameters - the server security alert policy.
func (client ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, parameters ServerSecurityAlertPolicy) (result ServerSecurityAlertPoliciesCreateOrUpdateFuture, err error) {
@@ -59,16 +57,6 @@ func (client ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Conte
tracing.EndSpan(ctx, sc, err)
}()
}
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.ServerSecurityAlertPoliciesClient", "CreateOrUpdate", err.Error())
- }
-
req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, serverName, parameters)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServerSecurityAlertPoliciesClient", "CreateOrUpdate", nil, "Failure preparing request")
@@ -136,7 +124,8 @@ func (client ServerSecurityAlertPoliciesClient) CreateOrUpdateResponder(resp *ht
// Get get a server's security alert policy.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client ServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourceGroupName string, serverName string) (result ServerSecurityAlertPolicy, err error) {
if tracing.IsEnabled() {
@@ -149,16 +138,6 @@ func (client ServerSecurityAlertPoliciesClient) Get(ctx context.Context, resourc
tracing.EndSpan(ctx, sc, err)
}()
}
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.ServerSecurityAlertPoliciesClient", "Get", err.Error())
- }
-
req, err := client.GetPreparer(ctx, resourceGroupName, serverName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.ServerSecurityAlertPoliciesClient", "Get", nil, "Failure preparing request")
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/topquerystatistics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/topquerystatistics.go
deleted file mode 100644
index ef2bdc1467913..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/topquerystatistics.go
+++ /dev/null
@@ -1,270 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// TopQueryStatisticsClient is the mariaDB Client
-type TopQueryStatisticsClient struct {
- BaseClient
-}
-
-// NewTopQueryStatisticsClient creates an instance of the TopQueryStatisticsClient client.
-func NewTopQueryStatisticsClient(subscriptionID string) TopQueryStatisticsClient {
- return NewTopQueryStatisticsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewTopQueryStatisticsClientWithBaseURI creates an instance of the TopQueryStatisticsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
-func NewTopQueryStatisticsClientWithBaseURI(baseURI string, subscriptionID string) TopQueryStatisticsClient {
- return TopQueryStatisticsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get retrieve the query statistic for specified identifier.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// queryStatisticID - the Query Statistic identifier.
-func (client TopQueryStatisticsClient) Get(ctx context.Context, resourceGroupName string, serverName string, queryStatisticID string) (result QueryStatistic, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/TopQueryStatisticsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.TopQueryStatisticsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, serverName, queryStatisticID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client TopQueryStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, queryStatisticID string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "queryStatisticId": autorest.Encode("path", queryStatisticID),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/topQueryStatistics/{queryStatisticId}", 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 TopQueryStatisticsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client TopQueryStatisticsClient) GetResponder(resp *http.Response) (result QueryStatistic, 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 retrieve the Query-Store top queries for specified metric and aggregation.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// parameters - the required parameters for retrieving top query statistics.
-func (client TopQueryStatisticsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, parameters TopQueryStatisticsInput) (result TopQueryStatisticsResultListPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/TopQueryStatisticsClient.ListByServer")
- defer func() {
- sc := -1
- if result.tqsrl.Response.Response != nil {
- sc = result.tqsrl.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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: parameters,
- Constraints: []validation.Constraint{{Target: "parameters.TopQueryStatisticsInputProperties", Name: validation.Null, Rule: true,
- Chain: []validation.Constraint{{Target: "parameters.TopQueryStatisticsInputProperties.NumberOfTopQueries", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.TopQueryStatisticsInputProperties.AggregationFunction", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.TopQueryStatisticsInputProperties.ObservedMetric", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.TopQueryStatisticsInputProperties.ObservationStartTime", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.TopQueryStatisticsInputProperties.ObservationEndTime", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.TopQueryStatisticsInputProperties.AggregationWindow", Name: validation.Null, Rule: true, Chain: nil},
- }}}}}); err != nil {
- return result, validation.NewError("mariadb.TopQueryStatisticsClient", "ListByServer", err.Error())
- }
-
- result.fn = client.listByServerNextResults
- req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "ListByServer", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.tqsrl.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "ListByServer", resp, "Failure sending request")
- return
- }
-
- result.tqsrl, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "ListByServer", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByServerPreparer prepares the ListByServer request.
-func (client TopQueryStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters TopQueryStatisticsInput) (*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 = "2018-06-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsContentType("application/json; charset=utf-8"),
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/topQueryStatistics", pathParameters),
- autorest.WithJSON(parameters),
- 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 TopQueryStatisticsClient) ListByServerSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByServerResponder handles the response to the ListByServer request. The method always
-// closes the http.Response Body.
-func (client TopQueryStatisticsClient) ListByServerResponder(resp *http.Response) (result TopQueryStatisticsResultList, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByServerNextResults retrieves the next set of results, if any.
-func (client TopQueryStatisticsClient) listByServerNextResults(ctx context.Context, lastResults TopQueryStatisticsResultList) (result TopQueryStatisticsResultList, err error) {
- req, err := lastResults.topQueryStatisticsResultListPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "listByServerNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "listByServerNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.TopQueryStatisticsClient", "listByServerNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
-func (client TopQueryStatisticsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, parameters TopQueryStatisticsInput) (result TopQueryStatisticsResultListIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/TopQueryStatisticsClient.ListByServer")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByServer(ctx, resourceGroupName, serverName, parameters)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/virtualnetworkrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/virtualnetworkrules.go
index dbfbcca6e1905..87f72fc1c9719 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/virtualnetworkrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/virtualnetworkrules.go
@@ -36,16 +36,15 @@ func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClie
return NewVirtualNetworkRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
return VirtualNetworkRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates or updates an existing virtual network rule.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// virtualNetworkRuleName - the name of the virtual network rule.
// parameters - the requested virtual Network Rule Resource state.
@@ -61,12 +60,6 @@ func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, reso
}()
}
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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
{TargetValue: parameters,
Constraints: []validation.Constraint{{Target: "parameters.VirtualNetworkRuleProperties", Name: validation.Null, Rule: false,
Chain: []validation.Constraint{{Target: "parameters.VirtualNetworkRuleProperties.VirtualNetworkSubnetID", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
@@ -140,7 +133,8 @@ func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Respo
// Delete deletes the virtual network rule with the given name.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// virtualNetworkRuleName - the name of the virtual network rule.
func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRulesDeleteFuture, err error) {
@@ -154,16 +148,6 @@ func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGrou
tracing.EndSpan(ctx, sc, err)
}()
}
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.VirtualNetworkRulesClient", "Delete", err.Error())
- }
-
req, err := client.DeletePreparer(ctx, resourceGroupName, serverName, virtualNetworkRuleName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.VirtualNetworkRulesClient", "Delete", nil, "Failure preparing request")
@@ -228,7 +212,8 @@ func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (re
// Get gets a virtual network rule.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
// virtualNetworkRuleName - the name of the virtual network rule.
func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error) {
@@ -242,16 +227,6 @@ func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupNa
tracing.EndSpan(ctx, sc, err)
}()
}
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.VirtualNetworkRulesClient", "Get", err.Error())
- }
-
req, err := client.GetPreparer(ctx, resourceGroupName, serverName, virtualNetworkRuleName)
if err != nil {
err = autorest.NewErrorWithError(err, "mariadb.VirtualNetworkRulesClient", "Get", nil, "Failure preparing request")
@@ -317,7 +292,8 @@ func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (resul
// ListByServer gets a list of virtual network rules in a server.
// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
+// resourceGroupName - 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 - the name of the server.
func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string) (result VirtualNetworkRuleListResultPage, err error) {
if tracing.IsEnabled() {
@@ -330,16 +306,6 @@ func (client VirtualNetworkRulesClient) ListByServer(ctx context.Context, resour
tracing.EndSpan(ctx, sc, err)
}()
}
- 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: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}}}); err != nil {
- return result, validation.NewError("mariadb.VirtualNetworkRulesClient", "ListByServer", err.Error())
- }
-
result.fn = client.listByServerNextResults
req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName)
if err != nil {
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/waitstatistics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/waitstatistics.go
deleted file mode 100644
index 3bb132a310897..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb/waitstatistics.go
+++ /dev/null
@@ -1,266 +0,0 @@
-package mariadb
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// WaitStatisticsClient is the mariaDB Client
-type WaitStatisticsClient struct {
- BaseClient
-}
-
-// NewWaitStatisticsClient creates an instance of the WaitStatisticsClient client.
-func NewWaitStatisticsClient(subscriptionID string) WaitStatisticsClient {
- return NewWaitStatisticsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewWaitStatisticsClientWithBaseURI creates an instance of the WaitStatisticsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
-func NewWaitStatisticsClientWithBaseURI(baseURI string, subscriptionID string) WaitStatisticsClient {
- return WaitStatisticsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get retrieve wait statistics for specified identifier.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// waitStatisticsID - the Wait Statistic identifier.
-func (client WaitStatisticsClient) Get(ctx context.Context, resourceGroupName string, serverName string, waitStatisticsID string) (result WaitStatistic, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WaitStatisticsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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("mariadb.WaitStatisticsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, serverName, waitStatisticsID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client WaitStatisticsClient) GetPreparer(ctx context.Context, resourceGroupName string, serverName string, waitStatisticsID string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "serverName": autorest.Encode("path", serverName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "waitStatisticsId": autorest.Encode("path", waitStatisticsID),
- }
-
- const APIVersion = "2018-06-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.DBforMariaDB/servers/{serverName}/waitStatistics/{waitStatisticsId}", 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 WaitStatisticsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client WaitStatisticsClient) GetResponder(resp *http.Response) (result WaitStatistic, 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 retrieve wait statistics for specified aggregation window.
-// Parameters:
-// resourceGroupName - the name of the resource group. The name is case insensitive.
-// serverName - the name of the server.
-// parameters - the required parameters for retrieving wait statistics.
-func (client WaitStatisticsClient) ListByServer(ctx context.Context, resourceGroupName string, serverName string, parameters WaitStatisticsInput) (result WaitStatisticsResultListPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WaitStatisticsClient.ListByServer")
- defer func() {
- sc := -1
- if result.wsrl.Response.Response != nil {
- sc = result.wsrl.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: client.SubscriptionID,
- Constraints: []validation.Constraint{{Target: "client.SubscriptionID", Name: validation.MinLength, Rule: 1, Chain: nil}}},
- {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: parameters,
- Constraints: []validation.Constraint{{Target: "parameters.WaitStatisticsInputProperties", Name: validation.Null, Rule: true,
- Chain: []validation.Constraint{{Target: "parameters.WaitStatisticsInputProperties.ObservationStartTime", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.WaitStatisticsInputProperties.ObservationEndTime", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.WaitStatisticsInputProperties.AggregationWindow", Name: validation.Null, Rule: true, Chain: nil},
- }}}}}); err != nil {
- return result, validation.NewError("mariadb.WaitStatisticsClient", "ListByServer", err.Error())
- }
-
- result.fn = client.listByServerNextResults
- req, err := client.ListByServerPreparer(ctx, resourceGroupName, serverName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "ListByServer", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.wsrl.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "ListByServer", resp, "Failure sending request")
- return
- }
-
- result.wsrl, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "ListByServer", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByServerPreparer prepares the ListByServer request.
-func (client WaitStatisticsClient) ListByServerPreparer(ctx context.Context, resourceGroupName string, serverName string, parameters WaitStatisticsInput) (*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 = "2018-06-01"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsContentType("application/json; charset=utf-8"),
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/waitStatistics", pathParameters),
- autorest.WithJSON(parameters),
- 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 WaitStatisticsClient) ListByServerSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByServerResponder handles the response to the ListByServer request. The method always
-// closes the http.Response Body.
-func (client WaitStatisticsClient) ListByServerResponder(resp *http.Response) (result WaitStatisticsResultList, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByServerNextResults retrieves the next set of results, if any.
-func (client WaitStatisticsClient) listByServerNextResults(ctx context.Context, lastResults WaitStatisticsResultList) (result WaitStatisticsResultList, err error) {
- req, err := lastResults.waitStatisticsResultListPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "listByServerNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByServerSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "listByServerNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByServerResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "mariadb.WaitStatisticsClient", "listByServerNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByServerComplete enumerates all values, automatically crossing page boundaries as required.
-func (client WaitStatisticsClient) ListByServerComplete(ctx context.Context, resourceGroupName string, serverName string, parameters WaitStatisticsInput) (result WaitStatisticsResultListIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/WaitStatisticsClient.ListByServer")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByServer(ctx, resourceGroupName, serverName, parameters)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/client.go
index cb81a1a9c6ecc..66c71e64778c8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/marketplaceagreements.go b/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/marketplaceagreements.go
index 31a48ad125b16..5ddb9a8af24ba 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/marketplaceagreements.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/marketplaceagreements.go
@@ -35,9 +35,7 @@ func NewMarketplaceAgreementsClient(subscriptionID string) MarketplaceAgreements
return NewMarketplaceAgreementsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMarketplaceAgreementsClientWithBaseURI creates an instance of the MarketplaceAgreementsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewMarketplaceAgreementsClientWithBaseURI creates an instance of the MarketplaceAgreementsClient client.
func NewMarketplaceAgreementsClientWithBaseURI(baseURI string, subscriptionID string) MarketplaceAgreementsClient {
return MarketplaceAgreementsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/operations.go
index 1298a3d7db13a..ca633cca5c4a8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go
index c3a3262d59e5c..a2a9b0832c6da 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/accountfilters.go
@@ -36,8 +36,7 @@ func NewAccountFiltersClient(subscriptionID string) AccountFiltersClient {
return NewAccountFiltersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountFiltersClientWithBaseURI creates an instance of the AccountFiltersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountFiltersClientWithBaseURI creates an instance of the AccountFiltersClient client.
func NewAccountFiltersClientWithBaseURI(baseURI string, subscriptionID string) AccountFiltersClient {
return AccountFiltersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go
index 4f540bab7d4ef..3c2870223b218 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assetfilters.go
@@ -36,8 +36,7 @@ func NewAssetFiltersClient(subscriptionID string) AssetFiltersClient {
return NewAssetFiltersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAssetFiltersClientWithBaseURI creates an instance of the AssetFiltersClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAssetFiltersClientWithBaseURI creates an instance of the AssetFiltersClient client.
func NewAssetFiltersClientWithBaseURI(baseURI string, subscriptionID string) AssetFiltersClient {
return AssetFiltersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assets.go
index ac8fc5c999e02..1b068b1886567 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/assets.go
@@ -35,8 +35,7 @@ func NewAssetsClient(subscriptionID string) AssetsClient {
return NewAssetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAssetsClientWithBaseURI creates an instance of the AssetsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAssetsClientWithBaseURI creates an instance of the AssetsClient client.
func NewAssetsClientWithBaseURI(baseURI string, subscriptionID string) AssetsClient {
return AssetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/client.go
index 4cea9088c3d57..500616759e15a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/contentkeypolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/contentkeypolicies.go
index 5d7de97a85e9a..5b171643b2426 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/contentkeypolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/contentkeypolicies.go
@@ -36,9 +36,7 @@ func NewContentKeyPoliciesClient(subscriptionID string) ContentKeyPoliciesClient
return NewContentKeyPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewContentKeyPoliciesClientWithBaseURI creates an instance of the ContentKeyPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewContentKeyPoliciesClientWithBaseURI creates an instance of the ContentKeyPoliciesClient client.
func NewContentKeyPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ContentKeyPoliciesClient {
return ContentKeyPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/jobs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/jobs.go
index 1aecf5d401e12..04b440107baa6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/jobs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/jobs.go
@@ -36,8 +36,7 @@ func NewJobsClient(subscriptionID string) JobsClient {
return NewJobsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobsClientWithBaseURI creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return JobsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveevents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveevents.go
index cd602c18f5772..96db023057d4d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveevents.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveevents.go
@@ -36,8 +36,7 @@ func NewLiveEventsClient(subscriptionID string) LiveEventsClient {
return NewLiveEventsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLiveEventsClientWithBaseURI creates an instance of the LiveEventsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLiveEventsClientWithBaseURI creates an instance of the LiveEventsClient client.
func NewLiveEventsClientWithBaseURI(baseURI string, subscriptionID string) LiveEventsClient {
return LiveEventsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveoutputs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveoutputs.go
index 95d0459b9ed64..93eeb2f6ba17f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveoutputs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/liveoutputs.go
@@ -36,8 +36,7 @@ func NewLiveOutputsClient(subscriptionID string) LiveOutputsClient {
return NewLiveOutputsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLiveOutputsClientWithBaseURI creates an instance of the LiveOutputsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLiveOutputsClientWithBaseURI creates an instance of the LiveOutputsClient client.
func NewLiveOutputsClientWithBaseURI(baseURI string, subscriptionID string) LiveOutputsClient {
return LiveOutputsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/locations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/locations.go
index d3f199c3032c7..275566dab3749 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/locations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/locations.go
@@ -35,8 +35,7 @@ func NewLocationsClient(subscriptionID string) LocationsClient {
return NewLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return LocationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/mediaservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/mediaservices.go
index abdcb4f0c53e9..32db5e143b910 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/mediaservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/mediaservices.go
@@ -35,8 +35,7 @@ func NewMediaservicesClient(subscriptionID string) MediaservicesClient {
return NewMediaservicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMediaservicesClientWithBaseURI creates an instance of the MediaservicesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewMediaservicesClientWithBaseURI creates an instance of the MediaservicesClient client.
func NewMediaservicesClientWithBaseURI(baseURI string, subscriptionID string) MediaservicesClient {
return MediaservicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/operations.go
index bacb50e6cf126..3aedf3117a32f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingendpoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingendpoints.go
index 96a2bd949929a..b26f1fecb67d2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingendpoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingendpoints.go
@@ -36,9 +36,7 @@ func NewStreamingEndpointsClient(subscriptionID string) StreamingEndpointsClient
return NewStreamingEndpointsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewStreamingEndpointsClientWithBaseURI creates an instance of the StreamingEndpointsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewStreamingEndpointsClientWithBaseURI creates an instance of the StreamingEndpointsClient client.
func NewStreamingEndpointsClientWithBaseURI(baseURI string, subscriptionID string) StreamingEndpointsClient {
return StreamingEndpointsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go
index 7b8503ade806d..8939d9586bf11 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streaminglocators.go
@@ -36,9 +36,7 @@ func NewStreamingLocatorsClient(subscriptionID string) StreamingLocatorsClient {
return NewStreamingLocatorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewStreamingLocatorsClientWithBaseURI creates an instance of the StreamingLocatorsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewStreamingLocatorsClientWithBaseURI creates an instance of the StreamingLocatorsClient client.
func NewStreamingLocatorsClientWithBaseURI(baseURI string, subscriptionID string) StreamingLocatorsClient {
return StreamingLocatorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go
index 05aa6596b40a5..16d98d4f97af6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/streamingpolicies.go
@@ -36,9 +36,7 @@ func NewStreamingPoliciesClient(subscriptionID string) StreamingPoliciesClient {
return NewStreamingPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewStreamingPoliciesClientWithBaseURI creates an instance of the StreamingPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewStreamingPoliciesClientWithBaseURI creates an instance of the StreamingPoliciesClient client.
func NewStreamingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) StreamingPoliciesClient {
return StreamingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/transforms.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/transforms.go
index e37ac9e465e99..961271a3a637d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/transforms.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2018-07-01/media/transforms.go
@@ -36,8 +36,7 @@ func NewTransformsClient(subscriptionID string) TransformsClient {
return NewTransformsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTransformsClientWithBaseURI creates an instance of the TransformsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTransformsClientWithBaseURI creates an instance of the TransformsClient client.
func NewTransformsClientWithBaseURI(baseURI string, subscriptionID string) TransformsClient {
return TransformsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/checknameavailability.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/checknameavailability.go
index a52cda7b6f375..15704fea1f6be 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/checknameavailability.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/checknameavailability.go
@@ -38,9 +38,7 @@ func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailability
return NewCheckNameAvailabilityClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCheckNameAvailabilityClientWithBaseURI creates an instance of the CheckNameAvailabilityClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewCheckNameAvailabilityClientWithBaseURI creates an instance of the CheckNameAvailabilityClient client.
func NewCheckNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckNameAvailabilityClient {
return CheckNameAvailabilityClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/client.go
index 6b3b5bffdf0f6..97fc51c4a1980 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/client.go
@@ -42,8 +42,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/configurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/configurations.go
index 304ca082a580e..cd840d274ed76 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/configurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/configurations.go
@@ -37,8 +37,7 @@ func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
return NewConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client.
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
return ConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/databases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/databases.go
index d22ab67af4d3f..06db68fe01c45 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/databases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/databases.go
@@ -37,8 +37,7 @@ func NewDatabasesClient(subscriptionID string) DatabasesClient {
return NewDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client.
func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
return DatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/firewallrules.go
index 4c1db77f67714..72ae7d721cff3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/firewallrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/firewallrules.go
@@ -38,8 +38,7 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/locationbasedperformancetier.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/locationbasedperformancetier.go
index 48db220c80310..ef799431ceccb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/locationbasedperformancetier.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/locationbasedperformancetier.go
@@ -38,8 +38,7 @@ func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedP
}
// NewLocationBasedPerformanceTierClientWithBaseURI creates an instance of the LocationBasedPerformanceTierClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewLocationBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedPerformanceTierClient {
return LocationBasedPerformanceTierClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/logfiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/logfiles.go
index e659838ac102b..cd4b6e3811edb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/logfiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/logfiles.go
@@ -37,8 +37,7 @@ func NewLogFilesClient(subscriptionID string) LogFilesClient {
return NewLogFilesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLogFilesClientWithBaseURI creates an instance of the LogFilesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLogFilesClientWithBaseURI creates an instance of the LogFilesClient client.
func NewLogFilesClientWithBaseURI(baseURI string, subscriptionID string) LogFilesClient {
return LogFilesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/operations.go
index f311a32e5da4c..6eda9e48d2223 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/operations.go
@@ -37,8 +37,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/replicas.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/replicas.go
index eb3f9ec41a43c..dab96b0656675 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/replicas.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/replicas.go
@@ -37,8 +37,7 @@ func NewReplicasClient(subscriptionID string) ReplicasClient {
return NewReplicasClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client.
func NewReplicasClientWithBaseURI(baseURI string, subscriptionID string) ReplicasClient {
return ReplicasClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/servers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/servers.go
index 0a49f5ce270ad..7aafb12950d03 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/servers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/servers.go
@@ -38,8 +38,7 @@ func NewServersClient(subscriptionID string) ServersClient {
return NewServersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServersClientWithBaseURI creates an instance of the ServersClient client.
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return ServersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/serversecurityalertpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/serversecurityalertpolicies.go
index bf9d1564fc474..31655da75ae70 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/serversecurityalertpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/serversecurityalertpolicies.go
@@ -37,9 +37,7 @@ func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityA
return NewServerSecurityAlertPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client.
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
return ServerSecurityAlertPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/virtualnetworkrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/virtualnetworkrules.go
index 87cd9837d67e2..6f792d3adf5ec 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/virtualnetworkrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-12-01/mysql/virtualnetworkrules.go
@@ -38,9 +38,7 @@ func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClie
return NewVirtualNetworkRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
return VirtualNetworkRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/accounts.go
index 00b604e79f286..982b13e95a8f6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/accounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/accounts.go
@@ -36,8 +36,7 @@ func NewAccountsClient(subscriptionID string) AccountsClient {
return NewAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return AccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/client.go
index aacafa40a7f27..5e190522889cd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/client.go
@@ -46,8 +46,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/models.go
index f4625a7809547..e9c28731811f6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/models.go
@@ -1374,7 +1374,7 @@ type VolumeProperties struct {
// SubnetID - The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes
SubnetID *string `json:"subnetId,omitempty"`
// MountTargets - List of mount targets
- MountTargets *[]MountTargetList `json:"mountTargets,omitempty"`
+ MountTargets interface{} `json:"mountTargets,omitempty"`
}
// VolumePropertiesExportPolicy set of export policy rules
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go
index afddd44647d18..f78422a4acb5d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/mounttargets.go
@@ -36,8 +36,7 @@ func NewMountTargetsClient(subscriptionID string) MountTargetsClient {
return NewMountTargetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMountTargetsClientWithBaseURI creates an instance of the MountTargetsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewMountTargetsClientWithBaseURI creates an instance of the MountTargetsClient client.
func NewMountTargetsClientWithBaseURI(baseURI string, subscriptionID string) MountTargetsClient {
return MountTargetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/operations.go
index b563d00e5978d..8c07655933275 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/pools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/pools.go
index cba065bf22d77..bdd8e5cb14d08 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/pools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/pools.go
@@ -36,8 +36,7 @@ func NewPoolsClient(subscriptionID string) PoolsClient {
return NewPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPoolsClientWithBaseURI creates an instance of the PoolsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPoolsClientWithBaseURI creates an instance of the PoolsClient client.
func NewPoolsClientWithBaseURI(baseURI string, subscriptionID string) PoolsClient {
return PoolsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/snapshots.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/snapshots.go
index 36ff5a57b5177..e662e6ada9acf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/snapshots.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/snapshots.go
@@ -36,8 +36,7 @@ func NewSnapshotsClient(subscriptionID string) SnapshotsClient {
return NewSnapshotsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client.
func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient {
return SnapshotsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/volumes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/volumes.go
index 892ccea4013bb..91efe92d08c24 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/volumes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-06-01/netapp/volumes.go
@@ -36,8 +36,7 @@ func NewVolumesClient(subscriptionID string) VolumesClient {
return NewVolumesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVolumesClientWithBaseURI creates an instance of the VolumesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVolumesClientWithBaseURI creates an instance of the VolumesClient client.
func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient {
return VolumesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationgateways.go
index 9c41ddf9403f4..8e2e3f25221d8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationgateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationgateways.go
@@ -36,9 +36,7 @@ func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClie
return NewApplicationGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client.
func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient {
return ApplicationGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationsecuritygroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationsecuritygroups.go
index 77553840c9a91..c968f70c5a3f5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationsecuritygroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/applicationsecuritygroups.go
@@ -35,9 +35,7 @@ func NewApplicationSecurityGroupsClient(subscriptionID string) ApplicationSecuri
return NewApplicationSecurityGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationSecurityGroupsClientWithBaseURI creates an instance of the ApplicationSecurityGroupsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewApplicationSecurityGroupsClientWithBaseURI creates an instance of the ApplicationSecurityGroupsClient client.
func NewApplicationSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationSecurityGroupsClient {
return ApplicationSecurityGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availabledelegations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availabledelegations.go
index 76e2eeb64e604..98ccff35f2e91 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availabledelegations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availabledelegations.go
@@ -35,9 +35,7 @@ func NewAvailableDelegationsClient(subscriptionID string) AvailableDelegationsCl
return NewAvailableDelegationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAvailableDelegationsClientWithBaseURI creates an instance of the AvailableDelegationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAvailableDelegationsClientWithBaseURI creates an instance of the AvailableDelegationsClient client.
func NewAvailableDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableDelegationsClient {
return AvailableDelegationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableendpointservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableendpointservices.go
index b7f68f8269e77..bbd8a7081b724 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableendpointservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableendpointservices.go
@@ -35,9 +35,7 @@ func NewAvailableEndpointServicesClient(subscriptionID string) AvailableEndpoint
return NewAvailableEndpointServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAvailableEndpointServicesClientWithBaseURI creates an instance of the AvailableEndpointServicesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewAvailableEndpointServicesClientWithBaseURI creates an instance of the AvailableEndpointServicesClient client.
func NewAvailableEndpointServicesClientWithBaseURI(baseURI string, subscriptionID string) AvailableEndpointServicesClient {
return AvailableEndpointServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableprivateendpointtypes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableprivateendpointtypes.go
index a46aa4c1050e0..9a095c60f1868 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableprivateendpointtypes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableprivateendpointtypes.go
@@ -36,8 +36,7 @@ func NewAvailablePrivateEndpointTypesClient(subscriptionID string) AvailablePriv
}
// NewAvailablePrivateEndpointTypesClientWithBaseURI creates an instance of the AvailablePrivateEndpointTypesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewAvailablePrivateEndpointTypesClientWithBaseURI(baseURI string, subscriptionID string) AvailablePrivateEndpointTypesClient {
return AvailablePrivateEndpointTypesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableresourcegroupdelegations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableresourcegroupdelegations.go
index 323d6a800b559..0e1db117f7ed7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableresourcegroupdelegations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableresourcegroupdelegations.go
@@ -37,8 +37,7 @@ func NewAvailableResourceGroupDelegationsClient(subscriptionID string) Available
}
// NewAvailableResourceGroupDelegationsClientWithBaseURI creates an instance of the
-// AvailableResourceGroupDelegationsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// AvailableResourceGroupDelegationsClient client.
func NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupDelegationsClient {
return AvailableResourceGroupDelegationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableservicealiases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableservicealiases.go
index 16431a4d172e1..dc23f413de284 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableservicealiases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/availableservicealiases.go
@@ -35,9 +35,7 @@ func NewAvailableServiceAliasesClient(subscriptionID string) AvailableServiceAli
return NewAvailableServiceAliasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAvailableServiceAliasesClientWithBaseURI creates an instance of the AvailableServiceAliasesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewAvailableServiceAliasesClientWithBaseURI creates an instance of the AvailableServiceAliasesClient client.
func NewAvailableServiceAliasesClientWithBaseURI(baseURI string, subscriptionID string) AvailableServiceAliasesClient {
return AvailableServiceAliasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewallfqdntags.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewallfqdntags.go
index 7243ccaedfb69..575b91181c28e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewallfqdntags.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewallfqdntags.go
@@ -35,9 +35,7 @@ func NewAzureFirewallFqdnTagsClient(subscriptionID string) AzureFirewallFqdnTags
return NewAzureFirewallFqdnTagsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAzureFirewallFqdnTagsClientWithBaseURI creates an instance of the AzureFirewallFqdnTagsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewAzureFirewallFqdnTagsClientWithBaseURI creates an instance of the AzureFirewallFqdnTagsClient client.
func NewAzureFirewallFqdnTagsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallFqdnTagsClient {
return AzureFirewallFqdnTagsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewalls.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewalls.go
index 85d00d3e9ad38..02323fe15943b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewalls.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/azurefirewalls.go
@@ -35,8 +35,7 @@ func NewAzureFirewallsClient(subscriptionID string) AzureFirewallsClient {
return NewAzureFirewallsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAzureFirewallsClientWithBaseURI creates an instance of the AzureFirewallsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAzureFirewallsClientWithBaseURI creates an instance of the AzureFirewallsClient client.
func NewAzureFirewallsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallsClient {
return AzureFirewallsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
@@ -503,13 +502,13 @@ func (client AzureFirewallsClient) ListAllComplete(ctx context.Context) (result
// resourceGroupName - the name of the resource group.
// azureFirewallName - the name of the Azure Firewall.
// parameters - parameters supplied to update azure firewall tags.
-func (client AzureFirewallsClient) UpdateTags(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters TagsObject) (result AzureFirewallsUpdateTagsFuture, err error) {
+func (client AzureFirewallsClient) UpdateTags(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters TagsObject) (result AzureFirewall, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/AzureFirewallsClient.UpdateTags")
defer func() {
sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
+ if result.Response.Response != nil {
+ sc = result.Response.Response.StatusCode
}
tracing.EndSpan(ctx, sc, err)
}()
@@ -520,12 +519,18 @@ func (client AzureFirewallsClient) UpdateTags(ctx context.Context, resourceGroup
return
}
- result, err = client.UpdateTagsSender(req)
+ resp, err := client.UpdateTagsSender(req)
if err != nil {
- err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "UpdateTags", result.Response(), "Failure sending request")
+ result.Response = autorest.Response{Response: resp}
+ err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "UpdateTags", resp, "Failure sending request")
return
}
+ result, err = client.UpdateTagsResponder(resp)
+ if err != nil {
+ err = autorest.NewErrorWithError(err, "network.AzureFirewallsClient", "UpdateTags", resp, "Failure responding to request")
+ }
+
return
}
@@ -554,15 +559,9 @@ func (client AzureFirewallsClient) UpdateTagsPreparer(ctx context.Context, resou
// UpdateTagsSender sends the UpdateTags request. The method will close the
// http.Response Body if it receives an error.
-func (client AzureFirewallsClient) UpdateTagsSender(req *http.Request) (future AzureFirewallsUpdateTagsFuture, err error) {
+func (client AzureFirewallsClient) UpdateTagsSender(req *http.Request) (*http.Response, error) {
sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
+ return autorest.SendWithSender(client, req, sd...)
}
// UpdateTagsResponder handles the response to the UpdateTags request. The method always
@@ -571,7 +570,7 @@ func (client AzureFirewallsClient) UpdateTagsResponder(resp *http.Response) (res
err = autorest.Respond(
resp,
client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
+ azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bastionhosts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bastionhosts.go
index 1c4f184fef822..a6d1e4ace024c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bastionhosts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bastionhosts.go
@@ -35,8 +35,7 @@ func NewBastionHostsClient(subscriptionID string) BastionHostsClient {
return NewBastionHostsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBastionHostsClientWithBaseURI creates an instance of the BastionHostsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBastionHostsClientWithBaseURI creates an instance of the BastionHostsClient client.
func NewBastionHostsClientWithBaseURI(baseURI string, subscriptionID string) BastionHostsClient {
return BastionHostsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bgpservicecommunities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bgpservicecommunities.go
index 24899ecf39fb3..232f488871187 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bgpservicecommunities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/bgpservicecommunities.go
@@ -35,9 +35,7 @@ func NewBgpServiceCommunitiesClient(subscriptionID string) BgpServiceCommunities
return NewBgpServiceCommunitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBgpServiceCommunitiesClientWithBaseURI creates an instance of the BgpServiceCommunitiesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewBgpServiceCommunitiesClientWithBaseURI creates an instance of the BgpServiceCommunitiesClient client.
func NewBgpServiceCommunitiesClientWithBaseURI(baseURI string, subscriptionID string) BgpServiceCommunitiesClient {
return BgpServiceCommunitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/client.go
index b0aaaff915d9f..60a1dba126190 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/client.go
@@ -45,8 +45,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
@@ -133,203 +132,6 @@ func (client BaseClient) CheckDNSNameAvailabilityResponder(resp *http.Response)
return
}
-// DeleteBastionShareableLink deletes the Bastion Shareable Links for all the VMs specified in the request.
-// Parameters:
-// resourceGroupName - the name of the resource group.
-// bastionHostName - the name of the Bastion Host.
-// bslRequest - post request for all the Bastion Shareable Link endpoints.
-func (client BaseClient) DeleteBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result DeleteBastionShareableLinkFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.DeleteBastionShareableLink")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.DeleteBastionShareableLinkPreparer(ctx, resourceGroupName, bastionHostName, bslRequest)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "DeleteBastionShareableLink", nil, "Failure preparing request")
- return
- }
-
- result, err = client.DeleteBastionShareableLinkSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "DeleteBastionShareableLink", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// DeleteBastionShareableLinkPreparer prepares the DeleteBastionShareableLink request.
-func (client BaseClient) DeleteBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "bastionHostName": autorest.Encode("path", bastionHostName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-09-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.Network/bastionHosts/{bastionHostName}/deleteShareableLinks", pathParameters),
- autorest.WithJSON(bslRequest),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// DeleteBastionShareableLinkSender sends the DeleteBastionShareableLink request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) DeleteBastionShareableLinkSender(req *http.Request) (future DeleteBastionShareableLinkFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// DeleteBastionShareableLinkResponder handles the response to the DeleteBastionShareableLink request. The method always
-// closes the http.Response Body.
-func (client BaseClient) DeleteBastionShareableLinkResponder(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
-}
-
-// DisconnectActiveSessions returns the list of currently active sessions on the Bastion.
-// Parameters:
-// resourceGroupName - the name of the resource group.
-// bastionHostName - the name of the Bastion Host.
-// sessionIds - the list of sessionids to disconnect.
-func (client BaseClient) DisconnectActiveSessions(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (result BastionSessionDeleteResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.DisconnectActiveSessions")
- defer func() {
- sc := -1
- if result.bsdr.Response.Response != nil {
- sc = result.bsdr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.fn = client.disconnectActiveSessionsNextResults
- req, err := client.DisconnectActiveSessionsPreparer(ctx, resourceGroupName, bastionHostName, sessionIds)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "DisconnectActiveSessions", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.DisconnectActiveSessionsSender(req)
- if err != nil {
- result.bsdr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "network.BaseClient", "DisconnectActiveSessions", resp, "Failure sending request")
- return
- }
-
- result.bsdr, err = client.DisconnectActiveSessionsResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "DisconnectActiveSessions", resp, "Failure responding to request")
- }
-
- return
-}
-
-// DisconnectActiveSessionsPreparer prepares the DisconnectActiveSessions request.
-func (client BaseClient) DisconnectActiveSessionsPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "bastionHostName": autorest.Encode("path", bastionHostName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-09-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.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions", pathParameters),
- autorest.WithJSON(sessionIds),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// DisconnectActiveSessionsSender sends the DisconnectActiveSessions request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) DisconnectActiveSessionsSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// DisconnectActiveSessionsResponder handles the response to the DisconnectActiveSessions request. The method always
-// closes the http.Response Body.
-func (client BaseClient) DisconnectActiveSessionsResponder(resp *http.Response) (result BastionSessionDeleteResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// disconnectActiveSessionsNextResults retrieves the next set of results, if any.
-func (client BaseClient) disconnectActiveSessionsNextResults(ctx context.Context, lastResults BastionSessionDeleteResult) (result BastionSessionDeleteResult, err error) {
- req, err := lastResults.bastionSessionDeleteResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "disconnectActiveSessionsNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.DisconnectActiveSessionsSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "disconnectActiveSessionsNextResults", resp, "Failure sending next results request")
- }
- result, err = client.DisconnectActiveSessionsResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "disconnectActiveSessionsNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// DisconnectActiveSessionsComplete enumerates all values, automatically crossing page boundaries as required.
-func (client BaseClient) DisconnectActiveSessionsComplete(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (result BastionSessionDeleteResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.DisconnectActiveSessions")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.DisconnectActiveSessions(ctx, resourceGroupName, bastionHostName, sessionIds)
- return
-}
-
// Generatevirtualwanvpnserverconfigurationvpnprofile generates a unique VPN profile for P2S clients for VirtualWan and
// associated VpnServerConfiguration combination in the specified resource group.
// Parameters:
@@ -411,365 +213,6 @@ func (client BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileRespo
return
}
-// GetActiveSessions returns the list of currently active sessions on the Bastion.
-// Parameters:
-// resourceGroupName - the name of the resource group.
-// bastionHostName - the name of the Bastion Host.
-func (client BaseClient) GetActiveSessions(ctx context.Context, resourceGroupName string, bastionHostName string) (result GetActiveSessionsFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetActiveSessions")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.GetActiveSessionsPreparer(ctx, resourceGroupName, bastionHostName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "GetActiveSessions", nil, "Failure preparing request")
- return
- }
-
- result, err = client.GetActiveSessionsSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "GetActiveSessions", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// GetActiveSessionsPreparer prepares the GetActiveSessions request.
-func (client BaseClient) GetActiveSessionsPreparer(ctx context.Context, resourceGroupName string, bastionHostName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "bastionHostName": autorest.Encode("path", bastionHostName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-09-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.Network/bastionHosts/{bastionHostName}/getActiveSessions", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// GetActiveSessionsSender sends the GetActiveSessions request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) GetActiveSessionsSender(req *http.Request) (future GetActiveSessionsFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// GetActiveSessionsResponder handles the response to the GetActiveSessions request. The method always
-// closes the http.Response Body.
-func (client BaseClient) GetActiveSessionsResponder(resp *http.Response) (result BastionActiveSessionListResultPage, err error) {
- result.baslr, err = client.getActiveSessionsResponder(resp)
- result.fn = client.getActiveSessionsNextResults
- return
-}
-
-func (client BaseClient) getActiveSessionsResponder(resp *http.Response) (result BastionActiveSessionListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// getActiveSessionsNextResults retrieves the next set of results, if any.
-func (client BaseClient) getActiveSessionsNextResults(ctx context.Context, lastResults BastionActiveSessionListResult) (result BastionActiveSessionListResult, err error) {
- req, err := lastResults.bastionActiveSessionListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "getActiveSessionsNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if err != nil {
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "getActiveSessionsNextResults", resp, "Failure sending next results request")
- }
- return client.getActiveSessionsResponder(resp)
-}
-
-// GetActiveSessionsComplete enumerates all values, automatically crossing page boundaries as required.
-func (client BaseClient) GetActiveSessionsComplete(ctx context.Context, resourceGroupName string, bastionHostName string) (result GetActiveSessionsAllFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetActiveSessions")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- var future GetActiveSessionsFuture
- future, err = client.GetActiveSessions(ctx, resourceGroupName, bastionHostName)
- result.Future = future.Future
- return
-}
-
-// GetBastionShareableLink return the Bastion Shareable Links for all the VMs specified in the request.
-// Parameters:
-// resourceGroupName - the name of the resource group.
-// bastionHostName - the name of the Bastion Host.
-// bslRequest - post request for all the Bastion Shareable Link endpoints.
-func (client BaseClient) GetBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result BastionShareableLinkListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetBastionShareableLink")
- defer func() {
- sc := -1
- if result.bsllr.Response.Response != nil {
- sc = result.bsllr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.fn = client.getBastionShareableLinkNextResults
- req, err := client.GetBastionShareableLinkPreparer(ctx, resourceGroupName, bastionHostName, bslRequest)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "GetBastionShareableLink", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetBastionShareableLinkSender(req)
- if err != nil {
- result.bsllr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "network.BaseClient", "GetBastionShareableLink", resp, "Failure sending request")
- return
- }
-
- result.bsllr, err = client.GetBastionShareableLinkResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "GetBastionShareableLink", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetBastionShareableLinkPreparer prepares the GetBastionShareableLink request.
-func (client BaseClient) GetBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "bastionHostName": autorest.Encode("path", bastionHostName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-09-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.Network/bastionHosts/{bastionHostName}/getShareableLinks", pathParameters),
- autorest.WithJSON(bslRequest),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// GetBastionShareableLinkSender sends the GetBastionShareableLink request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) GetBastionShareableLinkSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetBastionShareableLinkResponder handles the response to the GetBastionShareableLink request. The method always
-// closes the http.Response Body.
-func (client BaseClient) GetBastionShareableLinkResponder(resp *http.Response) (result BastionShareableLinkListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// getBastionShareableLinkNextResults retrieves the next set of results, if any.
-func (client BaseClient) getBastionShareableLinkNextResults(ctx context.Context, lastResults BastionShareableLinkListResult) (result BastionShareableLinkListResult, err error) {
- req, err := lastResults.bastionShareableLinkListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "getBastionShareableLinkNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.GetBastionShareableLinkSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "getBastionShareableLinkNextResults", resp, "Failure sending next results request")
- }
- result, err = client.GetBastionShareableLinkResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "getBastionShareableLinkNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// GetBastionShareableLinkComplete enumerates all values, automatically crossing page boundaries as required.
-func (client BaseClient) GetBastionShareableLinkComplete(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result BastionShareableLinkListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetBastionShareableLink")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.GetBastionShareableLink(ctx, resourceGroupName, bastionHostName, bslRequest)
- return
-}
-
-// PutBastionShareableLink creates a Bastion Shareable Links for all the VMs specified in the request.
-// Parameters:
-// resourceGroupName - the name of the resource group.
-// bastionHostName - the name of the Bastion Host.
-// bslRequest - post request for all the Bastion Shareable Link endpoints.
-func (client BaseClient) PutBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result PutBastionShareableLinkFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.PutBastionShareableLink")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.PutBastionShareableLinkPreparer(ctx, resourceGroupName, bastionHostName, bslRequest)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "PutBastionShareableLink", nil, "Failure preparing request")
- return
- }
-
- result, err = client.PutBastionShareableLinkSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.BaseClient", "PutBastionShareableLink", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// PutBastionShareableLinkPreparer prepares the PutBastionShareableLink request.
-func (client BaseClient) PutBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "bastionHostName": autorest.Encode("path", bastionHostName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2019-09-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.Network/bastionHosts/{bastionHostName}/createShareableLinks", pathParameters),
- autorest.WithJSON(bslRequest),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// PutBastionShareableLinkSender sends the PutBastionShareableLink request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) PutBastionShareableLinkSender(req *http.Request) (future PutBastionShareableLinkFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// PutBastionShareableLinkResponder handles the response to the PutBastionShareableLink request. The method always
-// closes the http.Response Body.
-func (client BaseClient) PutBastionShareableLinkResponder(resp *http.Response) (result BastionShareableLinkListResultPage, err error) {
- result.bsllr, err = client.putBastionShareableLinkResponder(resp)
- result.fn = client.putBastionShareableLinkNextResults
- return
-}
-
-func (client BaseClient) putBastionShareableLinkResponder(resp *http.Response) (result BastionShareableLinkListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// putBastionShareableLinkNextResults retrieves the next set of results, if any.
-func (client BaseClient) putBastionShareableLinkNextResults(ctx context.Context, lastResults BastionShareableLinkListResult) (result BastionShareableLinkListResult, err error) {
- req, err := lastResults.bastionShareableLinkListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "putBastionShareableLinkNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req,
- autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if err != nil {
- return result, autorest.NewErrorWithError(err, "network.BaseClient", "putBastionShareableLinkNextResults", resp, "Failure sending next results request")
- }
- return client.putBastionShareableLinkResponder(resp)
-}
-
-// PutBastionShareableLinkComplete enumerates all values, automatically crossing page boundaries as required.
-func (client BaseClient) PutBastionShareableLinkComplete(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result PutBastionShareableLinkAllFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.PutBastionShareableLink")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- var future PutBastionShareableLinkFuture
- future, err = client.PutBastionShareableLink(ctx, resourceGroupName, bastionHostName, bslRequest)
- result.Future = future.Future
- return
-}
-
// SupportedSecurityProviders gives the supported security providers for the virtual wan.
// Parameters:
// resourceGroupName - the resource group name.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/connectionmonitors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/connectionmonitors.go
index b33487f27c441..ca171615eb083 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/connectionmonitors.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/connectionmonitors.go
@@ -36,9 +36,7 @@ func NewConnectionMonitorsClient(subscriptionID string) ConnectionMonitorsClient
return NewConnectionMonitorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConnectionMonitorsClientWithBaseURI creates an instance of the ConnectionMonitorsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewConnectionMonitorsClientWithBaseURI creates an instance of the ConnectionMonitorsClient client.
func NewConnectionMonitorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectionMonitorsClient {
return ConnectionMonitorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddoscustompolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddoscustompolicies.go
index 0da38a0e2a906..6e661d60fd1b3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddoscustompolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddoscustompolicies.go
@@ -35,9 +35,7 @@ func NewDdosCustomPoliciesClient(subscriptionID string) DdosCustomPoliciesClient
return NewDdosCustomPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDdosCustomPoliciesClientWithBaseURI creates an instance of the DdosCustomPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDdosCustomPoliciesClientWithBaseURI creates an instance of the DdosCustomPoliciesClient client.
func NewDdosCustomPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DdosCustomPoliciesClient {
return DdosCustomPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddosprotectionplans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddosprotectionplans.go
index 526e984ed6396..a93595c46b3bc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddosprotectionplans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ddosprotectionplans.go
@@ -35,9 +35,7 @@ func NewDdosProtectionPlansClient(subscriptionID string) DdosProtectionPlansClie
return NewDdosProtectionPlansClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDdosProtectionPlansClientWithBaseURI creates an instance of the DdosProtectionPlansClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDdosProtectionPlansClientWithBaseURI creates an instance of the DdosProtectionPlansClient client.
func NewDdosProtectionPlansClientWithBaseURI(baseURI string, subscriptionID string) DdosProtectionPlansClient {
return DdosProtectionPlansClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/defaultsecurityrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/defaultsecurityrules.go
index 9c666a12dcb5f..207905c4391e8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/defaultsecurityrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/defaultsecurityrules.go
@@ -35,9 +35,7 @@ func NewDefaultSecurityRulesClient(subscriptionID string) DefaultSecurityRulesCl
return NewDefaultSecurityRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient client.
func NewDefaultSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) DefaultSecurityRulesClient {
return DefaultSecurityRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitauthorizations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitauthorizations.go
index e50c6bebdbc13..0fdccd5761069 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitauthorizations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitauthorizations.go
@@ -37,8 +37,7 @@ func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRo
}
// NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the
-// ExpressRouteCircuitAuthorizationsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ExpressRouteCircuitAuthorizationsClient client.
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient {
return ExpressRouteCircuitAuthorizationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitconnections.go
index 4e344eca177ce..81162a3ea0e0e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitconnections.go
@@ -36,8 +36,7 @@ func NewExpressRouteCircuitConnectionsClient(subscriptionID string) ExpressRoute
}
// NewExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the ExpressRouteCircuitConnectionsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitConnectionsClient {
return ExpressRouteCircuitConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitpeerings.go
index e8ddb3ccf06d2..5889f2f034583 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitpeerings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuitpeerings.go
@@ -36,9 +36,7 @@ func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCir
return NewExpressRouteCircuitPeeringsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client.
func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient {
return ExpressRouteCircuitPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuits.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuits.go
index 511c3dce673a4..f71a1a4abffa0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuits.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecircuits.go
@@ -35,9 +35,7 @@ func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsCl
return NewExpressRouteCircuitsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client.
func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient {
return ExpressRouteCircuitsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteconnections.go
index c9f6280242c73..4d83f3e20d57f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteconnections.go
@@ -36,9 +36,7 @@ func NewExpressRouteConnectionsClient(subscriptionID string) ExpressRouteConnect
return NewExpressRouteConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExpressRouteConnectionsClientWithBaseURI creates an instance of the ExpressRouteConnectionsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewExpressRouteConnectionsClientWithBaseURI creates an instance of the ExpressRouteConnectionsClient client.
func NewExpressRouteConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteConnectionsClient {
return ExpressRouteConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnectionpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnectionpeerings.go
index 31c063d93c565..c18b9029d2f70 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnectionpeerings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnectionpeerings.go
@@ -38,8 +38,7 @@ func NewExpressRouteCrossConnectionPeeringsClient(subscriptionID string) Express
}
// NewExpressRouteCrossConnectionPeeringsClientWithBaseURI creates an instance of the
-// ExpressRouteCrossConnectionPeeringsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ExpressRouteCrossConnectionPeeringsClient client.
func NewExpressRouteCrossConnectionPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionPeeringsClient {
return ExpressRouteCrossConnectionPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnections.go
index 539976f9b758d..b0c6882fd72b7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutecrossconnections.go
@@ -36,8 +36,7 @@ func NewExpressRouteCrossConnectionsClient(subscriptionID string) ExpressRouteCr
}
// NewExpressRouteCrossConnectionsClientWithBaseURI creates an instance of the ExpressRouteCrossConnectionsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewExpressRouteCrossConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionsClient {
return ExpressRouteCrossConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutegateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutegateways.go
index 38c9f651e29eb..999897a85a258 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutegateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutegateways.go
@@ -36,9 +36,7 @@ func NewExpressRouteGatewaysClient(subscriptionID string) ExpressRouteGatewaysCl
return NewExpressRouteGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExpressRouteGatewaysClientWithBaseURI creates an instance of the ExpressRouteGatewaysClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewExpressRouteGatewaysClientWithBaseURI creates an instance of the ExpressRouteGatewaysClient client.
func NewExpressRouteGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteGatewaysClient {
return ExpressRouteGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutelinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutelinks.go
index d0e442232d46a..54b2e087c2918 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutelinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressroutelinks.go
@@ -35,9 +35,7 @@ func NewExpressRouteLinksClient(subscriptionID string) ExpressRouteLinksClient {
return NewExpressRouteLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExpressRouteLinksClientWithBaseURI creates an instance of the ExpressRouteLinksClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewExpressRouteLinksClientWithBaseURI creates an instance of the ExpressRouteLinksClient client.
func NewExpressRouteLinksClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteLinksClient {
return ExpressRouteLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteports.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteports.go
index 83499b743ad8e..5c329a43510b6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteports.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteports.go
@@ -35,9 +35,7 @@ func NewExpressRoutePortsClient(subscriptionID string) ExpressRoutePortsClient {
return NewExpressRoutePortsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExpressRoutePortsClientWithBaseURI creates an instance of the ExpressRoutePortsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewExpressRoutePortsClientWithBaseURI creates an instance of the ExpressRoutePortsClient client.
func NewExpressRoutePortsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsClient {
return ExpressRoutePortsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteportslocations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteportslocations.go
index 5b944d90023fc..63ea58d2b0c64 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteportslocations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteportslocations.go
@@ -35,9 +35,7 @@ func NewExpressRoutePortsLocationsClient(subscriptionID string) ExpressRoutePort
return NewExpressRoutePortsLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExpressRoutePortsLocationsClientWithBaseURI creates an instance of the ExpressRoutePortsLocationsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewExpressRoutePortsLocationsClientWithBaseURI creates an instance of the ExpressRoutePortsLocationsClient client.
func NewExpressRoutePortsLocationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsLocationsClient {
return ExpressRoutePortsLocationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteserviceproviders.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteserviceproviders.go
index 29cc09bb576df..9f18c083e83de 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteserviceproviders.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/expressrouteserviceproviders.go
@@ -36,8 +36,7 @@ func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteSe
}
// NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient {
return ExpressRouteServiceProvidersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicies.go
index d433976f52a55..e254354c737be 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicies.go
@@ -35,9 +35,7 @@ func NewFirewallPoliciesClient(subscriptionID string) FirewallPoliciesClient {
return NewFirewallPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallPoliciesClientWithBaseURI creates an instance of the FirewallPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewFirewallPoliciesClientWithBaseURI creates an instance of the FirewallPoliciesClient client.
func NewFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) FirewallPoliciesClient {
return FirewallPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicyrulegroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicyrulegroups.go
index 9f5b5e66829ef..1f9d711f63d8e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicyrulegroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/firewallpolicyrulegroups.go
@@ -36,9 +36,7 @@ func NewFirewallPolicyRuleGroupsClient(subscriptionID string) FirewallPolicyRule
return NewFirewallPolicyRuleGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallPolicyRuleGroupsClientWithBaseURI creates an instance of the FirewallPolicyRuleGroupsClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewFirewallPolicyRuleGroupsClientWithBaseURI creates an instance of the FirewallPolicyRuleGroupsClient client.
func NewFirewallPolicyRuleGroupsClientWithBaseURI(baseURI string, subscriptionID string) FirewallPolicyRuleGroupsClient {
return FirewallPolicyRuleGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/hubvirtualnetworkconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/hubvirtualnetworkconnections.go
index 35f66bddc74f9..538c6bc303214 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/hubvirtualnetworkconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/hubvirtualnetworkconnections.go
@@ -36,8 +36,7 @@ func NewHubVirtualNetworkConnectionsClient(subscriptionID string) HubVirtualNetw
}
// NewHubVirtualNetworkConnectionsClientWithBaseURI creates an instance of the HubVirtualNetworkConnectionsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewHubVirtualNetworkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) HubVirtualNetworkConnectionsClient {
return HubVirtualNetworkConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/inboundnatrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/inboundnatrules.go
index 2d5785e7286dc..2b6fdfe1a52ee 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/inboundnatrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/inboundnatrules.go
@@ -36,8 +36,7 @@ func NewInboundNatRulesClient(subscriptionID string) InboundNatRulesClient {
return NewInboundNatRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInboundNatRulesClientWithBaseURI creates an instance of the InboundNatRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewInboundNatRulesClientWithBaseURI creates an instance of the InboundNatRulesClient client.
func NewInboundNatRulesClientWithBaseURI(baseURI string, subscriptionID string) InboundNatRulesClient {
return InboundNatRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceipconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceipconfigurations.go
index 283015206ee78..81814cc9823db 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceipconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceipconfigurations.go
@@ -35,9 +35,7 @@ func NewInterfaceIPConfigurationsClient(subscriptionID string) InterfaceIPConfig
return NewInterfaceIPConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInterfaceIPConfigurationsClientWithBaseURI creates an instance of the InterfaceIPConfigurationsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewInterfaceIPConfigurationsClientWithBaseURI creates an instance of the InterfaceIPConfigurationsClient client.
func NewInterfaceIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceIPConfigurationsClient {
return InterfaceIPConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceloadbalancers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceloadbalancers.go
index 8e1c8548a2a49..86df7b5c0e97b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceloadbalancers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfaceloadbalancers.go
@@ -35,9 +35,7 @@ func NewInterfaceLoadBalancersClient(subscriptionID string) InterfaceLoadBalance
return NewInterfaceLoadBalancersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInterfaceLoadBalancersClientWithBaseURI creates an instance of the InterfaceLoadBalancersClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewInterfaceLoadBalancersClientWithBaseURI creates an instance of the InterfaceLoadBalancersClient client.
func NewInterfaceLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) InterfaceLoadBalancersClient {
return InterfaceLoadBalancersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacesgroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacesgroup.go
index 64c287fd0e6c7..7438dfed813cf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacesgroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacesgroup.go
@@ -35,8 +35,7 @@ func NewInterfacesClient(subscriptionID string) InterfacesClient {
return NewInterfacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client.
func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient {
return InterfacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacetapconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacetapconfigurations.go
index 96c582b23c896..ca96f6a925937 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacetapconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/interfacetapconfigurations.go
@@ -36,9 +36,7 @@ func NewInterfaceTapConfigurationsClient(subscriptionID string) InterfaceTapConf
return NewInterfaceTapConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInterfaceTapConfigurationsClientWithBaseURI creates an instance of the InterfaceTapConfigurationsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewInterfaceTapConfigurationsClientWithBaseURI creates an instance of the InterfaceTapConfigurationsClient client.
func NewInterfaceTapConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceTapConfigurationsClient {
return InterfaceTapConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ipgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ipgroups.go
index 083f20d0168d2..fc9c39e4b049a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ipgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/ipgroups.go
@@ -35,8 +35,7 @@ func NewIPGroupsClient(subscriptionID string) IPGroupsClient {
return NewIPGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewIPGroupsClientWithBaseURI creates an instance of the IPGroupsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewIPGroupsClientWithBaseURI creates an instance of the IPGroupsClient client.
func NewIPGroupsClientWithBaseURI(baseURI string, subscriptionID string) IPGroupsClient {
return IPGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerbackendaddresspools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerbackendaddresspools.go
index b770b19440f13..3a313c458b608 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerbackendaddresspools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerbackendaddresspools.go
@@ -36,8 +36,7 @@ func NewLoadBalancerBackendAddressPoolsClient(subscriptionID string) LoadBalance
}
// NewLoadBalancerBackendAddressPoolsClientWithBaseURI creates an instance of the LoadBalancerBackendAddressPoolsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewLoadBalancerBackendAddressPoolsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerBackendAddressPoolsClient {
return LoadBalancerBackendAddressPoolsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerfrontendipconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerfrontendipconfigurations.go
index f29c3a567a9ce..6a4ac7319d2ea 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerfrontendipconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerfrontendipconfigurations.go
@@ -37,8 +37,7 @@ func NewLoadBalancerFrontendIPConfigurationsClient(subscriptionID string) LoadBa
}
// NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI creates an instance of the
-// LoadBalancerFrontendIPConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// LoadBalancerFrontendIPConfigurationsClient client.
func NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerFrontendIPConfigurationsClient {
return LoadBalancerFrontendIPConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerloadbalancingrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerloadbalancingrules.go
index 5400ed1f8fd12..3905fe084dcdc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerloadbalancingrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerloadbalancingrules.go
@@ -36,8 +36,7 @@ func NewLoadBalancerLoadBalancingRulesClient(subscriptionID string) LoadBalancer
}
// NewLoadBalancerLoadBalancingRulesClientWithBaseURI creates an instance of the LoadBalancerLoadBalancingRulesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewLoadBalancerLoadBalancingRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerLoadBalancingRulesClient {
return LoadBalancerLoadBalancingRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancernetworkinterfaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancernetworkinterfaces.go
index bb4c2c0690976..0a311ef156df0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancernetworkinterfaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancernetworkinterfaces.go
@@ -36,8 +36,7 @@ func NewLoadBalancerNetworkInterfacesClient(subscriptionID string) LoadBalancerN
}
// NewLoadBalancerNetworkInterfacesClientWithBaseURI creates an instance of the LoadBalancerNetworkInterfacesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewLoadBalancerNetworkInterfacesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerNetworkInterfacesClient {
return LoadBalancerNetworkInterfacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalanceroutboundrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalanceroutboundrules.go
index 33c004e5c0816..3fb4c68dec82b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalanceroutboundrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalanceroutboundrules.go
@@ -35,9 +35,7 @@ func NewLoadBalancerOutboundRulesClient(subscriptionID string) LoadBalancerOutbo
return NewLoadBalancerOutboundRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLoadBalancerOutboundRulesClientWithBaseURI creates an instance of the LoadBalancerOutboundRulesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewLoadBalancerOutboundRulesClientWithBaseURI creates an instance of the LoadBalancerOutboundRulesClient client.
func NewLoadBalancerOutboundRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerOutboundRulesClient {
return LoadBalancerOutboundRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerprobes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerprobes.go
index db52451703e37..0b741a93e0126 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerprobes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancerprobes.go
@@ -35,9 +35,7 @@ func NewLoadBalancerProbesClient(subscriptionID string) LoadBalancerProbesClient
return NewLoadBalancerProbesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLoadBalancerProbesClientWithBaseURI creates an instance of the LoadBalancerProbesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewLoadBalancerProbesClientWithBaseURI creates an instance of the LoadBalancerProbesClient client.
func NewLoadBalancerProbesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerProbesClient {
return LoadBalancerProbesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancers.go
index f7629c14e17a0..471324a5395f5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/loadbalancers.go
@@ -35,8 +35,7 @@ func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient {
return NewLoadBalancersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client.
func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient {
return LoadBalancersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/localnetworkgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/localnetworkgateways.go
index be5194aec010e..ba4d9f315ba25 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/localnetworkgateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/localnetworkgateways.go
@@ -36,9 +36,7 @@ func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysCl
return NewLocalNetworkGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client.
func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient {
return LocalNetworkGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/models.go
index d803d1f8edba7..a75fb13510eea 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/models.go
@@ -500,21 +500,6 @@ func PossibleAzureFirewallThreatIntelModeValues() []AzureFirewallThreatIntelMode
return []AzureFirewallThreatIntelMode{AzureFirewallThreatIntelModeAlert, AzureFirewallThreatIntelModeDeny, AzureFirewallThreatIntelModeOff}
}
-// BastionConnectProtocol enumerates the values for bastion connect protocol.
-type BastionConnectProtocol string
-
-const (
- // RDP ...
- RDP BastionConnectProtocol = "RDP"
- // SSH ...
- SSH BastionConnectProtocol = "SSH"
-)
-
-// PossibleBastionConnectProtocolValues returns an array of possible values for the BastionConnectProtocol const type.
-func PossibleBastionConnectProtocolValues() []BastionConnectProtocol {
- return []BastionConnectProtocol{RDP, SSH}
-}
-
// BgpPeerState enumerates the values for bgp peer state.
type BgpPeerState string
@@ -5594,9 +5579,9 @@ func NewAuthorizationListResultPage(getNextPage func(context.Context, Authorizat
// AuthorizationPropertiesFormat properties of ExpressRouteCircuitAuthorization.
type AuthorizationPropertiesFormat struct {
- // AuthorizationKey - The authorization key.
+ // AuthorizationKey - READ-ONLY; The authorization key.
AuthorizationKey *string `json:"authorizationKey,omitempty"`
- // AuthorizationUseStatus - The authorization use status. Possible values include: 'Available', 'InUse'
+ // AuthorizationUseStatus - READ-ONLY; The authorization use status. Possible values include: 'Available', 'InUse'
AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`
// ProvisioningState - READ-ONLY; The provisioning state of the authorization resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
@@ -7419,35 +7404,6 @@ type AzureFirewallSku struct {
Tier AzureFirewallSkuTier `json:"tier,omitempty"`
}
-// AzureFirewallsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type AzureFirewallsUpdateTagsFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *AzureFirewallsUpdateTagsFuture) Result(client AzureFirewallsClient) (af AzureFirewall, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.AzureFirewallsUpdateTagsFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("network.AzureFirewallsUpdateTagsFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if af.Response.Response, err = future.GetResult(sender); err == nil && af.Response.Response.StatusCode != http.StatusNoContent {
- af, err = client.UpdateTagsResponder(af.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.AzureFirewallsUpdateTagsFuture", "Result", af.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
// AzureReachabilityReport azure reachability report details.
type AzureReachabilityReport struct {
autorest.Response `json:"-"`
@@ -7605,179 +7561,6 @@ type BackendAddressPoolPropertiesFormat struct {
ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}
-// BastionActiveSession the session detail for a target.
-type BastionActiveSession struct {
- // SessionID - READ-ONLY; A unique id for the session.
- SessionID *string `json:"sessionId,omitempty"`
- // StartTime - READ-ONLY; The time when the session started.
- StartTime interface{} `json:"startTime,omitempty"`
- // TargetSubscriptionID - READ-ONLY; The subscription id for the target virtual machine.
- TargetSubscriptionID *string `json:"targetSubscriptionId,omitempty"`
- // ResourceType - READ-ONLY; The type of the resource.
- ResourceType *string `json:"resourceType,omitempty"`
- // TargetHostName - READ-ONLY; The host name of the target.
- TargetHostName *string `json:"targetHostName,omitempty"`
- // TargetResourceGroup - READ-ONLY; The resource group of the target.
- TargetResourceGroup *string `json:"targetResourceGroup,omitempty"`
- // UserName - READ-ONLY; The user name who is active on this session.
- UserName *string `json:"userName,omitempty"`
- // TargetIPAddress - READ-ONLY; The IP Address of the target.
- TargetIPAddress *string `json:"targetIpAddress,omitempty"`
- // Protocol - READ-ONLY; The protocol used to connect to the target. Possible values include: 'SSH', 'RDP'
- Protocol BastionConnectProtocol `json:"protocol,omitempty"`
- // TargetResourceID - READ-ONLY; The resource id of the target.
- TargetResourceID *string `json:"targetResourceId,omitempty"`
- // SessionDurationInMins - READ-ONLY; Duration in mins the session has been active.
- SessionDurationInMins *float64 `json:"sessionDurationInMins,omitempty"`
-}
-
-// BastionActiveSessionListResult response for GetActiveSessions.
-type BastionActiveSessionListResult struct {
- autorest.Response `json:"-"`
- // Value - List of active sessions on the bastion.
- Value *[]BastionActiveSession `json:"value,omitempty"`
- // NextLink - Gets or sets the URL to get the next set of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// BastionActiveSessionListResultIterator provides access to a complete listing of BastionActiveSession
-// values.
-type BastionActiveSessionListResultIterator struct {
- i int
- page BastionActiveSessionListResultPage
-}
-
-// NextWithContext 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 *BastionActiveSessionListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BastionActiveSessionListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *BastionActiveSessionListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter BastionActiveSessionListResultIterator) 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 BastionActiveSessionListResultIterator) Response() BastionActiveSessionListResult {
- 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 BastionActiveSessionListResultIterator) Value() BastionActiveSession {
- if !iter.page.NotDone() {
- return BastionActiveSession{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the BastionActiveSessionListResultIterator type.
-func NewBastionActiveSessionListResultIterator(page BastionActiveSessionListResultPage) BastionActiveSessionListResultIterator {
- return BastionActiveSessionListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (baslr BastionActiveSessionListResult) IsEmpty() bool {
- return baslr.Value == nil || len(*baslr.Value) == 0
-}
-
-// bastionActiveSessionListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (baslr BastionActiveSessionListResult) bastionActiveSessionListResultPreparer(ctx context.Context) (*http.Request, error) {
- if baslr.NextLink == nil || len(to.String(baslr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(baslr.NextLink)))
-}
-
-// BastionActiveSessionListResultPage contains a page of BastionActiveSession values.
-type BastionActiveSessionListResultPage struct {
- fn func(context.Context, BastionActiveSessionListResult) (BastionActiveSessionListResult, error)
- baslr BastionActiveSessionListResult
-}
-
-// NextWithContext 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 *BastionActiveSessionListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BastionActiveSessionListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.baslr)
- if err != nil {
- return err
- }
- page.baslr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *BastionActiveSessionListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page BastionActiveSessionListResultPage) NotDone() bool {
- return !page.baslr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page BastionActiveSessionListResultPage) Response() BastionActiveSessionListResult {
- return page.baslr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page BastionActiveSessionListResultPage) Values() []BastionActiveSession {
- if page.baslr.IsEmpty() {
- return nil
- }
- return *page.baslr.Value
-}
-
-// Creates a new instance of the BastionActiveSessionListResultPage type.
-func NewBastionActiveSessionListResultPage(getNextPage func(context.Context, BastionActiveSessionListResult) (BastionActiveSessionListResult, error)) BastionActiveSessionListResultPage {
- return BastionActiveSessionListResultPage{fn: getNextPage}
-}
-
// BastionHost bastion Host resource.
type BastionHost struct {
autorest.Response `json:"-"`
@@ -8202,327 +7985,6 @@ func (future *BastionHostsDeleteFuture) Result(client BastionHostsClient) (ar au
return
}
-// BastionSessionDeleteResult response for DisconnectActiveSessions.
-type BastionSessionDeleteResult struct {
- autorest.Response `json:"-"`
- // Value - List of sessions with their corresponding state.
- Value *[]BastionSessionState `json:"value,omitempty"`
- // NextLink - Gets or sets the URL to get the next set of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// BastionSessionDeleteResultIterator provides access to a complete listing of BastionSessionState values.
-type BastionSessionDeleteResultIterator struct {
- i int
- page BastionSessionDeleteResultPage
-}
-
-// NextWithContext 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 *BastionSessionDeleteResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BastionSessionDeleteResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *BastionSessionDeleteResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter BastionSessionDeleteResultIterator) 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 BastionSessionDeleteResultIterator) Response() BastionSessionDeleteResult {
- 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 BastionSessionDeleteResultIterator) Value() BastionSessionState {
- if !iter.page.NotDone() {
- return BastionSessionState{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the BastionSessionDeleteResultIterator type.
-func NewBastionSessionDeleteResultIterator(page BastionSessionDeleteResultPage) BastionSessionDeleteResultIterator {
- return BastionSessionDeleteResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (bsdr BastionSessionDeleteResult) IsEmpty() bool {
- return bsdr.Value == nil || len(*bsdr.Value) == 0
-}
-
-// bastionSessionDeleteResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (bsdr BastionSessionDeleteResult) bastionSessionDeleteResultPreparer(ctx context.Context) (*http.Request, error) {
- if bsdr.NextLink == nil || len(to.String(bsdr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(bsdr.NextLink)))
-}
-
-// BastionSessionDeleteResultPage contains a page of BastionSessionState values.
-type BastionSessionDeleteResultPage struct {
- fn func(context.Context, BastionSessionDeleteResult) (BastionSessionDeleteResult, error)
- bsdr BastionSessionDeleteResult
-}
-
-// NextWithContext 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 *BastionSessionDeleteResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BastionSessionDeleteResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.bsdr)
- if err != nil {
- return err
- }
- page.bsdr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *BastionSessionDeleteResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page BastionSessionDeleteResultPage) NotDone() bool {
- return !page.bsdr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page BastionSessionDeleteResultPage) Response() BastionSessionDeleteResult {
- return page.bsdr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page BastionSessionDeleteResultPage) Values() []BastionSessionState {
- if page.bsdr.IsEmpty() {
- return nil
- }
- return *page.bsdr.Value
-}
-
-// Creates a new instance of the BastionSessionDeleteResultPage type.
-func NewBastionSessionDeleteResultPage(getNextPage func(context.Context, BastionSessionDeleteResult) (BastionSessionDeleteResult, error)) BastionSessionDeleteResultPage {
- return BastionSessionDeleteResultPage{fn: getNextPage}
-}
-
-// BastionSessionState the session state detail for a target.
-type BastionSessionState struct {
- // SessionID - READ-ONLY; A unique id for the session.
- SessionID *string `json:"sessionId,omitempty"`
- // Message - READ-ONLY; Used for extra information.
- Message *string `json:"message,omitempty"`
- // State - READ-ONLY; The state of the session. Disconnected/Failed/NotFound.
- State *string `json:"state,omitempty"`
-}
-
-// BastionShareableLink bastion Shareable Link.
-type BastionShareableLink struct {
- // VM - Reference of the virtual machine resource.
- VM *VM `json:"vm,omitempty"`
- // Bsl - READ-ONLY; The unique Bastion Shareable Link to the virtual machine.
- Bsl *string `json:"bsl,omitempty"`
- // CreatedAt - READ-ONLY; The time when the link was created.
- CreatedAt *string `json:"createdAt,omitempty"`
- // Message - READ-ONLY; Optional field indicating the warning or error message related to the vm in case of partial failure
- Message *string `json:"message,omitempty"`
-}
-
-// BastionShareableLinkListRequest post request for all the Bastion Shareable Link endpoints.
-type BastionShareableLinkListRequest struct {
- // Vms - List of VM references.
- Vms *[]BastionShareableLink `json:"vms,omitempty"`
-}
-
-// BastionShareableLinkListResult response for all the Bastion Shareable Link endpoints.
-type BastionShareableLinkListResult struct {
- autorest.Response `json:"-"`
- // Value - List of Bastion Shareable Links for the request.
- Value *[]BastionShareableLink `json:"value,omitempty"`
- // NextLink - Gets or sets the URL to get the next set of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// BastionShareableLinkListResultIterator provides access to a complete listing of BastionShareableLink
-// values.
-type BastionShareableLinkListResultIterator struct {
- i int
- page BastionShareableLinkListResultPage
-}
-
-// NextWithContext 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 *BastionShareableLinkListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BastionShareableLinkListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *BastionShareableLinkListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter BastionShareableLinkListResultIterator) 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 BastionShareableLinkListResultIterator) Response() BastionShareableLinkListResult {
- 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 BastionShareableLinkListResultIterator) Value() BastionShareableLink {
- if !iter.page.NotDone() {
- return BastionShareableLink{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the BastionShareableLinkListResultIterator type.
-func NewBastionShareableLinkListResultIterator(page BastionShareableLinkListResultPage) BastionShareableLinkListResultIterator {
- return BastionShareableLinkListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (bsllr BastionShareableLinkListResult) IsEmpty() bool {
- return bsllr.Value == nil || len(*bsllr.Value) == 0
-}
-
-// bastionShareableLinkListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (bsllr BastionShareableLinkListResult) bastionShareableLinkListResultPreparer(ctx context.Context) (*http.Request, error) {
- if bsllr.NextLink == nil || len(to.String(bsllr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(bsllr.NextLink)))
-}
-
-// BastionShareableLinkListResultPage contains a page of BastionShareableLink values.
-type BastionShareableLinkListResultPage struct {
- fn func(context.Context, BastionShareableLinkListResult) (BastionShareableLinkListResult, error)
- bsllr BastionShareableLinkListResult
-}
-
-// NextWithContext 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 *BastionShareableLinkListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BastionShareableLinkListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.bsllr)
- if err != nil {
- return err
- }
- page.bsllr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *BastionShareableLinkListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page BastionShareableLinkListResultPage) NotDone() bool {
- return !page.bsllr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page BastionShareableLinkListResultPage) Response() BastionShareableLinkListResult {
- return page.bsllr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page BastionShareableLinkListResultPage) Values() []BastionShareableLink {
- if page.bsllr.IsEmpty() {
- return nil
- }
- return *page.bsllr.Value
-}
-
-// Creates a new instance of the BastionShareableLinkListResultPage type.
-func NewBastionShareableLinkListResultPage(getNextPage func(context.Context, BastionShareableLinkListResult) (BastionShareableLinkListResult, error)) BastionShareableLinkListResultPage {
- return BastionShareableLinkListResultPage{fn: getNextPage}
-}
-
// BGPCommunity contains bgp community information offered in Service Community resources.
type BGPCommunity struct {
// ServiceSupportedRegion - The region which the service support. e.g. For O365, region is Global.
@@ -10265,29 +9727,6 @@ func (d *Delegation) UnmarshalJSON(body []byte) error {
return nil
}
-// DeleteBastionShareableLinkFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type DeleteBastionShareableLinkFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *DeleteBastionShareableLinkFuture) Result(client BaseClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.DeleteBastionShareableLinkFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("network.DeleteBastionShareableLinkFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
// DeviceProperties list of properties of the device.
type DeviceProperties struct {
// DeviceVendor - Name of the device Vendor.
@@ -11162,7 +10601,7 @@ type ExpressRouteCircuitConnectionPropertiesFormat struct {
AddressPrefix *string `json:"addressPrefix,omitempty"`
// AuthorizationKey - The authorization key.
AuthorizationKey *string `json:"authorizationKey,omitempty"`
- // CircuitConnectionStatus - Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected'
+ // CircuitConnectionStatus - READ-ONLY; Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected'
CircuitConnectionStatus CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"`
// ProvisioningState - READ-ONLY; The provisioning state of the express route circuit connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
@@ -11633,7 +11072,7 @@ type ExpressRouteCircuitPeeringPropertiesFormat struct {
PeeringType ExpressRoutePeeringType `json:"peeringType,omitempty"`
// State - The peering state. Possible values include: 'ExpressRoutePeeringStateDisabled', 'ExpressRoutePeeringStateEnabled'
State ExpressRoutePeeringState `json:"state,omitempty"`
- // AzureASN - The Azure ASN.
+ // AzureASN - READ-ONLY; The Azure ASN.
AzureASN *int32 `json:"azureASN,omitempty"`
// PeerASN - The peer ASN.
PeerASN *int64 `json:"peerASN,omitempty"`
@@ -11641,9 +11080,9 @@ type ExpressRouteCircuitPeeringPropertiesFormat struct {
PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
// SecondaryPeerAddressPrefix - The secondary address prefix.
SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
- // PrimaryAzurePort - The primary port.
+ // PrimaryAzurePort - READ-ONLY; The primary port.
PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
- // SecondaryAzurePort - The secondary port.
+ // SecondaryAzurePort - READ-ONLY; The secondary port.
SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
// SharedKey - The shared key.
SharedKey *string `json:"sharedKey,omitempty"`
@@ -11665,7 +11104,7 @@ type ExpressRouteCircuitPeeringPropertiesFormat struct {
Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`
// ExpressRouteConnection - The ExpressRoute connection.
ExpressRouteConnection *ExpressRouteConnectionID `json:"expressRouteConnection,omitempty"`
- // Connections - The list of circuit connections associated with Azure Private Peering for this circuit.
+ // Connections - READ-ONLY; The list of circuit connections associated with Azure Private Peering for this circuit.
Connections *[]ExpressRouteCircuitConnection `json:"connections,omitempty"`
// PeeredConnections - READ-ONLY; The list of peered circuit connections associated with Azure Private Peering for this circuit.
PeeredConnections *[]PeerExpressRouteCircuitConnection `json:"peeredConnections,omitempty"`
@@ -11727,15 +11166,15 @@ func (future *ExpressRouteCircuitPeeringsDeleteFuture) Result(client ExpressRout
type ExpressRouteCircuitPropertiesFormat struct {
// AllowClassicOperations - Allow classic operations.
AllowClassicOperations *bool `json:"allowClassicOperations,omitempty"`
- // CircuitProvisioningState - The CircuitProvisioningState state of the resource.
+ // CircuitProvisioningState - READ-ONLY; The CircuitProvisioningState state of the resource.
CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"`
- // ServiceProviderProvisioningState - The ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
+ // ServiceProviderProvisioningState - READ-ONLY; The ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`
// Authorizations - The list of authorizations.
Authorizations *[]ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"`
// Peerings - The list of peerings.
Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"`
- // ServiceKey - The ServiceKey.
+ // ServiceKey - READ-ONLY; The ServiceKey.
ServiceKey *string `json:"serviceKey,omitempty"`
// ServiceProviderNotes - The ServiceProviderNotes.
ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`
@@ -11751,7 +11190,7 @@ type ExpressRouteCircuitPropertiesFormat struct {
ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
// GatewayManagerEtag - The GatewayManager Etag.
GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
- // GlobalReachEnabled - Flag denoting Global reach status.
+ // GlobalReachEnabled - READ-ONLY; Flag denoting Global reach status.
GlobalReachEnabled *bool `json:"globalReachEnabled,omitempty"`
}
@@ -15638,64 +15077,6 @@ func (future *GeneratevirtualwanvpnserverconfigurationvpnprofileFuture) Result(c
return
}
-// GetActiveSessionsAllFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type GetActiveSessionsAllFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *GetActiveSessionsAllFuture) Result(client BaseClient) (baslrp BastionActiveSessionListResultPage, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.GetActiveSessionsAllFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("network.GetActiveSessionsAllFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if baslrp.baslr.Response.Response, err = future.GetResult(sender); err == nil && baslrp.baslr.Response.Response.StatusCode != http.StatusNoContent {
- baslrp, err = client.GetActiveSessionsResponder(baslrp.baslr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.GetActiveSessionsAllFuture", "Result", baslrp.baslr.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// GetActiveSessionsFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type GetActiveSessionsFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *GetActiveSessionsFuture) Result(client BaseClient) (baslrp BastionActiveSessionListResultPage, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.GetActiveSessionsFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("network.GetActiveSessionsFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if baslrp.baslr.Response.Response, err = future.GetResult(sender); err == nil && baslrp.baslr.Response.Response.StatusCode != http.StatusNoContent {
- baslrp, err = client.GetActiveSessionsResponder(baslrp.baslr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.GetActiveSessionsFuture", "Result", baslrp.baslr.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
// GetVpnSitesConfigurationRequest list of Vpn-Sites.
type GetVpnSitesConfigurationRequest struct {
// VpnSites - List of resource-ids of the vpn-sites for which config is to be downloaded.
@@ -25514,64 +24895,6 @@ type PublicIPPrefixSku struct {
Name PublicIPPrefixSkuName `json:"name,omitempty"`
}
-// PutBastionShareableLinkAllFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type PutBastionShareableLinkAllFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PutBastionShareableLinkAllFuture) Result(client BaseClient) (bsllrp BastionShareableLinkListResultPage, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.PutBastionShareableLinkAllFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("network.PutBastionShareableLinkAllFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if bsllrp.bsllr.Response.Response, err = future.GetResult(sender); err == nil && bsllrp.bsllr.Response.Response.StatusCode != http.StatusNoContent {
- bsllrp, err = client.PutBastionShareableLinkResponder(bsllrp.bsllr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.PutBastionShareableLinkAllFuture", "Result", bsllrp.bsllr.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// PutBastionShareableLinkFuture an abstraction for monitoring and retrieving the results of a long-running
-// operation.
-type PutBastionShareableLinkFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PutBastionShareableLinkFuture) Result(client BaseClient) (bsllrp BastionShareableLinkListResultPage, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.PutBastionShareableLinkFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("network.PutBastionShareableLinkFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if bsllrp.bsllr.Response.Response, err = future.GetResult(sender); err == nil && bsllrp.bsllr.Response.Response.StatusCode != http.StatusNoContent {
- bsllrp, err = client.PutBastionShareableLinkResponder(bsllrp.bsllr.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "network.PutBastionShareableLinkFuture", "Result", bsllrp.bsllr.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
// QueryTroubleshootingParameters parameters that define the resource to query the troubleshooting result.
type QueryTroubleshootingParameters struct {
// TargetResourceID - The target resource ID to query the troubleshooting result.
@@ -28530,12 +27853,6 @@ type ServiceTagsListResult struct {
Values *[]ServiceTagInformation `json:"values,omitempty"`
}
-// SessionIds list of session ids.
-type SessionIds struct {
- // SessionIds - List of session ids
- SessionIds *[]string `json:"sessionIds,omitempty"`
-}
-
// String ...
type String struct {
autorest.Response `json:"-"`
@@ -33340,35 +32657,6 @@ type VirtualWanVpnProfileParameters struct {
AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"`
}
-// VM describes a Virtual Machine.
-type VM struct {
- // ID - Resource ID.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; 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 VM.
-func (vVar VM) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if vVar.ID != nil {
- objectMap["id"] = vVar.ID
- }
- if vVar.Location != nil {
- objectMap["location"] = vVar.Location
- }
- if vVar.Tags != nil {
- objectMap["tags"] = vVar.Tags
- }
- return json.Marshal(objectMap)
-}
-
// VpnClientConfiguration vpnClientConfiguration for P2S client.
type VpnClientConfiguration struct {
// VpnClientAddressPool - The reference of the address space resource which represents Address space for P2S VpnClient.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/natgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/natgateways.go
index c7117ff54faa2..6062fe5018a6f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/natgateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/natgateways.go
@@ -35,8 +35,7 @@ func NewNatGatewaysClient(subscriptionID string) NatGatewaysClient {
return NewNatGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNatGatewaysClientWithBaseURI creates an instance of the NatGatewaysClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNatGatewaysClientWithBaseURI creates an instance of the NatGatewaysClient client.
func NewNatGatewaysClientWithBaseURI(baseURI string, subscriptionID string) NatGatewaysClient {
return NatGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/operations.go
index 867e021753751..9ff7ba899c26e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/p2svpngateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/p2svpngateways.go
index 2a740e493f666..e6ce519a6921a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/p2svpngateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/p2svpngateways.go
@@ -35,8 +35,7 @@ func NewP2sVpnGatewaysClient(subscriptionID string) P2sVpnGatewaysClient {
return NewP2sVpnGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewP2sVpnGatewaysClientWithBaseURI creates an instance of the P2sVpnGatewaysClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewP2sVpnGatewaysClientWithBaseURI creates an instance of the P2sVpnGatewaysClient client.
func NewP2sVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) P2sVpnGatewaysClient {
return P2sVpnGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/packetcaptures.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/packetcaptures.go
index ad7678e864429..66849468a82b9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/packetcaptures.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/packetcaptures.go
@@ -36,8 +36,7 @@ func NewPacketCapturesClient(subscriptionID string) PacketCapturesClient {
return NewPacketCapturesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPacketCapturesClientWithBaseURI creates an instance of the PacketCapturesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPacketCapturesClientWithBaseURI creates an instance of the PacketCapturesClient client.
func NewPacketCapturesClientWithBaseURI(baseURI string, subscriptionID string) PacketCapturesClient {
return PacketCapturesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/peerexpressroutecircuitconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/peerexpressroutecircuitconnections.go
index 166d6d72eefc0..463a28627bdfc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/peerexpressroutecircuitconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/peerexpressroutecircuitconnections.go
@@ -37,8 +37,7 @@ func NewPeerExpressRouteCircuitConnectionsClient(subscriptionID string) PeerExpr
}
// NewPeerExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the
-// PeerExpressRouteCircuitConnectionsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// PeerExpressRouteCircuitConnectionsClient client.
func NewPeerExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PeerExpressRouteCircuitConnectionsClient {
return PeerExpressRouteCircuitConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privateendpoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privateendpoints.go
index 41871c839684f..88e6404315eb0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privateendpoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privateendpoints.go
@@ -35,9 +35,7 @@ func NewPrivateEndpointsClient(subscriptionID string) PrivateEndpointsClient {
return NewPrivateEndpointsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPrivateEndpointsClientWithBaseURI creates an instance of the PrivateEndpointsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewPrivateEndpointsClientWithBaseURI creates an instance of the PrivateEndpointsClient client.
func NewPrivateEndpointsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointsClient {
return PrivateEndpointsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privatelinkservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privatelinkservices.go
index dff7bdc8acf69..b720d3016ac47 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privatelinkservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/privatelinkservices.go
@@ -35,9 +35,7 @@ func NewPrivateLinkServicesClient(subscriptionID string) PrivateLinkServicesClie
return NewPrivateLinkServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPrivateLinkServicesClientWithBaseURI creates an instance of the PrivateLinkServicesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewPrivateLinkServicesClientWithBaseURI creates an instance of the PrivateLinkServicesClient client.
func NewPrivateLinkServicesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkServicesClient {
return PrivateLinkServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/profiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/profiles.go
index de2aef1235abc..5ced517fd52bf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/profiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/profiles.go
@@ -35,8 +35,7 @@ func NewProfilesClient(subscriptionID string) ProfilesClient {
return NewProfilesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client.
func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient {
return ProfilesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipaddresses.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipaddresses.go
index eb322b36dfd6e..d6def66f39c49 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipaddresses.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipaddresses.go
@@ -36,9 +36,7 @@ func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient {
return NewPublicIPAddressesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client.
func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient {
return PublicIPAddressesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipprefixes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipprefixes.go
index e0e9a5f30e781..e9c290bda0de0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipprefixes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/publicipprefixes.go
@@ -35,9 +35,7 @@ func NewPublicIPPrefixesClient(subscriptionID string) PublicIPPrefixesClient {
return NewPublicIPPrefixesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPublicIPPrefixesClientWithBaseURI creates an instance of the PublicIPPrefixesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewPublicIPPrefixesClientWithBaseURI creates an instance of the PublicIPPrefixesClient client.
func NewPublicIPPrefixesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPPrefixesClient {
return PublicIPPrefixesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/resourcenavigationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/resourcenavigationlinks.go
index bd3f63cf13e86..465305198d677 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/resourcenavigationlinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/resourcenavigationlinks.go
@@ -35,9 +35,7 @@ func NewResourceNavigationLinksClient(subscriptionID string) ResourceNavigationL
return NewResourceNavigationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceNavigationLinksClientWithBaseURI creates an instance of the ResourceNavigationLinksClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewResourceNavigationLinksClientWithBaseURI creates an instance of the ResourceNavigationLinksClient client.
func NewResourceNavigationLinksClientWithBaseURI(baseURI string, subscriptionID string) ResourceNavigationLinksClient {
return ResourceNavigationLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilterrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilterrules.go
index 11670272ff13d..0a72eab675a9d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilterrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilterrules.go
@@ -36,9 +36,7 @@ func NewRouteFilterRulesClient(subscriptionID string) RouteFilterRulesClient {
return NewRouteFilterRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRouteFilterRulesClientWithBaseURI creates an instance of the RouteFilterRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewRouteFilterRulesClientWithBaseURI creates an instance of the RouteFilterRulesClient client.
func NewRouteFilterRulesClientWithBaseURI(baseURI string, subscriptionID string) RouteFilterRulesClient {
return RouteFilterRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilters.go
index 4c613d9a2d4e6..0cf33cff6e542 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routefilters.go
@@ -35,8 +35,7 @@ func NewRouteFiltersClient(subscriptionID string) RouteFiltersClient {
return NewRouteFiltersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRouteFiltersClientWithBaseURI creates an instance of the RouteFiltersClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRouteFiltersClientWithBaseURI creates an instance of the RouteFiltersClient client.
func NewRouteFiltersClientWithBaseURI(baseURI string, subscriptionID string) RouteFiltersClient {
return RouteFiltersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routes.go
index 3e23fb0a922dd..f5ac2576c7393 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routes.go
@@ -35,8 +35,7 @@ func NewRoutesClient(subscriptionID string) RoutesClient {
return NewRoutesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRoutesClientWithBaseURI creates an instance of the RoutesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRoutesClientWithBaseURI creates an instance of the RoutesClient client.
func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient {
return RoutesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routetables.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routetables.go
index 3567cefc37b8e..a7df1c0b6f038 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routetables.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/routetables.go
@@ -35,8 +35,7 @@ func NewRouteTablesClient(subscriptionID string) RouteTablesClient {
return NewRouteTablesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client.
func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient {
return RouteTablesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securitygroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securitygroups.go
index 72e6fb8b85273..8ec0a4a4158ae 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securitygroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securitygroups.go
@@ -35,8 +35,7 @@ func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient {
return NewSecurityGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client.
func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient {
return SecurityGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securityrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securityrules.go
index f5f962b1b5613..b3ce9a155428c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securityrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/securityrules.go
@@ -35,8 +35,7 @@ func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient {
return NewSecurityRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client.
func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient {
return SecurityRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceassociationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceassociationlinks.go
index bf5fe3391d33e..afb9d5c59d732 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceassociationlinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceassociationlinks.go
@@ -35,9 +35,7 @@ func NewServiceAssociationLinksClient(subscriptionID string) ServiceAssociationL
return NewServiceAssociationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceAssociationLinksClientWithBaseURI creates an instance of the ServiceAssociationLinksClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewServiceAssociationLinksClientWithBaseURI creates an instance of the ServiceAssociationLinksClient client.
func NewServiceAssociationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServiceAssociationLinksClient {
return ServiceAssociationLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicies.go
index b18f9b20e01e5..8f3a89785c421 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicies.go
@@ -35,9 +35,7 @@ func NewServiceEndpointPoliciesClient(subscriptionID string) ServiceEndpointPoli
return NewServiceEndpointPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceEndpointPoliciesClientWithBaseURI creates an instance of the ServiceEndpointPoliciesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewServiceEndpointPoliciesClientWithBaseURI creates an instance of the ServiceEndpointPoliciesClient client.
func NewServiceEndpointPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPoliciesClient {
return ServiceEndpointPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicydefinitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicydefinitions.go
index 517d2cb6745e9..222d07dcd4ab2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicydefinitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/serviceendpointpolicydefinitions.go
@@ -36,8 +36,7 @@ func NewServiceEndpointPolicyDefinitionsClient(subscriptionID string) ServiceEnd
}
// NewServiceEndpointPolicyDefinitionsClientWithBaseURI creates an instance of the
-// ServiceEndpointPolicyDefinitionsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ServiceEndpointPolicyDefinitionsClient client.
func NewServiceEndpointPolicyDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPolicyDefinitionsClient {
return ServiceEndpointPolicyDefinitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/servicetags.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/servicetags.go
index 9b6295d7a9f65..cbbd7d0fbde36 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/servicetags.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/servicetags.go
@@ -35,8 +35,7 @@ func NewServiceTagsClient(subscriptionID string) ServiceTagsClient {
return NewServiceTagsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceTagsClientWithBaseURI creates an instance of the ServiceTagsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServiceTagsClientWithBaseURI creates an instance of the ServiceTagsClient client.
func NewServiceTagsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTagsClient {
return ServiceTagsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/subnets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/subnets.go
index edcf1d7fcebe9..96ab7b847dbea 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/subnets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/subnets.go
@@ -35,8 +35,7 @@ func NewSubnetsClient(subscriptionID string) SubnetsClient {
return NewSubnetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client.
func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient {
return SubnetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/usages.go
index 70d240068a67d..c658a631cf956 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/usages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/usages.go
@@ -36,8 +36,7 @@ func NewUsagesClient(subscriptionID string) UsagesClient {
return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubroutetablev2s.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubroutetablev2s.go
index 10f635a240021..a95c5cb00bfba 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubroutetablev2s.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubroutetablev2s.go
@@ -35,9 +35,7 @@ func NewVirtualHubRouteTableV2sClient(subscriptionID string) VirtualHubRouteTabl
return NewVirtualHubRouteTableV2sClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualHubRouteTableV2sClientWithBaseURI creates an instance of the VirtualHubRouteTableV2sClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVirtualHubRouteTableV2sClientWithBaseURI creates an instance of the VirtualHubRouteTableV2sClient client.
func NewVirtualHubRouteTableV2sClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubRouteTableV2sClient {
return VirtualHubRouteTableV2sClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubs.go
index d78a492559d0c..4106182e49726 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualhubs.go
@@ -35,8 +35,7 @@ func NewVirtualHubsClient(subscriptionID string) VirtualHubsClient {
return NewVirtualHubsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualHubsClientWithBaseURI creates an instance of the VirtualHubsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualHubsClientWithBaseURI creates an instance of the VirtualHubsClient client.
func NewVirtualHubsClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubsClient {
return VirtualHubsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgatewayconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgatewayconnections.go
index 511f6be479920..28425f557f63c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgatewayconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgatewayconnections.go
@@ -37,8 +37,7 @@ func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNet
}
// NewVirtualNetworkGatewayConnectionsClientWithBaseURI creates an instance of the
-// VirtualNetworkGatewayConnectionsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// VirtualNetworkGatewayConnectionsClient client.
func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient {
return VirtualNetworkGatewayConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgateways.go
index 537dcf124cb36..f7780bd49cfdc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkgateways.go
@@ -36,9 +36,7 @@ func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewa
return NewVirtualNetworkGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client.
func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient {
return VirtualNetworkGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkpeerings.go
index 0a6a281d13b79..717551401a736 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkpeerings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworkpeerings.go
@@ -35,9 +35,7 @@ func NewVirtualNetworkPeeringsClient(subscriptionID string) VirtualNetworkPeerin
return NewVirtualNetworkPeeringsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkPeeringsClientWithBaseURI creates an instance of the VirtualNetworkPeeringsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVirtualNetworkPeeringsClientWithBaseURI creates an instance of the VirtualNetworkPeeringsClient client.
func NewVirtualNetworkPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkPeeringsClient {
return VirtualNetworkPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworks.go
index ac12325a8500d..d024e61f00822 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworks.go
@@ -36,8 +36,7 @@ func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient {
return NewVirtualNetworksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client.
func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient {
return VirtualNetworksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworktaps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworktaps.go
index c9a0ac69e7de9..a4374217dea19 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworktaps.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualnetworktaps.go
@@ -36,9 +36,7 @@ func NewVirtualNetworkTapsClient(subscriptionID string) VirtualNetworkTapsClient
return NewVirtualNetworkTapsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkTapsClientWithBaseURI creates an instance of the VirtualNetworkTapsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkTapsClientWithBaseURI creates an instance of the VirtualNetworkTapsClient client.
func NewVirtualNetworkTapsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkTapsClient {
return VirtualNetworkTapsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouterpeerings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouterpeerings.go
index 31ee9e1c296dc..edf8378453957 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouterpeerings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouterpeerings.go
@@ -36,9 +36,7 @@ func NewVirtualRouterPeeringsClient(subscriptionID string) VirtualRouterPeerings
return NewVirtualRouterPeeringsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualRouterPeeringsClientWithBaseURI creates an instance of the VirtualRouterPeeringsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVirtualRouterPeeringsClientWithBaseURI creates an instance of the VirtualRouterPeeringsClient client.
func NewVirtualRouterPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualRouterPeeringsClient {
return VirtualRouterPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouters.go
index 9c7955fa9f3b8..ed42d5b28ace3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualrouters.go
@@ -36,8 +36,7 @@ func NewVirtualRoutersClient(subscriptionID string) VirtualRoutersClient {
return NewVirtualRoutersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualRoutersClientWithBaseURI creates an instance of the VirtualRoutersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualRoutersClientWithBaseURI creates an instance of the VirtualRoutersClient client.
func NewVirtualRoutersClientWithBaseURI(baseURI string, subscriptionID string) VirtualRoutersClient {
return VirtualRoutersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualwans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualwans.go
index e91c9c90560f6..7361f96c43288 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualwans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/virtualwans.go
@@ -35,8 +35,7 @@ func NewVirtualWansClient(subscriptionID string) VirtualWansClient {
return NewVirtualWansClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualWansClientWithBaseURI creates an instance of the VirtualWansClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualWansClientWithBaseURI creates an instance of the VirtualWansClient client.
func NewVirtualWansClientWithBaseURI(baseURI string, subscriptionID string) VirtualWansClient {
return VirtualWansClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnconnections.go
index 5bc2fa7a39162..993de186d9603 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnconnections.go
@@ -35,8 +35,7 @@ func NewVpnConnectionsClient(subscriptionID string) VpnConnectionsClient {
return NewVpnConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnConnectionsClientWithBaseURI creates an instance of the VpnConnectionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVpnConnectionsClientWithBaseURI creates an instance of the VpnConnectionsClient client.
func NewVpnConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnConnectionsClient {
return VpnConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpngateways.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpngateways.go
index 10d6618f78c74..f088420166900 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpngateways.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpngateways.go
@@ -35,8 +35,7 @@ func NewVpnGatewaysClient(subscriptionID string) VpnGatewaysClient {
return NewVpnGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnGatewaysClientWithBaseURI creates an instance of the VpnGatewaysClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVpnGatewaysClientWithBaseURI creates an instance of the VpnGatewaysClient client.
func NewVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VpnGatewaysClient {
return VpnGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnlinkconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnlinkconnections.go
index 2f64798841dee..8bc32e604e958 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnlinkconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnlinkconnections.go
@@ -35,9 +35,7 @@ func NewVpnLinkConnectionsClient(subscriptionID string) VpnLinkConnectionsClient
return NewVpnLinkConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnLinkConnectionsClientWithBaseURI creates an instance of the VpnLinkConnectionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVpnLinkConnectionsClientWithBaseURI creates an instance of the VpnLinkConnectionsClient client.
func NewVpnLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnLinkConnectionsClient {
return VpnLinkConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurations.go
index 137f72225539c..cc734dd887f5d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurations.go
@@ -35,9 +35,7 @@ func NewVpnServerConfigurationsClient(subscriptionID string) VpnServerConfigurat
return NewVpnServerConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnServerConfigurationsClientWithBaseURI creates an instance of the VpnServerConfigurationsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVpnServerConfigurationsClientWithBaseURI creates an instance of the VpnServerConfigurationsClient client.
func NewVpnServerConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) VpnServerConfigurationsClient {
return VpnServerConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurationsassociatedwithvirtualwan.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurationsassociatedwithvirtualwan.go
index 9e381288c0c4e..5213d528a99b8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurationsassociatedwithvirtualwan.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnserverconfigurationsassociatedwithvirtualwan.go
@@ -37,8 +37,7 @@ func NewVpnServerConfigurationsAssociatedWithVirtualWanClient(subscriptionID str
}
// NewVpnServerConfigurationsAssociatedWithVirtualWanClientWithBaseURI creates an instance of the
-// VpnServerConfigurationsAssociatedWithVirtualWanClient client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// VpnServerConfigurationsAssociatedWithVirtualWanClient client.
func NewVpnServerConfigurationsAssociatedWithVirtualWanClientWithBaseURI(baseURI string, subscriptionID string) VpnServerConfigurationsAssociatedWithVirtualWanClient {
return VpnServerConfigurationsAssociatedWithVirtualWanClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinkconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinkconnections.go
index 9a2a631ff73e0..8db1c30b9af2d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinkconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinkconnections.go
@@ -35,9 +35,7 @@ func NewVpnSiteLinkConnectionsClient(subscriptionID string) VpnSiteLinkConnectio
return NewVpnSiteLinkConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnSiteLinkConnectionsClientWithBaseURI creates an instance of the VpnSiteLinkConnectionsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVpnSiteLinkConnectionsClientWithBaseURI creates an instance of the VpnSiteLinkConnectionsClient client.
func NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinkConnectionsClient {
return VpnSiteLinkConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinks.go
index 7f9d039474eec..b3cc45a2ad058 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitelinks.go
@@ -35,8 +35,7 @@ func NewVpnSiteLinksClient(subscriptionID string) VpnSiteLinksClient {
return NewVpnSiteLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnSiteLinksClientWithBaseURI creates an instance of the VpnSiteLinksClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVpnSiteLinksClientWithBaseURI creates an instance of the VpnSiteLinksClient client.
func NewVpnSiteLinksClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinksClient {
return VpnSiteLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsites.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsites.go
index 5d607fc5ca2c8..7bba492f7ea5d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsites.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsites.go
@@ -35,8 +35,7 @@ func NewVpnSitesClient(subscriptionID string) VpnSitesClient {
return NewVpnSitesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient client.
func NewVpnSitesClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesClient {
return VpnSitesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitesconfiguration.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitesconfiguration.go
index 83b76e73888c4..4baf61776b10b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitesconfiguration.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/vpnsitesconfiguration.go
@@ -36,9 +36,7 @@ func NewVpnSitesConfigurationClient(subscriptionID string) VpnSitesConfiguration
return NewVpnSitesConfigurationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVpnSitesConfigurationClientWithBaseURI creates an instance of the VpnSitesConfigurationClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewVpnSitesConfigurationClientWithBaseURI creates an instance of the VpnSitesConfigurationClient client.
func NewVpnSitesConfigurationClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesConfigurationClient {
return VpnSitesConfigurationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/watchers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/watchers.go
index 857e8962c06a9..2965b624be69d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/watchers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/watchers.go
@@ -36,8 +36,7 @@ func NewWatchersClient(subscriptionID string) WatchersClient {
return NewWatchersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWatchersClientWithBaseURI creates an instance of the WatchersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWatchersClientWithBaseURI creates an instance of the WatchersClient client.
func NewWatchersClientWithBaseURI(baseURI string, subscriptionID string) WatchersClient {
return WatchersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/webapplicationfirewallpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/webapplicationfirewallpolicies.go
index 52588e47c2aa2..9f0e270160d60 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/webapplicationfirewallpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/webapplicationfirewallpolicies.go
@@ -37,8 +37,7 @@ func NewWebApplicationFirewallPoliciesClient(subscriptionID string) WebApplicati
}
// NewWebApplicationFirewallPoliciesClientWithBaseURI creates an instance of the WebApplicationFirewallPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewWebApplicationFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) WebApplicationFirewallPoliciesClient {
return WebApplicationFirewallPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/client.go
index ff048d43de818..e6e99da731379 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/namespaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/namespaces.go
index 830252c7ac2c3..933d035757537 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/namespaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/namespaces.go
@@ -36,8 +36,7 @@ func NewNamespacesClient(subscriptionID string) NamespacesClient {
return NewNamespacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.
func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient {
return NamespacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/notificationhubs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/notificationhubs.go
index a4a589b6776c9..d14f343ee4b38 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/notificationhubs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/notificationhubs.go
@@ -36,8 +36,7 @@ func NewClient(subscriptionID string) Client {
return NewClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return Client{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/operations.go
index ce557f600ce11..f758aa5c52ce7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/notificationhubs/mgmt/2017-04-01/notificationhubs/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/checknameavailability.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/checknameavailability.go
index d8547962e123c..5d4fb9fecb7e1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/checknameavailability.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/checknameavailability.go
@@ -38,9 +38,7 @@ func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailability
return NewCheckNameAvailabilityClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCheckNameAvailabilityClientWithBaseURI creates an instance of the CheckNameAvailabilityClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewCheckNameAvailabilityClientWithBaseURI creates an instance of the CheckNameAvailabilityClient client.
func NewCheckNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckNameAvailabilityClient {
return CheckNameAvailabilityClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/client.go
index 912aea7c38472..13f6e3a49759d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/client.go
@@ -43,8 +43,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/configurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/configurations.go
index d26db410591eb..0fc70f44c4e68 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/configurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/configurations.go
@@ -37,8 +37,7 @@ func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
return NewConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client.
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
return ConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/databases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/databases.go
index 5ad5a712f1ed1..942f7ee8c6d7d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/databases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/databases.go
@@ -37,8 +37,7 @@ func NewDatabasesClient(subscriptionID string) DatabasesClient {
return NewDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client.
func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
return DatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/firewallrules.go
index 4ddf2d56475da..4a831dbb5eda4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/firewallrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/firewallrules.go
@@ -38,8 +38,7 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/locationbasedperformancetier.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/locationbasedperformancetier.go
index eff2e66238ada..fe3b1c7206ede 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/locationbasedperformancetier.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/locationbasedperformancetier.go
@@ -38,8 +38,7 @@ func NewLocationBasedPerformanceTierClient(subscriptionID string) LocationBasedP
}
// NewLocationBasedPerformanceTierClientWithBaseURI creates an instance of the LocationBasedPerformanceTierClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewLocationBasedPerformanceTierClientWithBaseURI(baseURI string, subscriptionID string) LocationBasedPerformanceTierClient {
return LocationBasedPerformanceTierClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/logfiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/logfiles.go
index 6a7ec48271c21..1b45274e0d843 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/logfiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/logfiles.go
@@ -37,8 +37,7 @@ func NewLogFilesClient(subscriptionID string) LogFilesClient {
return NewLogFilesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLogFilesClientWithBaseURI creates an instance of the LogFilesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLogFilesClientWithBaseURI creates an instance of the LogFilesClient client.
func NewLogFilesClientWithBaseURI(baseURI string, subscriptionID string) LogFilesClient {
return LogFilesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/operations.go
index 42ef28087d798..368d0b13fedba 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/operations.go
@@ -37,8 +37,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/replicas.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/replicas.go
index ad4f9288bd34c..c0606334dda83 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/replicas.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/replicas.go
@@ -37,8 +37,7 @@ func NewReplicasClient(subscriptionID string) ReplicasClient {
return NewReplicasClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client.
func NewReplicasClientWithBaseURI(baseURI string, subscriptionID string) ReplicasClient {
return ReplicasClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/servers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/servers.go
index 0ffcde562031f..43f6cdd1e9977 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/servers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/servers.go
@@ -38,8 +38,7 @@ func NewServersClient(subscriptionID string) ServersClient {
return NewServersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServersClientWithBaseURI creates an instance of the ServersClient client.
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return ServersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/serversecurityalertpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/serversecurityalertpolicies.go
index f6430498a3681..f80c9e8009beb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/serversecurityalertpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/serversecurityalertpolicies.go
@@ -37,9 +37,7 @@ func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityA
return NewServerSecurityAlertPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client.
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
return ServerSecurityAlertPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/virtualnetworkrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/virtualnetworkrules.go
index 8c11ce808b0f6..584d19045f0bb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/virtualnetworkrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-12-01/postgresql/virtualnetworkrules.go
@@ -38,9 +38,7 @@ func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClie
return NewVirtualNetworkRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
return VirtualNetworkRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/classicadministrators.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/classicadministrators.go
index 57c3e50bc69da..c0dc1eeeb41de 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/classicadministrators.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/classicadministrators.go
@@ -35,9 +35,7 @@ func NewClassicAdministratorsClient(subscriptionID string) ClassicAdministrators
return NewClassicAdministratorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClassicAdministratorsClientWithBaseURI creates an instance of the ClassicAdministratorsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewClassicAdministratorsClientWithBaseURI creates an instance of the ClassicAdministratorsClient client.
func NewClassicAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ClassicAdministratorsClient {
return ClassicAdministratorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/client.go
index 1958a67601a6c..362420bdfa36a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/denyassignments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/denyassignments.go
index 2ab6b5f0add69..f1a5482501c1a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/denyassignments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/denyassignments.go
@@ -35,8 +35,7 @@ func NewDenyAssignmentsClient(subscriptionID string) DenyAssignmentsClient {
return NewDenyAssignmentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDenyAssignmentsClientWithBaseURI creates an instance of the DenyAssignmentsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDenyAssignmentsClientWithBaseURI creates an instance of the DenyAssignmentsClient client.
func NewDenyAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) DenyAssignmentsClient {
return DenyAssignmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/globaladministrator.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/globaladministrator.go
index 3ce564104df92..ec555ff00193f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/globaladministrator.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/globaladministrator.go
@@ -35,9 +35,7 @@ func NewGlobalAdministratorClient(subscriptionID string) GlobalAdministratorClie
return NewGlobalAdministratorClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGlobalAdministratorClientWithBaseURI creates an instance of the GlobalAdministratorClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewGlobalAdministratorClientWithBaseURI creates an instance of the GlobalAdministratorClient client.
func NewGlobalAdministratorClientWithBaseURI(baseURI string, subscriptionID string) GlobalAdministratorClient {
return GlobalAdministratorClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/permissions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/permissions.go
index eb57a7e22ed7e..c99b1e4ae6a11 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/permissions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/permissions.go
@@ -35,8 +35,7 @@ func NewPermissionsClient(subscriptionID string) PermissionsClient {
return NewPermissionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPermissionsClientWithBaseURI creates an instance of the PermissionsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPermissionsClientWithBaseURI creates an instance of the PermissionsClient client.
func NewPermissionsClientWithBaseURI(baseURI string, subscriptionID string) PermissionsClient {
return PermissionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/provideroperationsmetadata.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/provideroperationsmetadata.go
index 9f0c30168cdb8..4e915dca25aed 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/provideroperationsmetadata.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/provideroperationsmetadata.go
@@ -36,9 +36,7 @@ func NewProviderOperationsMetadataClient(subscriptionID string) ProviderOperatio
return NewProviderOperationsMetadataClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProviderOperationsMetadataClientWithBaseURI creates an instance of the ProviderOperationsMetadataClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewProviderOperationsMetadataClientWithBaseURI creates an instance of the ProviderOperationsMetadataClient client.
func NewProviderOperationsMetadataClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsMetadataClient {
return ProviderOperationsMetadataClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roleassignments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roleassignments.go
index eeb92f2f01f8a..33fccb6338819 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roleassignments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roleassignments.go
@@ -36,8 +36,7 @@ func NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient {
return NewRoleAssignmentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRoleAssignmentsClientWithBaseURI creates an instance of the RoleAssignmentsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRoleAssignmentsClientWithBaseURI creates an instance of the RoleAssignmentsClient client.
func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient {
return RoleAssignmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roledefinitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roledefinitions.go
index 432e862b49641..4c42845fdfc79 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roledefinitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-09-01-preview/authorization/roledefinitions.go
@@ -35,8 +35,7 @@ func NewRoleDefinitionsClient(subscriptionID string) RoleDefinitionsClient {
return NewRoleDefinitionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRoleDefinitionsClientWithBaseURI creates an instance of the RoleDefinitionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRoleDefinitionsClientWithBaseURI creates an instance of the RoleDefinitionsClient client.
func NewRoleDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) RoleDefinitionsClient {
return RoleDefinitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/botconnection.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/botconnection.go
index b99f1cfe578b9..5582ae18a8395 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/botconnection.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/botconnection.go
@@ -36,8 +36,7 @@ func NewBotConnectionClient(subscriptionID string) BotConnectionClient {
return NewBotConnectionClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBotConnectionClientWithBaseURI creates an instance of the BotConnectionClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBotConnectionClientWithBaseURI creates an instance of the BotConnectionClient client.
func NewBotConnectionClientWithBaseURI(baseURI string, subscriptionID string) BotConnectionClient {
return BotConnectionClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/bots.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/bots.go
index fe8c883b059f4..6a487ceeb75f2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/bots.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/bots.go
@@ -36,8 +36,7 @@ func NewBotsClient(subscriptionID string) BotsClient {
return NewBotsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBotsClientWithBaseURI creates an instance of the BotsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBotsClientWithBaseURI creates an instance of the BotsClient client.
func NewBotsClientWithBaseURI(baseURI string, subscriptionID string) BotsClient {
return BotsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/channels.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/channels.go
index 1787ec3f6f87c..dfc52ae46d368 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/channels.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/channels.go
@@ -36,8 +36,7 @@ func NewChannelsClient(subscriptionID string) ChannelsClient {
return NewChannelsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewChannelsClientWithBaseURI creates an instance of the ChannelsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewChannelsClientWithBaseURI creates an instance of the ChannelsClient client.
func NewChannelsClientWithBaseURI(baseURI string, subscriptionID string) ChannelsClient {
return ChannelsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/client.go
index 11ff1b431b5e9..86959a63eecc9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/enterprisechannels.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/enterprisechannels.go
index fb4dba70f5a83..8e02db8c88e07 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/enterprisechannels.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/enterprisechannels.go
@@ -36,9 +36,7 @@ func NewEnterpriseChannelsClient(subscriptionID string) EnterpriseChannelsClient
return NewEnterpriseChannelsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEnterpriseChannelsClientWithBaseURI creates an instance of the EnterpriseChannelsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewEnterpriseChannelsClientWithBaseURI creates an instance of the EnterpriseChannelsClient client.
func NewEnterpriseChannelsClientWithBaseURI(baseURI string, subscriptionID string) EnterpriseChannelsClient {
return EnterpriseChannelsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/operations.go
index 483fba3d50335..9e73bf1e67756 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/client.go
index 05818ba810a57..a2db4dbdb3c7f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domains.go
index a17d34c3614dc..a0608e4ed8be3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domains.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domains.go
@@ -36,8 +36,7 @@ func NewDomainsClient(subscriptionID string) DomainsClient {
return NewDomainsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDomainsClientWithBaseURI creates an instance of the DomainsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDomainsClientWithBaseURI creates an instance of the DomainsClient client.
func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsClient {
return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domaintopics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domaintopics.go
index ef5860345d6de..f39cca2d83fc4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domaintopics.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/domaintopics.go
@@ -35,8 +35,7 @@ func NewDomainTopicsClient(subscriptionID string) DomainTopicsClient {
return NewDomainTopicsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDomainTopicsClientWithBaseURI creates an instance of the DomainTopicsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDomainTopicsClientWithBaseURI creates an instance of the DomainTopicsClient client.
func NewDomainTopicsClientWithBaseURI(baseURI string, subscriptionID string) DomainTopicsClient {
return DomainTopicsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/eventsubscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/eventsubscriptions.go
index 7445c746a1318..86d7c583e8e9e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/eventsubscriptions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/eventsubscriptions.go
@@ -35,9 +35,7 @@ func NewEventSubscriptionsClient(subscriptionID string) EventSubscriptionsClient
return NewEventSubscriptionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEventSubscriptionsClientWithBaseURI creates an instance of the EventSubscriptionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewEventSubscriptionsClientWithBaseURI creates an instance of the EventSubscriptionsClient client.
func NewEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) EventSubscriptionsClient {
return EventSubscriptionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/operations.go
index d391660b39ed8..7895fa2cc9efb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topics.go
index 1684c77295873..efa0b27ac9f7b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topics.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topics.go
@@ -36,8 +36,7 @@ func NewTopicsClient(subscriptionID string) TopicsClient {
return NewTopicsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTopicsClientWithBaseURI creates an instance of the TopicsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTopicsClientWithBaseURI creates an instance of the TopicsClient client.
func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient {
return TopicsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topictypes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topictypes.go
index 9e75cb371f553..feb4fe0a4b896 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topictypes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2018-09-15-preview/eventgrid/topictypes.go
@@ -35,8 +35,7 @@ func NewTopicTypesClient(subscriptionID string) TopicTypesClient {
return NewTopicTypesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTopicTypesClientWithBaseURI creates an instance of the TopicTypesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTopicTypesClientWithBaseURI creates an instance of the TopicTypesClient client.
func NewTopicTypesClientWithBaseURI(baseURI string, subscriptionID string) TopicTypesClient {
return TopicTypesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/applications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/applications.go
index 1395babb165e9..ffe015e0ac5da 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/applications.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/applications.go
@@ -35,8 +35,7 @@ func NewApplicationsClient(subscriptionID string) ApplicationsClient {
return NewApplicationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client.
func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient {
return ApplicationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/client.go
index 5e42809eb22bb..19b78b2d7d9a5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/clusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/clusters.go
index 8f2ff5014b1b7..849bebdbb15a5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/clusters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/clusters.go
@@ -36,8 +36,7 @@ func NewClustersClient(subscriptionID string) ClustersClient {
return NewClustersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClustersClientWithBaseURI creates an instance of the ClustersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClustersClientWithBaseURI creates an instance of the ClustersClient client.
func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient {
return ClustersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/configurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/configurations.go
index d1cbd1924f913..842c89903dc7d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/configurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/configurations.go
@@ -36,8 +36,7 @@ func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
return NewConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewConfigurationsClientWithBaseURI creates an instance of the ConfigurationsClient client.
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
return ConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/extensions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/extensions.go
index 806a8bd6e47eb..184928f5ec280 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/extensions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/extensions.go
@@ -35,8 +35,7 @@ func NewExtensionsClient(subscriptionID string) ExtensionsClient {
return NewExtensionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExtensionsClientWithBaseURI creates an instance of the ExtensionsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewExtensionsClientWithBaseURI creates an instance of the ExtensionsClient client.
func NewExtensionsClientWithBaseURI(baseURI string, subscriptionID string) ExtensionsClient {
return ExtensionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/locations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/locations.go
index 05b6306eb8c8a..4ad0c4ccaef88 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/locations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/locations.go
@@ -35,8 +35,7 @@ func NewLocationsClient(subscriptionID string) LocationsClient {
return NewLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return LocationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go
index 804440086344b..41ef4a815a5cb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/models.go
@@ -702,8 +702,6 @@ type ClusterCreateProperties struct {
StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
// DiskEncryptionProperties - The disk encryption properties.
DiskEncryptionProperties *DiskEncryptionProperties `json:"diskEncryptionProperties,omitempty"`
- // MinSupportedTLSVersion - The minimal supported tls version.
- MinSupportedTLSVersion *string `json:"minSupportedTlsVersion,omitempty"`
}
// ClusterDefinition the cluster definition.
@@ -776,8 +774,6 @@ type ClusterGetProperties struct {
ConnectivityEndpoints *[]ConnectivityEndpoint `json:"connectivityEndpoints,omitempty"`
// DiskEncryptionProperties - The disk encryption properties.
DiskEncryptionProperties *DiskEncryptionProperties `json:"diskEncryptionProperties,omitempty"`
- // MinSupportedTLSVersion - The minimal supported tls version.
- MinSupportedTLSVersion *string `json:"minSupportedTlsVersion,omitempty"`
}
// ClusterIdentity identity for the cluster.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/operations.go
index 617aa0b65ef81..87d505699d25e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptactions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptactions.go
index b3f986bcd4885..ff1ae073c42cf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptactions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptactions.go
@@ -35,8 +35,7 @@ func NewScriptActionsClient(subscriptionID string) ScriptActionsClient {
return NewScriptActionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewScriptActionsClientWithBaseURI creates an instance of the ScriptActionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewScriptActionsClientWithBaseURI creates an instance of the ScriptActionsClient client.
func NewScriptActionsClientWithBaseURI(baseURI string, subscriptionID string) ScriptActionsClient {
return ScriptActionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptexecutionhistory.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptexecutionhistory.go
index 2290aedc36e11..74f551ef3b7e2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptexecutionhistory.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/hdinsight/mgmt/2018-06-01-preview/hdinsight/scriptexecutionhistory.go
@@ -35,9 +35,7 @@ func NewScriptExecutionHistoryClient(subscriptionID string) ScriptExecutionHisto
return NewScriptExecutionHistoryClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewScriptExecutionHistoryClientWithBaseURI creates an instance of the ScriptExecutionHistoryClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewScriptExecutionHistoryClientWithBaseURI creates an instance of the ScriptExecutionHistoryClient client.
func NewScriptExecutionHistoryClientWithBaseURI(baseURI string, subscriptionID string) ScriptExecutionHistoryClient {
return ScriptExecutionHistoryClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/certificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/certificates.go
index 8c8c45f9986c7..aba6c148d55de 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/certificates.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/certificates.go
@@ -36,8 +36,7 @@ func NewCertificatesClient(subscriptionID string) CertificatesClient {
return NewCertificatesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client.
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient {
return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/client.go
index 2b0ba4681f800..661934a51c757 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go
index e09940e16243f..279bb326a5c8d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go
@@ -36,8 +36,7 @@ func NewIotHubResourceClient(subscriptionID string) IotHubResourceClient {
return NewIotHubResourceClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewIotHubResourceClientWithBaseURI creates an instance of the IotHubResourceClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewIotHubResourceClientWithBaseURI creates an instance of the IotHubResourceClient client.
func NewIotHubResourceClientWithBaseURI(baseURI string, subscriptionID string) IotHubResourceClient {
return IotHubResourceClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/operations.go
index c30ec335c8974..a86d73303fb66 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/resourceprovidercommon.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/resourceprovidercommon.go
index d4382a891866c..bccf673e4e238 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/resourceprovidercommon.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/iothub/mgmt/2018-12-01-preview/devices/resourceprovidercommon.go
@@ -35,9 +35,7 @@ func NewResourceProviderCommonClient(subscriptionID string) ResourceProviderComm
return NewResourceProviderCommonClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceProviderCommonClientWithBaseURI creates an instance of the ResourceProviderCommonClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewResourceProviderCommonClientWithBaseURI creates an instance of the ResourceProviderCommonClient client.
func NewResourceProviderCommonClientWithBaseURI(baseURI string, subscriptionID string) ResourceProviderCommonClient {
return ResourceProviderCommonClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/actiongroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/actiongroups.go
index 3f06b8307ec78..d7d55d29ad49a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/actiongroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/actiongroups.go
@@ -36,8 +36,7 @@ func NewActionGroupsClient(subscriptionID string) ActionGroupsClient {
return NewActionGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewActionGroupsClientWithBaseURI creates an instance of the ActionGroupsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewActionGroupsClientWithBaseURI creates an instance of the ActionGroupsClient client.
func NewActionGroupsClientWithBaseURI(baseURI string, subscriptionID string) ActionGroupsClient {
return ActionGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogalerts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogalerts.go
index 8891636d59990..ed927c20655a7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogalerts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogalerts.go
@@ -36,9 +36,7 @@ func NewActivityLogAlertsClient(subscriptionID string) ActivityLogAlertsClient {
return NewActivityLogAlertsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewActivityLogAlertsClientWithBaseURI creates an instance of the ActivityLogAlertsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewActivityLogAlertsClientWithBaseURI creates an instance of the ActivityLogAlertsClient client.
func NewActivityLogAlertsClientWithBaseURI(baseURI string, subscriptionID string) ActivityLogAlertsClient {
return ActivityLogAlertsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogs.go
index 4a718e198be4e..60e31eca2b5fa 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/activitylogs.go
@@ -35,8 +35,7 @@ func NewActivityLogsClient(subscriptionID string) ActivityLogsClient {
return NewActivityLogsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewActivityLogsClientWithBaseURI creates an instance of the ActivityLogsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewActivityLogsClientWithBaseURI creates an instance of the ActivityLogsClient client.
func NewActivityLogsClientWithBaseURI(baseURI string, subscriptionID string) ActivityLogsClient {
return ActivityLogsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertruleincidents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertruleincidents.go
index d9d812d63ab89..86569442a2258 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertruleincidents.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertruleincidents.go
@@ -35,9 +35,7 @@ func NewAlertRuleIncidentsClient(subscriptionID string) AlertRuleIncidentsClient
return NewAlertRuleIncidentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAlertRuleIncidentsClientWithBaseURI creates an instance of the AlertRuleIncidentsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAlertRuleIncidentsClientWithBaseURI creates an instance of the AlertRuleIncidentsClient client.
func NewAlertRuleIncidentsClientWithBaseURI(baseURI string, subscriptionID string) AlertRuleIncidentsClient {
return AlertRuleIncidentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertrules.go
index d89526ced89b6..34239f106a8cf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/alertrules.go
@@ -36,8 +36,7 @@ func NewAlertRulesClient(subscriptionID string) AlertRulesClient {
return NewAlertRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAlertRulesClientWithBaseURI creates an instance of the AlertRulesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAlertRulesClientWithBaseURI creates an instance of the AlertRulesClient client.
func NewAlertRulesClientWithBaseURI(baseURI string, subscriptionID string) AlertRulesClient {
return AlertRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/autoscalesettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/autoscalesettings.go
index 69cfd54401c00..450ade011189f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/autoscalesettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/autoscalesettings.go
@@ -36,9 +36,7 @@ func NewAutoscaleSettingsClient(subscriptionID string) AutoscaleSettingsClient {
return NewAutoscaleSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAutoscaleSettingsClientWithBaseURI creates an instance of the AutoscaleSettingsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAutoscaleSettingsClientWithBaseURI creates an instance of the AutoscaleSettingsClient client.
func NewAutoscaleSettingsClientWithBaseURI(baseURI string, subscriptionID string) AutoscaleSettingsClient {
return AutoscaleSettingsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/baselines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/baselines.go
index a225d02da2b73..990d564d1c75e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/baselines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/baselines.go
@@ -35,8 +35,7 @@ func NewBaselinesClient(subscriptionID string) BaselinesClient {
return NewBaselinesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBaselinesClientWithBaseURI creates an instance of the BaselinesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBaselinesClientWithBaseURI creates an instance of the BaselinesClient client.
func NewBaselinesClientWithBaseURI(baseURI string, subscriptionID string) BaselinesClient {
return BaselinesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/client.go
index 557e8413f017a..5ed388022a2b2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettings.go
index 5599aefcdd589..3b607d4d8196b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettings.go
@@ -35,9 +35,7 @@ func NewDiagnosticSettingsClient(subscriptionID string) DiagnosticSettingsClient
return NewDiagnosticSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDiagnosticSettingsClientWithBaseURI creates an instance of the DiagnosticSettingsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDiagnosticSettingsClientWithBaseURI creates an instance of the DiagnosticSettingsClient client.
func NewDiagnosticSettingsClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsClient {
return DiagnosticSettingsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettingscategory.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettingscategory.go
index aeb000ac4ea7e..587b7f562de5d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettingscategory.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/diagnosticsettingscategory.go
@@ -35,9 +35,7 @@ func NewDiagnosticSettingsCategoryClient(subscriptionID string) DiagnosticSettin
return NewDiagnosticSettingsCategoryClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDiagnosticSettingsCategoryClientWithBaseURI creates an instance of the DiagnosticSettingsCategoryClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewDiagnosticSettingsCategoryClientWithBaseURI creates an instance of the DiagnosticSettingsCategoryClient client.
func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticSettingsCategoryClient {
return DiagnosticSettingsCategoryClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/eventcategories.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/eventcategories.go
index 08f817f0be47c..b09fb63c6881b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/eventcategories.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/eventcategories.go
@@ -35,8 +35,7 @@ func NewEventCategoriesClient(subscriptionID string) EventCategoriesClient {
return NewEventCategoriesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEventCategoriesClientWithBaseURI creates an instance of the EventCategoriesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEventCategoriesClientWithBaseURI creates an instance of the EventCategoriesClient client.
func NewEventCategoriesClientWithBaseURI(baseURI string, subscriptionID string) EventCategoriesClient {
return EventCategoriesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/logprofiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/logprofiles.go
index 63daa54e523db..e96cea0a6184e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/logprofiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/logprofiles.go
@@ -36,8 +36,7 @@ func NewLogProfilesClient(subscriptionID string) LogProfilesClient {
return NewLogProfilesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLogProfilesClientWithBaseURI creates an instance of the LogProfilesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLogProfilesClientWithBaseURI creates an instance of the LogProfilesClient client.
func NewLogProfilesClientWithBaseURI(baseURI string, subscriptionID string) LogProfilesClient {
return LogProfilesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalerts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalerts.go
index 9a6b30edee6bf..055a96e3ed3c7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalerts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalerts.go
@@ -36,8 +36,7 @@ func NewMetricAlertsClient(subscriptionID string) MetricAlertsClient {
return NewMetricAlertsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMetricAlertsClientWithBaseURI creates an instance of the MetricAlertsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewMetricAlertsClientWithBaseURI creates an instance of the MetricAlertsClient client.
func NewMetricAlertsClientWithBaseURI(baseURI string, subscriptionID string) MetricAlertsClient {
return MetricAlertsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalertsstatus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalertsstatus.go
index 6e047493d7f5e..04617c643555e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalertsstatus.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricalertsstatus.go
@@ -35,9 +35,7 @@ func NewMetricAlertsStatusClient(subscriptionID string) MetricAlertsStatusClient
return NewMetricAlertsStatusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMetricAlertsStatusClientWithBaseURI creates an instance of the MetricAlertsStatusClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewMetricAlertsStatusClientWithBaseURI creates an instance of the MetricAlertsStatusClient client.
func NewMetricAlertsStatusClientWithBaseURI(baseURI string, subscriptionID string) MetricAlertsStatusClient {
return MetricAlertsStatusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricbaseline.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricbaseline.go
index 6c7043b044cc0..d12bd9d4f2b6a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricbaseline.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricbaseline.go
@@ -36,8 +36,7 @@ func NewMetricBaselineClient(subscriptionID string) MetricBaselineClient {
return NewMetricBaselineClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMetricBaselineClientWithBaseURI creates an instance of the MetricBaselineClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewMetricBaselineClientWithBaseURI creates an instance of the MetricBaselineClient client.
func NewMetricBaselineClientWithBaseURI(baseURI string, subscriptionID string) MetricBaselineClient {
return MetricBaselineClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricdefinitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricdefinitions.go
index 56bed95288594..29a5bbee5319a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricdefinitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricdefinitions.go
@@ -35,9 +35,7 @@ func NewMetricDefinitionsClient(subscriptionID string) MetricDefinitionsClient {
return NewMetricDefinitionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMetricDefinitionsClientWithBaseURI creates an instance of the MetricDefinitionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewMetricDefinitionsClientWithBaseURI creates an instance of the MetricDefinitionsClient client.
func NewMetricDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) MetricDefinitionsClient {
return MetricDefinitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricnamespaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricnamespaces.go
index ef9ae28600897..5ff2cdaa2de74 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricnamespaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metricnamespaces.go
@@ -35,9 +35,7 @@ func NewMetricNamespacesClient(subscriptionID string) MetricNamespacesClient {
return NewMetricNamespacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMetricNamespacesClientWithBaseURI creates an instance of the MetricNamespacesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewMetricNamespacesClientWithBaseURI creates an instance of the MetricNamespacesClient client.
func NewMetricNamespacesClientWithBaseURI(baseURI string, subscriptionID string) MetricNamespacesClient {
return MetricNamespacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metrics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metrics.go
index 24cd091db554b..f1952a3fe2a98 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metrics.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/metrics.go
@@ -35,8 +35,7 @@ func NewMetricsClient(subscriptionID string) MetricsClient {
return NewMetricsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMetricsClientWithBaseURI creates an instance of the MetricsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewMetricsClientWithBaseURI creates an instance of the MetricsClient client.
func NewMetricsClientWithBaseURI(baseURI string, subscriptionID string) MetricsClient {
return MetricsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/models.go
index 072db4706acf4..effcd2f083eb7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/models.go
@@ -3403,8 +3403,8 @@ type Metric struct {
type MetricAlertAction struct {
// ActionGroupID - the id of the action group to use.
ActionGroupID *string `json:"actionGroupId,omitempty"`
- // WebHookProperties - The properties of a webhook object.
- WebHookProperties map[string]*string `json:"webHookProperties"`
+ // WebhookProperties - The properties of a webhook object.
+ WebhookProperties map[string]*string `json:"webhookProperties"`
}
// MarshalJSON is the custom marshaler for MetricAlertAction.
@@ -3413,8 +3413,8 @@ func (maa MetricAlertAction) MarshalJSON() ([]byte, error) {
if maa.ActionGroupID != nil {
objectMap["actionGroupId"] = maa.ActionGroupID
}
- if maa.WebHookProperties != nil {
- objectMap["webHookProperties"] = maa.WebHookProperties
+ if maa.WebhookProperties != nil {
+ objectMap["webhookProperties"] = maa.WebhookProperties
}
return json.Marshal(objectMap)
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/operations.go
index e36f3626e9667..bd8af5c238d46 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/scheduledqueryrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/scheduledqueryrules.go
index 44021c67ca5ed..b4bb9bca5ddc0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/scheduledqueryrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/scheduledqueryrules.go
@@ -36,9 +36,7 @@ func NewScheduledQueryRulesClient(subscriptionID string) ScheduledQueryRulesClie
return NewScheduledQueryRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewScheduledQueryRulesClientWithBaseURI creates an instance of the ScheduledQueryRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewScheduledQueryRulesClientWithBaseURI creates an instance of the ScheduledQueryRulesClient client.
func NewScheduledQueryRulesClientWithBaseURI(baseURI string, subscriptionID string) ScheduledQueryRulesClient {
return ScheduledQueryRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/tenantactivitylogs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/tenantactivitylogs.go
index 5d6cbb12c013e..23739ed5d2864 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/tenantactivitylogs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/tenantactivitylogs.go
@@ -35,9 +35,7 @@ func NewTenantActivityLogsClient(subscriptionID string) TenantActivityLogsClient
return NewTenantActivityLogsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTenantActivityLogsClientWithBaseURI creates an instance of the TenantActivityLogsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewTenantActivityLogsClientWithBaseURI creates an instance of the TenantActivityLogsClient client.
func NewTenantActivityLogsClientWithBaseURI(baseURI string, subscriptionID string) TenantActivityLogsClient {
return TenantActivityLogsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/vminsights.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/vminsights.go
index b5a7d005f4446..76178c59cd2cd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/vminsights.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2019-06-01/insights/vminsights.go
@@ -35,8 +35,7 @@ func NewVMInsightsClient(subscriptionID string) VMInsightsClient {
return NewVMInsightsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVMInsightsClientWithBaseURI creates an instance of the VMInsightsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVMInsightsClientWithBaseURI creates an instance of the VMInsightsClient client.
func NewVMInsightsClientWithBaseURI(baseURI string, subscriptionID string) VMInsightsClient {
return VMInsightsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/client.go
index 7abbf44fad96c..a4e7c71d55b9f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/operations.go
index c4a4e64805ea1..5d3c84727dc13 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/userassignedidentities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/userassignedidentities.go
index 7a10c8cd04109..482e363909a37 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/userassignedidentities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/msi/mgmt/2015-08-31-preview/msi/userassignedidentities.go
@@ -35,9 +35,7 @@ func NewUserAssignedIdentitiesClient(subscriptionID string) UserAssignedIdentiti
return NewUserAssignedIdentitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUserAssignedIdentitiesClientWithBaseURI creates an instance of the UserAssignedIdentitiesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewUserAssignedIdentitiesClientWithBaseURI creates an instance of the UserAssignedIdentitiesClient client.
func NewUserAssignedIdentitiesClientWithBaseURI(baseURI string, subscriptionID string) UserAssignedIdentitiesClient {
return UserAssignedIdentitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go
index 8667a5a685041..2cbc44bf46863 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/client.go
@@ -21,11 +21,7 @@ package operationalinsights
// 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/tracing"
- "net/http"
)
const (
@@ -45,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
@@ -54,80 +49,3 @@ func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
SubscriptionID: subscriptionID,
}
}
-
-// GetAsyncOperationsStatus get the status of an azure asynchronous operation.
-// Parameters:
-// location - the region name of operation.
-// asyncOperationID - the operation Id.
-func (client BaseClient) GetAsyncOperationsStatus(ctx context.Context, location string, asyncOperationID string) (result OperationStatus, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/BaseClient.GetAsyncOperationsStatus")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.GetAsyncOperationsStatusPreparer(ctx, location, asyncOperationID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.BaseClient", "GetAsyncOperationsStatus", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetAsyncOperationsStatusSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "operationalinsights.BaseClient", "GetAsyncOperationsStatus", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetAsyncOperationsStatusResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.BaseClient", "GetAsyncOperationsStatus", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetAsyncOperationsStatusPreparer prepares the GetAsyncOperationsStatus request.
-func (client BaseClient) GetAsyncOperationsStatusPreparer(ctx context.Context, location string, asyncOperationID string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "asyncOperationId": autorest.Encode("path", asyncOperationID),
- "location": autorest.Encode("path", location),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2015-11-01-preview"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// GetAsyncOperationsStatusSender sends the GetAsyncOperationsStatus request. The method will close the
-// http.Response Body if it receives an error.
-func (client BaseClient) GetAsyncOperationsStatusSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetAsyncOperationsStatusResponder handles the response to the GetAsyncOperationsStatus request. The method always
-// closes the http.Response Body.
-func (client BaseClient) GetAsyncOperationsStatusResponder(resp *http.Response) (result OperationStatus, 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/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go
index 0587e8814ef8b..138931189b64f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/datasources.go
@@ -36,8 +36,7 @@ func NewDataSourcesClient(subscriptionID string) DataSourcesClient {
return NewDataSourcesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataSourcesClientWithBaseURI creates an instance of the DataSourcesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDataSourcesClientWithBaseURI creates an instance of the DataSourcesClient client.
func NewDataSourcesClientWithBaseURI(baseURI string, subscriptionID string) DataSourcesClient {
return DataSourcesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go
index cec1af699a0c3..256a14d215e8f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/linkedservices.go
@@ -36,8 +36,7 @@ func NewLinkedServicesClient(subscriptionID string) LinkedServicesClient {
return NewLinkedServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLinkedServicesClientWithBaseURI creates an instance of the LinkedServicesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLinkedServicesClientWithBaseURI creates an instance of the LinkedServicesClient client.
func NewLinkedServicesClientWithBaseURI(baseURI string, subscriptionID string) LinkedServicesClient {
return LinkedServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go
index c0739ea4d3844..a473834656754 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/models.go
@@ -307,14 +307,6 @@ func NewDataSourceListResultPage(getNextPage func(context.Context, DataSourceLis
return DataSourceListResultPage{fn: getNextPage}
}
-// ErrorResponse describes the format of Error response.
-type ErrorResponse struct {
- // Code - Error code
- Code *string `json:"code,omitempty"`
- // Message - Error message indicating why the operation failed.
- Message *string `json:"message,omitempty"`
-}
-
// IntelligencePack intelligence Pack containing a string name and boolean indicating if it's enabled.
type IntelligencePack struct {
// Name - The name of the intelligence pack.
@@ -662,577 +654,6 @@ func NewOperationListResultPage(getNextPage func(context.Context, OperationListR
return OperationListResultPage{fn: getNextPage}
}
-// OperationStatus the status of operation.
-type OperationStatus struct {
- autorest.Response `json:"-"`
- // ID - The operation Id.
- ID *string `json:"id,omitempty"`
- // Name - The operation name.
- Name *string `json:"name,omitempty"`
- // StartTime - The start time of the operation.
- StartTime *string `json:"startTime,omitempty"`
- // EndTime - The end time of the operation.
- EndTime *string `json:"endTime,omitempty"`
- // Status - The status of the operation.
- Status *string `json:"status,omitempty"`
- // Error - The error detail of the operation if any.
- Error *ErrorResponse `json:"error,omitempty"`
-}
-
-// PrivateEndpointConnection a private endpoint connection
-type PrivateEndpointConnection struct {
- autorest.Response `json:"-"`
- // PrivateEndpointConnectionProperties - Resource properties.
- *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Resource ID.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; Resource type.
- Type *string `json:"type,omitempty"`
- // Tags - Resource tags
- Tags map[string]*string `json:"tags"`
-}
-
-// MarshalJSON is the custom marshaler for PrivateEndpointConnection.
-func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if pec.PrivateEndpointConnectionProperties != nil {
- objectMap["properties"] = pec.PrivateEndpointConnectionProperties
- }
- if pec.Tags != nil {
- objectMap["tags"] = pec.Tags
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.
-func (pec *PrivateEndpointConnection) 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 privateEndpointConnectionProperties PrivateEndpointConnectionProperties
- err = json.Unmarshal(*v, &privateEndpointConnectionProperties)
- if err != nil {
- return err
- }
- pec.PrivateEndpointConnectionProperties = &privateEndpointConnectionProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- pec.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- pec.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- pec.Type = &typeVar
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- pec.Tags = tags
- }
- }
- }
-
- return nil
-}
-
-// PrivateEndpointConnectionListResult a list of private endpoint connections.
-type PrivateEndpointConnectionListResult struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; Array of results.
- Value *[]PrivateEndpointConnection `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// PrivateEndpointConnectionListResultIterator provides access to a complete listing of
-// PrivateEndpointConnection values.
-type PrivateEndpointConnectionListResultIterator struct {
- i int
- page PrivateEndpointConnectionListResultPage
-}
-
-// NextWithContext 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 *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *PrivateEndpointConnectionListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter PrivateEndpointConnectionListResultIterator) 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 PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult {
- 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 PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection {
- if !iter.page.NotDone() {
- return PrivateEndpointConnection{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the PrivateEndpointConnectionListResultIterator type.
-func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator {
- return PrivateEndpointConnectionListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool {
- return peclr.Value == nil || len(*peclr.Value) == 0
-}
-
-// privateEndpointConnectionListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (peclr PrivateEndpointConnectionListResult) privateEndpointConnectionListResultPreparer(ctx context.Context) (*http.Request, error) {
- if peclr.NextLink == nil || len(to.String(peclr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(peclr.NextLink)))
-}
-
-// PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.
-type PrivateEndpointConnectionListResultPage struct {
- fn func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)
- peclr PrivateEndpointConnectionListResult
-}
-
-// NextWithContext 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 *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.peclr)
- if err != nil {
- return err
- }
- page.peclr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *PrivateEndpointConnectionListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page PrivateEndpointConnectionListResultPage) NotDone() bool {
- return !page.peclr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult {
- return page.peclr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection {
- if page.peclr.IsEmpty() {
- return nil
- }
- return *page.peclr.Value
-}
-
-// Creates a new instance of the PrivateEndpointConnectionListResultPage type.
-func NewPrivateEndpointConnectionListResultPage(getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage {
- return PrivateEndpointConnectionListResultPage{fn: getNextPage}
-}
-
-// PrivateEndpointConnectionProperties properties of a private endpoint connection.
-type PrivateEndpointConnectionProperties struct {
- // PrivateEndpoint - Private endpoint which the connection belongs to.
- PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"`
- // PrivateLinkServiceConnectionState - Connection state of the private endpoint connection.
- PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"`
- // ProvisioningState - READ-ONLY; State of the private endpoint connection.
- ProvisioningState *string `json:"provisioningState,omitempty"`
-}
-
-// PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results
-// of a long-running operation.
-type PrivateEndpointConnectionsCreateOrUpdateFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) Result(client PrivateEndpointConnectionsClient) (pec PrivateEndpointConnection, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("operationalinsights.PrivateEndpointConnectionsCreateOrUpdateFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if pec.Response.Response, err = future.GetResult(sender); err == nil && pec.Response.Response.StatusCode != http.StatusNoContent {
- pec, err = client.CreateOrUpdateResponder(pec.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsCreateOrUpdateFuture", "Result", pec.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
-// PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type PrivateEndpointConnectionsDeleteFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *PrivateEndpointConnectionsDeleteFuture) Result(client PrivateEndpointConnectionsClient) (ar autorest.Response, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsDeleteFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("operationalinsights.PrivateEndpointConnectionsDeleteFuture")
- return
- }
- ar.Response = future.Response()
- return
-}
-
-// PrivateEndpointProperty private endpoint which the connection belongs to.
-type PrivateEndpointProperty struct {
- // ID - Resource id of the private endpoint.
- ID *string `json:"id,omitempty"`
-}
-
-// PrivateLinkResource a private link resource
-type PrivateLinkResource struct {
- autorest.Response `json:"-"`
- // PrivateLinkResourceProperties - Resource properties.
- *PrivateLinkResourceProperties `json:"properties,omitempty"`
- // ID - READ-ONLY; Resource ID.
- ID *string `json:"id,omitempty"`
- // Name - READ-ONLY; Resource name.
- Name *string `json:"name,omitempty"`
- // Type - READ-ONLY; Resource type.
- Type *string `json:"type,omitempty"`
- // Tags - Resource tags
- Tags map[string]*string `json:"tags"`
-}
-
-// MarshalJSON is the custom marshaler for PrivateLinkResource.
-func (plr PrivateLinkResource) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if plr.PrivateLinkResourceProperties != nil {
- objectMap["properties"] = plr.PrivateLinkResourceProperties
- }
- if plr.Tags != nil {
- objectMap["tags"] = plr.Tags
- }
- return json.Marshal(objectMap)
-}
-
-// UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.
-func (plr *PrivateLinkResource) 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 privateLinkResourceProperties PrivateLinkResourceProperties
- err = json.Unmarshal(*v, &privateLinkResourceProperties)
- if err != nil {
- return err
- }
- plr.PrivateLinkResourceProperties = &privateLinkResourceProperties
- }
- case "id":
- if v != nil {
- var ID string
- err = json.Unmarshal(*v, &ID)
- if err != nil {
- return err
- }
- plr.ID = &ID
- }
- case "name":
- if v != nil {
- var name string
- err = json.Unmarshal(*v, &name)
- if err != nil {
- return err
- }
- plr.Name = &name
- }
- case "type":
- if v != nil {
- var typeVar string
- err = json.Unmarshal(*v, &typeVar)
- if err != nil {
- return err
- }
- plr.Type = &typeVar
- }
- case "tags":
- if v != nil {
- var tags map[string]*string
- err = json.Unmarshal(*v, &tags)
- if err != nil {
- return err
- }
- plr.Tags = tags
- }
- }
- }
-
- return nil
-}
-
-// PrivateLinkResourceListResult a list of private link resources
-type PrivateLinkResourceListResult struct {
- autorest.Response `json:"-"`
- // Value - READ-ONLY; Array of results.
- Value *[]PrivateLinkResource `json:"value,omitempty"`
- // NextLink - READ-ONLY; Link to retrieve next page of results.
- NextLink *string `json:"nextLink,omitempty"`
-}
-
-// PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource
-// values.
-type PrivateLinkResourceListResultIterator struct {
- i int
- page PrivateLinkResourceListResultPage
-}
-
-// NextWithContext 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 *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourceListResultIterator.NextWithContext")
- defer func() {
- sc := -1
- if iter.Response().Response.Response != nil {
- sc = iter.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- iter.i++
- if iter.i < len(iter.page.Values()) {
- return nil
- }
- err = iter.page.NextWithContext(ctx)
- if err != nil {
- iter.i--
- return err
- }
- iter.i = 0
- return nil
-}
-
-// Next advances to the next value. If there was an error making
-// the request the iterator does not advance and the error is returned.
-// Deprecated: Use NextWithContext() instead.
-func (iter *PrivateLinkResourceListResultIterator) Next() error {
- return iter.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the enumeration should be started or is not yet complete.
-func (iter PrivateLinkResourceListResultIterator) 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 PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult {
- 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 PrivateLinkResourceListResultIterator) Value() PrivateLinkResource {
- if !iter.page.NotDone() {
- return PrivateLinkResource{}
- }
- return iter.page.Values()[iter.i]
-}
-
-// Creates a new instance of the PrivateLinkResourceListResultIterator type.
-func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator {
- return PrivateLinkResourceListResultIterator{page: page}
-}
-
-// IsEmpty returns true if the ListResult contains no values.
-func (plrlr PrivateLinkResourceListResult) IsEmpty() bool {
- return plrlr.Value == nil || len(*plrlr.Value) == 0
-}
-
-// privateLinkResourceListResultPreparer prepares a request to retrieve the next set of results.
-// It returns nil if no more results exist.
-func (plrlr PrivateLinkResourceListResult) privateLinkResourceListResultPreparer(ctx context.Context) (*http.Request, error) {
- if plrlr.NextLink == nil || len(to.String(plrlr.NextLink)) < 1 {
- return nil, nil
- }
- return autorest.Prepare((&http.Request{}).WithContext(ctx),
- autorest.AsJSON(),
- autorest.AsGet(),
- autorest.WithBaseURL(to.String(plrlr.NextLink)))
-}
-
-// PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.
-type PrivateLinkResourceListResultPage struct {
- fn func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)
- plrlr PrivateLinkResourceListResult
-}
-
-// NextWithContext 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 *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourceListResultPage.NextWithContext")
- defer func() {
- sc := -1
- if page.Response().Response.Response != nil {
- sc = page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- next, err := page.fn(ctx, page.plrlr)
- if err != nil {
- return err
- }
- page.plrlr = next
- return nil
-}
-
-// 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.
-// Deprecated: Use NextWithContext() instead.
-func (page *PrivateLinkResourceListResultPage) Next() error {
- return page.NextWithContext(context.Background())
-}
-
-// NotDone returns true if the page enumeration should be started or is not yet complete.
-func (page PrivateLinkResourceListResultPage) NotDone() bool {
- return !page.plrlr.IsEmpty()
-}
-
-// Response returns the raw server response from the last page request.
-func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult {
- return page.plrlr
-}
-
-// Values returns the slice of values for the current page or nil if there are no values.
-func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource {
- if page.plrlr.IsEmpty() {
- return nil
- }
- return *page.plrlr.Value
-}
-
-// Creates a new instance of the PrivateLinkResourceListResultPage type.
-func NewPrivateLinkResourceListResultPage(getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage {
- return PrivateLinkResourceListResultPage{fn: getNextPage}
-}
-
-// PrivateLinkResourceProperties properties of a private link resource.
-type PrivateLinkResourceProperties struct {
- // GroupID - READ-ONLY; The private link resource group id.
- GroupID *string `json:"groupId,omitempty"`
- // RequiredMembers - READ-ONLY; The private link resource required member names.
- RequiredMembers *[]string `json:"requiredMembers,omitempty"`
-}
-
-// PrivateLinkServiceConnectionStateProperty state of the private endpoint connection.
-type PrivateLinkServiceConnectionStateProperty struct {
- // Status - The private link service connection status.
- Status *string `json:"status,omitempty"`
- // Description - The private link service connection description.
- Description *string `json:"description,omitempty"`
- // ActionsRequired - READ-ONLY; The actions required for private link service connection.
- ActionsRequired *string `json:"actionsRequired,omitempty"`
-}
-
// ProxyResource common properties of proxy resource.
type ProxyResource struct {
// ID - READ-ONLY; Resource ID.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go
index 699cbac0e1769..3a9ccdfae7754 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/privateendpointconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/privateendpointconnections.go
deleted file mode 100644
index b055697a6e589..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/privateendpointconnections.go
+++ /dev/null
@@ -1,436 +0,0 @@
-package operationalinsights
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// PrivateEndpointConnectionsClient is the operational Insights Client
-type PrivateEndpointConnectionsClient struct {
- BaseClient
-}
-
-// NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.
-func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient {
- return NewPrivateEndpointConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
-func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient {
- return PrivateEndpointConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// CreateOrUpdate approve or reject a private endpoint connection with a given name.
-// Parameters:
-// resourceGroupName - the name of the resource group to get. The name is case insensitive.
-// workspaceName - name of the Log Analytics Workspace that will contain the datasource
-// privateEndpointConnectionName - the name of the private endpoint connection.
-func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.CreateOrUpdate")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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: parameters,
- Constraints: []validation.Constraint{{Target: "parameters.PrivateEndpointConnectionProperties", Name: validation.Null, Rule: false,
- Chain: []validation.Constraint{{Target: "parameters.PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState", Name: validation.Null, Rule: false,
- Chain: []validation.Constraint{{Target: "parameters.PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState.Status", Name: validation.Null, Rule: true, Chain: nil},
- {Target: "parameters.PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState.Description", Name: validation.Null, Rule: true, Chain: nil},
- }},
- }}}}}); err != nil {
- return result, validation.NewError("operationalinsights.PrivateEndpointConnectionsClient", "CreateOrUpdate", err.Error())
- }
-
- req, err := client.CreateOrUpdatePreparer(ctx, resourceGroupName, workspaceName, privateEndpointConnectionName, parameters)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "CreateOrUpdate", nil, "Failure preparing request")
- return
- }
-
- result, err = client.CreateOrUpdateSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "CreateOrUpdate", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
-func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2015-11-01-preview"
- 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.OperationalInsights/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", pathParameters),
- autorest.WithJSON(parameters),
- 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 PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// Delete deletes a private endpoint connection with a given name.
-// Parameters:
-// resourceGroupName - the name of the resource group to get. The name is case insensitive.
-// workspaceName - name of the Log Analytics Workspace that will contain the datasource
-// privateEndpointConnectionName - the name of the private endpoint connection.
-func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.Delete")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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("operationalinsights.PrivateEndpointConnectionsClient", "Delete", err.Error())
- }
-
- req, err := client.DeletePreparer(ctx, resourceGroupName, workspaceName, privateEndpointConnectionName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "Delete", nil, "Failure preparing request")
- return
- }
-
- result, err = client.DeleteSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "Delete", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// DeletePreparer prepares the Delete request.
-func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2015-11-01-preview"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsDelete(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", 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 PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// DeleteResponder handles the response to the Delete request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
- autorest.ByClosing())
- result.Response = resp
- return
-}
-
-// Get gets a private endpoint connection.
-// Parameters:
-// resourceGroupName - the name of the resource group to get. The name is case insensitive.
-// workspaceName - name of the Log Analytics Workspace that will contain the datasource
-// privateEndpointConnectionName - the name of the private endpoint connection.
-func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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("operationalinsights.PrivateEndpointConnectionsClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, workspaceName, privateEndpointConnectionName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "privateEndpointConnectionName": autorest.Encode("path", privateEndpointConnectionName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2015-11-01-preview"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", 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 PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// ListByWorkspace gets all private endpoint connections on a workspace.
-// Parameters:
-// resourceGroupName - the name of the resource group to get. The name is case insensitive.
-// workspaceName - name of the Log Analytics Workspace that will contain the datasource
-func (client PrivateEndpointConnectionsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateEndpointConnectionListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.ListByWorkspace")
- defer func() {
- sc := -1
- if result.peclr.Response.Response != nil {
- sc = result.peclr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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("operationalinsights.PrivateEndpointConnectionsClient", "ListByWorkspace", err.Error())
- }
-
- result.fn = client.listByWorkspaceNextResults
- req, err := client.ListByWorkspacePreparer(ctx, resourceGroupName, workspaceName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "ListByWorkspace", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByWorkspaceSender(req)
- if err != nil {
- result.peclr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "ListByWorkspace", resp, "Failure sending request")
- return
- }
-
- result.peclr, err = client.ListByWorkspaceResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "ListByWorkspace", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByWorkspacePreparer prepares the ListByWorkspace request.
-func (client PrivateEndpointConnectionsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2015-11-01-preview"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateEndpointConnections", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListByWorkspaceSender sends the ListByWorkspace request. The method will close the
-// http.Response Body if it receives an error.
-func (client PrivateEndpointConnectionsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always
-// closes the http.Response Body.
-func (client PrivateEndpointConnectionsClient) ListByWorkspaceResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByWorkspaceNextResults retrieves the next set of results, if any.
-func (client PrivateEndpointConnectionsClient) listByWorkspaceNextResults(ctx context.Context, lastResults PrivateEndpointConnectionListResult) (result PrivateEndpointConnectionListResult, err error) {
- req, err := lastResults.privateEndpointConnectionListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "listByWorkspaceNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByWorkspaceSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "listByWorkspaceNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByWorkspaceResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateEndpointConnectionsClient", "listByWorkspaceNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.
-func (client PrivateEndpointConnectionsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateEndpointConnectionListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateEndpointConnectionsClient.ListByWorkspace")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByWorkspace(ctx, resourceGroupName, workspaceName)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/privatelinkresources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/privatelinkresources.go
deleted file mode 100644
index b4e922eafc02d..0000000000000
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/privatelinkresources.go
+++ /dev/null
@@ -1,254 +0,0 @@
-package operationalinsights
-
-// 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"
- "github.com/Azure/go-autorest/tracing"
- "net/http"
-)
-
-// PrivateLinkResourcesClient is the operational Insights Client
-type PrivateLinkResourcesClient struct {
- BaseClient
-}
-
-// NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.
-func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient {
- return NewPrivateLinkResourcesClientWithBaseURI(DefaultBaseURI, subscriptionID)
-}
-
-// NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
-func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient {
- return PrivateLinkResourcesClient{NewWithBaseURI(baseURI, subscriptionID)}
-}
-
-// Get gets the private link resources that need to be created for a Log Analytics Workspace.
-// Parameters:
-// resourceGroupName - the name of the resource group to get. The name is case insensitive.
-// workspaceName - name of the Log Analytics Workspace that will contain the datasource
-// groupName - the name of the private link resource.
-func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, groupName string) (result PrivateLinkResource, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourcesClient.Get")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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("operationalinsights.PrivateLinkResourcesClient", "Get", err.Error())
- }
-
- req, err := client.GetPreparer(ctx, resourceGroupName, workspaceName, groupName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "Get", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.GetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "Get", resp, "Failure sending request")
- return
- }
-
- result, err = client.GetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "Get", resp, "Failure responding to request")
- }
-
- return
-}
-
-// GetPreparer prepares the Get request.
-func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, groupName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "groupName": autorest.Encode("path", groupName),
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2015-11-01-preview"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateLinkResources/{groupName}", 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 PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// GetResponder handles the response to the Get request. The method always
-// closes the http.Response Body.
-func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// ListByWorkspace gets the private link resources that need to be created for a Log Analytics Workspace.
-// Parameters:
-// resourceGroupName - the name of the resource group to get. The name is case insensitive.
-// workspaceName - name of the Log Analytics Workspace that will contain the datasource
-func (client PrivateLinkResourcesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateLinkResourceListResultPage, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourcesClient.ListByWorkspace")
- defer func() {
- sc := -1
- if result.plrlr.Response.Response != nil {
- sc = result.plrlr.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- 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("operationalinsights.PrivateLinkResourcesClient", "ListByWorkspace", err.Error())
- }
-
- result.fn = client.listByWorkspaceNextResults
- req, err := client.ListByWorkspacePreparer(ctx, resourceGroupName, workspaceName)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "ListByWorkspace", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListByWorkspaceSender(req)
- if err != nil {
- result.plrlr.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "ListByWorkspace", resp, "Failure sending request")
- return
- }
-
- result.plrlr, err = client.ListByWorkspaceResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "ListByWorkspace", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListByWorkspacePreparer prepares the ListByWorkspace request.
-func (client PrivateLinkResourcesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- "workspaceName": autorest.Encode("path", workspaceName),
- }
-
- const APIVersion = "2015-11-01-preview"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/privateLinkResources", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListByWorkspaceSender sends the ListByWorkspace request. The method will close the
-// http.Response Body if it receives an error.
-func (client PrivateLinkResourcesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always
-// closes the http.Response Body.
-func (client PrivateLinkResourcesClient) ListByWorkspaceResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
-// listByWorkspaceNextResults retrieves the next set of results, if any.
-func (client PrivateLinkResourcesClient) listByWorkspaceNextResults(ctx context.Context, lastResults PrivateLinkResourceListResult) (result PrivateLinkResourceListResult, err error) {
- req, err := lastResults.privateLinkResourceListResultPreparer(ctx)
- if err != nil {
- return result, autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "listByWorkspaceNextResults", nil, "Failure preparing next results request")
- }
- if req == nil {
- return
- }
- resp, err := client.ListByWorkspaceSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- return result, autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "listByWorkspaceNextResults", resp, "Failure sending next results request")
- }
- result, err = client.ListByWorkspaceResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "operationalinsights.PrivateLinkResourcesClient", "listByWorkspaceNextResults", resp, "Failure responding to next results request")
- }
- return
-}
-
-// ListByWorkspaceComplete enumerates all values, automatically crossing page boundaries as required.
-func (client PrivateLinkResourcesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result PrivateLinkResourceListResultIterator, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/PrivateLinkResourcesClient.ListByWorkspace")
- defer func() {
- sc := -1
- if result.Response().Response.Response != nil {
- sc = result.page.Response().Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- result.page, err = client.ListByWorkspace(ctx, resourceGroupName, workspaceName)
- return
-}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go
index 8693ff8a5eb51..9f5a4766d7893 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights/workspaces.go
@@ -36,8 +36,7 @@ func NewWorkspacesClient(subscriptionID string) WorkspacesClient {
return NewWorkspacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient client.
func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient {
return WorkspacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go
index 1b0d98706b6a3..819be16528c85 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/client.go
@@ -44,8 +44,7 @@ func New(subscriptionID string, providerName string, resourceType string, resour
return NewWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go
index 876b85b4bfb64..0c6de9aed5f58 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementassociations.go
@@ -36,9 +36,7 @@ func NewManagementAssociationsClient(subscriptionID string, providerName string,
return NewManagementAssociationsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName)
}
-// NewManagementAssociationsClientWithBaseURI creates an instance of the ManagementAssociationsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// 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)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go
index 631b60a132da1..6a67f06f34164 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/managementconfigurations.go
@@ -36,9 +36,7 @@ func NewManagementConfigurationsClient(subscriptionID string, providerName strin
return NewManagementConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName)
}
-// NewManagementConfigurationsClientWithBaseURI creates an instance of the ManagementConfigurationsClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// 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)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go
index f01c9cab79beb..60e61ac33aad6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string, providerName string, resourceTyp
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// 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)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go
index a8eb239d430ba..fadfadf49b79f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement/solutions.go
@@ -36,8 +36,7 @@ func NewSolutionsClient(subscriptionID string, providerName string, resourceType
return NewSolutionsClientWithBaseURI(DefaultBaseURI, subscriptionID, providerName, resourceType, resourceName)
}
-// NewSolutionsClientWithBaseURI creates an instance of the SolutionsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// 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)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/client.go
index a2e0ee57f9a4a..b6ef83f251d69 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/dashboards.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/dashboards.go
index b03220e021a9b..9569cd55b45cc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/dashboards.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/dashboards.go
@@ -36,8 +36,7 @@ func NewDashboardsClient(subscriptionID string) DashboardsClient {
return NewDashboardsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDashboardsClientWithBaseURI creates an instance of the DashboardsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDashboardsClientWithBaseURI creates an instance of the DashboardsClient client.
func NewDashboardsClientWithBaseURI(baseURI string, subscriptionID string) DashboardsClient {
return DashboardsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/operations.go
index 06b958fa5ff0f..3a4e8ebe23c97 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/portal/mgmt/2019-01-01-preview/portal/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/client.go
index 81a3ac6e3c6da..ee4e271a62552 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/client.go
@@ -45,8 +45,7 @@ func New() BaseClient {
return NewWithBaseURI(DefaultBaseURI)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/entities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/entities.go
index 09217817ad84e..57e159a42cadc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/entities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/entities.go
@@ -37,8 +37,7 @@ func NewEntitiesClient() EntitiesClient {
return NewEntitiesClientWithBaseURI(DefaultBaseURI)
}
-// NewEntitiesClientWithBaseURI creates an instance of the EntitiesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEntitiesClientWithBaseURI creates an instance of the EntitiesClient client.
func NewEntitiesClientWithBaseURI(baseURI string) EntitiesClient {
return EntitiesClient{NewWithBaseURI(baseURI)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/managementgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/managementgroups.go
index edbb45d1a400a..1fbbbbcb75f92 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/managementgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/managementgroups.go
@@ -36,8 +36,7 @@ func NewClient() Client {
return NewClientWithBaseURI(DefaultBaseURI)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string) Client {
return Client{NewWithBaseURI(baseURI)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/operations.go
index ea0de267567d4..1eb764b2fe6d6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/operations.go
@@ -37,8 +37,7 @@ func NewOperationsClient() OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/subscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/subscriptions.go
index e579e15b0fa4a..dd2309b1e1085 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/subscriptions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups/subscriptions.go
@@ -37,8 +37,7 @@ func NewSubscriptionsClient() SubscriptionsClient {
return NewSubscriptionsClientWithBaseURI(DefaultBaseURI)
}
-// NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client.
func NewSubscriptionsClientWithBaseURI(baseURI string) SubscriptionsClient {
return SubscriptionsClient{NewWithBaseURI(baseURI)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptiveapplicationcontrols.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptiveapplicationcontrols.go
index 3ac61acc5526b..0710d2febfe72 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptiveapplicationcontrols.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptiveapplicationcontrols.go
@@ -36,9 +36,7 @@ func NewAdaptiveApplicationControlsClient(subscriptionID string, ascLocation str
return NewAdaptiveApplicationControlsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewAdaptiveApplicationControlsClientWithBaseURI creates an instance of the AdaptiveApplicationControlsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewAdaptiveApplicationControlsClientWithBaseURI creates an instance of the AdaptiveApplicationControlsClient client.
func NewAdaptiveApplicationControlsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdaptiveApplicationControlsClient {
return AdaptiveApplicationControlsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptivenetworkhardenings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptivenetworkhardenings.go
index ffd421e4b67e5..54088237d8b7e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptivenetworkhardenings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/adaptivenetworkhardenings.go
@@ -36,9 +36,7 @@ func NewAdaptiveNetworkHardeningsClient(subscriptionID string, ascLocation strin
return NewAdaptiveNetworkHardeningsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewAdaptiveNetworkHardeningsClientWithBaseURI creates an instance of the AdaptiveNetworkHardeningsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewAdaptiveNetworkHardeningsClientWithBaseURI creates an instance of the AdaptiveNetworkHardeningsClient client.
func NewAdaptiveNetworkHardeningsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdaptiveNetworkHardeningsClient {
return AdaptiveNetworkHardeningsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/advancedthreatprotection.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/advancedthreatprotection.go
index 227375e3f00e5..7fe28de28f1e4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/advancedthreatprotection.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/advancedthreatprotection.go
@@ -35,9 +35,7 @@ func NewAdvancedThreatProtectionClient(subscriptionID string, ascLocation string
return NewAdvancedThreatProtectionClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewAdvancedThreatProtectionClientWithBaseURI creates an instance of the AdvancedThreatProtectionClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewAdvancedThreatProtectionClientWithBaseURI creates an instance of the AdvancedThreatProtectionClient client.
func NewAdvancedThreatProtectionClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdvancedThreatProtectionClient {
return AdvancedThreatProtectionClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/alerts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/alerts.go
index 8676de54ab1d3..5934b920847dc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/alerts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/alerts.go
@@ -36,8 +36,7 @@ func NewAlertsClient(subscriptionID string, ascLocation string) AlertsClient {
return NewAlertsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewAlertsClientWithBaseURI creates an instance of the AlertsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAlertsClientWithBaseURI creates an instance of the AlertsClient client.
func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AlertsClient {
return AlertsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/allowedconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/allowedconnections.go
index c761a4c3ccced..74410ff366354 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/allowedconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/allowedconnections.go
@@ -36,9 +36,7 @@ func NewAllowedConnectionsClient(subscriptionID string, ascLocation string) Allo
return NewAllowedConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewAllowedConnectionsClientWithBaseURI creates an instance of the AllowedConnectionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewAllowedConnectionsClientWithBaseURI creates an instance of the AllowedConnectionsClient client.
func NewAllowedConnectionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AllowedConnectionsClient {
return AllowedConnectionsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/automations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/automations.go
index 855f8dd218f25..605cb35a072db 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/automations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/automations.go
@@ -36,8 +36,7 @@ func NewAutomationsClient(subscriptionID string, ascLocation string) Automations
return NewAutomationsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewAutomationsClientWithBaseURI creates an instance of the AutomationsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAutomationsClientWithBaseURI creates an instance of the AutomationsClient client.
func NewAutomationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AutomationsClient {
return AutomationsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/autoprovisioningsettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/autoprovisioningsettings.go
index 6e3b8c64871e5..87799c76d1e96 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/autoprovisioningsettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/autoprovisioningsettings.go
@@ -36,9 +36,7 @@ func NewAutoProvisioningSettingsClient(subscriptionID string, ascLocation string
return NewAutoProvisioningSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewAutoProvisioningSettingsClientWithBaseURI creates an instance of the AutoProvisioningSettingsClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewAutoProvisioningSettingsClientWithBaseURI creates an instance of the AutoProvisioningSettingsClient client.
func NewAutoProvisioningSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AutoProvisioningSettingsClient {
return AutoProvisioningSettingsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/client.go
index ca26dee802e72..c1db0ec1e8250 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/client.go
@@ -42,8 +42,7 @@ func New(subscriptionID string, ascLocation string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string, ascLocation string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/compliances.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/compliances.go
index f7b5b73510674..697c6f0be430d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/compliances.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/compliances.go
@@ -35,8 +35,7 @@ func NewCompliancesClient(subscriptionID string, ascLocation string) Compliances
return NewCompliancesClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewCompliancesClientWithBaseURI creates an instance of the CompliancesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCompliancesClientWithBaseURI creates an instance of the CompliancesClient client.
func NewCompliancesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) CompliancesClient {
return CompliancesClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/contacts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/contacts.go
index abb4374767a91..91b3b63e4fe2a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/contacts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/contacts.go
@@ -36,8 +36,7 @@ func NewContactsClient(subscriptionID string, ascLocation string) ContactsClient
return NewContactsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewContactsClientWithBaseURI creates an instance of the ContactsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewContactsClientWithBaseURI creates an instance of the ContactsClient client.
func NewContactsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ContactsClient {
return ContactsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/devicesecuritygroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/devicesecuritygroups.go
index b22352e753356..4bee8c4644564 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/devicesecuritygroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/devicesecuritygroups.go
@@ -35,9 +35,7 @@ func NewDeviceSecurityGroupsClient(subscriptionID string, ascLocation string) De
return NewDeviceSecurityGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewDeviceSecurityGroupsClientWithBaseURI creates an instance of the DeviceSecurityGroupsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDeviceSecurityGroupsClientWithBaseURI creates an instance of the DeviceSecurityGroupsClient client.
func NewDeviceSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) DeviceSecurityGroupsClient {
return DeviceSecurityGroupsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/discoveredsecuritysolutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/discoveredsecuritysolutions.go
index f994891f6a746..5e0d45e1cdcd9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/discoveredsecuritysolutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/discoveredsecuritysolutions.go
@@ -36,9 +36,7 @@ func NewDiscoveredSecuritySolutionsClient(subscriptionID string, ascLocation str
return NewDiscoveredSecuritySolutionsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewDiscoveredSecuritySolutionsClientWithBaseURI creates an instance of the DiscoveredSecuritySolutionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewDiscoveredSecuritySolutionsClientWithBaseURI creates an instance of the DiscoveredSecuritySolutionsClient client.
func NewDiscoveredSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) DiscoveredSecuritySolutionsClient {
return DiscoveredSecuritySolutionsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/externalsecuritysolutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/externalsecuritysolutions.go
index 405d18b2de946..883f4e529cfd5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/externalsecuritysolutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/externalsecuritysolutions.go
@@ -36,9 +36,7 @@ func NewExternalSecuritySolutionsClient(subscriptionID string, ascLocation strin
return NewExternalSecuritySolutionsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewExternalSecuritySolutionsClientWithBaseURI creates an instance of the ExternalSecuritySolutionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewExternalSecuritySolutionsClientWithBaseURI creates an instance of the ExternalSecuritySolutionsClient client.
func NewExternalSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ExternalSecuritySolutionsClient {
return ExternalSecuritySolutionsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/informationprotectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/informationprotectionpolicies.go
index 4202bb463fd3e..160668c2d5ff6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/informationprotectionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/informationprotectionpolicies.go
@@ -36,8 +36,7 @@ func NewInformationProtectionPoliciesClient(subscriptionID string, ascLocation s
}
// NewInformationProtectionPoliciesClientWithBaseURI creates an instance of the InformationProtectionPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewInformationProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) InformationProtectionPoliciesClient {
return InformationProtectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/jitnetworkaccesspolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/jitnetworkaccesspolicies.go
index b5aead1c6d04d..0aa96db56670f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/jitnetworkaccesspolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/jitnetworkaccesspolicies.go
@@ -36,9 +36,7 @@ func NewJitNetworkAccessPoliciesClient(subscriptionID string, ascLocation string
return NewJitNetworkAccessPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewJitNetworkAccessPoliciesClientWithBaseURI creates an instance of the JitNetworkAccessPoliciesClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewJitNetworkAccessPoliciesClientWithBaseURI creates an instance of the JitNetworkAccessPoliciesClient client.
func NewJitNetworkAccessPoliciesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) JitNetworkAccessPoliciesClient {
return JitNetworkAccessPoliciesClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/locations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/locations.go
index 18ecc473ff749..94917385fe7e7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/locations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/locations.go
@@ -36,8 +36,7 @@ func NewLocationsClient(subscriptionID string, ascLocation string) LocationsClie
return NewLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) LocationsClient {
return LocationsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/models.go
index 51f352e9babf9..49f752621d6a8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/models.go
@@ -648,17 +648,17 @@ func PossibleSeverityValues() []Severity {
type Source string
const (
+ // SourceAws ...
+ SourceAws Source = "Aws"
// SourceAzure ...
SourceAzure Source = "Azure"
- // SourceOnPremise ...
- SourceOnPremise Source = "OnPremise"
// SourceResourceDetails ...
SourceResourceDetails Source = "ResourceDetails"
)
// PossibleSourceValues returns an array of possible values for the Source const type.
func PossibleSourceValues() []Source {
- return []Source{SourceAzure, SourceOnPremise, SourceResourceDetails}
+ return []Source{SourceAws, SourceAzure, SourceResourceDetails}
}
// SourceSystem enumerates the values for source system.
@@ -2553,8 +2553,7 @@ func (aa AutomationAction) AsBasicAutomationAction() (BasicAutomationAction, boo
return &aa, true
}
-// AutomationActionEventHub the target Event Hub to which event data will be exported. To learn more about
-// Security Center continuous export capabilities, visit https://aka.ms/ASCExportLearnMore
+// AutomationActionEventHub the target Event Hub to which event data will be exported.
type AutomationActionEventHub struct {
// EventHubResourceID - The target Event Hub Azure Resource ID.
EventHubResourceID *string `json:"eventHubResourceId,omitempty"`
@@ -2607,8 +2606,7 @@ func (aaeh AutomationActionEventHub) AsBasicAutomationAction() (BasicAutomationA
return &aaeh, true
}
-// AutomationActionLogicApp the logic app action that should be triggered. To learn more about Security
-// Center's Workflow Automation capabilities, visit https://aka.ms/ASCWorkflowAutomationLearnMore
+// AutomationActionLogicApp the logic app action that should be triggered.
type AutomationActionLogicApp struct {
// LogicAppResourceID - The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App
LogicAppResourceID *string `json:"logicAppResourceId,omitempty"`
@@ -2663,8 +2661,7 @@ func (aala AutomationActionLogicApp) AsBasicAutomationAction() (BasicAutomationA
// alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the
// 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order
// to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be
-// enabled on that workspace. To learn more about Security Center continuous export capabilities, visit
-// https://aka.ms/ASCExportLearnMore
+// enabled on that workspace.
type AutomationActionWorkspace struct {
// WorkspaceResourceID - The fully qualified Log Analytics Workspace Azure Resource ID.
WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
@@ -2965,7 +2962,7 @@ type AutomationTriggeringRule struct {
PropertyType PropertyType `json:"propertyType,omitempty"`
// ExpectedValue - The expected value.
ExpectedValue *string `json:"expectedValue,omitempty"`
- // Operator - A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType. Possible values include: 'Equals', 'GreaterThan', 'GreaterThanOrEqualTo', 'LesserThan', 'LesserThanOrEqualTo', 'NotEquals', 'Contains', 'StartsWith', 'EndsWith'
+ // Operator - A valid comparer operator to use. Possible values include: 'Equals', 'GreaterThan', 'GreaterThanOrEqualTo', 'LesserThan', 'LesserThanOrEqualTo', 'NotEquals', 'Contains', 'StartsWith', 'EndsWith'
Operator Operator `json:"operator,omitempty"`
}
@@ -3204,11 +3201,51 @@ type AutoProvisioningSettingProperties struct {
AutoProvision AutoProvision `json:"autoProvision,omitempty"`
}
-// AzureResourceDetails details of the Azure resource that was assessed
+// AwsResourceDetails details of the resource that was assessed
+type AwsResourceDetails struct {
+ // AccountID - READ-ONLY; AWS account ID
+ AccountID *string `json:"accountId,omitempty"`
+ // AwsResourceID - READ-ONLY; AWS resource ID. can be ARN or other
+ AwsResourceID *string `json:"awsResourceId,omitempty"`
+ // Source - Possible values include: 'SourceResourceDetails', 'SourceAzure', 'SourceAws'
+ Source Source `json:"source,omitempty"`
+}
+
+// MarshalJSON is the custom marshaler for AwsResourceDetails.
+func (ard AwsResourceDetails) MarshalJSON() ([]byte, error) {
+ ard.Source = SourceAws
+ objectMap := make(map[string]interface{})
+ if ard.Source != "" {
+ objectMap["source"] = ard.Source
+ }
+ return json.Marshal(objectMap)
+}
+
+// AsAzureResourceDetails is the BasicResourceDetails implementation for AwsResourceDetails.
+func (ard AwsResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool) {
+ return nil, false
+}
+
+// AsAwsResourceDetails is the BasicResourceDetails implementation for AwsResourceDetails.
+func (ard AwsResourceDetails) AsAwsResourceDetails() (*AwsResourceDetails, bool) {
+ return &ard, true
+}
+
+// AsResourceDetails is the BasicResourceDetails implementation for AwsResourceDetails.
+func (ard AwsResourceDetails) AsResourceDetails() (*ResourceDetails, bool) {
+ return nil, false
+}
+
+// AsBasicResourceDetails is the BasicResourceDetails implementation for AwsResourceDetails.
+func (ard AwsResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool) {
+ return &ard, true
+}
+
+// AzureResourceDetails details of the resource that was assessed
type AzureResourceDetails struct {
- // ID - READ-ONLY; Azure resource Id of the assessed resource
+ // ID - READ-ONLY; Azure resource ID of the assessed resource
ID *string `json:"id,omitempty"`
- // Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremise', 'SourceAzure'
+ // Source - Possible values include: 'SourceResourceDetails', 'SourceAzure', 'SourceAws'
Source Source `json:"source,omitempty"`
}
@@ -3222,16 +3259,16 @@ func (ard AzureResourceDetails) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsOnPremiseResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
-func (ard AzureResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool) {
- return nil, false
-}
-
// AsAzureResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (ard AzureResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool) {
return &ard, true
}
+// AsAwsResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
+func (ard AzureResourceDetails) AsAwsResourceDetails() (*AwsResourceDetails, bool) {
+ return nil, false
+}
+
// AsResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (ard AzureResourceDetails) AsResourceDetails() (*ResourceDetails, bool) {
return nil, false
@@ -5657,62 +5694,6 @@ type Location struct {
Location *string `json:"location,omitempty"`
}
-// OnPremiseResourceDetails details of the On Premise resource that was assessed
-type OnPremiseResourceDetails struct {
- // WorkspaceID - Azure resource Id of the workspace the machine is attached to
- WorkspaceID *string `json:"workspaceId,omitempty"`
- // Vmuuid - The unique Id of the machine
- Vmuuid *string `json:"vmuuid,omitempty"`
- // SourceComputerID - The oms agent Id installed on the machine
- SourceComputerID *string `json:"sourceComputerId,omitempty"`
- // MachineName - The name of the machine
- MachineName *string `json:"machineName,omitempty"`
- // Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremise', 'SourceAzure'
- Source Source `json:"source,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for OnPremiseResourceDetails.
-func (oprd OnPremiseResourceDetails) MarshalJSON() ([]byte, error) {
- oprd.Source = SourceOnPremise
- objectMap := make(map[string]interface{})
- if oprd.WorkspaceID != nil {
- objectMap["workspaceId"] = oprd.WorkspaceID
- }
- if oprd.Vmuuid != nil {
- objectMap["vmuuid"] = oprd.Vmuuid
- }
- if oprd.SourceComputerID != nil {
- objectMap["sourceComputerId"] = oprd.SourceComputerID
- }
- if oprd.MachineName != nil {
- objectMap["machineName"] = oprd.MachineName
- }
- if oprd.Source != "" {
- objectMap["source"] = oprd.Source
- }
- return json.Marshal(objectMap)
-}
-
-// AsOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
-func (oprd OnPremiseResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool) {
- return &oprd, true
-}
-
-// AsAzureResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
-func (oprd OnPremiseResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool) {
- return nil, false
-}
-
-// AsResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
-func (oprd OnPremiseResourceDetails) AsResourceDetails() (*ResourceDetails, bool) {
- return nil, false
-}
-
-// AsBasicResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
-func (oprd OnPremiseResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool) {
- return &oprd, true
-}
-
// Operation possible operation in the REST API of Microsoft.Security
type Operation struct {
// Name - READ-ONLY; Name of the operation
@@ -6867,14 +6848,14 @@ type Resource struct {
// BasicResourceDetails details of the resource that was assessed
type BasicResourceDetails interface {
- AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
AsAzureResourceDetails() (*AzureResourceDetails, bool)
+ AsAwsResourceDetails() (*AwsResourceDetails, bool)
AsResourceDetails() (*ResourceDetails, bool)
}
// ResourceDetails details of the resource that was assessed
type ResourceDetails struct {
- // Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremise', 'SourceAzure'
+ // Source - Possible values include: 'SourceResourceDetails', 'SourceAzure', 'SourceAws'
Source Source `json:"source,omitempty"`
}
@@ -6886,14 +6867,14 @@ func unmarshalBasicResourceDetails(body []byte) (BasicResourceDetails, error) {
}
switch m["source"] {
- case string(SourceOnPremise):
- var oprd OnPremiseResourceDetails
- err := json.Unmarshal(body, &oprd)
- return oprd, err
case string(SourceAzure):
var ard AzureResourceDetails
err := json.Unmarshal(body, &ard)
return ard, err
+ case string(SourceAws):
+ var ard AwsResourceDetails
+ err := json.Unmarshal(body, &ard)
+ return ard, err
default:
var rd ResourceDetails
err := json.Unmarshal(body, &rd)
@@ -6929,13 +6910,13 @@ func (rd ResourceDetails) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// AsOnPremiseResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
-func (rd ResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool) {
+// AsAzureResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
+func (rd ResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool) {
return nil, false
}
-// AsAzureResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
-func (rd ResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool) {
+// AsAwsResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
+func (rd ResourceDetails) AsAwsResourceDetails() (*AwsResourceDetails, bool) {
return nil, false
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/operations.go
index b4a74214e8865..343293875ddfe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string, ascLocation string) OperationsCl
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/pricings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/pricings.go
index 48b62bf50247d..800cbf0e76d21 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/pricings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/pricings.go
@@ -36,8 +36,7 @@ func NewPricingsClient(subscriptionID string, ascLocation string) PricingsClient
return NewPricingsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewPricingsClientWithBaseURI creates an instance of the PricingsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPricingsClientWithBaseURI creates an instance of the PricingsClient client.
func NewPricingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) PricingsClient {
return PricingsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycomplianceassessments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycomplianceassessments.go
index bed3ced573e3f..c0083af293335 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycomplianceassessments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycomplianceassessments.go
@@ -38,8 +38,7 @@ func NewRegulatoryComplianceAssessmentsClient(subscriptionID string, ascLocation
}
// NewRegulatoryComplianceAssessmentsClientWithBaseURI creates an instance of the RegulatoryComplianceAssessmentsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewRegulatoryComplianceAssessmentsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) RegulatoryComplianceAssessmentsClient {
return RegulatoryComplianceAssessmentsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancecontrols.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancecontrols.go
index 1d590b52a4974..82cf7d7cff1e1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancecontrols.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancecontrols.go
@@ -37,8 +37,7 @@ func NewRegulatoryComplianceControlsClient(subscriptionID string, ascLocation st
}
// NewRegulatoryComplianceControlsClientWithBaseURI creates an instance of the RegulatoryComplianceControlsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewRegulatoryComplianceControlsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) RegulatoryComplianceControlsClient {
return RegulatoryComplianceControlsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancestandards.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancestandards.go
index 86e2892938b12..bdb1b4d365988 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancestandards.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/regulatorycompliancestandards.go
@@ -37,8 +37,7 @@ func NewRegulatoryComplianceStandardsClient(subscriptionID string, ascLocation s
}
// NewRegulatoryComplianceStandardsClientWithBaseURI creates an instance of the RegulatoryComplianceStandardsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewRegulatoryComplianceStandardsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) RegulatoryComplianceStandardsClient {
return RegulatoryComplianceStandardsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/settings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/settings.go
index 971bf2b94b1a5..6f63dd02c69d1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/settings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/settings.go
@@ -36,8 +36,7 @@ func NewSettingsClient(subscriptionID string, ascLocation string) SettingsClient
return NewSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewSettingsClientWithBaseURI creates an instance of the SettingsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSettingsClientWithBaseURI creates an instance of the SettingsClient client.
func NewSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) SettingsClient {
return SettingsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/subassessments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/subassessments.go
index 82430e79385fb..4fa19d8e398d9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/subassessments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/subassessments.go
@@ -35,8 +35,7 @@ func NewSubAssessmentsClient(subscriptionID string, ascLocation string) SubAsses
return NewSubAssessmentsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewSubAssessmentsClientWithBaseURI creates an instance of the SubAssessmentsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSubAssessmentsClientWithBaseURI creates an instance of the SubAssessmentsClient client.
func NewSubAssessmentsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) SubAssessmentsClient {
return SubAssessmentsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/tasks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/tasks.go
index bc6628d115d31..bad83545919f4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/tasks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/tasks.go
@@ -36,8 +36,7 @@ func NewTasksClient(subscriptionID string, ascLocation string) TasksClient {
return NewTasksClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewTasksClientWithBaseURI creates an instance of the TasksClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTasksClientWithBaseURI creates an instance of the TasksClient client.
func NewTasksClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) TasksClient {
return TasksClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/topology.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/topology.go
index efb4716fa9a45..d0f4f75946f70 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/topology.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/topology.go
@@ -36,8 +36,7 @@ func NewTopologyClient(subscriptionID string, ascLocation string) TopologyClient
return NewTopologyClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewTopologyClientWithBaseURI creates an instance of the TopologyClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTopologyClientWithBaseURI creates an instance of the TopologyClient client.
func NewTopologyClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) TopologyClient {
return TopologyClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/workspacesettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/workspacesettings.go
index 7165e8698a55e..f684aa8651173 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/workspacesettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v1.0/security/workspacesettings.go
@@ -36,9 +36,7 @@ func NewWorkspaceSettingsClient(subscriptionID string, ascLocation string) Works
return NewWorkspaceSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID, ascLocation)
}
-// NewWorkspaceSettingsClientWithBaseURI creates an instance of the WorkspaceSettingsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewWorkspaceSettingsClientWithBaseURI creates an instance of the WorkspaceSettingsClient client.
func NewWorkspaceSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) WorkspaceSettingsClient {
return WorkspaceSettingsClient{NewWithBaseURI(baseURI, subscriptionID, ascLocation)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/client.go
index c06c9c68d67a1..556b67aad391a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/namespaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/namespaces.go
index 062640e6dff1b..497563b850a2b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/namespaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/namespaces.go
@@ -37,8 +37,7 @@ func NewNamespacesClient(subscriptionID string) NamespacesClient {
return NewNamespacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.
func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient {
return NamespacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/operations.go
index d6c5d3ae19ea9..837fd2ceba513 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/servicebus/mgmt/2018-01-01-preview/servicebus/operations.go
@@ -36,8 +36,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionpolicies.go
index 751ba63cf95ba..d106b05950371 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionpolicies.go
@@ -39,8 +39,7 @@ func NewBackupLongTermRetentionPoliciesClient(subscriptionID string) BackupLongT
}
// NewBackupLongTermRetentionPoliciesClientWithBaseURI creates an instance of the BackupLongTermRetentionPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewBackupLongTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupLongTermRetentionPoliciesClient {
return BackupLongTermRetentionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionvaults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionvaults.go
index a37ef6abdb4bc..da3db554f53d8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionvaults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/backuplongtermretentionvaults.go
@@ -39,8 +39,7 @@ func NewBackupLongTermRetentionVaultsClient(subscriptionID string) BackupLongTer
}
// NewBackupLongTermRetentionVaultsClientWithBaseURI creates an instance of the BackupLongTermRetentionVaultsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewBackupLongTermRetentionVaultsClientWithBaseURI(baseURI string, subscriptionID string) BackupLongTermRetentionVaultsClient {
return BackupLongTermRetentionVaultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/capabilities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/capabilities.go
index c605e5b3383ff..c5718dd09fbe3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/capabilities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/capabilities.go
@@ -37,8 +37,7 @@ func NewCapabilitiesClient(subscriptionID string) CapabilitiesClient {
return NewCapabilitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCapabilitiesClientWithBaseURI creates an instance of the CapabilitiesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCapabilitiesClientWithBaseURI creates an instance of the CapabilitiesClient client.
func NewCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) CapabilitiesClient {
return CapabilitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/client.go
index 06af8e714eca5..40ec57b36babe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/client.go
@@ -42,8 +42,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseautomatictuning.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseautomatictuning.go
index e3edd2c055257..2b7edb2d0e14f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseautomatictuning.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseautomatictuning.go
@@ -37,9 +37,7 @@ func NewDatabaseAutomaticTuningClient(subscriptionID string) DatabaseAutomaticTu
return NewDatabaseAutomaticTuningClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseAutomaticTuningClientWithBaseURI creates an instance of the DatabaseAutomaticTuningClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewDatabaseAutomaticTuningClientWithBaseURI creates an instance of the DatabaseAutomaticTuningClient client.
func NewDatabaseAutomaticTuningClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAutomaticTuningClient {
return DatabaseAutomaticTuningClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseblobauditingpolicies.go
index 97fb47ea18ff7..8e61953bbeae7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseblobauditingpolicies.go
@@ -38,8 +38,7 @@ func NewDatabaseBlobAuditingPoliciesClient(subscriptionID string) DatabaseBlobAu
}
// NewDatabaseBlobAuditingPoliciesClientWithBaseURI creates an instance of the DatabaseBlobAuditingPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewDatabaseBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseBlobAuditingPoliciesClient {
return DatabaseBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseoperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseoperations.go
index 22d8d10d98284..b9960bcb12e86 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseoperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseoperations.go
@@ -38,9 +38,7 @@ func NewDatabaseOperationsClient(subscriptionID string) DatabaseOperationsClient
return NewDatabaseOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseOperationsClientWithBaseURI creates an instance of the DatabaseOperationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDatabaseOperationsClientWithBaseURI creates an instance of the DatabaseOperationsClient client.
func NewDatabaseOperationsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseOperationsClient {
return DatabaseOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databases.go
index a706209fc4c63..327d066b6f533 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databases.go
@@ -38,8 +38,7 @@ func NewDatabasesClient(subscriptionID string) DatabasesClient {
return NewDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client.
func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
return DatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasethreatdetectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasethreatdetectionpolicies.go
index ca44eccd7da2e..9c858036755f7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasethreatdetectionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasethreatdetectionpolicies.go
@@ -38,8 +38,7 @@ func NewDatabaseThreatDetectionPoliciesClient(subscriptionID string) DatabaseThr
}
// NewDatabaseThreatDetectionPoliciesClientWithBaseURI creates an instance of the DatabaseThreatDetectionPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewDatabaseThreatDetectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseThreatDetectionPoliciesClient {
return DatabaseThreatDetectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseusages.go
index d3601a4bfdc97..45f0a1e730a48 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseusages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databaseusages.go
@@ -37,8 +37,7 @@ func NewDatabaseUsagesClient(subscriptionID string) DatabaseUsagesClient {
return NewDatabaseUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseUsagesClientWithBaseURI creates an instance of the DatabaseUsagesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabaseUsagesClientWithBaseURI creates an instance of the DatabaseUsagesClient client.
func NewDatabaseUsagesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseUsagesClient {
return DatabaseUsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessmentrulebaselines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessmentrulebaselines.go
index 473577af45b2f..c4de2c1ee8e87 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessmentrulebaselines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessmentrulebaselines.go
@@ -40,8 +40,7 @@ func NewDatabaseVulnerabilityAssessmentRuleBaselinesClient(subscriptionID string
}
// NewDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI creates an instance of the
-// DatabaseVulnerabilityAssessmentRuleBaselinesClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// DatabaseVulnerabilityAssessmentRuleBaselinesClient client.
func NewDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentRuleBaselinesClient {
return DatabaseVulnerabilityAssessmentRuleBaselinesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessments.go
index 80fa889069b78..e953704645ced 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/databasevulnerabilityassessments.go
@@ -38,8 +38,7 @@ func NewDatabaseVulnerabilityAssessmentsClient(subscriptionID string) DatabaseVu
}
// NewDatabaseVulnerabilityAssessmentsClientWithBaseURI creates an instance of the
-// DatabaseVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// DatabaseVulnerabilityAssessmentsClient client.
func NewDatabaseVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentsClient {
return DatabaseVulnerabilityAssessmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingpolicies.go
index 51c2a48ad0f07..65303d3d345ad 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingpolicies.go
@@ -37,9 +37,7 @@ func NewDataMaskingPoliciesClient(subscriptionID string) DataMaskingPoliciesClie
return NewDataMaskingPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataMaskingPoliciesClientWithBaseURI creates an instance of the DataMaskingPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDataMaskingPoliciesClientWithBaseURI creates an instance of the DataMaskingPoliciesClient client.
func NewDataMaskingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingPoliciesClient {
return DataMaskingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingrules.go
index 8472a5ff846d9..d7a6ff2637920 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datamaskingrules.go
@@ -38,9 +38,7 @@ func NewDataMaskingRulesClient(subscriptionID string) DataMaskingRulesClient {
return NewDataMaskingRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataMaskingRulesClientWithBaseURI creates an instance of the DataMaskingRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDataMaskingRulesClientWithBaseURI creates an instance of the DataMaskingRulesClient client.
func NewDataMaskingRulesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingRulesClient {
return DataMaskingRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datawarehouseuseractivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datawarehouseuseractivities.go
index 40088d983e26c..3f4ba5338dcf0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datawarehouseuseractivities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/datawarehouseuseractivities.go
@@ -37,9 +37,7 @@ func NewDataWarehouseUserActivitiesClient(subscriptionID string) DataWarehouseUs
return NewDataWarehouseUserActivitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataWarehouseUserActivitiesClientWithBaseURI creates an instance of the DataWarehouseUserActivitiesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewDataWarehouseUserActivitiesClientWithBaseURI creates an instance of the DataWarehouseUserActivitiesClient client.
func NewDataWarehouseUserActivitiesClientWithBaseURI(baseURI string, subscriptionID string) DataWarehouseUserActivitiesClient {
return DataWarehouseUserActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpoolactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpoolactivities.go
index 268b2ee5c392a..94df73d2fff96 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpoolactivities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpoolactivities.go
@@ -37,9 +37,7 @@ func NewElasticPoolActivitiesClient(subscriptionID string) ElasticPoolActivities
return NewElasticPoolActivitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewElasticPoolActivitiesClientWithBaseURI creates an instance of the ElasticPoolActivitiesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewElasticPoolActivitiesClientWithBaseURI creates an instance of the ElasticPoolActivitiesClient client.
func NewElasticPoolActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolActivitiesClient {
return ElasticPoolActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpooldatabaseactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpooldatabaseactivities.go
index 70e005ff32d22..dd0e955db87f2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpooldatabaseactivities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpooldatabaseactivities.go
@@ -38,8 +38,7 @@ func NewElasticPoolDatabaseActivitiesClient(subscriptionID string) ElasticPoolDa
}
// NewElasticPoolDatabaseActivitiesClientWithBaseURI creates an instance of the ElasticPoolDatabaseActivitiesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewElasticPoolDatabaseActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolDatabaseActivitiesClient {
return ElasticPoolDatabaseActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpools.go
index 82445b7580b54..8b2ff84aad847 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/elasticpools.go
@@ -37,8 +37,7 @@ func NewElasticPoolsClient(subscriptionID string) ElasticPoolsClient {
return NewElasticPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewElasticPoolsClientWithBaseURI creates an instance of the ElasticPoolsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewElasticPoolsClientWithBaseURI creates an instance of the ElasticPoolsClient client.
func NewElasticPoolsClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolsClient {
return ElasticPoolsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/encryptionprotectors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/encryptionprotectors.go
index ba987a7746f42..4bf6cc3947ab2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/encryptionprotectors.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/encryptionprotectors.go
@@ -37,9 +37,7 @@ func NewEncryptionProtectorsClient(subscriptionID string) EncryptionProtectorsCl
return NewEncryptionProtectorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEncryptionProtectorsClientWithBaseURI creates an instance of the EncryptionProtectorsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewEncryptionProtectorsClientWithBaseURI creates an instance of the EncryptionProtectorsClient client.
func NewEncryptionProtectorsClientWithBaseURI(baseURI string, subscriptionID string) EncryptionProtectorsClient {
return EncryptionProtectorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendeddatabaseblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendeddatabaseblobauditingpolicies.go
index d33f275fa4a42..7c174fe2ad373 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendeddatabaseblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendeddatabaseblobauditingpolicies.go
@@ -39,8 +39,7 @@ func NewExtendedDatabaseBlobAuditingPoliciesClient(subscriptionID string) Extend
}
// NewExtendedDatabaseBlobAuditingPoliciesClientWithBaseURI creates an instance of the
-// ExtendedDatabaseBlobAuditingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ExtendedDatabaseBlobAuditingPoliciesClient client.
func NewExtendedDatabaseBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ExtendedDatabaseBlobAuditingPoliciesClient {
return ExtendedDatabaseBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendedserverblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendedserverblobauditingpolicies.go
index 9dbd152040131..1d8245d7a1a76 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendedserverblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/extendedserverblobauditingpolicies.go
@@ -39,8 +39,7 @@ func NewExtendedServerBlobAuditingPoliciesClient(subscriptionID string) Extended
}
// NewExtendedServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the
-// ExtendedServerBlobAuditingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ExtendedServerBlobAuditingPoliciesClient client.
func NewExtendedServerBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ExtendedServerBlobAuditingPoliciesClient {
return ExtendedServerBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/failovergroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/failovergroups.go
index 62cbc1c9a8ee7..ea286e1e6aff9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/failovergroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/failovergroups.go
@@ -38,8 +38,7 @@ func NewFailoverGroupsClient(subscriptionID string) FailoverGroupsClient {
return NewFailoverGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFailoverGroupsClientWithBaseURI creates an instance of the FailoverGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFailoverGroupsClientWithBaseURI creates an instance of the FailoverGroupsClient client.
func NewFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) FailoverGroupsClient {
return FailoverGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/firewallrules.go
index 7d80bda73e1d2..daa8a1f832c75 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/firewallrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/firewallrules.go
@@ -38,8 +38,7 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/geobackuppolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/geobackuppolicies.go
index 9c0118335e543..28e35d715a1bc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/geobackuppolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/geobackuppolicies.go
@@ -38,9 +38,7 @@ func NewGeoBackupPoliciesClient(subscriptionID string) GeoBackupPoliciesClient {
return NewGeoBackupPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGeoBackupPoliciesClientWithBaseURI creates an instance of the GeoBackupPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewGeoBackupPoliciesClientWithBaseURI creates an instance of the GeoBackupPoliciesClient client.
func NewGeoBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) GeoBackupPoliciesClient {
return GeoBackupPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobagents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobagents.go
index 912a207472e4f..ee60e7d85f2ee 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobagents.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobagents.go
@@ -38,8 +38,7 @@ func NewJobAgentsClient(subscriptionID string) JobAgentsClient {
return NewJobAgentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobAgentsClientWithBaseURI creates an instance of the JobAgentsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobAgentsClientWithBaseURI creates an instance of the JobAgentsClient client.
func NewJobAgentsClientWithBaseURI(baseURI string, subscriptionID string) JobAgentsClient {
return JobAgentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobcredentials.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobcredentials.go
index a8ce2efc4979c..684e3d528af6b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobcredentials.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobcredentials.go
@@ -38,8 +38,7 @@ func NewJobCredentialsClient(subscriptionID string) JobCredentialsClient {
return NewJobCredentialsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobCredentialsClientWithBaseURI creates an instance of the JobCredentialsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobCredentialsClientWithBaseURI creates an instance of the JobCredentialsClient client.
func NewJobCredentialsClientWithBaseURI(baseURI string, subscriptionID string) JobCredentialsClient {
return JobCredentialsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobexecutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobexecutions.go
index 8f19405b686dd..eb0535c6f24ae 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobexecutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobexecutions.go
@@ -39,8 +39,7 @@ func NewJobExecutionsClient(subscriptionID string) JobExecutionsClient {
return NewJobExecutionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobExecutionsClientWithBaseURI creates an instance of the JobExecutionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobExecutionsClientWithBaseURI creates an instance of the JobExecutionsClient client.
func NewJobExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobExecutionsClient {
return JobExecutionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobs.go
index 9e8d9d9298d03..2112eef5585f8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobs.go
@@ -37,8 +37,7 @@ func NewJobsClient(subscriptionID string) JobsClient {
return NewJobsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobsClientWithBaseURI creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return JobsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobstepexecutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobstepexecutions.go
index d488e2718e316..1e12c6aa765c2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobstepexecutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobstepexecutions.go
@@ -39,9 +39,7 @@ func NewJobStepExecutionsClient(subscriptionID string) JobStepExecutionsClient {
return NewJobStepExecutionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobStepExecutionsClientWithBaseURI creates an instance of the JobStepExecutionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewJobStepExecutionsClientWithBaseURI creates an instance of the JobStepExecutionsClient client.
func NewJobStepExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobStepExecutionsClient {
return JobStepExecutionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobsteps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobsteps.go
index 98f9a8d5e252c..15abd56ff2fef 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobsteps.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobsteps.go
@@ -38,8 +38,7 @@ func NewJobStepsClient(subscriptionID string) JobStepsClient {
return NewJobStepsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobStepsClientWithBaseURI creates an instance of the JobStepsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobStepsClientWithBaseURI creates an instance of the JobStepsClient client.
func NewJobStepsClientWithBaseURI(baseURI string, subscriptionID string) JobStepsClient {
return JobStepsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetexecutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetexecutions.go
index 1b5c7e8e95fa0..726a66db08357 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetexecutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetexecutions.go
@@ -39,9 +39,7 @@ func NewJobTargetExecutionsClient(subscriptionID string) JobTargetExecutionsClie
return NewJobTargetExecutionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobTargetExecutionsClientWithBaseURI creates an instance of the JobTargetExecutionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewJobTargetExecutionsClientWithBaseURI creates an instance of the JobTargetExecutionsClient client.
func NewJobTargetExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobTargetExecutionsClient {
return JobTargetExecutionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetgroups.go
index 3e53d6ed2663d..662b16e9dfb35 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobtargetgroups.go
@@ -38,8 +38,7 @@ func NewJobTargetGroupsClient(subscriptionID string) JobTargetGroupsClient {
return NewJobTargetGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobTargetGroupsClientWithBaseURI creates an instance of the JobTargetGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobTargetGroupsClientWithBaseURI creates an instance of the JobTargetGroupsClient client.
func NewJobTargetGroupsClientWithBaseURI(baseURI string, subscriptionID string) JobTargetGroupsClient {
return JobTargetGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobversions.go
index 03043db426dcf..9b81112ab2a08 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/jobversions.go
@@ -37,8 +37,7 @@ func NewJobVersionsClient(subscriptionID string) JobVersionsClient {
return NewJobVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobVersionsClientWithBaseURI creates an instance of the JobVersionsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobVersionsClientWithBaseURI creates an instance of the JobVersionsClient client.
func NewJobVersionsClientWithBaseURI(baseURI string, subscriptionID string) JobVersionsClient {
return JobVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedbackupshorttermretentionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedbackupshorttermretentionpolicies.go
index 2a39605580103..dec37cea9ef0b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedbackupshorttermretentionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedbackupshorttermretentionpolicies.go
@@ -39,8 +39,7 @@ func NewManagedBackupShortTermRetentionPoliciesClient(subscriptionID string) Man
}
// NewManagedBackupShortTermRetentionPoliciesClientWithBaseURI creates an instance of the
-// ManagedBackupShortTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedBackupShortTermRetentionPoliciesClient client.
func NewManagedBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedBackupShortTermRetentionPoliciesClient {
return ManagedBackupShortTermRetentionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/manageddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/manageddatabases.go
index b29b60531f08a..89418cc07632a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/manageddatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/manageddatabases.go
@@ -39,9 +39,7 @@ func NewManagedDatabasesClient(subscriptionID string) ManagedDatabasesClient {
return NewManagedDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagedDatabasesClientWithBaseURI creates an instance of the ManagedDatabasesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewManagedDatabasesClientWithBaseURI creates an instance of the ManagedDatabasesClient client.
func NewManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabasesClient {
return ManagedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstanceadministrators.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstanceadministrators.go
index ac8811583b868..abf17916beb0a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstanceadministrators.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstanceadministrators.go
@@ -39,8 +39,7 @@ func NewManagedInstanceAdministratorsClient(subscriptionID string) ManagedInstan
}
// NewManagedInstanceAdministratorsClientWithBaseURI creates an instance of the ManagedInstanceAdministratorsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewManagedInstanceAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceAdministratorsClient {
return ManagedInstanceAdministratorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstances.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstances.go
index 37ad04ec7ef93..ffdde71d15ef4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstances.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/managedinstances.go
@@ -38,9 +38,7 @@ func NewManagedInstancesClient(subscriptionID string) ManagedInstancesClient {
return NewManagedInstancesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagedInstancesClientWithBaseURI creates an instance of the ManagedInstancesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewManagedInstancesClientWithBaseURI creates an instance of the ManagedInstancesClient client.
func NewManagedInstancesClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstancesClient {
return ManagedInstancesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/models.go
index 51d48577a5121..651614bc4e39e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/models.go
@@ -1010,27 +1010,6 @@ func PossibleSecurityAlertPolicyUseServerDefaultValues() []SecurityAlertPolicyUs
return []SecurityAlertPolicyUseServerDefault{SecurityAlertPolicyUseServerDefaultDisabled, SecurityAlertPolicyUseServerDefaultEnabled}
}
-// SensitivityLabelRank enumerates the values for sensitivity label rank.
-type SensitivityLabelRank string
-
-const (
- // SensitivityLabelRankCritical ...
- SensitivityLabelRankCritical SensitivityLabelRank = "Critical"
- // SensitivityLabelRankHigh ...
- SensitivityLabelRankHigh SensitivityLabelRank = "High"
- // SensitivityLabelRankLow ...
- SensitivityLabelRankLow SensitivityLabelRank = "Low"
- // SensitivityLabelRankMedium ...
- SensitivityLabelRankMedium SensitivityLabelRank = "Medium"
- // SensitivityLabelRankNone ...
- SensitivityLabelRankNone SensitivityLabelRank = "None"
-)
-
-// PossibleSensitivityLabelRankValues returns an array of possible values for the SensitivityLabelRank const type.
-func PossibleSensitivityLabelRankValues() []SensitivityLabelRank {
- return []SensitivityLabelRank{SensitivityLabelRankCritical, SensitivityLabelRankHigh, SensitivityLabelRankLow, SensitivityLabelRankMedium, SensitivityLabelRankNone}
-}
-
// SensitivityLabelSource enumerates the values for sensitivity label source.
type SensitivityLabelSource string
@@ -10867,8 +10846,6 @@ type SensitivityLabelProperties struct {
InformationTypeID *string `json:"informationTypeId,omitempty"`
// IsDisabled - READ-ONLY; Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
IsDisabled *bool `json:"isDisabled,omitempty"`
- // Rank - Possible values include: 'SensitivityLabelRankNone', 'SensitivityLabelRankLow', 'SensitivityLabelRankMedium', 'SensitivityLabelRankHigh', 'SensitivityLabelRankCritical'
- Rank SensitivityLabelRank `json:"rank,omitempty"`
}
// Server an Azure SQL Database server.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/operations.go
index a23318d8d8b4c..bd0657225fdea 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/operations.go
@@ -37,8 +37,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/recoverabledatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/recoverabledatabases.go
index d900e5223ef5a..bfa9b2425b974 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/recoverabledatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/recoverabledatabases.go
@@ -37,9 +37,7 @@ func NewRecoverableDatabasesClient(subscriptionID string) RecoverableDatabasesCl
return NewRecoverableDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecoverableDatabasesClientWithBaseURI creates an instance of the RecoverableDatabasesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewRecoverableDatabasesClientWithBaseURI creates an instance of the RecoverableDatabasesClient client.
func NewRecoverableDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RecoverableDatabasesClient {
return RecoverableDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/replicationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/replicationlinks.go
index c810a1a2db59e..4122dbff6cef0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/replicationlinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/replicationlinks.go
@@ -37,9 +37,7 @@ func NewReplicationLinksClient(subscriptionID string) ReplicationLinksClient {
return NewReplicationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReplicationLinksClientWithBaseURI creates an instance of the ReplicationLinksClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationLinksClientWithBaseURI creates an instance of the ReplicationLinksClient client.
func NewReplicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ReplicationLinksClient {
return ReplicationLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppeddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppeddatabases.go
index 9916f42cfd6d0..ee9433fcd23ad 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppeddatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppeddatabases.go
@@ -37,9 +37,7 @@ func NewRestorableDroppedDatabasesClient(subscriptionID string) RestorableDroppe
return NewRestorableDroppedDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRestorableDroppedDatabasesClientWithBaseURI creates an instance of the RestorableDroppedDatabasesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewRestorableDroppedDatabasesClientWithBaseURI creates an instance of the RestorableDroppedDatabasesClient client.
func NewRestorableDroppedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RestorableDroppedDatabasesClient {
return RestorableDroppedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppedmanageddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppedmanageddatabases.go
index 10498c314f10c..b9bd15b1a36bd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppedmanageddatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorabledroppedmanageddatabases.go
@@ -39,8 +39,7 @@ func NewRestorableDroppedManagedDatabasesClient(subscriptionID string) Restorabl
}
// NewRestorableDroppedManagedDatabasesClientWithBaseURI creates an instance of the
-// RestorableDroppedManagedDatabasesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// RestorableDroppedManagedDatabasesClient client.
func NewRestorableDroppedManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RestorableDroppedManagedDatabasesClient {
return RestorableDroppedManagedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorepoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorepoints.go
index a3a3ce863fd86..8ae3d7ba5caf1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorepoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/restorepoints.go
@@ -38,8 +38,7 @@ func NewRestorePointsClient(subscriptionID string) RestorePointsClient {
return NewRestorePointsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRestorePointsClientWithBaseURI creates an instance of the RestorePointsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRestorePointsClientWithBaseURI creates an instance of the RestorePointsClient client.
func NewRestorePointsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointsClient {
return RestorePointsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/sensitivitylabels.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/sensitivitylabels.go
index f8c02ca0bf263..a267ca01c5300 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/sensitivitylabels.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/sensitivitylabels.go
@@ -37,9 +37,7 @@ func NewSensitivityLabelsClient(subscriptionID string) SensitivityLabelsClient {
return NewSensitivityLabelsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSensitivityLabelsClientWithBaseURI creates an instance of the SensitivityLabelsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewSensitivityLabelsClientWithBaseURI creates an instance of the SensitivityLabelsClient client.
func NewSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) SensitivityLabelsClient {
return SensitivityLabelsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverautomatictuning.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverautomatictuning.go
index 1d5ec39718a64..00e40cce10ddb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverautomatictuning.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverautomatictuning.go
@@ -37,9 +37,7 @@ func NewServerAutomaticTuningClient(subscriptionID string) ServerAutomaticTuning
return NewServerAutomaticTuningClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerAutomaticTuningClientWithBaseURI creates an instance of the ServerAutomaticTuningClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewServerAutomaticTuningClientWithBaseURI creates an instance of the ServerAutomaticTuningClient client.
func NewServerAutomaticTuningClientWithBaseURI(baseURI string, subscriptionID string) ServerAutomaticTuningClient {
return ServerAutomaticTuningClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverazureadadministrators.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverazureadadministrators.go
index 62b81a3b94124..8f68bc664109e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverazureadadministrators.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverazureadadministrators.go
@@ -38,9 +38,7 @@ func NewServerAzureADAdministratorsClient(subscriptionID string) ServerAzureADAd
return NewServerAzureADAdministratorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerAzureADAdministratorsClientWithBaseURI creates an instance of the ServerAzureADAdministratorsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerAzureADAdministratorsClientWithBaseURI creates an instance of the ServerAzureADAdministratorsClient client.
func NewServerAzureADAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ServerAzureADAdministratorsClient {
return ServerAzureADAdministratorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverblobauditingpolicies.go
index 92c0132345511..48d2fde5ed0de 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverblobauditingpolicies.go
@@ -37,9 +37,7 @@ func NewServerBlobAuditingPoliciesClient(subscriptionID string) ServerBlobAuditi
return NewServerBlobAuditingPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the ServerBlobAuditingPoliciesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the ServerBlobAuditingPoliciesClient client.
func NewServerBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerBlobAuditingPoliciesClient {
return ServerBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servercommunicationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servercommunicationlinks.go
index 7e91bbed92966..8c89241fa93f2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servercommunicationlinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servercommunicationlinks.go
@@ -38,9 +38,7 @@ func NewServerCommunicationLinksClient(subscriptionID string) ServerCommunicatio
return NewServerCommunicationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerCommunicationLinksClientWithBaseURI creates an instance of the ServerCommunicationLinksClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerCommunicationLinksClientWithBaseURI creates an instance of the ServerCommunicationLinksClient client.
func NewServerCommunicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServerCommunicationLinksClient {
return ServerCommunicationLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverconnectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverconnectionpolicies.go
index dae81775e7825..281669c159934 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverconnectionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverconnectionpolicies.go
@@ -37,9 +37,7 @@ func NewServerConnectionPoliciesClient(subscriptionID string) ServerConnectionPo
return NewServerConnectionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerConnectionPoliciesClientWithBaseURI creates an instance of the ServerConnectionPoliciesClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerConnectionPoliciesClientWithBaseURI creates an instance of the ServerConnectionPoliciesClient client.
func NewServerConnectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerConnectionPoliciesClient {
return ServerConnectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverdnsaliases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverdnsaliases.go
index 2c9a38959a273..51074322a772b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverdnsaliases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverdnsaliases.go
@@ -37,9 +37,7 @@ func NewServerDNSAliasesClient(subscriptionID string) ServerDNSAliasesClient {
return NewServerDNSAliasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerDNSAliasesClientWithBaseURI creates an instance of the ServerDNSAliasesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewServerDNSAliasesClientWithBaseURI creates an instance of the ServerDNSAliasesClient client.
func NewServerDNSAliasesClientWithBaseURI(baseURI string, subscriptionID string) ServerDNSAliasesClient {
return ServerDNSAliasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverkeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverkeys.go
index 7d82b1c150a1f..9e9e38abbe159 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverkeys.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverkeys.go
@@ -37,8 +37,7 @@ func NewServerKeysClient(subscriptionID string) ServerKeysClient {
return NewServerKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerKeysClientWithBaseURI creates an instance of the ServerKeysClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServerKeysClientWithBaseURI creates an instance of the ServerKeysClient client.
func NewServerKeysClientWithBaseURI(baseURI string, subscriptionID string) ServerKeysClient {
return ServerKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servers.go
index 7f91eefcf153b..388a123d76853 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servers.go
@@ -38,8 +38,7 @@ func NewServersClient(subscriptionID string) ServersClient {
return NewServersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServersClientWithBaseURI creates an instance of the ServersClient client.
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return ServersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serversecurityalertpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serversecurityalertpolicies.go
index 8da5e466569ef..89d98348b85a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serversecurityalertpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serversecurityalertpolicies.go
@@ -37,9 +37,7 @@ func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityA
return NewServerSecurityAlertPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client.
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
return ServerSecurityAlertPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverusages.go
index 7175e98a49b9b..65f3fd8d5b436 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverusages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serverusages.go
@@ -37,8 +37,7 @@ func NewServerUsagesClient(subscriptionID string) ServerUsagesClient {
return NewServerUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerUsagesClientWithBaseURI creates an instance of the ServerUsagesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServerUsagesClientWithBaseURI creates an instance of the ServerUsagesClient client.
func NewServerUsagesClientWithBaseURI(baseURI string, subscriptionID string) ServerUsagesClient {
return ServerUsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serviceobjectives.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serviceobjectives.go
index e61e6e009f18d..971180b812c77 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serviceobjectives.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/serviceobjectives.go
@@ -37,9 +37,7 @@ func NewServiceObjectivesClient(subscriptionID string) ServiceObjectivesClient {
return NewServiceObjectivesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceObjectivesClientWithBaseURI creates an instance of the ServiceObjectivesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewServiceObjectivesClientWithBaseURI creates an instance of the ServiceObjectivesClient client.
func NewServiceObjectivesClientWithBaseURI(baseURI string, subscriptionID string) ServiceObjectivesClient {
return ServiceObjectivesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servicetieradvisors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servicetieradvisors.go
index a13cd33d4476f..8fc1f2d7ae8a3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servicetieradvisors.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/servicetieradvisors.go
@@ -37,9 +37,7 @@ func NewServiceTierAdvisorsClient(subscriptionID string) ServiceTierAdvisorsClie
return NewServiceTierAdvisorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceTierAdvisorsClientWithBaseURI creates an instance of the ServiceTierAdvisorsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewServiceTierAdvisorsClientWithBaseURI creates an instance of the ServiceTierAdvisorsClient client.
func NewServiceTierAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTierAdvisorsClient {
return ServiceTierAdvisorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/subscriptionusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/subscriptionusages.go
index 41fecbf449213..05a7a1840a7a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/subscriptionusages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/subscriptionusages.go
@@ -37,9 +37,7 @@ func NewSubscriptionUsagesClient(subscriptionID string) SubscriptionUsagesClient
return NewSubscriptionUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSubscriptionUsagesClientWithBaseURI creates an instance of the SubscriptionUsagesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewSubscriptionUsagesClientWithBaseURI creates an instance of the SubscriptionUsagesClient client.
func NewSubscriptionUsagesClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionUsagesClient {
return SubscriptionUsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncagents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncagents.go
index e9fdec8d491e9..83d69dca78385 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncagents.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncagents.go
@@ -37,8 +37,7 @@ func NewSyncAgentsClient(subscriptionID string) SyncAgentsClient {
return NewSyncAgentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSyncAgentsClientWithBaseURI creates an instance of the SyncAgentsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSyncAgentsClientWithBaseURI creates an instance of the SyncAgentsClient client.
func NewSyncAgentsClientWithBaseURI(baseURI string, subscriptionID string) SyncAgentsClient {
return SyncAgentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncgroups.go
index 028160474fd63..f16c28c301986 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncgroups.go
@@ -37,8 +37,7 @@ func NewSyncGroupsClient(subscriptionID string) SyncGroupsClient {
return NewSyncGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSyncGroupsClientWithBaseURI creates an instance of the SyncGroupsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSyncGroupsClientWithBaseURI creates an instance of the SyncGroupsClient client.
func NewSyncGroupsClientWithBaseURI(baseURI string, subscriptionID string) SyncGroupsClient {
return SyncGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncmembers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncmembers.go
index bbbfb3ff45eef..3bf30d6226c74 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncmembers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/syncmembers.go
@@ -37,8 +37,7 @@ func NewSyncMembersClient(subscriptionID string) SyncMembersClient {
return NewSyncMembersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSyncMembersClientWithBaseURI creates an instance of the SyncMembersClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSyncMembersClientWithBaseURI creates an instance of the SyncMembersClient client.
func NewSyncMembersClientWithBaseURI(baseURI string, subscriptionID string) SyncMembersClient {
return SyncMembersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptionactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptionactivities.go
index e9602baf8ad99..2c8c003fc3b7b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptionactivities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptionactivities.go
@@ -39,8 +39,7 @@ func NewTransparentDataEncryptionActivitiesClient(subscriptionID string) Transpa
}
// NewTransparentDataEncryptionActivitiesClientWithBaseURI creates an instance of the
-// TransparentDataEncryptionActivitiesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// TransparentDataEncryptionActivitiesClient client.
func NewTransparentDataEncryptionActivitiesClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionActivitiesClient {
return TransparentDataEncryptionActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptions.go
index e293d89b69266..7ea3bdf24a6e4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/transparentdataencryptions.go
@@ -37,9 +37,7 @@ func NewTransparentDataEncryptionsClient(subscriptionID string) TransparentDataE
return NewTransparentDataEncryptionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTransparentDataEncryptionsClientWithBaseURI creates an instance of the TransparentDataEncryptionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewTransparentDataEncryptionsClientWithBaseURI creates an instance of the TransparentDataEncryptionsClient client.
func NewTransparentDataEncryptionsClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionsClient {
return TransparentDataEncryptionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualclusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualclusters.go
index d05656d807623..ffea75716e96b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualclusters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualclusters.go
@@ -37,8 +37,7 @@ func NewVirtualClustersClient(subscriptionID string) VirtualClustersClient {
return NewVirtualClustersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualClustersClientWithBaseURI creates an instance of the VirtualClustersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualClustersClientWithBaseURI creates an instance of the VirtualClustersClient client.
func NewVirtualClustersClientWithBaseURI(baseURI string, subscriptionID string) VirtualClustersClient {
return VirtualClustersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualnetworkrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualnetworkrules.go
index 752cb9e7aab81..492473c92165e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualnetworkrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2017-03-01-preview/sql/virtualnetworkrules.go
@@ -38,9 +38,7 @@ func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClie
return NewVirtualNetworkRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
return VirtualNetworkRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backuplongtermretentionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backuplongtermretentionpolicies.go
index fa12452097e94..d8a96b77ac015 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backuplongtermretentionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backuplongtermretentionpolicies.go
@@ -38,8 +38,7 @@ func NewBackupLongTermRetentionPoliciesClient(subscriptionID string) BackupLongT
}
// NewBackupLongTermRetentionPoliciesClientWithBaseURI creates an instance of the BackupLongTermRetentionPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewBackupLongTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupLongTermRetentionPoliciesClient {
return BackupLongTermRetentionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backupshorttermretentionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backupshorttermretentionpolicies.go
index 2571c204e6c07..1ac1fa8642cd0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backupshorttermretentionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/backupshorttermretentionpolicies.go
@@ -38,8 +38,7 @@ func NewBackupShortTermRetentionPoliciesClient(subscriptionID string) BackupShor
}
// NewBackupShortTermRetentionPoliciesClientWithBaseURI creates an instance of the
-// BackupShortTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// BackupShortTermRetentionPoliciesClient client.
func NewBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupShortTermRetentionPoliciesClient {
return BackupShortTermRetentionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/capabilities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/capabilities.go
index 45a89a6ece015..18f2ca74ed1f1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/capabilities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/capabilities.go
@@ -37,8 +37,7 @@ func NewCapabilitiesClient(subscriptionID string) CapabilitiesClient {
return NewCapabilitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCapabilitiesClientWithBaseURI creates an instance of the CapabilitiesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCapabilitiesClientWithBaseURI creates an instance of the CapabilitiesClient client.
func NewCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) CapabilitiesClient {
return CapabilitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/client.go
index 06af8e714eca5..40ec57b36babe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/client.go
@@ -42,8 +42,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseautomatictuning.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseautomatictuning.go
index e3edd2c055257..2b7edb2d0e14f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseautomatictuning.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseautomatictuning.go
@@ -37,9 +37,7 @@ func NewDatabaseAutomaticTuningClient(subscriptionID string) DatabaseAutomaticTu
return NewDatabaseAutomaticTuningClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseAutomaticTuningClientWithBaseURI creates an instance of the DatabaseAutomaticTuningClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewDatabaseAutomaticTuningClientWithBaseURI creates an instance of the DatabaseAutomaticTuningClient client.
func NewDatabaseAutomaticTuningClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAutomaticTuningClient {
return DatabaseAutomaticTuningClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseblobauditingpolicies.go
index 97fb47ea18ff7..8e61953bbeae7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseblobauditingpolicies.go
@@ -38,8 +38,7 @@ func NewDatabaseBlobAuditingPoliciesClient(subscriptionID string) DatabaseBlobAu
}
// NewDatabaseBlobAuditingPoliciesClientWithBaseURI creates an instance of the DatabaseBlobAuditingPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewDatabaseBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseBlobAuditingPoliciesClient {
return DatabaseBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseoperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseoperations.go
index da6fd68c6ebae..c7d3384f87184 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseoperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseoperations.go
@@ -38,9 +38,7 @@ func NewDatabaseOperationsClient(subscriptionID string) DatabaseOperationsClient
return NewDatabaseOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseOperationsClientWithBaseURI creates an instance of the DatabaseOperationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDatabaseOperationsClientWithBaseURI creates an instance of the DatabaseOperationsClient client.
func NewDatabaseOperationsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseOperationsClient {
return DatabaseOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databases.go
index 7e18947a96a84..48bee2fb3190e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databases.go
@@ -38,8 +38,7 @@ func NewDatabasesClient(subscriptionID string) DatabasesClient {
return NewDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client.
func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string) DatabasesClient {
return DatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasethreatdetectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasethreatdetectionpolicies.go
index ca44eccd7da2e..9c858036755f7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasethreatdetectionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasethreatdetectionpolicies.go
@@ -38,8 +38,7 @@ func NewDatabaseThreatDetectionPoliciesClient(subscriptionID string) DatabaseThr
}
// NewDatabaseThreatDetectionPoliciesClientWithBaseURI creates an instance of the DatabaseThreatDetectionPoliciesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewDatabaseThreatDetectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseThreatDetectionPoliciesClient {
return DatabaseThreatDetectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseusages.go
index d3601a4bfdc97..45f0a1e730a48 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseusages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databaseusages.go
@@ -37,8 +37,7 @@ func NewDatabaseUsagesClient(subscriptionID string) DatabaseUsagesClient {
return NewDatabaseUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDatabaseUsagesClientWithBaseURI creates an instance of the DatabaseUsagesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDatabaseUsagesClientWithBaseURI creates an instance of the DatabaseUsagesClient client.
func NewDatabaseUsagesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseUsagesClient {
return DatabaseUsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentrulebaselines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentrulebaselines.go
index 473577af45b2f..c4de2c1ee8e87 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentrulebaselines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentrulebaselines.go
@@ -40,8 +40,7 @@ func NewDatabaseVulnerabilityAssessmentRuleBaselinesClient(subscriptionID string
}
// NewDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI creates an instance of the
-// DatabaseVulnerabilityAssessmentRuleBaselinesClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// DatabaseVulnerabilityAssessmentRuleBaselinesClient client.
func NewDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentRuleBaselinesClient {
return DatabaseVulnerabilityAssessmentRuleBaselinesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessments.go
index 80fa889069b78..e953704645ced 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessments.go
@@ -38,8 +38,7 @@ func NewDatabaseVulnerabilityAssessmentsClient(subscriptionID string) DatabaseVu
}
// NewDatabaseVulnerabilityAssessmentsClientWithBaseURI creates an instance of the
-// DatabaseVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// DatabaseVulnerabilityAssessmentsClient client.
func NewDatabaseVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentsClient {
return DatabaseVulnerabilityAssessmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentscans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentscans.go
index ecaf6595bc186..c373cd98d0494 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentscans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/databasevulnerabilityassessmentscans.go
@@ -39,8 +39,7 @@ func NewDatabaseVulnerabilityAssessmentScansClient(subscriptionID string) Databa
}
// NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI creates an instance of the
-// DatabaseVulnerabilityAssessmentScansClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// DatabaseVulnerabilityAssessmentScansClient client.
func NewDatabaseVulnerabilityAssessmentScansClientWithBaseURI(baseURI string, subscriptionID string) DatabaseVulnerabilityAssessmentScansClient {
return DatabaseVulnerabilityAssessmentScansClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingpolicies.go
index 51c2a48ad0f07..65303d3d345ad 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingpolicies.go
@@ -37,9 +37,7 @@ func NewDataMaskingPoliciesClient(subscriptionID string) DataMaskingPoliciesClie
return NewDataMaskingPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataMaskingPoliciesClientWithBaseURI creates an instance of the DataMaskingPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDataMaskingPoliciesClientWithBaseURI creates an instance of the DataMaskingPoliciesClient client.
func NewDataMaskingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingPoliciesClient {
return DataMaskingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingrules.go
index 8472a5ff846d9..d7a6ff2637920 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/datamaskingrules.go
@@ -38,9 +38,7 @@ func NewDataMaskingRulesClient(subscriptionID string) DataMaskingRulesClient {
return NewDataMaskingRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDataMaskingRulesClientWithBaseURI creates an instance of the DataMaskingRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDataMaskingRulesClientWithBaseURI creates an instance of the DataMaskingRulesClient client.
func NewDataMaskingRulesClientWithBaseURI(baseURI string, subscriptionID string) DataMaskingRulesClient {
return DataMaskingRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpoolactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpoolactivities.go
index 268b2ee5c392a..94df73d2fff96 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpoolactivities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpoolactivities.go
@@ -37,9 +37,7 @@ func NewElasticPoolActivitiesClient(subscriptionID string) ElasticPoolActivities
return NewElasticPoolActivitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewElasticPoolActivitiesClientWithBaseURI creates an instance of the ElasticPoolActivitiesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewElasticPoolActivitiesClientWithBaseURI creates an instance of the ElasticPoolActivitiesClient client.
func NewElasticPoolActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolActivitiesClient {
return ElasticPoolActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooldatabaseactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooldatabaseactivities.go
index 70e005ff32d22..dd0e955db87f2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooldatabaseactivities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooldatabaseactivities.go
@@ -38,8 +38,7 @@ func NewElasticPoolDatabaseActivitiesClient(subscriptionID string) ElasticPoolDa
}
// NewElasticPoolDatabaseActivitiesClientWithBaseURI creates an instance of the ElasticPoolDatabaseActivitiesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewElasticPoolDatabaseActivitiesClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolDatabaseActivitiesClient {
return ElasticPoolDatabaseActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooloperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooloperations.go
index 35ad092172285..c1decafe82ff7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooloperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpooloperations.go
@@ -38,9 +38,7 @@ func NewElasticPoolOperationsClient(subscriptionID string) ElasticPoolOperations
return NewElasticPoolOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewElasticPoolOperationsClientWithBaseURI creates an instance of the ElasticPoolOperationsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewElasticPoolOperationsClientWithBaseURI creates an instance of the ElasticPoolOperationsClient client.
func NewElasticPoolOperationsClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolOperationsClient {
return ElasticPoolOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpools.go
index 140e7bb1d2461..6504d43ea8af5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/elasticpools.go
@@ -38,8 +38,7 @@ func NewElasticPoolsClient(subscriptionID string) ElasticPoolsClient {
return NewElasticPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewElasticPoolsClientWithBaseURI creates an instance of the ElasticPoolsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewElasticPoolsClientWithBaseURI creates an instance of the ElasticPoolsClient client.
func NewElasticPoolsClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolsClient {
return ElasticPoolsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/encryptionprotectors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/encryptionprotectors.go
index ba987a7746f42..4bf6cc3947ab2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/encryptionprotectors.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/encryptionprotectors.go
@@ -37,9 +37,7 @@ func NewEncryptionProtectorsClient(subscriptionID string) EncryptionProtectorsCl
return NewEncryptionProtectorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEncryptionProtectorsClientWithBaseURI creates an instance of the EncryptionProtectorsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewEncryptionProtectorsClientWithBaseURI creates an instance of the EncryptionProtectorsClient client.
func NewEncryptionProtectorsClientWithBaseURI(baseURI string, subscriptionID string) EncryptionProtectorsClient {
return EncryptionProtectorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendeddatabaseblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendeddatabaseblobauditingpolicies.go
index d33f275fa4a42..7c174fe2ad373 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendeddatabaseblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendeddatabaseblobauditingpolicies.go
@@ -39,8 +39,7 @@ func NewExtendedDatabaseBlobAuditingPoliciesClient(subscriptionID string) Extend
}
// NewExtendedDatabaseBlobAuditingPoliciesClientWithBaseURI creates an instance of the
-// ExtendedDatabaseBlobAuditingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ExtendedDatabaseBlobAuditingPoliciesClient client.
func NewExtendedDatabaseBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ExtendedDatabaseBlobAuditingPoliciesClient {
return ExtendedDatabaseBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendedserverblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendedserverblobauditingpolicies.go
index 9dbd152040131..1d8245d7a1a76 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendedserverblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/extendedserverblobauditingpolicies.go
@@ -39,8 +39,7 @@ func NewExtendedServerBlobAuditingPoliciesClient(subscriptionID string) Extended
}
// NewExtendedServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the
-// ExtendedServerBlobAuditingPoliciesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ExtendedServerBlobAuditingPoliciesClient client.
func NewExtendedServerBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ExtendedServerBlobAuditingPoliciesClient {
return ExtendedServerBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/failovergroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/failovergroups.go
index 62cbc1c9a8ee7..ea286e1e6aff9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/failovergroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/failovergroups.go
@@ -38,8 +38,7 @@ func NewFailoverGroupsClient(subscriptionID string) FailoverGroupsClient {
return NewFailoverGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFailoverGroupsClientWithBaseURI creates an instance of the FailoverGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFailoverGroupsClientWithBaseURI creates an instance of the FailoverGroupsClient client.
func NewFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) FailoverGroupsClient {
return FailoverGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/firewallrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/firewallrules.go
index 7d80bda73e1d2..daa8a1f832c75 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/firewallrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/firewallrules.go
@@ -38,8 +38,7 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/geobackuppolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/geobackuppolicies.go
index 9c0118335e543..28e35d715a1bc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/geobackuppolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/geobackuppolicies.go
@@ -38,9 +38,7 @@ func NewGeoBackupPoliciesClient(subscriptionID string) GeoBackupPoliciesClient {
return NewGeoBackupPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGeoBackupPoliciesClientWithBaseURI creates an instance of the GeoBackupPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewGeoBackupPoliciesClientWithBaseURI creates an instance of the GeoBackupPoliciesClient client.
func NewGeoBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) GeoBackupPoliciesClient {
return GeoBackupPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancefailovergroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancefailovergroups.go
index aab655b0d69fa..aa0e99af9af59 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancefailovergroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancefailovergroups.go
@@ -38,9 +38,7 @@ func NewInstanceFailoverGroupsClient(subscriptionID string) InstanceFailoverGrou
return NewInstanceFailoverGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInstanceFailoverGroupsClientWithBaseURI creates an instance of the InstanceFailoverGroupsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewInstanceFailoverGroupsClientWithBaseURI creates an instance of the InstanceFailoverGroupsClient client.
func NewInstanceFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) InstanceFailoverGroupsClient {
return InstanceFailoverGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancepools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancepools.go
index c0b1a99a5a2ec..5e6cddb41eecc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancepools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/instancepools.go
@@ -38,8 +38,7 @@ func NewInstancePoolsClient(subscriptionID string) InstancePoolsClient {
return NewInstancePoolsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInstancePoolsClientWithBaseURI creates an instance of the InstancePoolsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewInstancePoolsClientWithBaseURI creates an instance of the InstancePoolsClient client.
func NewInstancePoolsClientWithBaseURI(baseURI string, subscriptionID string) InstancePoolsClient {
return InstancePoolsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobagents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobagents.go
index 912a207472e4f..ee60e7d85f2ee 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobagents.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobagents.go
@@ -38,8 +38,7 @@ func NewJobAgentsClient(subscriptionID string) JobAgentsClient {
return NewJobAgentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobAgentsClientWithBaseURI creates an instance of the JobAgentsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobAgentsClientWithBaseURI creates an instance of the JobAgentsClient client.
func NewJobAgentsClientWithBaseURI(baseURI string, subscriptionID string) JobAgentsClient {
return JobAgentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobcredentials.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobcredentials.go
index a8ce2efc4979c..684e3d528af6b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobcredentials.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobcredentials.go
@@ -38,8 +38,7 @@ func NewJobCredentialsClient(subscriptionID string) JobCredentialsClient {
return NewJobCredentialsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobCredentialsClientWithBaseURI creates an instance of the JobCredentialsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobCredentialsClientWithBaseURI creates an instance of the JobCredentialsClient client.
func NewJobCredentialsClientWithBaseURI(baseURI string, subscriptionID string) JobCredentialsClient {
return JobCredentialsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobexecutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobexecutions.go
index 8f19405b686dd..eb0535c6f24ae 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobexecutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobexecutions.go
@@ -39,8 +39,7 @@ func NewJobExecutionsClient(subscriptionID string) JobExecutionsClient {
return NewJobExecutionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobExecutionsClientWithBaseURI creates an instance of the JobExecutionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobExecutionsClientWithBaseURI creates an instance of the JobExecutionsClient client.
func NewJobExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobExecutionsClient {
return JobExecutionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobs.go
index 9e8d9d9298d03..2112eef5585f8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobs.go
@@ -37,8 +37,7 @@ func NewJobsClient(subscriptionID string) JobsClient {
return NewJobsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobsClientWithBaseURI creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return JobsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobstepexecutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobstepexecutions.go
index d488e2718e316..1e12c6aa765c2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobstepexecutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobstepexecutions.go
@@ -39,9 +39,7 @@ func NewJobStepExecutionsClient(subscriptionID string) JobStepExecutionsClient {
return NewJobStepExecutionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobStepExecutionsClientWithBaseURI creates an instance of the JobStepExecutionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewJobStepExecutionsClientWithBaseURI creates an instance of the JobStepExecutionsClient client.
func NewJobStepExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobStepExecutionsClient {
return JobStepExecutionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobsteps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobsteps.go
index 98f9a8d5e252c..15abd56ff2fef 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobsteps.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobsteps.go
@@ -38,8 +38,7 @@ func NewJobStepsClient(subscriptionID string) JobStepsClient {
return NewJobStepsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobStepsClientWithBaseURI creates an instance of the JobStepsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobStepsClientWithBaseURI creates an instance of the JobStepsClient client.
func NewJobStepsClientWithBaseURI(baseURI string, subscriptionID string) JobStepsClient {
return JobStepsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetexecutions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetexecutions.go
index 1b5c7e8e95fa0..726a66db08357 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetexecutions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetexecutions.go
@@ -39,9 +39,7 @@ func NewJobTargetExecutionsClient(subscriptionID string) JobTargetExecutionsClie
return NewJobTargetExecutionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobTargetExecutionsClientWithBaseURI creates an instance of the JobTargetExecutionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewJobTargetExecutionsClientWithBaseURI creates an instance of the JobTargetExecutionsClient client.
func NewJobTargetExecutionsClientWithBaseURI(baseURI string, subscriptionID string) JobTargetExecutionsClient {
return JobTargetExecutionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetgroups.go
index 3e53d6ed2663d..662b16e9dfb35 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobtargetgroups.go
@@ -38,8 +38,7 @@ func NewJobTargetGroupsClient(subscriptionID string) JobTargetGroupsClient {
return NewJobTargetGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobTargetGroupsClientWithBaseURI creates an instance of the JobTargetGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobTargetGroupsClientWithBaseURI creates an instance of the JobTargetGroupsClient client.
func NewJobTargetGroupsClientWithBaseURI(baseURI string, subscriptionID string) JobTargetGroupsClient {
return JobTargetGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobversions.go
index 03043db426dcf..9b81112ab2a08 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/jobversions.go
@@ -37,8 +37,7 @@ func NewJobVersionsClient(subscriptionID string) JobVersionsClient {
return NewJobVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobVersionsClientWithBaseURI creates an instance of the JobVersionsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobVersionsClientWithBaseURI creates an instance of the JobVersionsClient client.
func NewJobVersionsClientWithBaseURI(baseURI string, subscriptionID string) JobVersionsClient {
return JobVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/longtermretentionbackups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/longtermretentionbackups.go
index 938b18bab0800..bdd82ec29414f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/longtermretentionbackups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/longtermretentionbackups.go
@@ -37,9 +37,7 @@ func NewLongTermRetentionBackupsClient(subscriptionID string) LongTermRetentionB
return NewLongTermRetentionBackupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLongTermRetentionBackupsClientWithBaseURI creates an instance of the LongTermRetentionBackupsClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewLongTermRetentionBackupsClientWithBaseURI creates an instance of the LongTermRetentionBackupsClient client.
func NewLongTermRetentionBackupsClientWithBaseURI(baseURI string, subscriptionID string) LongTermRetentionBackupsClient {
return LongTermRetentionBackupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedbackupshorttermretentionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedbackupshorttermretentionpolicies.go
index 2a39605580103..dec37cea9ef0b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedbackupshorttermretentionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedbackupshorttermretentionpolicies.go
@@ -39,8 +39,7 @@ func NewManagedBackupShortTermRetentionPoliciesClient(subscriptionID string) Man
}
// NewManagedBackupShortTermRetentionPoliciesClientWithBaseURI creates an instance of the
-// ManagedBackupShortTermRetentionPoliciesClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedBackupShortTermRetentionPoliciesClient client.
func NewManagedBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedBackupShortTermRetentionPoliciesClient {
return ManagedBackupShortTermRetentionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabaserestoredetails.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabaserestoredetails.go
index ae1721400c1fb..727b63bb90280 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabaserestoredetails.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabaserestoredetails.go
@@ -38,8 +38,7 @@ func NewManagedDatabaseRestoreDetailsClient(subscriptionID string) ManagedDataba
}
// NewManagedDatabaseRestoreDetailsClientWithBaseURI creates an instance of the ManagedDatabaseRestoreDetailsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewManagedDatabaseRestoreDetailsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseRestoreDetailsClient {
return ManagedDatabaseRestoreDetailsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabases.go
index 51cd4e9ee001b..76430e3bd4dca 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabases.go
@@ -38,9 +38,7 @@ func NewManagedDatabasesClient(subscriptionID string) ManagedDatabasesClient {
return NewManagedDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagedDatabasesClientWithBaseURI creates an instance of the ManagedDatabasesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewManagedDatabasesClientWithBaseURI creates an instance of the ManagedDatabasesClient client.
func NewManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabasesClient {
return ManagedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesecurityalertpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesecurityalertpolicies.go
index 8eb20488ed5d0..8fc35a56c94f7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesecurityalertpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesecurityalertpolicies.go
@@ -39,8 +39,7 @@ func NewManagedDatabaseSecurityAlertPoliciesClient(subscriptionID string) Manage
}
// NewManagedDatabaseSecurityAlertPoliciesClientWithBaseURI creates an instance of the
-// ManagedDatabaseSecurityAlertPoliciesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedDatabaseSecurityAlertPoliciesClient client.
func NewManagedDatabaseSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseSecurityAlertPoliciesClient {
return ManagedDatabaseSecurityAlertPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesensitivitylabels.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesensitivitylabels.go
index f5578a2be2476..657a41c92c887 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesensitivitylabels.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasesensitivitylabels.go
@@ -38,8 +38,7 @@ func NewManagedDatabaseSensitivityLabelsClient(subscriptionID string) ManagedDat
}
// NewManagedDatabaseSensitivityLabelsClientWithBaseURI creates an instance of the
-// ManagedDatabaseSensitivityLabelsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedDatabaseSensitivityLabelsClient client.
func NewManagedDatabaseSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseSensitivityLabelsClient {
return ManagedDatabaseSensitivityLabelsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentrulebaselines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentrulebaselines.go
index 573895309fcc8..1cb0954cae8af 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentrulebaselines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentrulebaselines.go
@@ -40,8 +40,7 @@ func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient(subscriptionID
}
// NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI creates an instance of the
-// ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient client.
func NewManagedDatabaseVulnerabilityAssessmentRuleBaselinesClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient {
return ManagedDatabaseVulnerabilityAssessmentRuleBaselinesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessments.go
index 229a9b0fb8bc8..404c29a8c1234 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessments.go
@@ -39,8 +39,7 @@ func NewManagedDatabaseVulnerabilityAssessmentsClient(subscriptionID string) Man
}
// NewManagedDatabaseVulnerabilityAssessmentsClientWithBaseURI creates an instance of the
-// ManagedDatabaseVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedDatabaseVulnerabilityAssessmentsClient client.
func NewManagedDatabaseVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseVulnerabilityAssessmentsClient {
return ManagedDatabaseVulnerabilityAssessmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentscans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentscans.go
index e4856dc47f192..029bf35400a32 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentscans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/manageddatabasevulnerabilityassessmentscans.go
@@ -39,8 +39,7 @@ func NewManagedDatabaseVulnerabilityAssessmentScansClient(subscriptionID string)
}
// NewManagedDatabaseVulnerabilityAssessmentScansClientWithBaseURI creates an instance of the
-// ManagedDatabaseVulnerabilityAssessmentScansClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedDatabaseVulnerabilityAssessmentScansClient client.
func NewManagedDatabaseVulnerabilityAssessmentScansClientWithBaseURI(baseURI string, subscriptionID string) ManagedDatabaseVulnerabilityAssessmentScansClient {
return ManagedDatabaseVulnerabilityAssessmentScansClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceadministrators.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceadministrators.go
index ac8811583b868..abf17916beb0a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceadministrators.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceadministrators.go
@@ -39,8 +39,7 @@ func NewManagedInstanceAdministratorsClient(subscriptionID string) ManagedInstan
}
// NewManagedInstanceAdministratorsClientWithBaseURI creates an instance of the ManagedInstanceAdministratorsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewManagedInstanceAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceAdministratorsClient {
return ManagedInstanceAdministratorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceencryptionprotectors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceencryptionprotectors.go
index 70ec2b8e956ec..4f0f12f184f12 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceencryptionprotectors.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstanceencryptionprotectors.go
@@ -39,8 +39,7 @@ func NewManagedInstanceEncryptionProtectorsClient(subscriptionID string) Managed
}
// NewManagedInstanceEncryptionProtectorsClientWithBaseURI creates an instance of the
-// ManagedInstanceEncryptionProtectorsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedInstanceEncryptionProtectorsClient client.
func NewManagedInstanceEncryptionProtectorsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceEncryptionProtectorsClient {
return ManagedInstanceEncryptionProtectorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancekeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancekeys.go
index cbdc5556a1a40..479e108d62a39 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancekeys.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancekeys.go
@@ -37,9 +37,7 @@ func NewManagedInstanceKeysClient(subscriptionID string) ManagedInstanceKeysClie
return NewManagedInstanceKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagedInstanceKeysClientWithBaseURI creates an instance of the ManagedInstanceKeysClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewManagedInstanceKeysClientWithBaseURI creates an instance of the ManagedInstanceKeysClient client.
func NewManagedInstanceKeysClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceKeysClient {
return ManagedInstanceKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstances.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstances.go
index b2177ae091bfb..3fa203132a2c4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstances.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstances.go
@@ -38,9 +38,7 @@ func NewManagedInstancesClient(subscriptionID string) ManagedInstancesClient {
return NewManagedInstancesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagedInstancesClientWithBaseURI creates an instance of the ManagedInstancesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewManagedInstancesClientWithBaseURI creates an instance of the ManagedInstancesClient client.
func NewManagedInstancesClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstancesClient {
return ManagedInstancesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancetdecertificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancetdecertificates.go
index b11d4ca0c3a4b..90e474de06a26 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancetdecertificates.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancetdecertificates.go
@@ -39,8 +39,7 @@ func NewManagedInstanceTdeCertificatesClient(subscriptionID string) ManagedInsta
}
// NewManagedInstanceTdeCertificatesClientWithBaseURI creates an instance of the ManagedInstanceTdeCertificatesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewManagedInstanceTdeCertificatesClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceTdeCertificatesClient {
return ManagedInstanceTdeCertificatesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancevulnerabilityassessments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancevulnerabilityassessments.go
index 75d0a54b35626..240ad4f3d4918 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancevulnerabilityassessments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedinstancevulnerabilityassessments.go
@@ -40,8 +40,7 @@ func NewManagedInstanceVulnerabilityAssessmentsClient(subscriptionID string) Man
}
// NewManagedInstanceVulnerabilityAssessmentsClientWithBaseURI creates an instance of the
-// ManagedInstanceVulnerabilityAssessmentsClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedInstanceVulnerabilityAssessmentsClient client.
func NewManagedInstanceVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceVulnerabilityAssessmentsClient {
return ManagedInstanceVulnerabilityAssessmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedrestorabledroppeddatabasebackupshorttermretentionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedrestorabledroppeddatabasebackupshorttermretentionpolicies.go
index e224d9e64c9d6..c73f3a87446dc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedrestorabledroppeddatabasebackupshorttermretentionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedrestorabledroppeddatabasebackupshorttermretentionpolicies.go
@@ -39,8 +39,7 @@ func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient(s
}
// NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI creates an instance of the
-// ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient client.
func NewManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient {
return ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedserversecurityalertpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedserversecurityalertpolicies.go
index ac80958efe279..15bdbf9f6162c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedserversecurityalertpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/managedserversecurityalertpolicies.go
@@ -39,8 +39,7 @@ func NewManagedServerSecurityAlertPoliciesClient(subscriptionID string) ManagedS
}
// NewManagedServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the
-// ManagedServerSecurityAlertPoliciesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ManagedServerSecurityAlertPoliciesClient client.
func NewManagedServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagedServerSecurityAlertPoliciesClient {
return ManagedServerSecurityAlertPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/models.go
index 4f4887ab6a8f3..90e639369cd55 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/models.go
@@ -1207,27 +1207,6 @@ func PossibleSecurityAlertPolicyUseServerDefaultValues() []SecurityAlertPolicyUs
return []SecurityAlertPolicyUseServerDefault{SecurityAlertPolicyUseServerDefaultDisabled, SecurityAlertPolicyUseServerDefaultEnabled}
}
-// SensitivityLabelRank enumerates the values for sensitivity label rank.
-type SensitivityLabelRank string
-
-const (
- // SensitivityLabelRankCritical ...
- SensitivityLabelRankCritical SensitivityLabelRank = "Critical"
- // SensitivityLabelRankHigh ...
- SensitivityLabelRankHigh SensitivityLabelRank = "High"
- // SensitivityLabelRankLow ...
- SensitivityLabelRankLow SensitivityLabelRank = "Low"
- // SensitivityLabelRankMedium ...
- SensitivityLabelRankMedium SensitivityLabelRank = "Medium"
- // SensitivityLabelRankNone ...
- SensitivityLabelRankNone SensitivityLabelRank = "None"
-)
-
-// PossibleSensitivityLabelRankValues returns an array of possible values for the SensitivityLabelRank const type.
-func PossibleSensitivityLabelRankValues() []SensitivityLabelRank {
- return []SensitivityLabelRank{SensitivityLabelRankCritical, SensitivityLabelRankHigh, SensitivityLabelRankLow, SensitivityLabelRankMedium, SensitivityLabelRankNone}
-}
-
// SensitivityLabelSource enumerates the values for sensitivity label source.
type SensitivityLabelSource string
@@ -15665,8 +15644,6 @@ type SensitivityLabelProperties struct {
InformationTypeID *string `json:"informationTypeId,omitempty"`
// IsDisabled - READ-ONLY; Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.
IsDisabled *bool `json:"isDisabled,omitempty"`
- // Rank - Possible values include: 'SensitivityLabelRankNone', 'SensitivityLabelRankLow', 'SensitivityLabelRankMedium', 'SensitivityLabelRankHigh', 'SensitivityLabelRankCritical'
- Rank SensitivityLabelRank `json:"rank,omitempty"`
}
// Server an Azure SQL Database server.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/operations.go
index a23318d8d8b4c..bd0657225fdea 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/operations.go
@@ -37,8 +37,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privateendpointconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privateendpointconnections.go
index 1342e646d5418..1113d763dd5f0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privateendpointconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privateendpointconnections.go
@@ -38,9 +38,7 @@ func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointC
return NewPrivateEndpointConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client.
func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient {
return PrivateEndpointConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privatelinkresources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privatelinkresources.go
index bc1320f644962..c528eb552e255 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privatelinkresources.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/privatelinkresources.go
@@ -37,9 +37,7 @@ func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesCl
return NewPrivateLinkResourcesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client.
func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient {
return PrivateLinkResourcesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recommendedelasticpools.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recommendedelasticpools.go
index 5aba17530b46f..bc6f306fc31f1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recommendedelasticpools.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recommendedelasticpools.go
@@ -37,9 +37,7 @@ func NewRecommendedElasticPoolsClient(subscriptionID string) RecommendedElasticP
return NewRecommendedElasticPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecommendedElasticPoolsClientWithBaseURI creates an instance of the RecommendedElasticPoolsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewRecommendedElasticPoolsClientWithBaseURI creates an instance of the RecommendedElasticPoolsClient client.
func NewRecommendedElasticPoolsClientWithBaseURI(baseURI string, subscriptionID string) RecommendedElasticPoolsClient {
return RecommendedElasticPoolsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverabledatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverabledatabases.go
index d900e5223ef5a..bfa9b2425b974 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverabledatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverabledatabases.go
@@ -37,9 +37,7 @@ func NewRecoverableDatabasesClient(subscriptionID string) RecoverableDatabasesCl
return NewRecoverableDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecoverableDatabasesClientWithBaseURI creates an instance of the RecoverableDatabasesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewRecoverableDatabasesClientWithBaseURI creates an instance of the RecoverableDatabasesClient client.
func NewRecoverableDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RecoverableDatabasesClient {
return RecoverableDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverablemanageddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverablemanageddatabases.go
index 2db981e8dfb08..8a2200979761c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverablemanageddatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/recoverablemanageddatabases.go
@@ -37,9 +37,7 @@ func NewRecoverableManagedDatabasesClient(subscriptionID string) RecoverableMana
return NewRecoverableManagedDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecoverableManagedDatabasesClientWithBaseURI creates an instance of the RecoverableManagedDatabasesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewRecoverableManagedDatabasesClientWithBaseURI creates an instance of the RecoverableManagedDatabasesClient client.
func NewRecoverableManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RecoverableManagedDatabasesClient {
return RecoverableManagedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/replicationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/replicationlinks.go
index c810a1a2db59e..4122dbff6cef0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/replicationlinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/replicationlinks.go
@@ -37,9 +37,7 @@ func NewReplicationLinksClient(subscriptionID string) ReplicationLinksClient {
return NewReplicationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReplicationLinksClientWithBaseURI creates an instance of the ReplicationLinksClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationLinksClientWithBaseURI creates an instance of the ReplicationLinksClient client.
func NewReplicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ReplicationLinksClient {
return ReplicationLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppeddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppeddatabases.go
index 9916f42cfd6d0..ee9433fcd23ad 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppeddatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppeddatabases.go
@@ -37,9 +37,7 @@ func NewRestorableDroppedDatabasesClient(subscriptionID string) RestorableDroppe
return NewRestorableDroppedDatabasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRestorableDroppedDatabasesClientWithBaseURI creates an instance of the RestorableDroppedDatabasesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewRestorableDroppedDatabasesClientWithBaseURI creates an instance of the RestorableDroppedDatabasesClient client.
func NewRestorableDroppedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RestorableDroppedDatabasesClient {
return RestorableDroppedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppedmanageddatabases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppedmanageddatabases.go
index 10498c314f10c..b9bd15b1a36bd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppedmanageddatabases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorabledroppedmanageddatabases.go
@@ -39,8 +39,7 @@ func NewRestorableDroppedManagedDatabasesClient(subscriptionID string) Restorabl
}
// NewRestorableDroppedManagedDatabasesClientWithBaseURI creates an instance of the
-// RestorableDroppedManagedDatabasesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// RestorableDroppedManagedDatabasesClient client.
func NewRestorableDroppedManagedDatabasesClientWithBaseURI(baseURI string, subscriptionID string) RestorableDroppedManagedDatabasesClient {
return RestorableDroppedManagedDatabasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorepoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorepoints.go
index a3a3ce863fd86..8ae3d7ba5caf1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorepoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/restorepoints.go
@@ -38,8 +38,7 @@ func NewRestorePointsClient(subscriptionID string) RestorePointsClient {
return NewRestorePointsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRestorePointsClientWithBaseURI creates an instance of the RestorePointsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRestorePointsClientWithBaseURI creates an instance of the RestorePointsClient client.
func NewRestorePointsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointsClient {
return RestorePointsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/sensitivitylabels.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/sensitivitylabels.go
index f8c02ca0bf263..a267ca01c5300 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/sensitivitylabels.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/sensitivitylabels.go
@@ -37,9 +37,7 @@ func NewSensitivityLabelsClient(subscriptionID string) SensitivityLabelsClient {
return NewSensitivityLabelsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSensitivityLabelsClientWithBaseURI creates an instance of the SensitivityLabelsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewSensitivityLabelsClientWithBaseURI creates an instance of the SensitivityLabelsClient client.
func NewSensitivityLabelsClientWithBaseURI(baseURI string, subscriptionID string) SensitivityLabelsClient {
return SensitivityLabelsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverautomatictuning.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverautomatictuning.go
index 1d5ec39718a64..00e40cce10ddb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverautomatictuning.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverautomatictuning.go
@@ -37,9 +37,7 @@ func NewServerAutomaticTuningClient(subscriptionID string) ServerAutomaticTuning
return NewServerAutomaticTuningClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerAutomaticTuningClientWithBaseURI creates an instance of the ServerAutomaticTuningClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewServerAutomaticTuningClientWithBaseURI creates an instance of the ServerAutomaticTuningClient client.
func NewServerAutomaticTuningClientWithBaseURI(baseURI string, subscriptionID string) ServerAutomaticTuningClient {
return ServerAutomaticTuningClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverazureadadministrators.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverazureadadministrators.go
index b6b30c96d92d9..86bac5697df31 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverazureadadministrators.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverazureadadministrators.go
@@ -38,9 +38,7 @@ func NewServerAzureADAdministratorsClient(subscriptionID string) ServerAzureADAd
return NewServerAzureADAdministratorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerAzureADAdministratorsClientWithBaseURI creates an instance of the ServerAzureADAdministratorsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerAzureADAdministratorsClientWithBaseURI creates an instance of the ServerAzureADAdministratorsClient client.
func NewServerAzureADAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ServerAzureADAdministratorsClient {
return ServerAzureADAdministratorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverblobauditingpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverblobauditingpolicies.go
index 92c0132345511..48d2fde5ed0de 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverblobauditingpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverblobauditingpolicies.go
@@ -37,9 +37,7 @@ func NewServerBlobAuditingPoliciesClient(subscriptionID string) ServerBlobAuditi
return NewServerBlobAuditingPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the ServerBlobAuditingPoliciesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerBlobAuditingPoliciesClientWithBaseURI creates an instance of the ServerBlobAuditingPoliciesClient client.
func NewServerBlobAuditingPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerBlobAuditingPoliciesClient {
return ServerBlobAuditingPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servercommunicationlinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servercommunicationlinks.go
index 7e91bbed92966..8c89241fa93f2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servercommunicationlinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servercommunicationlinks.go
@@ -38,9 +38,7 @@ func NewServerCommunicationLinksClient(subscriptionID string) ServerCommunicatio
return NewServerCommunicationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerCommunicationLinksClientWithBaseURI creates an instance of the ServerCommunicationLinksClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerCommunicationLinksClientWithBaseURI creates an instance of the ServerCommunicationLinksClient client.
func NewServerCommunicationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServerCommunicationLinksClient {
return ServerCommunicationLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverconnectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverconnectionpolicies.go
index dae81775e7825..281669c159934 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverconnectionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverconnectionpolicies.go
@@ -37,9 +37,7 @@ func NewServerConnectionPoliciesClient(subscriptionID string) ServerConnectionPo
return NewServerConnectionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerConnectionPoliciesClientWithBaseURI creates an instance of the ServerConnectionPoliciesClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerConnectionPoliciesClientWithBaseURI creates an instance of the ServerConnectionPoliciesClient client.
func NewServerConnectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerConnectionPoliciesClient {
return ServerConnectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverdnsaliases.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverdnsaliases.go
index 2c9a38959a273..51074322a772b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverdnsaliases.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverdnsaliases.go
@@ -37,9 +37,7 @@ func NewServerDNSAliasesClient(subscriptionID string) ServerDNSAliasesClient {
return NewServerDNSAliasesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerDNSAliasesClientWithBaseURI creates an instance of the ServerDNSAliasesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewServerDNSAliasesClientWithBaseURI creates an instance of the ServerDNSAliasesClient client.
func NewServerDNSAliasesClientWithBaseURI(baseURI string, subscriptionID string) ServerDNSAliasesClient {
return ServerDNSAliasesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverkeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverkeys.go
index 7d82b1c150a1f..9e9e38abbe159 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverkeys.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverkeys.go
@@ -37,8 +37,7 @@ func NewServerKeysClient(subscriptionID string) ServerKeysClient {
return NewServerKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerKeysClientWithBaseURI creates an instance of the ServerKeysClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServerKeysClientWithBaseURI creates an instance of the ServerKeysClient client.
func NewServerKeysClientWithBaseURI(baseURI string, subscriptionID string) ServerKeysClient {
return ServerKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servers.go
index 7f91eefcf153b..388a123d76853 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servers.go
@@ -38,8 +38,7 @@ func NewServersClient(subscriptionID string) ServersClient {
return NewServersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServersClientWithBaseURI creates an instance of the ServersClient client.
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return ServersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serversecurityalertpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serversecurityalertpolicies.go
index 8da5e466569ef..89d98348b85a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serversecurityalertpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serversecurityalertpolicies.go
@@ -37,9 +37,7 @@ func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityA
return NewServerSecurityAlertPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewServerSecurityAlertPoliciesClientWithBaseURI creates an instance of the ServerSecurityAlertPoliciesClient client.
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
return ServerSecurityAlertPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverusages.go
index 7175e98a49b9b..65f3fd8d5b436 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverusages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serverusages.go
@@ -37,8 +37,7 @@ func NewServerUsagesClient(subscriptionID string) ServerUsagesClient {
return NewServerUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServerUsagesClientWithBaseURI creates an instance of the ServerUsagesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServerUsagesClientWithBaseURI creates an instance of the ServerUsagesClient client.
func NewServerUsagesClientWithBaseURI(baseURI string, subscriptionID string) ServerUsagesClient {
return ServerUsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servervulnerabilityassessments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servervulnerabilityassessments.go
index 8bc7e622d5e34..9496d7ee78333 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servervulnerabilityassessments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servervulnerabilityassessments.go
@@ -39,8 +39,7 @@ func NewServerVulnerabilityAssessmentsClient(subscriptionID string) ServerVulner
}
// NewServerVulnerabilityAssessmentsClientWithBaseURI creates an instance of the ServerVulnerabilityAssessmentsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewServerVulnerabilityAssessmentsClientWithBaseURI(baseURI string, subscriptionID string) ServerVulnerabilityAssessmentsClient {
return ServerVulnerabilityAssessmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serviceobjectives.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serviceobjectives.go
index e61e6e009f18d..971180b812c77 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serviceobjectives.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/serviceobjectives.go
@@ -37,9 +37,7 @@ func NewServiceObjectivesClient(subscriptionID string) ServiceObjectivesClient {
return NewServiceObjectivesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceObjectivesClientWithBaseURI creates an instance of the ServiceObjectivesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewServiceObjectivesClientWithBaseURI creates an instance of the ServiceObjectivesClient client.
func NewServiceObjectivesClientWithBaseURI(baseURI string, subscriptionID string) ServiceObjectivesClient {
return ServiceObjectivesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servicetieradvisors.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servicetieradvisors.go
index a13cd33d4476f..8fc1f2d7ae8a3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servicetieradvisors.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/servicetieradvisors.go
@@ -37,9 +37,7 @@ func NewServiceTierAdvisorsClient(subscriptionID string) ServiceTierAdvisorsClie
return NewServiceTierAdvisorsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServiceTierAdvisorsClientWithBaseURI creates an instance of the ServiceTierAdvisorsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewServiceTierAdvisorsClientWithBaseURI creates an instance of the ServiceTierAdvisorsClient client.
func NewServiceTierAdvisorsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTierAdvisorsClient {
return ServiceTierAdvisorsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/subscriptionusages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/subscriptionusages.go
index 41fecbf449213..05a7a1840a7a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/subscriptionusages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/subscriptionusages.go
@@ -37,9 +37,7 @@ func NewSubscriptionUsagesClient(subscriptionID string) SubscriptionUsagesClient
return NewSubscriptionUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSubscriptionUsagesClientWithBaseURI creates an instance of the SubscriptionUsagesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewSubscriptionUsagesClientWithBaseURI creates an instance of the SubscriptionUsagesClient client.
func NewSubscriptionUsagesClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionUsagesClient {
return SubscriptionUsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncagents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncagents.go
index e9fdec8d491e9..83d69dca78385 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncagents.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncagents.go
@@ -37,8 +37,7 @@ func NewSyncAgentsClient(subscriptionID string) SyncAgentsClient {
return NewSyncAgentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSyncAgentsClientWithBaseURI creates an instance of the SyncAgentsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSyncAgentsClientWithBaseURI creates an instance of the SyncAgentsClient client.
func NewSyncAgentsClientWithBaseURI(baseURI string, subscriptionID string) SyncAgentsClient {
return SyncAgentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncgroups.go
index 028160474fd63..f16c28c301986 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncgroups.go
@@ -37,8 +37,7 @@ func NewSyncGroupsClient(subscriptionID string) SyncGroupsClient {
return NewSyncGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSyncGroupsClientWithBaseURI creates an instance of the SyncGroupsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSyncGroupsClientWithBaseURI creates an instance of the SyncGroupsClient client.
func NewSyncGroupsClientWithBaseURI(baseURI string, subscriptionID string) SyncGroupsClient {
return SyncGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncmembers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncmembers.go
index bbbfb3ff45eef..3bf30d6226c74 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncmembers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/syncmembers.go
@@ -37,8 +37,7 @@ func NewSyncMembersClient(subscriptionID string) SyncMembersClient {
return NewSyncMembersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSyncMembersClientWithBaseURI creates an instance of the SyncMembersClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSyncMembersClientWithBaseURI creates an instance of the SyncMembersClient client.
func NewSyncMembersClientWithBaseURI(baseURI string, subscriptionID string) SyncMembersClient {
return SyncMembersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/tdecertificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/tdecertificates.go
index 99079e1d61a4f..0b0d20cbae935 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/tdecertificates.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/tdecertificates.go
@@ -38,8 +38,7 @@ func NewTdeCertificatesClient(subscriptionID string) TdeCertificatesClient {
return NewTdeCertificatesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTdeCertificatesClientWithBaseURI creates an instance of the TdeCertificatesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTdeCertificatesClientWithBaseURI creates an instance of the TdeCertificatesClient client.
func NewTdeCertificatesClientWithBaseURI(baseURI string, subscriptionID string) TdeCertificatesClient {
return TdeCertificatesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptionactivities.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptionactivities.go
index e9602baf8ad99..2c8c003fc3b7b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptionactivities.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptionactivities.go
@@ -39,8 +39,7 @@ func NewTransparentDataEncryptionActivitiesClient(subscriptionID string) Transpa
}
// NewTransparentDataEncryptionActivitiesClientWithBaseURI creates an instance of the
-// TransparentDataEncryptionActivitiesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// TransparentDataEncryptionActivitiesClient client.
func NewTransparentDataEncryptionActivitiesClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionActivitiesClient {
return TransparentDataEncryptionActivitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptions.go
index e293d89b69266..7ea3bdf24a6e4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/transparentdataencryptions.go
@@ -37,9 +37,7 @@ func NewTransparentDataEncryptionsClient(subscriptionID string) TransparentDataE
return NewTransparentDataEncryptionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTransparentDataEncryptionsClientWithBaseURI creates an instance of the TransparentDataEncryptionsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewTransparentDataEncryptionsClientWithBaseURI creates an instance of the TransparentDataEncryptionsClient client.
func NewTransparentDataEncryptionsClientWithBaseURI(baseURI string, subscriptionID string) TransparentDataEncryptionsClient {
return TransparentDataEncryptionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/usages.go
index d11b978910e88..86f2d3b925008 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/usages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/usages.go
@@ -37,8 +37,7 @@ func NewUsagesClient(subscriptionID string) UsagesClient {
return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualclusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualclusters.go
index d05656d807623..ffea75716e96b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualclusters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualclusters.go
@@ -37,8 +37,7 @@ func NewVirtualClustersClient(subscriptionID string) VirtualClustersClient {
return NewVirtualClustersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualClustersClientWithBaseURI creates an instance of the VirtualClustersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVirtualClustersClientWithBaseURI creates an instance of the VirtualClustersClient client.
func NewVirtualClustersClientWithBaseURI(baseURI string, subscriptionID string) VirtualClustersClient {
return VirtualClustersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualnetworkrules.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualnetworkrules.go
index 752cb9e7aab81..492473c92165e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualnetworkrules.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/virtualnetworkrules.go
@@ -38,9 +38,7 @@ func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClie
return NewVirtualNetworkRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
return VirtualNetworkRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadclassifiers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadclassifiers.go
index cf30eedc397c5..fefa2e77b2d23 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadclassifiers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadclassifiers.go
@@ -38,9 +38,7 @@ func NewWorkloadClassifiersClient(subscriptionID string) WorkloadClassifiersClie
return NewWorkloadClassifiersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkloadClassifiersClientWithBaseURI creates an instance of the WorkloadClassifiersClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewWorkloadClassifiersClientWithBaseURI creates an instance of the WorkloadClassifiersClient client.
func NewWorkloadClassifiersClientWithBaseURI(baseURI string, subscriptionID string) WorkloadClassifiersClient {
return WorkloadClassifiersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadgroups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadgroups.go
index 497c2a77b9023..8c8abf00ffe65 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadgroups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql/workloadgroups.go
@@ -38,8 +38,7 @@ func NewWorkloadGroupsClient(subscriptionID string) WorkloadGroupsClient {
return NewWorkloadGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkloadGroupsClientWithBaseURI creates an instance of the WorkloadGroupsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWorkloadGroupsClientWithBaseURI creates an instance of the WorkloadGroupsClient client.
func NewWorkloadGroupsClientWithBaseURI(baseURI string, subscriptionID string) WorkloadGroupsClient {
return WorkloadGroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/client.go
index 25bc56eb9c662..3a72459cd3466 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/privatezones.go b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/privatezones.go
index 1f0faf2c454e1..d5f21fae56c60 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/privatezones.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/privatezones.go
@@ -35,8 +35,7 @@ func NewPrivateZonesClient(subscriptionID string) PrivateZonesClient {
return NewPrivateZonesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPrivateZonesClientWithBaseURI creates an instance of the PrivateZonesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPrivateZonesClientWithBaseURI creates an instance of the PrivateZonesClient client.
func NewPrivateZonesClientWithBaseURI(baseURI string, subscriptionID string) PrivateZonesClient {
return PrivateZonesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/recordsets.go b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/recordsets.go
index cfa0bda9d7d19..cfc5aa630e48f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/recordsets.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/recordsets.go
@@ -35,8 +35,7 @@ func NewRecordSetsClient(subscriptionID string) RecordSetsClient {
return NewRecordSetsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecordSetsClientWithBaseURI creates an instance of the RecordSetsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRecordSetsClientWithBaseURI creates an instance of the RecordSetsClient client.
func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) RecordSetsClient {
return RecordSetsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/virtualnetworklinks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/virtualnetworklinks.go
index 10f0c5af8833d..dfa7de0dff2f4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/virtualnetworklinks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns/virtualnetworklinks.go
@@ -35,9 +35,7 @@ func NewVirtualNetworkLinksClient(subscriptionID string) VirtualNetworkLinksClie
return NewVirtualNetworkLinksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVirtualNetworkLinksClientWithBaseURI creates an instance of the VirtualNetworkLinksClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVirtualNetworkLinksClientWithBaseURI creates an instance of the VirtualNetworkLinksClient client.
func NewVirtualNetworkLinksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkLinksClient {
return VirtualNetworkLinksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/client.go
index 251181885f85d..02b6a1d164f9c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/dpscertificate.go b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/dpscertificate.go
index f1583a8f9f6ea..46dedab42faaf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/dpscertificate.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/dpscertificate.go
@@ -37,8 +37,7 @@ func NewDpsCertificateClient(subscriptionID string) DpsCertificateClient {
return NewDpsCertificateClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDpsCertificateClientWithBaseURI creates an instance of the DpsCertificateClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDpsCertificateClientWithBaseURI creates an instance of the DpsCertificateClient client.
func NewDpsCertificateClientWithBaseURI(baseURI string, subscriptionID string) DpsCertificateClient {
return DpsCertificateClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/iotdpsresource.go b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/iotdpsresource.go
index b477f3d37a7f5..6234a8a0766f9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/iotdpsresource.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/iotdpsresource.go
@@ -36,8 +36,7 @@ func NewIotDpsResourceClient(subscriptionID string) IotDpsResourceClient {
return NewIotDpsResourceClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewIotDpsResourceClientWithBaseURI creates an instance of the IotDpsResourceClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewIotDpsResourceClientWithBaseURI creates an instance of the IotDpsResourceClient client.
func NewIotDpsResourceClientWithBaseURI(baseURI string, subscriptionID string) IotDpsResourceClient {
return IotDpsResourceClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/operations.go
index 95d33025bb413..5fdd69a14174f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/provisioningservices/mgmt/2018-01-22/iothub/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/client.go
index d30f3f68bab67..221b1dd05edb9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/operations.go
index 2954d5d7db8c7..2077471f78d14 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/recoveryservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/recoveryservices.go
index c81b4705417f8..cdc21d9525662 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/recoveryservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/recoveryservices/recoveryservices.go
@@ -35,8 +35,7 @@ func NewClient(subscriptionID string) Client {
return NewClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return Client{NewWithBaseURI(baseURI, subscriptionID)}
}
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 fec0713c63b96..c778fd207bbf4 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
@@ -35,9 +35,7 @@ func NewRegisteredIdentitiesClient(subscriptionID string) RegisteredIdentitiesCl
return NewRegisteredIdentitiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRegisteredIdentitiesClientWithBaseURI creates an instance of the RegisteredIdentitiesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewRegisteredIdentitiesClientWithBaseURI creates an instance of the RegisteredIdentitiesClient client.
func NewRegisteredIdentitiesClientWithBaseURI(baseURI string, subscriptionID string) RegisteredIdentitiesClient {
return RegisteredIdentitiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 cb5febb3085fe..8a3a75307887c 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
@@ -35,9 +35,7 @@ func NewReplicationUsagesClient(subscriptionID string) ReplicationUsagesClient {
return NewReplicationUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewReplicationUsagesClientWithBaseURI creates an instance of the ReplicationUsagesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationUsagesClientWithBaseURI creates an instance of the ReplicationUsagesClient client.
func NewReplicationUsagesClientWithBaseURI(baseURI string, subscriptionID string) ReplicationUsagesClient {
return ReplicationUsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 723df869587b3..e77d1f4f7aacd 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
@@ -35,8 +35,7 @@ func NewUsagesClient(subscriptionID string) UsagesClient {
return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 d8433ad41946b..d5d2969891c96 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
@@ -35,9 +35,7 @@ func NewVaultCertificatesClient(subscriptionID string) VaultCertificatesClient {
return NewVaultCertificatesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVaultCertificatesClientWithBaseURI creates an instance of the VaultCertificatesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVaultCertificatesClientWithBaseURI creates an instance of the VaultCertificatesClient client.
func NewVaultCertificatesClientWithBaseURI(baseURI string, subscriptionID string) VaultCertificatesClient {
return VaultCertificatesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 2949cbc41f91a..87ca3ab5f5f44 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
@@ -35,9 +35,7 @@ func NewVaultExtendedInfoClient(subscriptionID string) VaultExtendedInfoClient {
return NewVaultExtendedInfoClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVaultExtendedInfoClientWithBaseURI creates an instance of the VaultExtendedInfoClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewVaultExtendedInfoClientWithBaseURI creates an instance of the VaultExtendedInfoClient client.
func NewVaultExtendedInfoClientWithBaseURI(baseURI string, subscriptionID string) VaultExtendedInfoClient {
return VaultExtendedInfoClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 05e16b9ebb42f..4ceb3b11b7691 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
@@ -35,8 +35,7 @@ func NewVaultsClient(subscriptionID string) VaultsClient {
return NewVaultsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewVaultsClientWithBaseURI creates an instance of the VaultsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewVaultsClientWithBaseURI creates an instance of the VaultsClient client.
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return VaultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/client.go
index 652a55ddb3918..678a90d936611 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/client.go
@@ -43,8 +43,7 @@ func New(subscriptionID string, resourceGroupName string, resourceName string) B
return NewWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/migrationrecoverypoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/migrationrecoverypoints.go
index 98f89db1690aa..9c2f6fc626707 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/migrationrecoverypoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/migrationrecoverypoints.go
@@ -35,9 +35,7 @@ func NewMigrationRecoveryPointsClient(subscriptionID string, resourceGroupName s
return NewMigrationRecoveryPointsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewMigrationRecoveryPointsClientWithBaseURI creates an instance of the MigrationRecoveryPointsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewMigrationRecoveryPointsClientWithBaseURI creates an instance of the MigrationRecoveryPointsClient client.
func NewMigrationRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) MigrationRecoveryPointsClient {
return MigrationRecoveryPointsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/models.go
index 6900e14a7fb5f..8f2635a4d12df 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/models.go
@@ -148,6 +148,23 @@ func PossibleDiskAccountTypeValues() []DiskAccountType {
return []DiskAccountType{PremiumLRS, StandardLRS, StandardSSDLRS}
}
+// DiskType enumerates the values for disk type.
+type DiskType string
+
+const (
+ // DiskTypePremiumLRS ...
+ DiskTypePremiumLRS DiskType = "Premium_LRS"
+ // DiskTypeStandardLRS ...
+ DiskTypeStandardLRS DiskType = "Standard_LRS"
+ // DiskTypeStandardSSDLRS ...
+ DiskTypeStandardSSDLRS DiskType = "StandardSSD_LRS"
+)
+
+// PossibleDiskTypeValues returns an array of possible values for the DiskType const type.
+func PossibleDiskTypeValues() []DiskType {
+ return []DiskType{DiskTypePremiumLRS, DiskTypeStandardLRS, DiskTypeStandardSSDLRS}
+}
+
// EthernetAddressType enumerates the values for ethernet address type.
type EthernetAddressType string
@@ -357,13 +374,11 @@ const (
InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails InstanceTypeBasicEventProviderSpecificDetails = "HyperVReplicaBaseEventDetails"
// InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2 ...
InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2 InstanceTypeBasicEventProviderSpecificDetails = "InMageAzureV2"
- // InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt ...
- InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt InstanceTypeBasicEventProviderSpecificDetails = "VMwareCbt"
)
// PossibleInstanceTypeBasicEventProviderSpecificDetailsValues returns an array of possible values for the InstanceTypeBasicEventProviderSpecificDetails const type.
func PossibleInstanceTypeBasicEventProviderSpecificDetailsValues() []InstanceTypeBasicEventProviderSpecificDetails {
- return []InstanceTypeBasicEventProviderSpecificDetails{InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt}
+ return []InstanceTypeBasicEventProviderSpecificDetails{InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails, InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2}
}
// InstanceTypeBasicEventSpecificDetails enumerates the values for instance type basic event specific details.
@@ -732,13 +747,13 @@ const (
InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A InstanceTypeBasicReplicationProviderSpecificContainerCreationInput = "A2A"
// InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput ...
InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput InstanceTypeBasicReplicationProviderSpecificContainerCreationInput = "ReplicationProviderSpecificContainerCreationInput"
- // InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt ...
- InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt InstanceTypeBasicReplicationProviderSpecificContainerCreationInput = "VMwareCbt"
+ // InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero ...
+ InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero InstanceTypeBasicReplicationProviderSpecificContainerCreationInput = "6c7da455-506f-43ff-a16a-8eb101aebb70"
)
// PossibleInstanceTypeBasicReplicationProviderSpecificContainerCreationInputValues returns an array of possible values for the InstanceTypeBasicReplicationProviderSpecificContainerCreationInput const type.
func PossibleInstanceTypeBasicReplicationProviderSpecificContainerCreationInputValues() []InstanceTypeBasicReplicationProviderSpecificContainerCreationInput {
- return []InstanceTypeBasicReplicationProviderSpecificContainerCreationInput{InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A, InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput, InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt}
+ return []InstanceTypeBasicReplicationProviderSpecificContainerCreationInput{InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A, InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput, InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero}
}
// InstanceTypeBasicReplicationProviderSpecificContainerMappingInput enumerates the values for instance type
@@ -803,22 +818,6 @@ func PossibleInstanceTypeBasicReplicationProviderSpecificUpdateContainerMappingI
return []InstanceTypeBasicReplicationProviderSpecificUpdateContainerMappingInput{InstanceTypeBasicReplicationProviderSpecificUpdateContainerMappingInputInstanceTypeA2A, InstanceTypeBasicReplicationProviderSpecificUpdateContainerMappingInputInstanceTypeReplicationProviderSpecificUpdateContainerMappingInput}
}
-// InstanceTypeBasicResyncProviderSpecificInput enumerates the values for instance type basic resync provider
-// specific input.
-type InstanceTypeBasicResyncProviderSpecificInput string
-
-const (
- // InstanceTypeBasicResyncProviderSpecificInputInstanceTypeResyncProviderSpecificInput ...
- InstanceTypeBasicResyncProviderSpecificInputInstanceTypeResyncProviderSpecificInput InstanceTypeBasicResyncProviderSpecificInput = "ResyncProviderSpecificInput"
- // InstanceTypeBasicResyncProviderSpecificInputInstanceTypeVMwareCbt ...
- InstanceTypeBasicResyncProviderSpecificInputInstanceTypeVMwareCbt InstanceTypeBasicResyncProviderSpecificInput = "VMwareCbt"
-)
-
-// PossibleInstanceTypeBasicResyncProviderSpecificInputValues returns an array of possible values for the InstanceTypeBasicResyncProviderSpecificInput const type.
-func PossibleInstanceTypeBasicResyncProviderSpecificInputValues() []InstanceTypeBasicResyncProviderSpecificInput {
- return []InstanceTypeBasicResyncProviderSpecificInput{InstanceTypeBasicResyncProviderSpecificInputInstanceTypeResyncProviderSpecificInput, InstanceTypeBasicResyncProviderSpecificInputInstanceTypeVMwareCbt}
-}
-
// InstanceTypeBasicReverseReplicationProviderSpecificInput enumerates the values for instance type basic
// reverse replication provider specific input.
type InstanceTypeBasicReverseReplicationProviderSpecificInput string
@@ -963,8 +962,6 @@ const (
DisableMigration MigrationItemOperation = "DisableMigration"
// Migrate ...
Migrate MigrationItemOperation = "Migrate"
- // StartResync ...
- StartResync MigrationItemOperation = "StartResync"
// TestMigrate ...
TestMigrate MigrationItemOperation = "TestMigrate"
// TestMigrateCleanup ...
@@ -973,7 +970,7 @@ const (
// PossibleMigrationItemOperationValues returns an array of possible values for the MigrationItemOperation const type.
func PossibleMigrationItemOperationValues() []MigrationItemOperation {
- return []MigrationItemOperation{DisableMigration, Migrate, StartResync, TestMigrate, TestMigrateCleanup}
+ return []MigrationItemOperation{DisableMigration, Migrate, TestMigrate, TestMigrateCleanup}
}
// MigrationRecoveryPointType enumerates the values for migration recovery point type.
@@ -1103,25 +1100,6 @@ func PossiblePresenceStatusValues() []PresenceStatus {
return []PresenceStatus{NotPresent, Present, Unknown}
}
-// ProtectionHealth enumerates the values for protection health.
-type ProtectionHealth string
-
-const (
- // ProtectionHealthCritical ...
- ProtectionHealthCritical ProtectionHealth = "Critical"
- // ProtectionHealthNone ...
- ProtectionHealthNone ProtectionHealth = "None"
- // ProtectionHealthNormal ...
- ProtectionHealthNormal ProtectionHealth = "Normal"
- // ProtectionHealthWarning ...
- ProtectionHealthWarning ProtectionHealth = "Warning"
-)
-
-// PossibleProtectionHealthValues returns an array of possible values for the ProtectionHealth const type.
-func PossibleProtectionHealthValues() []ProtectionHealth {
- return []ProtectionHealth{ProtectionHealthCritical, ProtectionHealthNone, ProtectionHealthNormal, ProtectionHealthWarning}
-}
-
// RecoveryPlanActionLocation enumerates the values for recovery plan action location.
type RecoveryPlanActionLocation string
@@ -1223,23 +1201,6 @@ func PossibleReplicationProtectedItemOperationValues() []ReplicationProtectedIte
return []ReplicationProtectedItemOperation{ReplicationProtectedItemOperationChangePit, ReplicationProtectedItemOperationCommit, ReplicationProtectedItemOperationCompleteMigration, ReplicationProtectedItemOperationDisableProtection, ReplicationProtectedItemOperationFailback, ReplicationProtectedItemOperationFinalizeFailback, ReplicationProtectedItemOperationPlannedFailover, ReplicationProtectedItemOperationRepairReplication, ReplicationProtectedItemOperationReverseReplicate, ReplicationProtectedItemOperationSwitchProtection, ReplicationProtectedItemOperationTestFailover, ReplicationProtectedItemOperationTestFailoverCleanup, ReplicationProtectedItemOperationUnplannedFailover}
}
-// ResyncState enumerates the values for resync state.
-type ResyncState string
-
-const (
- // ResyncStateNone ...
- ResyncStateNone ResyncState = "None"
- // ResyncStatePreparedForResynchronization ...
- ResyncStatePreparedForResynchronization ResyncState = "PreparedForResynchronization"
- // ResyncStateStartedResynchronization ...
- ResyncStateStartedResynchronization ResyncState = "StartedResynchronization"
-)
-
-// PossibleResyncStateValues returns an array of possible values for the ResyncState const type.
-func PossibleResyncStateValues() []ResyncState {
- return []ResyncState{ResyncStateNone, ResyncStatePreparedForResynchronization, ResyncStateStartedResynchronization}
-}
-
// RpInMageRecoveryPointType enumerates the values for rp in mage recovery point type.
type RpInMageRecoveryPointType string
@@ -1370,7 +1331,7 @@ func (aarpi A2AApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecifi
// A2AContainerCreationInput a2A cloud creation input.
type A2AContainerCreationInput struct {
- // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero'
InstanceType InstanceTypeBasicReplicationProviderSpecificContainerCreationInput `json:"instanceType,omitempty"`
}
@@ -1565,7 +1526,7 @@ type A2AEventDetails struct {
RemoteFabricName *string `json:"remoteFabricName,omitempty"`
// RemoteFabricLocation - Remote fabric location.
RemoteFabricLocation *string `json:"remoteFabricLocation,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2'
InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}
@@ -1627,11 +1588,6 @@ func (aed A2AEventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDet
return nil, false
}
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.
-func (aed A2AEventDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return nil, false
-}
-
// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.
func (aed A2AEventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
return nil, false
@@ -4626,8 +4582,6 @@ type EventProperties struct {
EventType *string `json:"eventType,omitempty"`
// AffectedObjectFriendlyName - The friendly name of the source of the event on which it is raised (for example, VM, VMM etc).
AffectedObjectFriendlyName *string `json:"affectedObjectFriendlyName,omitempty"`
- // AffectedObjectCorrelationID - READ-ONLY; The affected object correlationId for the event.
- AffectedObjectCorrelationID *string `json:"affectedObjectCorrelationId,omitempty"`
// Severity - The severity of the event.
Severity *string `json:"severity,omitempty"`
// TimeOfOccurrence - The time of occurrence of the event.
@@ -4687,15 +4641,6 @@ func (ep *EventProperties) UnmarshalJSON(body []byte) error {
}
ep.AffectedObjectFriendlyName = &affectedObjectFriendlyName
}
- case "affectedObjectCorrelationId":
- if v != nil {
- var affectedObjectCorrelationID string
- err = json.Unmarshal(*v, &affectedObjectCorrelationID)
- if err != nil {
- return err
- }
- ep.AffectedObjectCorrelationID = &affectedObjectCorrelationID
- }
case "severity":
if v != nil {
var severity string
@@ -4762,13 +4707,12 @@ type BasicEventProviderSpecificDetails interface {
AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)
AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)
AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)
- AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool)
AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)
}
// EventProviderSpecificDetails model class for provider specific details for an event.
type EventProviderSpecificDetails struct {
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2'
InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}
@@ -4804,10 +4748,6 @@ func unmarshalBasicEventProviderSpecificDetails(body []byte) (BasicEventProvider
var imaved InMageAzureV2EventDetails
err := json.Unmarshal(body, &imaved)
return imaved, err
- case string(InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt):
- var vmced VMwareCbtEventDetails
- err := json.Unmarshal(body, &vmced)
- return vmced, err
default:
var epsd EventProviderSpecificDetails
err := json.Unmarshal(body, &epsd)
@@ -4873,11 +4813,6 @@ func (epsd EventProviderSpecificDetails) AsInMageAzureV2EventDetails() (*InMageA
return nil, false
}
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.
-func (epsd EventProviderSpecificDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return nil, false
-}
-
// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.
func (epsd EventProviderSpecificDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
return &epsd, true
@@ -4900,8 +4835,6 @@ type EventQueryParameter struct {
FabricName *string `json:"fabricName,omitempty"`
// AffectedObjectFriendlyName - The affected object name of the events to be queried.
AffectedObjectFriendlyName *string `json:"affectedObjectFriendlyName,omitempty"`
- // AffectedObjectCorrelationID - READ-ONLY; The affected object correlationId for the events to be queried.
- AffectedObjectCorrelationID *string `json:"affectedObjectCorrelationId,omitempty"`
// StartTime - The start time of the time range within which the events are to be queried.
StartTime *date.Time `json:"startTime,omitempty"`
// EndTime - The end time of the time range within which the events are to be queried.
@@ -6079,7 +6012,7 @@ type HyperVReplica2012EventDetails struct {
RemoteContainerName *string `json:"remoteContainerName,omitempty"`
// RemoteFabricName - The remote fabric name.
RemoteFabricName *string `json:"remoteFabricName,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2'
InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}
@@ -6135,11 +6068,6 @@ func (hvr2ed HyperVReplica2012EventDetails) AsInMageAzureV2EventDetails() (*InMa
return nil, false
}
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.
-func (hvr2ed HyperVReplica2012EventDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return nil, false
-}
-
// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.
func (hvr2ed HyperVReplica2012EventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
return nil, false
@@ -6160,7 +6088,7 @@ type HyperVReplica2012R2EventDetails struct {
RemoteContainerName *string `json:"remoteContainerName,omitempty"`
// RemoteFabricName - The remote fabric name.
RemoteFabricName *string `json:"remoteFabricName,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2'
InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}
@@ -6216,11 +6144,6 @@ func (hvr2ed HyperVReplica2012R2EventDetails) AsInMageAzureV2EventDetails() (*In
return nil, false
}
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.
-func (hvr2ed HyperVReplica2012R2EventDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return nil, false
-}
-
// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.
func (hvr2ed HyperVReplica2012R2EventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
return nil, false
@@ -6417,7 +6340,7 @@ type HyperVReplicaAzureEventDetails struct {
FabricName *string `json:"fabricName,omitempty"`
// RemoteContainerName - The remote container name.
RemoteContainerName *string `json:"remoteContainerName,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2'
InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}
@@ -6470,11 +6393,6 @@ func (hvraed HyperVReplicaAzureEventDetails) AsInMageAzureV2EventDetails() (*InM
return nil, false
}
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.
-func (hvraed HyperVReplicaAzureEventDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return nil, false
-}
-
// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.
func (hvraed HyperVReplicaAzureEventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
return nil, false
@@ -7138,7 +7056,7 @@ type HyperVReplicaBaseEventDetails struct {
RemoteContainerName *string `json:"remoteContainerName,omitempty"`
// RemoteFabricName - The remote fabric name.
RemoteFabricName *string `json:"remoteFabricName,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2'
InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}
@@ -7194,11 +7112,6 @@ func (hvrbed HyperVReplicaBaseEventDetails) AsInMageAzureV2EventDetails() (*InMa
return nil, false
}
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.
-func (hvrbed HyperVReplicaBaseEventDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return nil, false
-}
-
// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.
func (hvrbed HyperVReplicaBaseEventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
return nil, false
@@ -8551,7 +8464,7 @@ type InMageAzureV2EventDetails struct {
Summary *string `json:"summary,omitempty"`
// SiteName - VMware Site name.
SiteName *string `json:"siteName,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2'
InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}
@@ -8616,11 +8529,6 @@ func (imaved InMageAzureV2EventDetails) AsInMageAzureV2EventDetails() (*InMageAz
return &imaved, true
}
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.
-func (imaved InMageAzureV2EventDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return nil, false
-}
-
// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.
func (imaved InMageAzureV2EventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
return nil, false
@@ -11518,28 +11426,24 @@ type MigrationItemProperties struct {
PolicyID *string `json:"policyId,omitempty"`
// PolicyFriendlyName - READ-ONLY; The name of policy governing this item.
PolicyFriendlyName *string `json:"policyFriendlyName,omitempty"`
+ // RecoveryServicesProviderID - READ-ONLY; The recovery services provider ARM Id.
+ RecoveryServicesProviderID *string `json:"recoveryServicesProviderId,omitempty"`
// MigrationState - READ-ONLY; The migration status. Possible values include: 'MigrationStateNone', 'MigrationStateEnableMigrationInProgress', 'MigrationStateEnableMigrationFailed', 'MigrationStateDisableMigrationInProgress', 'MigrationStateDisableMigrationFailed', 'MigrationStateInitialSeedingInProgress', 'MigrationStateInitialSeedingFailed', 'MigrationStateReplicating', 'MigrationStateMigrationInProgress', 'MigrationStateMigrationSucceeded', 'MigrationStateMigrationFailed'
MigrationState MigrationState `json:"migrationState,omitempty"`
// MigrationStateDescription - READ-ONLY; The migration state description.
MigrationStateDescription *string `json:"migrationStateDescription,omitempty"`
- // LastTestMigrationTime - READ-ONLY; The last test migration time.
- LastTestMigrationTime *date.Time `json:"lastTestMigrationTime,omitempty"`
- // LastTestMigrationStatus - READ-ONLY; The status of the last test migration.
- LastTestMigrationStatus *string `json:"lastTestMigrationStatus,omitempty"`
// TestMigrateState - READ-ONLY; The test migrate state. Possible values include: 'TestMigrationStateNone', 'TestMigrationStateTestMigrationInProgress', 'TestMigrationStateTestMigrationSucceeded', 'TestMigrationStateTestMigrationFailed', 'TestMigrationStateTestMigrationCleanupInProgress'
TestMigrateState TestMigrationState `json:"testMigrateState,omitempty"`
// TestMigrateStateDescription - READ-ONLY; The test migrate state description.
TestMigrateStateDescription *string `json:"testMigrateStateDescription,omitempty"`
- // Health - READ-ONLY; The consolidated health. Possible values include: 'ProtectionHealthNone', 'ProtectionHealthNormal', 'ProtectionHealthWarning', 'ProtectionHealthCritical'
- Health ProtectionHealth `json:"health,omitempty"`
+ // Health - READ-ONLY; The consolidated health.
+ Health *string `json:"health,omitempty"`
// HealthErrors - READ-ONLY; The list of health errors.
HealthErrors *[]HealthError `json:"healthErrors,omitempty"`
// AllowedOperations - READ-ONLY; The allowed operations on the migration item, based on the current migration state of the item.
AllowedOperations *[]MigrationItemOperation `json:"allowedOperations,omitempty"`
// CurrentJob - READ-ONLY; The current job details.
CurrentJob *CurrentJobDetails `json:"currentJob,omitempty"`
- // EventCorrelationID - READ-ONLY; The correlation Id for events associated with this migration item.
- EventCorrelationID *string `json:"eventCorrelationId,omitempty"`
// ProviderSpecificDetails - The migration provider custom settings.
ProviderSpecificDetails BasicMigrationProviderSpecificSettings `json:"providerSpecificDetails,omitempty"`
}
@@ -11580,6 +11484,15 @@ func (mip *MigrationItemProperties) UnmarshalJSON(body []byte) error {
}
mip.PolicyFriendlyName = &policyFriendlyName
}
+ case "recoveryServicesProviderId":
+ if v != nil {
+ var recoveryServicesProviderID string
+ err = json.Unmarshal(*v, &recoveryServicesProviderID)
+ if err != nil {
+ return err
+ }
+ mip.RecoveryServicesProviderID = &recoveryServicesProviderID
+ }
case "migrationState":
if v != nil {
var migrationState MigrationState
@@ -11598,24 +11511,6 @@ func (mip *MigrationItemProperties) UnmarshalJSON(body []byte) error {
}
mip.MigrationStateDescription = &migrationStateDescription
}
- case "lastTestMigrationTime":
- if v != nil {
- var lastTestMigrationTime date.Time
- err = json.Unmarshal(*v, &lastTestMigrationTime)
- if err != nil {
- return err
- }
- mip.LastTestMigrationTime = &lastTestMigrationTime
- }
- case "lastTestMigrationStatus":
- if v != nil {
- var lastTestMigrationStatus string
- err = json.Unmarshal(*v, &lastTestMigrationStatus)
- if err != nil {
- return err
- }
- mip.LastTestMigrationStatus = &lastTestMigrationStatus
- }
case "testMigrateState":
if v != nil {
var testMigrateState TestMigrationState
@@ -11636,12 +11531,12 @@ func (mip *MigrationItemProperties) UnmarshalJSON(body []byte) error {
}
case "health":
if v != nil {
- var health ProtectionHealth
+ var health string
err = json.Unmarshal(*v, &health)
if err != nil {
return err
}
- mip.Health = health
+ mip.Health = &health
}
case "healthErrors":
if v != nil {
@@ -11670,15 +11565,6 @@ func (mip *MigrationItemProperties) UnmarshalJSON(body []byte) error {
}
mip.CurrentJob = ¤tJob
}
- case "eventCorrelationId":
- if v != nil {
- var eventCorrelationID string
- err = json.Unmarshal(*v, &eventCorrelationID)
- if err != nil {
- return err
- }
- mip.EventCorrelationID = &eventCorrelationID
- }
case "providerSpecificDetails":
if v != nil {
providerSpecificDetails, err := unmarshalBasicMigrationProviderSpecificSettings(*v)
@@ -16599,35 +16485,6 @@ func (future *ReplicationMigrationItemsMigrateFuture) Result(client ReplicationM
return
}
-// ReplicationMigrationItemsResyncFuture an abstraction for monitoring and retrieving the results of a
-// long-running operation.
-type ReplicationMigrationItemsResyncFuture struct {
- azure.Future
-}
-
-// Result returns the result of the asynchronous operation.
-// If the operation has not completed it will return an error.
-func (future *ReplicationMigrationItemsResyncFuture) Result(client ReplicationMigrationItemsClient) (mi MigrationItem, err error) {
- var done bool
- done, err = future.DoneWithContext(context.Background(), client)
- if err != nil {
- err = autorest.NewErrorWithError(err, "siterecovery.ReplicationMigrationItemsResyncFuture", "Result", future.Response(), "Polling failure")
- return
- }
- if !done {
- err = azure.NewAsyncOpIncompleteError("siterecovery.ReplicationMigrationItemsResyncFuture")
- return
- }
- sender := autorest.DecorateSender(client, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
- if mi.Response.Response, err = future.GetResult(sender); err == nil && mi.Response.Response.StatusCode != http.StatusNoContent {
- mi, err = client.ResyncResponder(mi.Response.Response)
- if err != nil {
- err = autorest.NewErrorWithError(err, "siterecovery.ReplicationMigrationItemsResyncFuture", "Result", mi.Response.Response, "Failure responding to request")
- }
- }
- return
-}
-
// ReplicationMigrationItemsTestMigrateCleanupFuture an abstraction for monitoring and retrieving the
// results of a long-running operation.
type ReplicationMigrationItemsTestMigrateCleanupFuture struct {
@@ -17948,7 +17805,7 @@ type BasicReplicationProviderSpecificContainerCreationInput interface {
// ReplicationProviderSpecificContainerCreationInput provider specific input for container creation operation.
type ReplicationProviderSpecificContainerCreationInput struct {
- // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero'
InstanceType InstanceTypeBasicReplicationProviderSpecificContainerCreationInput `json:"instanceType,omitempty"`
}
@@ -17964,7 +17821,7 @@ func unmarshalBasicReplicationProviderSpecificContainerCreationInput(body []byte
var acci A2AContainerCreationInput
err := json.Unmarshal(body, &acci)
return acci, err
- case string(InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt):
+ case string(InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero):
var vmccci VMwareCbtContainerCreationInput
err := json.Unmarshal(body, &vmccci)
return vmccci, err
@@ -18856,23 +18713,6 @@ type ResourceHealthSummary struct {
ResourceCount *int32 `json:"resourceCount,omitempty"`
// Issues - The list of summary of health errors across the resources under the container.
Issues *[]HealthErrorSummary `json:"issues,omitempty"`
- // CategorizedResourceCounts - The categorized resource counts.
- CategorizedResourceCounts map[string]*int32 `json:"categorizedResourceCounts"`
-}
-
-// MarshalJSON is the custom marshaler for ResourceHealthSummary.
-func (RHS ResourceHealthSummary) MarshalJSON() ([]byte, error) {
- objectMap := make(map[string]interface{})
- if RHS.ResourceCount != nil {
- objectMap["resourceCount"] = RHS.ResourceCount
- }
- if RHS.Issues != nil {
- objectMap["issues"] = RHS.Issues
- }
- if RHS.CategorizedResourceCounts != nil {
- objectMap["categorizedResourceCounts"] = RHS.CategorizedResourceCounts
- }
- return json.Marshal(objectMap)
}
// ResumeJobParams resume job params.
@@ -18887,115 +18727,6 @@ type ResumeJobParamsProperties struct {
Comments *string `json:"comments,omitempty"`
}
-// ResyncInput resync input.
-type ResyncInput struct {
- // Properties - Resync input properties.
- Properties *ResyncInputProperties `json:"properties,omitempty"`
-}
-
-// ResyncInputProperties resync input properties.
-type ResyncInputProperties struct {
- // ProviderSpecificDetails - The provider specific details.
- ProviderSpecificDetails BasicResyncProviderSpecificInput `json:"providerSpecificDetails,omitempty"`
-}
-
-// UnmarshalJSON is the custom unmarshaler for ResyncInputProperties struct.
-func (rip *ResyncInputProperties) 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 "providerSpecificDetails":
- if v != nil {
- providerSpecificDetails, err := unmarshalBasicResyncProviderSpecificInput(*v)
- if err != nil {
- return err
- }
- rip.ProviderSpecificDetails = providerSpecificDetails
- }
- }
- }
-
- return nil
-}
-
-// BasicResyncProviderSpecificInput resync provider specific input.
-type BasicResyncProviderSpecificInput interface {
- AsVMwareCbtResyncInput() (*VMwareCbtResyncInput, bool)
- AsResyncProviderSpecificInput() (*ResyncProviderSpecificInput, bool)
-}
-
-// ResyncProviderSpecificInput resync provider specific input.
-type ResyncProviderSpecificInput struct {
- // InstanceType - Possible values include: 'InstanceTypeBasicResyncProviderSpecificInputInstanceTypeResyncProviderSpecificInput', 'InstanceTypeBasicResyncProviderSpecificInputInstanceTypeVMwareCbt'
- InstanceType InstanceTypeBasicResyncProviderSpecificInput `json:"instanceType,omitempty"`
-}
-
-func unmarshalBasicResyncProviderSpecificInput(body []byte) (BasicResyncProviderSpecificInput, error) {
- var m map[string]interface{}
- err := json.Unmarshal(body, &m)
- if err != nil {
- return nil, err
- }
-
- switch m["instanceType"] {
- case string(InstanceTypeBasicResyncProviderSpecificInputInstanceTypeVMwareCbt):
- var vmcri VMwareCbtResyncInput
- err := json.Unmarshal(body, &vmcri)
- return vmcri, err
- default:
- var rpsi ResyncProviderSpecificInput
- err := json.Unmarshal(body, &rpsi)
- return rpsi, err
- }
-}
-func unmarshalBasicResyncProviderSpecificInputArray(body []byte) ([]BasicResyncProviderSpecificInput, error) {
- var rawMessages []*json.RawMessage
- err := json.Unmarshal(body, &rawMessages)
- if err != nil {
- return nil, err
- }
-
- rpsiArray := make([]BasicResyncProviderSpecificInput, len(rawMessages))
-
- for index, rawMessage := range rawMessages {
- rpsi, err := unmarshalBasicResyncProviderSpecificInput(*rawMessage)
- if err != nil {
- return nil, err
- }
- rpsiArray[index] = rpsi
- }
- return rpsiArray, nil
-}
-
-// MarshalJSON is the custom marshaler for ResyncProviderSpecificInput.
-func (rpsi ResyncProviderSpecificInput) MarshalJSON() ([]byte, error) {
- rpsi.InstanceType = InstanceTypeBasicResyncProviderSpecificInputInstanceTypeResyncProviderSpecificInput
- objectMap := make(map[string]interface{})
- if rpsi.InstanceType != "" {
- objectMap["instanceType"] = rpsi.InstanceType
- }
- return json.Marshal(objectMap)
-}
-
-// AsVMwareCbtResyncInput is the BasicResyncProviderSpecificInput implementation for ResyncProviderSpecificInput.
-func (rpsi ResyncProviderSpecificInput) AsVMwareCbtResyncInput() (*VMwareCbtResyncInput, bool) {
- return nil, false
-}
-
-// AsResyncProviderSpecificInput is the BasicResyncProviderSpecificInput implementation for ResyncProviderSpecificInput.
-func (rpsi ResyncProviderSpecificInput) AsResyncProviderSpecificInput() (*ResyncProviderSpecificInput, bool) {
- return &rpsi, true
-}
-
-// AsBasicResyncProviderSpecificInput is the BasicResyncProviderSpecificInput implementation for ResyncProviderSpecificInput.
-func (rpsi ResyncProviderSpecificInput) AsBasicResyncProviderSpecificInput() (BasicResyncProviderSpecificInput, bool) {
- return &rpsi, true
-}
-
// RetentionVolume the retention details of the MT.
type RetentionVolume struct {
// VolumeName - The volume name.
@@ -21858,13 +21589,13 @@ func (vnutd VMNicUpdatesTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDeta
// VMwareCbtContainerCreationInput vMwareCbt container creation input.
type VMwareCbtContainerCreationInput struct {
- // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt'
+ // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero'
InstanceType InstanceTypeBasicReplicationProviderSpecificContainerCreationInput `json:"instanceType,omitempty"`
}
// MarshalJSON is the custom marshaler for VMwareCbtContainerCreationInput.
func (vmccci VMwareCbtContainerCreationInput) MarshalJSON() ([]byte, error) {
- vmccci.InstanceType = InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeVMwareCbt
+ vmccci.InstanceType = InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero
objectMap := make(map[string]interface{})
if vmccci.InstanceType != "" {
objectMap["instanceType"] = vmccci.InstanceType
@@ -21998,8 +21729,6 @@ type VMwareCbtEnableMigrationInput struct {
TargetAvailabilitySetID *string `json:"targetAvailabilitySetId,omitempty"`
// TargetBootDiagnosticsStorageAccountID - The target boot diagnostics storage account ARM Id.
TargetBootDiagnosticsStorageAccountID *string `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
- // PerformAutoResync - A value indicating whether auto resync is to be done.
- PerformAutoResync *string `json:"performAutoResync,omitempty"`
// InstanceType - Possible values include: 'InstanceTypeEnableMigrationProviderSpecificInput', 'InstanceTypeVMwareCbt'
InstanceType InstanceTypeBasicEnableMigrationProviderSpecificInput `json:"instanceType,omitempty"`
}
@@ -22044,9 +21773,6 @@ func (vmcemi VMwareCbtEnableMigrationInput) MarshalJSON() ([]byte, error) {
if vmcemi.TargetBootDiagnosticsStorageAccountID != nil {
objectMap["targetBootDiagnosticsStorageAccountId"] = vmcemi.TargetBootDiagnosticsStorageAccountID
}
- if vmcemi.PerformAutoResync != nil {
- objectMap["performAutoResync"] = vmcemi.PerformAutoResync
- }
if vmcemi.InstanceType != "" {
objectMap["instanceType"] = vmcemi.InstanceType
}
@@ -22068,69 +21794,6 @@ func (vmcemi VMwareCbtEnableMigrationInput) AsBasicEnableMigrationProviderSpecif
return &vmcemi, true
}
-// VMwareCbtEventDetails event details for VMwareCbt provider.
-type VMwareCbtEventDetails struct {
- // MigrationItemName - READ-ONLY; The migration item name.
- MigrationItemName *string `json:"migrationItemName,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt'
- InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) MarshalJSON() ([]byte, error) {
- vmced.InstanceType = InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeVMwareCbt
- objectMap := make(map[string]interface{})
- if vmced.InstanceType != "" {
- objectMap["instanceType"] = vmced.InstanceType
- }
- return json.Marshal(objectMap)
-}
-
-// AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsA2AEventDetails() (*A2AEventDetails, bool) {
- return nil, false
-}
-
-// AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool) {
- return nil, false
-}
-
-// AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool) {
- return nil, false
-}
-
-// AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool) {
- return nil, false
-}
-
-// AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool) {
- return nil, false
-}
-
-// AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool) {
- return nil, false
-}
-
-// AsVMwareCbtEventDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsVMwareCbtEventDetails() (*VMwareCbtEventDetails, bool) {
- return &vmced, true
-}
-
-// AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool) {
- return nil, false
-}
-
-// AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for VMwareCbtEventDetails.
-func (vmced VMwareCbtEventDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool) {
- return &vmced, true
-}
-
// VMwareCbtMigrateInput vMwareCbt specific migrate input.
type VMwareCbtMigrateInput struct {
// PerformShutdown - A value indicating whether VM is to be shutdown.
@@ -22167,7 +21830,7 @@ func (vmcmi VMwareCbtMigrateInput) AsBasicMigrateProviderSpecificInput() (BasicM
return &vmcmi, true
}
-// VMwareCbtMigrationDetails vMwareCbt provider specific settings.
+// VMwareCbtMigrationDetails vMwareCbt provider specific settings
type VMwareCbtMigrationDetails struct {
// VmwareMachineID - READ-ONLY; The ARM Id of the VM discovered in VMware.
VmwareMachineID *string `json:"vmwareMachineId,omitempty"`
@@ -22201,18 +21864,6 @@ type VMwareCbtMigrationDetails struct {
MigrationRecoveryPointID *string `json:"migrationRecoveryPointId,omitempty"`
// LastRecoveryPointReceived - READ-ONLY; The last recovery point received time.
LastRecoveryPointReceived *date.Time `json:"lastRecoveryPointReceived,omitempty"`
- // LastRecoveryPointID - READ-ONLY; The last recovery point Id.
- LastRecoveryPointID *string `json:"lastRecoveryPointId,omitempty"`
- // InitialSeedingProgressPercentage - READ-ONLY; The initial seeding progress percentage.
- InitialSeedingProgressPercentage *int32 `json:"initialSeedingProgressPercentage,omitempty"`
- // MigrationProgressPercentage - READ-ONLY; The migration progress percentage.
- MigrationProgressPercentage *int32 `json:"migrationProgressPercentage,omitempty"`
- // ResyncProgressPercentage - READ-ONLY; The resync progress percentage.
- ResyncProgressPercentage *int32 `json:"resyncProgressPercentage,omitempty"`
- // ResyncState - READ-ONLY; The resync state. Possible values include: 'ResyncStateNone', 'ResyncStatePreparedForResynchronization', 'ResyncStateStartedResynchronization'
- ResyncState ResyncState `json:"resyncState,omitempty"`
- // PerformAutoResync - A value indicating whether auto resync is to be done.
- PerformAutoResync *string `json:"performAutoResync,omitempty"`
// InstanceType - Possible values include: 'InstanceTypeBasicMigrationProviderSpecificSettingsInstanceTypeMigrationProviderSpecificSettings', 'InstanceTypeBasicMigrationProviderSpecificSettingsInstanceTypeVMwareCbt'
InstanceType InstanceTypeBasicMigrationProviderSpecificSettings `json:"instanceType,omitempty"`
}
@@ -22248,9 +21899,6 @@ func (vmcmd VMwareCbtMigrationDetails) MarshalJSON() ([]byte, error) {
if vmcmd.VMNics != nil {
objectMap["vmNics"] = vmcmd.VMNics
}
- if vmcmd.PerformAutoResync != nil {
- objectMap["performAutoResync"] = vmcmd.PerformAutoResync
- }
if vmcmd.InstanceType != "" {
objectMap["instanceType"] = vmcmd.InstanceType
}
@@ -22495,8 +22143,8 @@ type VMwareCbtProtectedDiskDetails struct {
SeedManagedDiskID *string `json:"seedManagedDiskId,omitempty"`
// TargetManagedDiskID - READ-ONLY; The ARM Id of the target managed disk.
TargetManagedDiskID *string `json:"targetManagedDiskId,omitempty"`
- // DiskType - The disk type. Possible values include: 'StandardLRS', 'PremiumLRS', 'StandardSSDLRS'
- DiskType DiskAccountType `json:"diskType,omitempty"`
+ // DiskType - The disk type. Possible values include: 'DiskTypeStandardLRS', 'DiskTypePremiumLRS', 'DiskTypeStandardSSDLRS'
+ DiskType DiskType `json:"diskType,omitempty"`
}
// VMwareCbtProtectionContainerMappingDetails vMwareCbt provider specific container mapping details.
@@ -22547,42 +22195,6 @@ func (vmcpcmd VMwareCbtProtectionContainerMappingDetails) AsBasicProtectionConta
return &vmcpcmd, true
}
-// VMwareCbtResyncInput vMwareCbt specific resync input.
-type VMwareCbtResyncInput struct {
- // SkipCbtReset - A value indicating whether CBT is to be reset.
- SkipCbtReset *string `json:"skipCbtReset,omitempty"`
- // InstanceType - Possible values include: 'InstanceTypeBasicResyncProviderSpecificInputInstanceTypeResyncProviderSpecificInput', 'InstanceTypeBasicResyncProviderSpecificInputInstanceTypeVMwareCbt'
- InstanceType InstanceTypeBasicResyncProviderSpecificInput `json:"instanceType,omitempty"`
-}
-
-// MarshalJSON is the custom marshaler for VMwareCbtResyncInput.
-func (vmcri VMwareCbtResyncInput) MarshalJSON() ([]byte, error) {
- vmcri.InstanceType = InstanceTypeBasicResyncProviderSpecificInputInstanceTypeVMwareCbt
- objectMap := make(map[string]interface{})
- if vmcri.SkipCbtReset != nil {
- objectMap["skipCbtReset"] = vmcri.SkipCbtReset
- }
- if vmcri.InstanceType != "" {
- objectMap["instanceType"] = vmcri.InstanceType
- }
- return json.Marshal(objectMap)
-}
-
-// AsVMwareCbtResyncInput is the BasicResyncProviderSpecificInput implementation for VMwareCbtResyncInput.
-func (vmcri VMwareCbtResyncInput) AsVMwareCbtResyncInput() (*VMwareCbtResyncInput, bool) {
- return &vmcri, true
-}
-
-// AsResyncProviderSpecificInput is the BasicResyncProviderSpecificInput implementation for VMwareCbtResyncInput.
-func (vmcri VMwareCbtResyncInput) AsResyncProviderSpecificInput() (*ResyncProviderSpecificInput, bool) {
- return nil, false
-}
-
-// AsBasicResyncProviderSpecificInput is the BasicResyncProviderSpecificInput implementation for VMwareCbtResyncInput.
-func (vmcri VMwareCbtResyncInput) AsBasicResyncProviderSpecificInput() (BasicResyncProviderSpecificInput, bool) {
- return &vmcri, true
-}
-
// VMwareCbtTestMigrateInput vMwareCbt specific test migrate input.
type VMwareCbtTestMigrateInput struct {
// RecoveryPointID - The recovery point Id.
@@ -22642,8 +22254,6 @@ type VMwareCbtUpdateMigrationItemInput struct {
VMNics *[]VMwareCbtNicInput `json:"vmNics,omitempty"`
// LicenseType - The license type. Possible values include: 'LicenseTypeNotSpecified', 'LicenseTypeNoLicenseType', 'LicenseTypeWindowsServer'
LicenseType LicenseType `json:"licenseType,omitempty"`
- // PerformAutoResync - A value indicating whether auto resync is to be done.
- PerformAutoResync *string `json:"performAutoResync,omitempty"`
// InstanceType - Possible values include: 'InstanceTypeBasicUpdateMigrationItemProviderSpecificInputInstanceTypeUpdateMigrationItemProviderSpecificInput', 'InstanceTypeBasicUpdateMigrationItemProviderSpecificInputInstanceTypeVMwareCbt'
InstanceType InstanceTypeBasicUpdateMigrationItemProviderSpecificInput `json:"instanceType,omitempty"`
}
@@ -22676,9 +22286,6 @@ func (vmcumii VMwareCbtUpdateMigrationItemInput) MarshalJSON() ([]byte, error) {
if vmcumii.LicenseType != "" {
objectMap["licenseType"] = vmcumii.LicenseType
}
- if vmcumii.PerformAutoResync != nil {
- objectMap["performAutoResync"] = vmcumii.PerformAutoResync
- }
if vmcumii.InstanceType != "" {
objectMap["instanceType"] = vmcumii.InstanceType
}
@@ -22915,8 +22522,6 @@ func (vmd VMwareDetails) AsBasicFabricSpecificDetails() (BasicFabricSpecificDeta
type VMwareV2FabricCreationInput struct {
// VmwareSiteID - The ARM Id of the VMware site.
VmwareSiteID *string `json:"vmwareSiteId,omitempty"`
- // PhysicalSiteID - The ARM Id of the physical site.
- PhysicalSiteID *string `json:"physicalSiteId,omitempty"`
// MigrationSolutionID - The ARM Id of the migration solution.
MigrationSolutionID *string `json:"migrationSolutionId,omitempty"`
// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreationInput', 'InstanceTypeAzure', 'InstanceTypeVMwareV2'
@@ -22930,9 +22535,6 @@ func (vmvfci VMwareV2FabricCreationInput) MarshalJSON() ([]byte, error) {
if vmvfci.VmwareSiteID != nil {
objectMap["vmwareSiteId"] = vmvfci.VmwareSiteID
}
- if vmvfci.PhysicalSiteID != nil {
- objectMap["physicalSiteId"] = vmvfci.PhysicalSiteID
- }
if vmvfci.MigrationSolutionID != nil {
objectMap["migrationSolutionId"] = vmvfci.MigrationSolutionID
}
@@ -22966,14 +22568,10 @@ func (vmvfci VMwareV2FabricCreationInput) AsBasicFabricSpecificCreationInput() (
type VMwareV2FabricSpecificDetails struct {
// VmwareSiteID - READ-ONLY; The ARM Id of the VMware site.
VmwareSiteID *string `json:"vmwareSiteId,omitempty"`
- // PhysicalSiteID - READ-ONLY; The ARM Id of the physical site.
- PhysicalSiteID *string `json:"physicalSiteId,omitempty"`
// MigrationSolutionID - READ-ONLY; The Migration solution ARM Id.
MigrationSolutionID *string `json:"migrationSolutionId,omitempty"`
// ServiceEndpoint - READ-ONLY; The service endpoint.
ServiceEndpoint *string `json:"serviceEndpoint,omitempty"`
- // ServiceResourceID - READ-ONLY; The service resource Id.
- ServiceResourceID *string `json:"serviceResourceId,omitempty"`
// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2'
InstanceType InstanceTypeBasicFabricSpecificDetails `json:"instanceType,omitempty"`
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/operations.go
index 8b208199e8eb3..059030a8705e6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string, resourceGroupName string, resour
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/recoverypoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/recoverypoints.go
index b6d2e98382b09..817626e54f273 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/recoverypoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/recoverypoints.go
@@ -35,8 +35,7 @@ func NewRecoveryPointsClient(subscriptionID string, resourceGroupName string, re
return NewRecoveryPointsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client.
func NewRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) RecoveryPointsClient {
return RecoveryPointsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationalertsettings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationalertsettings.go
index 429e8817b2c95..3a4068b30bf72 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationalertsettings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationalertsettings.go
@@ -35,9 +35,7 @@ func NewReplicationAlertSettingsClient(subscriptionID string, resourceGroupName
return NewReplicationAlertSettingsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationAlertSettingsClientWithBaseURI creates an instance of the ReplicationAlertSettingsClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewReplicationAlertSettingsClientWithBaseURI creates an instance of the ReplicationAlertSettingsClient client.
func NewReplicationAlertSettingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationAlertSettingsClient {
return ReplicationAlertSettingsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationevents.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationevents.go
index 06246c9374692..01e2adfaaf89d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationevents.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationevents.go
@@ -35,9 +35,7 @@ func NewReplicationEventsClient(subscriptionID string, resourceGroupName string,
return NewReplicationEventsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationEventsClientWithBaseURI creates an instance of the ReplicationEventsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationEventsClientWithBaseURI creates an instance of the ReplicationEventsClient client.
func NewReplicationEventsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationEventsClient {
return ReplicationEventsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationfabrics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationfabrics.go
index 63d689ae22c15..0452ce5eacf4b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationfabrics.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationfabrics.go
@@ -35,9 +35,7 @@ func NewReplicationFabricsClient(subscriptionID string, resourceGroupName string
return NewReplicationFabricsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationFabricsClientWithBaseURI creates an instance of the ReplicationFabricsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationFabricsClientWithBaseURI creates an instance of the ReplicationFabricsClient client.
func NewReplicationFabricsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationFabricsClient {
return ReplicationFabricsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationjobs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationjobs.go
index a04d610f44a22..f03ff318e56af 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationjobs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationjobs.go
@@ -35,8 +35,7 @@ func NewReplicationJobsClient(subscriptionID string, resourceGroupName string, r
return NewReplicationJobsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationJobsClientWithBaseURI creates an instance of the ReplicationJobsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewReplicationJobsClientWithBaseURI creates an instance of the ReplicationJobsClient client.
func NewReplicationJobsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationJobsClient {
return ReplicationJobsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationlogicalnetworks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationlogicalnetworks.go
index 286f9b88114b9..4396d291df9c8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationlogicalnetworks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationlogicalnetworks.go
@@ -36,9 +36,7 @@ func NewReplicationLogicalNetworksClient(subscriptionID string, resourceGroupNam
return NewReplicationLogicalNetworksClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationLogicalNetworksClientWithBaseURI creates an instance of the ReplicationLogicalNetworksClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewReplicationLogicalNetworksClientWithBaseURI creates an instance of the ReplicationLogicalNetworksClient client.
func NewReplicationLogicalNetworksClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationLogicalNetworksClient {
return ReplicationLogicalNetworksClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationmigrationitems.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationmigrationitems.go
index 721b1c8afd9d7..435539833e951 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationmigrationitems.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationmigrationitems.go
@@ -36,9 +36,7 @@ func NewReplicationMigrationItemsClient(subscriptionID string, resourceGroupName
return NewReplicationMigrationItemsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationMigrationItemsClientWithBaseURI creates an instance of the ReplicationMigrationItemsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewReplicationMigrationItemsClientWithBaseURI creates an instance of the ReplicationMigrationItemsClient client.
func NewReplicationMigrationItemsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationMigrationItemsClient {
return ReplicationMigrationItemsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
@@ -630,97 +628,6 @@ func (client ReplicationMigrationItemsClient) MigrateResponder(resp *http.Respon
return
}
-// Resync the operation to resynchronize replication of an ASR migration item.
-// Parameters:
-// fabricName - fabric name.
-// protectionContainerName - protection container name.
-// migrationItemName - migration item name.
-// input - resync input.
-func (client ReplicationMigrationItemsClient) Resync(ctx context.Context, fabricName string, protectionContainerName string, migrationItemName string, input ResyncInput) (result ReplicationMigrationItemsResyncFuture, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/ReplicationMigrationItemsClient.Resync")
- defer func() {
- sc := -1
- if result.Response() != nil {
- sc = result.Response().StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- if err := validation.Validate([]validation.Validation{
- {TargetValue: input,
- Constraints: []validation.Constraint{{Target: "input.Properties", Name: validation.Null, Rule: true,
- Chain: []validation.Constraint{{Target: "input.Properties.ProviderSpecificDetails", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
- return result, validation.NewError("siterecovery.ReplicationMigrationItemsClient", "Resync", err.Error())
- }
-
- req, err := client.ResyncPreparer(ctx, fabricName, protectionContainerName, migrationItemName, input)
- if err != nil {
- err = autorest.NewErrorWithError(err, "siterecovery.ReplicationMigrationItemsClient", "Resync", nil, "Failure preparing request")
- return
- }
-
- result, err = client.ResyncSender(req)
- if err != nil {
- err = autorest.NewErrorWithError(err, "siterecovery.ReplicationMigrationItemsClient", "Resync", result.Response(), "Failure sending request")
- return
- }
-
- return
-}
-
-// ResyncPreparer prepares the Resync request.
-func (client ReplicationMigrationItemsClient) ResyncPreparer(ctx context.Context, fabricName string, protectionContainerName string, migrationItemName string, input ResyncInput) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "fabricName": autorest.Encode("path", fabricName),
- "migrationItemName": autorest.Encode("path", migrationItemName),
- "protectionContainerName": autorest.Encode("path", protectionContainerName),
- "resourceGroupName": autorest.Encode("path", client.ResourceGroupName),
- "resourceName": autorest.Encode("path", client.ResourceName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2018-01-10"
- 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.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resync", pathParameters),
- autorest.WithJSON(input),
- autorest.WithQueryParameters(queryParameters))
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ResyncSender sends the Resync request. The method will close the
-// http.Response Body if it receives an error.
-func (client ReplicationMigrationItemsClient) ResyncSender(req *http.Request) (future ReplicationMigrationItemsResyncFuture, err error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- var resp *http.Response
- resp, err = autorest.SendWithSender(client, req, sd...)
- if err != nil {
- return
- }
- future.Future, err = azure.NewFutureFromResponse(resp)
- return
-}
-
-// ResyncResponder handles the response to the Resync request. The method always
-// closes the http.Response Body.
-func (client ReplicationMigrationItemsClient) ResyncResponder(resp *http.Response) (result MigrationItem, err error) {
- err = autorest.Respond(
- resp,
- client.ByInspecting(),
- azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted),
- autorest.ByUnmarshallingJSON(&result),
- autorest.ByClosing())
- result.Response = autorest.Response{Response: resp}
- return
-}
-
// TestMigrate the operation to initiate test migration of the item.
// Parameters:
// fabricName - fabric name.
@@ -831,10 +738,7 @@ func (client ReplicationMigrationItemsClient) TestMigrateCleanup(ctx context.Con
}
if err := validation.Validate([]validation.Validation{
{TargetValue: testMigrateCleanupInput,
- Constraints: []validation.Constraint{{Target: "testMigrateCleanupInput.Properties", Name: validation.Null, Rule: true,
- Chain: []validation.Constraint{{Target: "testMigrateCleanupInput.Properties.Comments", Name: validation.Null, Rule: false,
- Chain: []validation.Constraint{{Target: "testMigrateCleanupInput.Properties.Comments", Name: validation.MaxLength, Rule: 1024, Chain: nil}}},
- }}}}}); err != nil {
+ Constraints: []validation.Constraint{{Target: "testMigrateCleanupInput.Properties", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
return result, validation.NewError("siterecovery.ReplicationMigrationItemsClient", "TestMigrateCleanup", err.Error())
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworkmappings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworkmappings.go
index 7e71d67bb2d1a..ec6701b0c3ac6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworkmappings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworkmappings.go
@@ -36,9 +36,7 @@ func NewReplicationNetworkMappingsClient(subscriptionID string, resourceGroupNam
return NewReplicationNetworkMappingsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationNetworkMappingsClientWithBaseURI creates an instance of the ReplicationNetworkMappingsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewReplicationNetworkMappingsClientWithBaseURI creates an instance of the ReplicationNetworkMappingsClient client.
func NewReplicationNetworkMappingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationNetworkMappingsClient {
return ReplicationNetworkMappingsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworks.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworks.go
index 0f5d482d060c5..f1b80a2f84172 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworks.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationnetworks.go
@@ -35,9 +35,7 @@ func NewReplicationNetworksClient(subscriptionID string, resourceGroupName strin
return NewReplicationNetworksClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationNetworksClientWithBaseURI creates an instance of the ReplicationNetworksClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationNetworksClientWithBaseURI creates an instance of the ReplicationNetworksClient client.
func NewReplicationNetworksClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationNetworksClient {
return ReplicationNetworksClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationpolicies.go
index 6fdf43775eb1b..a30ff01181310 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationpolicies.go
@@ -35,9 +35,7 @@ func NewReplicationPoliciesClient(subscriptionID string, resourceGroupName strin
return NewReplicationPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationPoliciesClientWithBaseURI creates an instance of the ReplicationPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationPoliciesClientWithBaseURI creates an instance of the ReplicationPoliciesClient client.
func NewReplicationPoliciesClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationPoliciesClient {
return ReplicationPoliciesClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectableitems.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectableitems.go
index c7f24e7410c98..c57d89a18272f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectableitems.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectableitems.go
@@ -36,9 +36,7 @@ func NewReplicationProtectableItemsClient(subscriptionID string, resourceGroupNa
return NewReplicationProtectableItemsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationProtectableItemsClientWithBaseURI creates an instance of the ReplicationProtectableItemsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewReplicationProtectableItemsClientWithBaseURI creates an instance of the ReplicationProtectableItemsClient client.
func NewReplicationProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectableItemsClient {
return ReplicationProtectableItemsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotecteditems.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotecteditems.go
index 5df58bb52af62..86a5afbb357a9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotecteditems.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotecteditems.go
@@ -36,9 +36,7 @@ func NewReplicationProtectedItemsClient(subscriptionID string, resourceGroupName
return NewReplicationProtectedItemsClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationProtectedItemsClientWithBaseURI creates an instance of the ReplicationProtectedItemsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewReplicationProtectedItemsClientWithBaseURI creates an instance of the ReplicationProtectedItemsClient client.
func NewReplicationProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectedItemsClient {
return ReplicationProtectedItemsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainermappings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainermappings.go
index 89c861d5df014..ffc0c718531fe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainermappings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainermappings.go
@@ -38,8 +38,7 @@ func NewReplicationProtectionContainerMappingsClient(subscriptionID string, reso
}
// NewReplicationProtectionContainerMappingsClientWithBaseURI creates an instance of the
-// ReplicationProtectionContainerMappingsClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ReplicationProtectionContainerMappingsClient client.
func NewReplicationProtectionContainerMappingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectionContainerMappingsClient {
return ReplicationProtectionContainerMappingsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainers.go
index de76639fd8140..c72beb44ac1ac 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationprotectioncontainers.go
@@ -37,8 +37,7 @@ func NewReplicationProtectionContainersClient(subscriptionID string, resourceGro
}
// NewReplicationProtectionContainersClientWithBaseURI creates an instance of the ReplicationProtectionContainersClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewReplicationProtectionContainersClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectionContainersClient {
return ReplicationProtectionContainersClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryplans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryplans.go
index dd0877e2c0f3a..56da9d58e9929 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryplans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryplans.go
@@ -36,9 +36,7 @@ func NewReplicationRecoveryPlansClient(subscriptionID string, resourceGroupName
return NewReplicationRecoveryPlansClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationRecoveryPlansClientWithBaseURI creates an instance of the ReplicationRecoveryPlansClient client using
-// a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewReplicationRecoveryPlansClientWithBaseURI creates an instance of the ReplicationRecoveryPlansClient client.
func NewReplicationRecoveryPlansClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationRecoveryPlansClient {
return ReplicationRecoveryPlansClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryservicesproviders.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryservicesproviders.go
index 5ad379d77730c..7567f7732a59c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryservicesproviders.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationrecoveryservicesproviders.go
@@ -39,8 +39,7 @@ func NewReplicationRecoveryServicesProvidersClient(subscriptionID string, resour
}
// NewReplicationRecoveryServicesProvidersClientWithBaseURI creates an instance of the
-// ReplicationRecoveryServicesProvidersClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ReplicationRecoveryServicesProvidersClient client.
func NewReplicationRecoveryServicesProvidersClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationRecoveryServicesProvidersClient {
return ReplicationRecoveryServicesProvidersClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassificationmappings.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassificationmappings.go
index 7931874b7dbcb..0ae22c9011b53 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassificationmappings.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassificationmappings.go
@@ -38,8 +38,7 @@ func NewReplicationStorageClassificationMappingsClient(subscriptionID string, re
}
// NewReplicationStorageClassificationMappingsClientWithBaseURI creates an instance of the
-// ReplicationStorageClassificationMappingsClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ReplicationStorageClassificationMappingsClient client.
func NewReplicationStorageClassificationMappingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationStorageClassificationMappingsClient {
return ReplicationStorageClassificationMappingsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassifications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassifications.go
index 0fcf81418e28c..a952053c336a2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassifications.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationstorageclassifications.go
@@ -38,8 +38,7 @@ func NewReplicationStorageClassificationsClient(subscriptionID string, resourceG
}
// NewReplicationStorageClassificationsClientWithBaseURI creates an instance of the
-// ReplicationStorageClassificationsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ReplicationStorageClassificationsClient client.
func NewReplicationStorageClassificationsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationStorageClassificationsClient {
return ReplicationStorageClassificationsClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvaulthealth.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvaulthealth.go
index 294f2e739e197..d31f3a232d12c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvaulthealth.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvaulthealth.go
@@ -35,9 +35,7 @@ func NewReplicationVaultHealthClient(subscriptionID string, resourceGroupName st
return NewReplicationVaultHealthClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationVaultHealthClientWithBaseURI creates an instance of the ReplicationVaultHealthClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewReplicationVaultHealthClientWithBaseURI creates an instance of the ReplicationVaultHealthClient client.
func NewReplicationVaultHealthClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationVaultHealthClient {
return ReplicationVaultHealthClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvcenters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvcenters.go
index 469c5d4c8a043..8126cfb15cec6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvcenters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/replicationvcenters.go
@@ -35,9 +35,7 @@ func NewReplicationvCentersClient(subscriptionID string, resourceGroupName strin
return NewReplicationvCentersClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewReplicationvCentersClientWithBaseURI creates an instance of the ReplicationvCentersClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewReplicationvCentersClientWithBaseURI creates an instance of the ReplicationvCentersClient client.
func NewReplicationvCentersClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationvCentersClient {
return ReplicationvCentersClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/targetcomputesizes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/targetcomputesizes.go
index 6cf4e838d440b..8e6c0f48d39b2 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/targetcomputesizes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-01-10/siterecovery/targetcomputesizes.go
@@ -35,9 +35,7 @@ func NewTargetComputeSizesClient(subscriptionID string, resourceGroupName string
return NewTargetComputeSizesClientWithBaseURI(DefaultBaseURI, subscriptionID, resourceGroupName, resourceName)
}
-// NewTargetComputeSizesClientWithBaseURI creates an instance of the TargetComputeSizesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewTargetComputeSizesClientWithBaseURI creates an instance of the TargetComputeSizesClient client.
func NewTargetComputeSizesClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) TargetComputeSizesClient {
return TargetComputeSizesClient{NewWithBaseURI(baseURI, subscriptionID, resourceGroupName, resourceName)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/backups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/backups.go
index 2a389bc1f90f2..a8efbd3c56baa 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/backups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/backups.go
@@ -35,8 +35,7 @@ func NewBackupsClient(subscriptionID string) BackupsClient {
return NewBackupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBackupsClientWithBaseURI creates an instance of the BackupsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBackupsClientWithBaseURI creates an instance of the BackupsClient client.
func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient {
return BackupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/client.go
index ee93a5b9b32b8..46ea059ebaf88 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/engines.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/engines.go
index fc9aa41d61e5e..b12a52d19b6cc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/engines.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/engines.go
@@ -35,8 +35,7 @@ func NewEnginesClient(subscriptionID string) EnginesClient {
return NewEnginesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEnginesClientWithBaseURI creates an instance of the EnginesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEnginesClientWithBaseURI creates an instance of the EnginesClient client.
func NewEnginesClientWithBaseURI(baseURI string, subscriptionID string) EnginesClient {
return EnginesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/exportjobsoperationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/exportjobsoperationresults.go
index 20baa3e1a1eeb..18c3bc00319ac 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/exportjobsoperationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/exportjobsoperationresults.go
@@ -35,9 +35,7 @@ func NewExportJobsOperationResultsClient(subscriptionID string) ExportJobsOperat
return NewExportJobsOperationResultsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewExportJobsOperationResultsClientWithBaseURI creates an instance of the ExportJobsOperationResultsClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewExportJobsOperationResultsClientWithBaseURI creates an instance of the ExportJobsOperationResultsClient client.
func NewExportJobsOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ExportJobsOperationResultsClient {
return ExportJobsOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go
index 92881d841fd9f..6f7d732b6e938 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go
@@ -35,8 +35,7 @@ func NewFeatureSupportClient(subscriptionID string) FeatureSupportClient {
return NewFeatureSupportClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFeatureSupportClientWithBaseURI creates an instance of the FeatureSupportClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFeatureSupportClientWithBaseURI creates an instance of the FeatureSupportClient client.
func NewFeatureSupportClientWithBaseURI(baseURI string, subscriptionID string) FeatureSupportClient {
return FeatureSupportClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/itemlevelrecoveryconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/itemlevelrecoveryconnections.go
index d6ba8b5e40378..bfde3e76ee524 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/itemlevelrecoveryconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/itemlevelrecoveryconnections.go
@@ -36,8 +36,7 @@ func NewItemLevelRecoveryConnectionsClient(subscriptionID string) ItemLevelRecov
}
// NewItemLevelRecoveryConnectionsClientWithBaseURI creates an instance of the ItemLevelRecoveryConnectionsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewItemLevelRecoveryConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ItemLevelRecoveryConnectionsClient {
return ItemLevelRecoveryConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobcancellations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobcancellations.go
index 8bb1babb25815..406e013459701 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobcancellations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobcancellations.go
@@ -35,9 +35,7 @@ func NewJobCancellationsClient(subscriptionID string) JobCancellationsClient {
return NewJobCancellationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobCancellationsClientWithBaseURI creates an instance of the JobCancellationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewJobCancellationsClientWithBaseURI creates an instance of the JobCancellationsClient client.
func NewJobCancellationsClientWithBaseURI(baseURI string, subscriptionID string) JobCancellationsClient {
return JobCancellationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go
index 4395dd59a3c20..3a1c4bb385f17 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go
@@ -35,8 +35,7 @@ func NewJobDetailsClient(subscriptionID string) JobDetailsClient {
return NewJobDetailsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobDetailsClientWithBaseURI creates an instance of the JobDetailsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobDetailsClientWithBaseURI creates an instance of the JobDetailsClient client.
func NewJobDetailsClientWithBaseURI(baseURI string, subscriptionID string) JobDetailsClient {
return JobDetailsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go
index 72c63dbbd2e4a..89b5865ac595b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go
@@ -35,9 +35,7 @@ func NewJobOperationResultsClient(subscriptionID string) JobOperationResultsClie
return NewJobOperationResultsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobOperationResultsClientWithBaseURI creates an instance of the JobOperationResultsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewJobOperationResultsClientWithBaseURI creates an instance of the JobOperationResultsClient client.
func NewJobOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) JobOperationResultsClient {
return JobOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go
index 750077af8d1de..e371ecfb1e01b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go
@@ -35,8 +35,7 @@ func NewJobsClient(subscriptionID string) JobsClient {
return NewJobsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobsClientWithBaseURI creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return JobsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go
index 7127ad9a597d0..338edb73f8e9e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go
@@ -35,8 +35,7 @@ func NewJobsGroupClient(subscriptionID string) JobsGroupClient {
return NewJobsGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobsGroupClientWithBaseURI creates an instance of the JobsGroupClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobsGroupClientWithBaseURI creates an instance of the JobsGroupClient client.
func NewJobsGroupClientWithBaseURI(baseURI string, subscriptionID string) JobsGroupClient {
return JobsGroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operation.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operation.go
index 26f04ada6cc72..dc66321c1f6cf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operation.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operation.go
@@ -35,8 +35,7 @@ func NewOperationClient(subscriptionID string) OperationClient {
return NewOperationClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationClientWithBaseURI creates an instance of the OperationClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationClientWithBaseURI creates an instance of the OperationClient client.
func NewOperationClientWithBaseURI(baseURI string, subscriptionID string) OperationClient {
return OperationClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationresults.go
index 4b9e75433bb07..e82ace5af78d9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationresults.go
@@ -35,9 +35,7 @@ func NewOperationResultsClient(subscriptionID string) OperationResultsClient {
return NewOperationResultsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client.
func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient {
return OperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operations.go
index 188a37bf8c15a..53f59482812ec 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationstatuses.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationstatuses.go
index c8c1b383eb8e3..b5c7ef6eebffc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationstatuses.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/operationstatuses.go
@@ -35,9 +35,7 @@ func NewOperationStatusesClient(subscriptionID string) OperationStatusesClient {
return NewOperationStatusesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient client.
func NewOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesClient {
return OperationStatusesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/policies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/policies.go
index ea3b37bdba2aa..ac93925c96c97 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/policies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/policies.go
@@ -35,8 +35,7 @@ func NewPoliciesClient(subscriptionID string) PoliciesClient {
return NewPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client.
func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient {
return PoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectablecontainers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectablecontainers.go
index 6340a1c1fd61e..0467090aa3538 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectablecontainers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectablecontainers.go
@@ -35,9 +35,7 @@ func NewProtectableContainersClient(subscriptionID string) ProtectableContainers
return NewProtectableContainersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectableContainersClientWithBaseURI creates an instance of the ProtectableContainersClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewProtectableContainersClientWithBaseURI creates an instance of the ProtectableContainersClient client.
func NewProtectableContainersClientWithBaseURI(baseURI string, subscriptionID string) ProtectableContainersClient {
return ProtectableContainersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectableitems.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectableitems.go
index 137522a855fb5..18b8d7f3f683b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectableitems.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectableitems.go
@@ -35,9 +35,7 @@ func NewProtectableItemsClient(subscriptionID string) ProtectableItemsClient {
return NewProtectableItemsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectableItemsClientWithBaseURI creates an instance of the ProtectableItemsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewProtectableItemsClientWithBaseURI creates an instance of the ProtectableItemsClient client.
func NewProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectableItemsClient {
return ProtectableItemsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationresults.go
index 2f8c59afd361b..956a7ccb55e4f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationresults.go
@@ -36,8 +36,7 @@ func NewProtectedItemOperationResultsClient(subscriptionID string) ProtectedItem
}
// NewProtectedItemOperationResultsClientWithBaseURI creates an instance of the ProtectedItemOperationResultsClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewProtectedItemOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationResultsClient {
return ProtectedItemOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationstatuses.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationstatuses.go
index 2c488d23be42c..5f5153a60b4f7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationstatuses.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationstatuses.go
@@ -36,8 +36,7 @@ func NewProtectedItemOperationStatusesClient(subscriptionID string) ProtectedIte
}
// NewProtectedItemOperationStatusesClientWithBaseURI creates an instance of the ProtectedItemOperationStatusesClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewProtectedItemOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationStatusesClient {
return ProtectedItemOperationStatusesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditems.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditems.go
index 6596587fc4671..9c50fa811d38c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditems.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditems.go
@@ -35,8 +35,7 @@ func NewProtectedItemsClient(subscriptionID string) ProtectedItemsClient {
return NewProtectedItemsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectedItemsClientWithBaseURI creates an instance of the ProtectedItemsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProtectedItemsClientWithBaseURI creates an instance of the ProtectedItemsClient client.
func NewProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemsClient {
return ProtectedItemsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go
index 6f016aaeb02de..0003d05eb5ed6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go
@@ -35,9 +35,7 @@ func NewProtectedItemsGroupClient(subscriptionID string) ProtectedItemsGroupClie
return NewProtectedItemsGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectedItemsGroupClientWithBaseURI creates an instance of the ProtectedItemsGroupClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewProtectedItemsGroupClientWithBaseURI creates an instance of the ProtectedItemsGroupClient client.
func NewProtectedItemsGroupClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemsGroupClient {
return ProtectedItemsGroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontaineroperationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontaineroperationresults.go
index 6e8533cf11945..7509f1f533a5f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontaineroperationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontaineroperationresults.go
@@ -37,8 +37,7 @@ func NewProtectionContainerOperationResultsClient(subscriptionID string) Protect
}
// NewProtectionContainerOperationResultsClientWithBaseURI creates an instance of the
-// ProtectionContainerOperationResultsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ProtectionContainerOperationResultsClient client.
func NewProtectionContainerOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerOperationResultsClient {
return ProtectionContainerOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainerrefreshoperationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainerrefreshoperationresults.go
index 5fde7c63f5c0e..423b836635c32 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainerrefreshoperationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainerrefreshoperationresults.go
@@ -37,8 +37,7 @@ func NewProtectionContainerRefreshOperationResultsClient(subscriptionID string)
}
// NewProtectionContainerRefreshOperationResultsClientWithBaseURI creates an instance of the
-// ProtectionContainerRefreshOperationResultsClient client using a custom endpoint. Use this when interacting with an
-// Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ProtectionContainerRefreshOperationResultsClient client.
func NewProtectionContainerRefreshOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerRefreshOperationResultsClient {
return ProtectionContainerRefreshOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainers.go
index 7c40fe0d2cc92..60649b4cbfc0c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainers.go
@@ -35,9 +35,7 @@ func NewProtectionContainersClient(subscriptionID string) ProtectionContainersCl
return NewProtectionContainersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectionContainersClientWithBaseURI creates an instance of the ProtectionContainersClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewProtectionContainersClientWithBaseURI creates an instance of the ProtectionContainersClient client.
func NewProtectionContainersClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainersClient {
return ProtectionContainersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainersgroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainersgroup.go
index 7d6de9dcfcea2..5895c5e0db01e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainersgroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainersgroup.go
@@ -35,9 +35,7 @@ func NewProtectionContainersGroupClient(subscriptionID string) ProtectionContain
return NewProtectionContainersGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectionContainersGroupClientWithBaseURI creates an instance of the ProtectionContainersGroupClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewProtectionContainersGroupClientWithBaseURI creates an instance of the ProtectionContainersGroupClient client.
func NewProtectionContainersGroupClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainersGroupClient {
return ProtectionContainersGroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintent.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintent.go
index 13ebf02ea8fca..b7bdac33115b6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintent.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintent.go
@@ -35,9 +35,7 @@ func NewProtectionIntentClient(subscriptionID string) ProtectionIntentClient {
return NewProtectionIntentClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectionIntentClientWithBaseURI creates an instance of the ProtectionIntentClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewProtectionIntentClientWithBaseURI creates an instance of the ProtectionIntentClient client.
func NewProtectionIntentClientWithBaseURI(baseURI string, subscriptionID string) ProtectionIntentClient {
return ProtectionIntentClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go
index 8dd9d8768722e..a94ebda293ae6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go
@@ -35,9 +35,7 @@ func NewProtectionIntentGroupClient(subscriptionID string) ProtectionIntentGroup
return NewProtectionIntentGroupClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectionIntentGroupClientWithBaseURI creates an instance of the ProtectionIntentGroupClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewProtectionIntentGroupClientWithBaseURI creates an instance of the ProtectionIntentGroupClient client.
func NewProtectionIntentGroupClientWithBaseURI(baseURI string, subscriptionID string) ProtectionIntentGroupClient {
return ProtectionIntentGroupClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicies.go
index 8adbc8243fa81..83f2afa24f439 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicies.go
@@ -35,9 +35,7 @@ func NewProtectionPoliciesClient(subscriptionID string) ProtectionPoliciesClient
return NewProtectionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProtectionPoliciesClientWithBaseURI creates an instance of the ProtectionPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewProtectionPoliciesClientWithBaseURI creates an instance of the ProtectionPoliciesClient client.
func NewProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPoliciesClient {
return ProtectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationresults.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationresults.go
index 99e395cb23ea5..4f004b44d86fb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationresults.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationresults.go
@@ -36,8 +36,7 @@ func NewProtectionPolicyOperationResultsClient(subscriptionID string) Protection
}
// NewProtectionPolicyOperationResultsClientWithBaseURI creates an instance of the
-// ProtectionPolicyOperationResultsClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ProtectionPolicyOperationResultsClient client.
func NewProtectionPolicyOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationResultsClient {
return ProtectionPolicyOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationstatuses.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationstatuses.go
index e22d4d8ed8be9..ac06686b38163 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationstatuses.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationstatuses.go
@@ -37,8 +37,7 @@ func NewProtectionPolicyOperationStatusesClient(subscriptionID string) Protectio
}
// NewProtectionPolicyOperationStatusesClientWithBaseURI creates an instance of the
-// ProtectionPolicyOperationStatusesClient client using a custom endpoint. Use this when interacting with an Azure
-// cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// ProtectionPolicyOperationStatusesClient client.
func NewProtectionPolicyOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationStatusesClient {
return ProtectionPolicyOperationStatusesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/recoverypoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/recoverypoints.go
index a376ad1e3b253..52e2f86980151 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/recoverypoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/recoverypoints.go
@@ -35,8 +35,7 @@ func NewRecoveryPointsClient(subscriptionID string) RecoveryPointsClient {
return NewRecoveryPointsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client.
func NewRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string) RecoveryPointsClient {
return RecoveryPointsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcestorageconfigs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcestorageconfigs.go
index cdbfd329774b3..ef3d82a86cd9c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcestorageconfigs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcestorageconfigs.go
@@ -35,9 +35,7 @@ func NewResourceStorageConfigsClient(subscriptionID string) ResourceStorageConfi
return NewResourceStorageConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceStorageConfigsClientWithBaseURI creates an instance of the ResourceStorageConfigsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewResourceStorageConfigsClientWithBaseURI creates an instance of the ResourceStorageConfigsClient client.
func NewResourceStorageConfigsClientWithBaseURI(baseURI string, subscriptionID string) ResourceStorageConfigsClient {
return ResourceStorageConfigsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcevaultconfigs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcevaultconfigs.go
index 58a49e322e20e..be1d140227b92 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcevaultconfigs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/resourcevaultconfigs.go
@@ -35,9 +35,7 @@ func NewResourceVaultConfigsClient(subscriptionID string) ResourceVaultConfigsCl
return NewResourceVaultConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceVaultConfigsClientWithBaseURI creates an instance of the ResourceVaultConfigsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewResourceVaultConfigsClientWithBaseURI creates an instance of the ResourceVaultConfigsClient client.
func NewResourceVaultConfigsClientWithBaseURI(baseURI string, subscriptionID string) ResourceVaultConfigsClient {
return ResourceVaultConfigsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/restores.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/restores.go
index 09dbfea0e029f..ae81caf616b17 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/restores.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/restores.go
@@ -35,8 +35,7 @@ func NewRestoresClient(subscriptionID string) RestoresClient {
return NewRestoresClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRestoresClientWithBaseURI creates an instance of the RestoresClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRestoresClientWithBaseURI creates an instance of the RestoresClient client.
func NewRestoresClientWithBaseURI(baseURI string, subscriptionID string) RestoresClient {
return RestoresClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/securitypins.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/securitypins.go
index c34b255d99fdf..281905c96c537 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/securitypins.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/securitypins.go
@@ -35,8 +35,7 @@ func NewSecurityPINsClient(subscriptionID string) SecurityPINsClient {
return NewSecurityPINsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSecurityPINsClientWithBaseURI creates an instance of the SecurityPINsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSecurityPINsClientWithBaseURI creates an instance of the SecurityPINsClient client.
func NewSecurityPINsClientWithBaseURI(baseURI string, subscriptionID string) SecurityPINsClient {
return SecurityPINsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/status.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/status.go
index c0cf0a6839a16..65843f448fc1b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/status.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/status.go
@@ -35,8 +35,7 @@ func NewStatusClient(subscriptionID string) StatusClient {
return NewStatusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewStatusClientWithBaseURI creates an instance of the StatusClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewStatusClientWithBaseURI creates an instance of the StatusClient client.
func NewStatusClientWithBaseURI(baseURI string, subscriptionID string) StatusClient {
return StatusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go
index 6f8638ddb7499..f671a15223aeb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go
@@ -35,8 +35,7 @@ func NewUsageSummariesClient(subscriptionID string) UsageSummariesClient {
return NewUsageSummariesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsageSummariesClientWithBaseURI creates an instance of the UsageSummariesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsageSummariesClientWithBaseURI creates an instance of the UsageSummariesClient client.
func NewUsageSummariesClientWithBaseURI(baseURI string, subscriptionID string) UsageSummariesClient {
return UsageSummariesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/workloaditems.go b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/workloaditems.go
index b5585cf4ea5f5..8523e8ce4bb69 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/workloaditems.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2019-05-13/backup/workloaditems.go
@@ -35,8 +35,7 @@ func NewWorkloadItemsClient(subscriptionID string) WorkloadItemsClient {
return NewWorkloadItemsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWorkloadItemsClientWithBaseURI creates an instance of the WorkloadItemsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWorkloadItemsClientWithBaseURI creates an instance of the WorkloadItemsClient client.
func NewWorkloadItemsClientWithBaseURI(baseURI string, subscriptionID string) WorkloadItemsClient {
return WorkloadItemsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/client.go
index 682580577607b..a22618843a8d1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
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 a8a2179436f03..a23c4828b8968 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
@@ -36,8 +36,7 @@ func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 0f986b7115f06..4cd0a5ed8b670 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
@@ -36,8 +36,7 @@ func NewLinkedServerClient(subscriptionID string) LinkedServerClient {
return NewLinkedServerClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewLinkedServerClientWithBaseURI creates an instance of the LinkedServerClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewLinkedServerClientWithBaseURI creates an instance of the LinkedServerClient client.
func NewLinkedServerClientWithBaseURI(baseURI string, subscriptionID string) LinkedServerClient {
return LinkedServerClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/operations.go
index a367cca6cbf95..57d57de10aee8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2018-03-01/redis/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 3a7ff4b17241b..885a1134d6d50 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
@@ -36,8 +36,7 @@ func NewPatchSchedulesClient(subscriptionID string) PatchSchedulesClient {
return NewPatchSchedulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPatchSchedulesClientWithBaseURI creates an instance of the PatchSchedulesClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewPatchSchedulesClientWithBaseURI creates an instance of the PatchSchedulesClient client.
func NewPatchSchedulesClientWithBaseURI(baseURI string, subscriptionID string) PatchSchedulesClient {
return PatchSchedulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 d520b08430d28..6ae5cb043d1c8 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
@@ -36,8 +36,7 @@ func NewClient(subscriptionID string) Client {
return NewClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return Client{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/client.go
index 453ef081c8f98..a881d83d13560 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/hybridconnections.go b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/hybridconnections.go
index 399d208e2f568..5f6dcd71f73d6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/hybridconnections.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/hybridconnections.go
@@ -36,9 +36,7 @@ func NewHybridConnectionsClient(subscriptionID string) HybridConnectionsClient {
return NewHybridConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewHybridConnectionsClientWithBaseURI creates an instance of the HybridConnectionsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewHybridConnectionsClientWithBaseURI creates an instance of the HybridConnectionsClient client.
func NewHybridConnectionsClientWithBaseURI(baseURI string, subscriptionID string) HybridConnectionsClient {
return HybridConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/namespaces.go b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/namespaces.go
index d5c70d11ac36e..fe5eed35c4361 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/namespaces.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/namespaces.go
@@ -36,8 +36,7 @@ func NewNamespacesClient(subscriptionID string) NamespacesClient {
return NewNamespacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.
func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient {
return NamespacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/operations.go
index 93fec626a4116..39a46a658ff2c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/wcfrelays.go b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/wcfrelays.go
index 1d4a26e340519..5daffc7f2597b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/wcfrelays.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/relay/mgmt/2017-04-01/relay/wcfrelays.go
@@ -36,8 +36,7 @@ func NewWCFRelaysClient(subscriptionID string) WCFRelaysClient {
return NewWCFRelaysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWCFRelaysClientWithBaseURI creates an instance of the WCFRelaysClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWCFRelaysClientWithBaseURI creates an instance of the WCFRelaysClient client.
func NewWCFRelaysClientWithBaseURI(baseURI string, subscriptionID string) WCFRelaysClient {
return WCFRelaysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/client.go
index 6ccee4c9fa47b..a25b93f1110ea 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deploymentoperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deploymentoperations.go
index ab53d8a0198af..3047aa00bea3e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deploymentoperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deploymentoperations.go
@@ -36,9 +36,7 @@ func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsCl
return NewDeploymentOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDeploymentOperationsClientWithBaseURI creates an instance of the DeploymentOperationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDeploymentOperationsClientWithBaseURI creates an instance of the DeploymentOperationsClient client.
func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient {
return DeploymentOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deployments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deployments.go
index 9f62ce2f48d76..184c1fecc82c1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deployments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/deployments.go
@@ -36,8 +36,7 @@ func NewDeploymentsClient(subscriptionID string) DeploymentsClient {
return NewDeploymentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client.
func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient {
return DeploymentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/groups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/groups.go
index a709caf08793e..9858b639bf421 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/groups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/groups.go
@@ -36,8 +36,7 @@ func NewGroupsClient(subscriptionID string) GroupsClient {
return NewGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGroupsClientWithBaseURI creates an instance of the GroupsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGroupsClientWithBaseURI creates an instance of the GroupsClient client.
func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient {
return GroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/providers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/providers.go
index 3d472565ceb52..7ba9bdfc81d4e 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/providers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/providers.go
@@ -35,8 +35,7 @@ func NewProvidersClient(subscriptionID string) ProvidersClient {
return NewProvidersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProvidersClientWithBaseURI creates an instance of the ProvidersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProvidersClientWithBaseURI creates an instance of the ProvidersClient client.
func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient {
return ProvidersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/resources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/resources.go
index 135d2c2f2c775..3c74b158a07ac 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/resources.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/resources.go
@@ -36,8 +36,7 @@ func NewClient(subscriptionID string) Client {
return NewClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return Client{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/tags.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/tags.go
index f2aa5a0d40644..62f9d05b9e820 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/tags.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/tags.go
@@ -35,8 +35,7 @@ func NewTagsClient(subscriptionID string) TagsClient {
return NewTagsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTagsClientWithBaseURI creates an instance of the TagsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTagsClientWithBaseURI creates an instance of the TagsClient client.
func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient {
return TagsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/authorizationoperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/authorizationoperations.go
index 5530eb1c77736..44bfbf813a877 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/authorizationoperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/authorizationoperations.go
@@ -36,9 +36,7 @@ func NewAuthorizationOperationsClient(subscriptionID string) AuthorizationOperat
return NewAuthorizationOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAuthorizationOperationsClientWithBaseURI creates an instance of the AuthorizationOperationsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewAuthorizationOperationsClientWithBaseURI creates an instance of the AuthorizationOperationsClient client.
func NewAuthorizationOperationsClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationOperationsClient {
return AuthorizationOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/client.go
index cd3e815da8c03..823e992274888 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
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 3057f96f715fa..0d36a4221903a 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
@@ -37,8 +37,7 @@ func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
return NewManagementLocksClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagementLocksClientWithBaseURI creates an instance of the ManagementLocksClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewManagementLocksClientWithBaseURI creates an instance of the ManagementLocksClient client.
func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
return ManagementLocksClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/assignments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/assignments.go
index bbd2795bb7e5f..9832814df636d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/assignments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/assignments.go
@@ -37,8 +37,7 @@ func NewAssignmentsClient(subscriptionID string) AssignmentsClient {
return NewAssignmentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAssignmentsClientWithBaseURI creates an instance of the AssignmentsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAssignmentsClientWithBaseURI creates an instance of the AssignmentsClient client.
func NewAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) AssignmentsClient {
return AssignmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/client.go
index 4719a640da54d..d00e906714053 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/definitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/definitions.go
index e5b8c98fcb4cc..75fe8f3cec1a6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/definitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/definitions.go
@@ -36,8 +36,7 @@ func NewDefinitionsClient(subscriptionID string) DefinitionsClient {
return NewDefinitionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDefinitionsClientWithBaseURI creates an instance of the DefinitionsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDefinitionsClientWithBaseURI creates an instance of the DefinitionsClient client.
func NewDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) DefinitionsClient {
return DefinitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/setdefinitions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/setdefinitions.go
index af306d1e52302..d8685122beb91 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/setdefinitions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/policy/setdefinitions.go
@@ -37,8 +37,7 @@ func NewSetDefinitionsClient(subscriptionID string) SetDefinitionsClient {
return NewSetDefinitionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSetDefinitionsClientWithBaseURI creates an instance of the SetDefinitionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSetDefinitionsClientWithBaseURI creates an instance of the SetDefinitionsClient client.
func NewSetDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) SetDefinitionsClient {
return SetDefinitionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/client.go
index 813a11e5d79d5..db48ee8e8a7ba 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deploymentoperations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deploymentoperations.go
index 3b08065530177..68281b2dd69b9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deploymentoperations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deploymentoperations.go
@@ -36,9 +36,7 @@ func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsCl
return NewDeploymentOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDeploymentOperationsClientWithBaseURI creates an instance of the DeploymentOperationsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewDeploymentOperationsClientWithBaseURI creates an instance of the DeploymentOperationsClient client.
func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient {
return DeploymentOperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deployments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deployments.go
index e7b927bcb6d31..24aca4044097b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deployments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/deployments.go
@@ -36,8 +36,7 @@ func NewDeploymentsClient(subscriptionID string) DeploymentsClient {
return NewDeploymentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient client.
func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient {
return DeploymentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/groups.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/groups.go
index 4b6b7ee257dbb..4e2fd36fc0880 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/groups.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/groups.go
@@ -36,8 +36,7 @@ func NewGroupsClient(subscriptionID string) GroupsClient {
return NewGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGroupsClientWithBaseURI creates an instance of the GroupsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewGroupsClientWithBaseURI creates an instance of the GroupsClient client.
func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient {
return GroupsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/operations.go
index 06cb552b710ef..86be2815ff01b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/providers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/providers.go
index e62a605df06c5..60938122a1ef5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/providers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/providers.go
@@ -35,8 +35,7 @@ func NewProvidersClient(subscriptionID string) ProvidersClient {
return NewProvidersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProvidersClientWithBaseURI creates an instance of the ProvidersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProvidersClientWithBaseURI creates an instance of the ProvidersClient client.
func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient {
return ProvidersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/resources.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/resources.go
index c9184b66a536f..b98d8902b4d6a 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/resources.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/resources.go
@@ -36,8 +36,7 @@ func NewClient(subscriptionID string) Client {
return NewClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return Client{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/tags.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/tags.go
index eb12f84e6af45..826ac2597b3f4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/tags.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-05-01/resources/tags.go
@@ -35,8 +35,7 @@ func NewTagsClient(subscriptionID string) TagsClient {
return NewTagsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTagsClientWithBaseURI creates an instance of the TagsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTagsClientWithBaseURI creates an instance of the TagsClient client.
func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient {
return TagsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/client.go
index 799aa258add88..3bf047ef1284f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/client.go
@@ -42,8 +42,7 @@ func New() BaseClient {
return NewWithBaseURI(DefaultBaseURI)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/operations.go
index a4284db9dd17e..f3443ff3e47ea 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/operations.go
@@ -37,8 +37,7 @@ func NewOperationsClient() OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/subscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/subscriptions.go
index be30831d70541..f6c2fdf51b3fa 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/subscriptions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/subscriptions.go
@@ -37,8 +37,7 @@ func NewClient() Client {
return NewClientWithBaseURI(DefaultBaseURI)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string) Client {
return Client{NewWithBaseURI(baseURI)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/tenants.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/tenants.go
index 274b72ff07eb6..4874da6b4bc53 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/tenants.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/tenants.go
@@ -37,8 +37,7 @@ func NewTenantsClient() TenantsClient {
return NewTenantsClientWithBaseURI(DefaultBaseURI)
}
-// NewTenantsClientWithBaseURI creates an instance of the TenantsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTenantsClientWithBaseURI creates an instance of the TenantsClient client.
func NewTenantsClientWithBaseURI(baseURI string) TenantsClient {
return TenantsClient{NewWithBaseURI(baseURI)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/client.go
index 91afb667f1587..014a36f64ae9b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
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 eb270c42f9f99..9f72059704c9d 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
@@ -35,8 +35,7 @@ func NewJobCollectionsClient(subscriptionID string) JobCollectionsClient {
return NewJobCollectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobCollectionsClientWithBaseURI creates an instance of the JobCollectionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobCollectionsClientWithBaseURI creates an instance of the JobCollectionsClient client.
func NewJobCollectionsClientWithBaseURI(baseURI string, subscriptionID string) JobCollectionsClient {
return JobCollectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 8ac64632238f1..6a1489d7b0929 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
@@ -36,8 +36,7 @@ func NewJobsClient(subscriptionID string) JobsClient {
return NewJobsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewJobsClientWithBaseURI creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return JobsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 9a463f9639435..b010a77138e8b 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
@@ -26,7 +26,7 @@ import (
"net/http"
)
-// AdminKeysClient is the client that can be used to manage Azure Cognitive Search services and API keys.
+// AdminKeysClient is the client that can be used to manage Azure Search services and API keys.
type AdminKeysClient struct {
BaseClient
}
@@ -36,18 +36,16 @@ func NewAdminKeysClient(subscriptionID string) AdminKeysClient {
return NewAdminKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAdminKeysClientWithBaseURI creates an instance of the AdminKeysClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAdminKeysClientWithBaseURI creates an instance of the AdminKeysClient client.
func NewAdminKeysClientWithBaseURI(baseURI string, subscriptionID string) AdminKeysClient {
return AdminKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
-// Get gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
+// Get gets the primary and secondary admin API keys for the specified Azure Search service.
// 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 Cognitive Search service associated with the specified resource
-// group.
+// 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) {
@@ -131,8 +129,7 @@ func (client AdminKeysClient) GetResponder(resp *http.Response) (result AdminKey
// 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 Cognitive Search service associated with the specified resource
-// group.
+// 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.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/client.go
index 74568b61ce2ed..e5102bebfbe52 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/client.go
@@ -1,6 +1,6 @@
// Package search implements the Azure ARM Search service API version 2015-08-19.
//
-// Client that can be used to manage Azure Cognitive Search services and API keys.
+// Client that can be used to manage Azure Search services and API keys.
package search
// Copyright (c) Microsoft and contributors. All rights reserved.
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/models.go
index 4f21db7a21947..6b65eba75efa9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/models.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/models.go
@@ -153,8 +153,8 @@ func PossibleUnavailableNameReasonValues() []UnavailableNameReason {
return []UnavailableNameReason{AlreadyExists, Invalid}
}
-// AdminKeyResult response containing the primary and secondary admin API keys for a given Azure Cognitive
-// Search service.
+// AdminKeyResult response containing the primary and secondary admin API keys for a given Azure Search
+// service.
type AdminKeyResult struct {
autorest.Response `json:"-"`
// PrimaryKey - READ-ONLY; The primary admin API key of the Search service.
@@ -210,10 +210,10 @@ type Identity struct {
Type IdentityType `json:"type,omitempty"`
}
-// ListQueryKeysResult response containing the query API keys for a given Azure Cognitive Search service.
+// ListQueryKeysResult response containing the query API keys for a given Azure Search service.
type ListQueryKeysResult struct {
autorest.Response `json:"-"`
- // Value - READ-ONLY; The query keys for the Azure Cognitive Search service.
+ // Value - READ-ONLY; The query keys for the Azure Search service.
Value *[]QueryKey `json:"value,omitempty"`
}
@@ -247,8 +247,8 @@ type OperationListResult struct {
NextLink *string `json:"nextLink,omitempty"`
}
-// QueryKey describes an API key for a given Azure Cognitive Search service that has permissions for query
-// operations only.
+// QueryKey describes an API key for a given Azure Search service that has permissions for query operations
+// only.
type QueryKey struct {
autorest.Response `json:"-"`
// Name - READ-ONLY; The name of the query API key; may be empty.
@@ -288,7 +288,7 @@ func (r Resource) MarshalJSON() ([]byte, error) {
return json.Marshal(objectMap)
}
-// Service describes an Azure Cognitive Search service and its current state.
+// Service describes an Azure Search service and its current state.
type Service struct {
autorest.Response `json:"-"`
// ServiceProperties - Properties of the Search service.
@@ -417,7 +417,7 @@ func (s *Service) UnmarshalJSON(body []byte) error {
return nil
}
-// ServiceListResult response containing a list of Azure Cognitive Search services.
+// ServiceListResult response containing a list of Azure Search services.
type ServiceListResult struct {
autorest.Response `json:"-"`
// Value - READ-ONLY; The list of Search services.
@@ -432,7 +432,7 @@ type ServiceProperties struct {
PartitionCount *int32 `json:"partitionCount,omitempty"`
// HostingMode - Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. Possible values include: 'Default', 'HighDensity'
HostingMode HostingMode `json:"hostingMode,omitempty"`
- // Status - READ-ONLY; The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Cognitive Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Possible values include: 'ServiceStatusRunning', 'ServiceStatusProvisioning', 'ServiceStatusDeleting', 'ServiceStatusDegraded', 'ServiceStatusDisabled', 'ServiceStatusError'
+ // Status - READ-ONLY; The status of the Search service. Possible values include: 'running': The Search service is running and no provisioning operations are underway. 'provisioning': The Search service is being provisioned or scaled up or down. 'deleting': The Search service is being deleted. 'degraded': The Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The Search service is disabled. In this state, the service will reject all API requests. 'error': The Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Possible values include: 'ServiceStatusRunning', 'ServiceStatusProvisioning', 'ServiceStatusDeleting', 'ServiceStatusDegraded', 'ServiceStatusDisabled', 'ServiceStatusError'
Status ServiceStatus `json:"status,omitempty"`
// StatusDetails - READ-ONLY; The details of the Search service status.
StatusDetails *string `json:"statusDetails,omitempty"`
@@ -469,8 +469,7 @@ func (future *ServicesCreateOrUpdateFuture) Result(client ServicesClient) (s Ser
return
}
-// Sku defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity
-// limits.
+// Sku defines the SKU of an Azure Search Service, which determines price tier and capacity limits.
type Sku struct {
// Name - The SKU of the Search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.'. Possible values include: 'Free', 'Basic', 'Standard', 'Standard2', 'Standard3', 'StorageOptimizedL1', 'StorageOptimizedL2'
Name SkuName `json:"name,omitempty"`
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/operations.go
index 02ff6d76cb3cd..877f46029f7e8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search/operations.go
@@ -25,7 +25,7 @@ import (
"net/http"
)
-// OperationsClient is the client that can be used to manage Azure Cognitive Search services and API keys.
+// OperationsClient is the client that can be used to manage Azure Search services and API keys.
type OperationsClient struct {
BaseClient
}
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 76350f77d6091..09b87fc88bfb8 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
@@ -26,7 +26,7 @@ import (
"net/http"
)
-// QueryKeysClient is the client that can be used to manage Azure Cognitive Search services and API keys.
+// QueryKeysClient is the client that can be used to manage Azure Search services and API keys.
type QueryKeysClient struct {
BaseClient
}
@@ -36,8 +36,7 @@ func NewQueryKeysClient(subscriptionID string) QueryKeysClient {
return NewQueryKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewQueryKeysClientWithBaseURI creates an instance of the QueryKeysClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewQueryKeysClientWithBaseURI creates an instance of the QueryKeysClient client.
func NewQueryKeysClientWithBaseURI(baseURI string, subscriptionID string) QueryKeysClient {
return QueryKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
@@ -46,8 +45,7 @@ func NewQueryKeysClientWithBaseURI(baseURI string, subscriptionID string) QueryK
// 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 Cognitive Search service associated with the specified resource
-// group.
+// 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.
@@ -134,8 +132,7 @@ func (client QueryKeysClient) CreateResponder(resp *http.Response) (result Query
// 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 Cognitive Search service associated with the specified resource
-// group.
+// 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.
@@ -216,12 +213,11 @@ func (client QueryKeysClient) DeleteResponder(resp *http.Response) (result autor
return
}
-// ListBySearchService returns the list of query API keys for the given Azure Cognitive Search service.
+// ListBySearchService returns the list of query API keys for the given Azure Search service.
// 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 Cognitive Search service associated with the specified resource
-// group.
+// 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) {
@@ -270,7 +266,7 @@ func (client QueryKeysClient) ListBySearchServicePreparer(ctx context.Context, r
}
preparer := autorest.CreatePreparer(
- autorest.AsPost(),
+ autorest.AsGet(),
autorest.WithBaseURL(client.BaseURI),
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys", pathParameters),
autorest.WithQueryParameters(queryParameters))
@@ -300,88 +296,3 @@ func (client QueryKeysClient) ListBySearchServiceResponder(resp *http.Response)
result.Response = autorest.Response{Response: resp}
return
}
-
-// ListBySearchServiceGet returns the list of query API keys for the given Azure Cognitive Search service.
-// 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 Cognitive 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) ListBySearchServiceGet(ctx context.Context, resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (result ListQueryKeysResult, err error) {
- if tracing.IsEnabled() {
- ctx = tracing.StartSpan(ctx, fqdn+"/QueryKeysClient.ListBySearchServiceGet")
- defer func() {
- sc := -1
- if result.Response.Response != nil {
- sc = result.Response.Response.StatusCode
- }
- tracing.EndSpan(ctx, sc, err)
- }()
- }
- req, err := client.ListBySearchServiceGetPreparer(ctx, resourceGroupName, searchServiceName, clientRequestID)
- if err != nil {
- err = autorest.NewErrorWithError(err, "search.QueryKeysClient", "ListBySearchServiceGet", nil, "Failure preparing request")
- return
- }
-
- resp, err := client.ListBySearchServiceGetSender(req)
- if err != nil {
- result.Response = autorest.Response{Response: resp}
- err = autorest.NewErrorWithError(err, "search.QueryKeysClient", "ListBySearchServiceGet", resp, "Failure sending request")
- return
- }
-
- result, err = client.ListBySearchServiceGetResponder(resp)
- if err != nil {
- err = autorest.NewErrorWithError(err, "search.QueryKeysClient", "ListBySearchServiceGet", resp, "Failure responding to request")
- }
-
- return
-}
-
-// ListBySearchServiceGetPreparer prepares the ListBySearchServiceGet request.
-func (client QueryKeysClient) ListBySearchServiceGetPreparer(ctx context.Context, resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (*http.Request, error) {
- pathParameters := map[string]interface{}{
- "resourceGroupName": autorest.Encode("path", resourceGroupName),
- "searchServiceName": autorest.Encode("path", searchServiceName),
- "subscriptionId": autorest.Encode("path", client.SubscriptionID),
- }
-
- const APIVersion = "2015-08-19"
- queryParameters := map[string]interface{}{
- "api-version": APIVersion,
- }
-
- preparer := autorest.CreatePreparer(
- autorest.AsGet(),
- autorest.WithBaseURL(client.BaseURI),
- autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys", pathParameters),
- autorest.WithQueryParameters(queryParameters))
- if clientRequestID != nil {
- preparer = autorest.DecoratePreparer(preparer,
- autorest.WithHeader("x-ms-client-request-id", autorest.String(clientRequestID)))
- }
- return preparer.Prepare((&http.Request{}).WithContext(ctx))
-}
-
-// ListBySearchServiceGetSender sends the ListBySearchServiceGet request. The method will close the
-// http.Response Body if it receives an error.
-func (client QueryKeysClient) ListBySearchServiceGetSender(req *http.Request) (*http.Response, error) {
- sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client))
- return autorest.SendWithSender(client, req, sd...)
-}
-
-// ListBySearchServiceGetResponder handles the response to the ListBySearchServiceGet request. The method always
-// closes the http.Response Body.
-func (client QueryKeysClient) ListBySearchServiceGetResponder(resp *http.Response) (result ListQueryKeysResult, 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/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 ccd04d13bd217..518521c4c01fc 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
@@ -27,7 +27,7 @@ import (
"net/http"
)
-// ServicesClient is the client that can be used to manage Azure Cognitive Search services and API keys.
+// ServicesClient is the client that can be used to manage Azure Search services and API keys.
type ServicesClient struct {
BaseClient
}
@@ -37,8 +37,7 @@ func NewServicesClient(subscriptionID string) ServicesClient {
return NewServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServicesClientWithBaseURI creates an instance of the ServicesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServicesClientWithBaseURI creates an instance of the ServicesClient client.
func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
return ServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
@@ -138,11 +137,11 @@ func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response)
// 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 Cognitive 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.
+// 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.
@@ -244,8 +243,7 @@ func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (resul
// 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 Cognitive Search service associated with the specified resource
-// group.
+// 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) {
@@ -328,8 +326,7 @@ func (client ServicesClient) DeleteResponder(resp *http.Response) (result autore
// 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 Cognitive Search service associated with the specified resource
-// group.
+// 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) {
@@ -574,7 +571,7 @@ func (client ServicesClient) ListBySubscriptionResponder(resp *http.Response) (r
// 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 Cognitive Search service to update.
+// 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.
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/client.go
index 2c52d76272ece..d061bd5a506f0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
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 d8c0622bee2dd..dd9f7bb85168f 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
@@ -36,9 +36,7 @@ func NewDisasterRecoveryConfigsClient(subscriptionID string) DisasterRecoveryCon
return NewDisasterRecoveryConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDisasterRecoveryConfigsClientWithBaseURI creates an instance of the DisasterRecoveryConfigsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewDisasterRecoveryConfigsClientWithBaseURI creates an instance of the DisasterRecoveryConfigsClient client.
func NewDisasterRecoveryConfigsClientWithBaseURI(baseURI string, subscriptionID string) DisasterRecoveryConfigsClient {
return DisasterRecoveryConfigsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 f011979deb437..ac2c1df100a02 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
@@ -36,8 +36,7 @@ func NewEventHubsClient(subscriptionID string) EventHubsClient {
return NewEventHubsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEventHubsClientWithBaseURI creates an instance of the EventHubsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEventHubsClientWithBaseURI creates an instance of the EventHubsClient client.
func NewEventHubsClientWithBaseURI(baseURI string, subscriptionID string) EventHubsClient {
return EventHubsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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
index 8712ef9be141e..6e1d2d21f497e 100644
--- 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
@@ -36,9 +36,7 @@ func NewMigrationConfigsClient(subscriptionID string) MigrationConfigsClient {
return NewMigrationConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewMigrationConfigsClientWithBaseURI creates an instance of the MigrationConfigsClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewMigrationConfigsClientWithBaseURI creates an instance of the MigrationConfigsClient client.
func NewMigrationConfigsClientWithBaseURI(baseURI string, subscriptionID string) MigrationConfigsClient {
return MigrationConfigsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 de0759464e3fa..e9034b3b14cba 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
@@ -36,8 +36,7 @@ func NewNamespacesClient(subscriptionID string) NamespacesClient {
return NewNamespacesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewNamespacesClientWithBaseURI creates an instance of the NamespacesClient client.
func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient {
return NamespacesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/operations.go
index 4ff26d20b587e..7fe64bdd817a9 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/premiummessagingregions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/premiummessagingregions.go
index f69505d5b5c25..3fbb68a3e6a8d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/premiummessagingregions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus/premiummessagingregions.go
@@ -35,9 +35,7 @@ func NewPremiumMessagingRegionsClient(subscriptionID string) PremiumMessagingReg
return NewPremiumMessagingRegionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewPremiumMessagingRegionsClientWithBaseURI creates an instance of the PremiumMessagingRegionsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewPremiumMessagingRegionsClientWithBaseURI creates an instance of the PremiumMessagingRegionsClient client.
func NewPremiumMessagingRegionsClientWithBaseURI(baseURI string, subscriptionID string) PremiumMessagingRegionsClient {
return PremiumMessagingRegionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 a747acf0e98d9..2c0c1c04b6965 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
@@ -36,8 +36,7 @@ func NewQueuesClient(subscriptionID string) QueuesClient {
return NewQueuesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewQueuesClientWithBaseURI creates an instance of the QueuesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewQueuesClientWithBaseURI creates an instance of the QueuesClient client.
func NewQueuesClientWithBaseURI(baseURI string, subscriptionID string) QueuesClient {
return QueuesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 29a9c7a2e6057..416bec3f5651e 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
@@ -36,8 +36,7 @@ func NewRegionsClient(subscriptionID string) RegionsClient {
return NewRegionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRegionsClientWithBaseURI creates an instance of the RegionsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRegionsClientWithBaseURI creates an instance of the RegionsClient client.
func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsClient {
return RegionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 49eb43acab9ef..52138da6134bc 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
@@ -36,8 +36,7 @@ func NewRulesClient(subscriptionID string) RulesClient {
return NewRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRulesClientWithBaseURI creates an instance of the RulesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRulesClientWithBaseURI creates an instance of the RulesClient client.
func NewRulesClientWithBaseURI(baseURI string, subscriptionID string) RulesClient {
return RulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 5db214ebac01f..118d6679eccbb 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
@@ -36,8 +36,7 @@ func NewSubscriptionsClient(subscriptionID string) SubscriptionsClient {
return NewSubscriptionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client.
func NewSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionsClient {
return SubscriptionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 29d02c881d939..7d625a497fbfc 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
@@ -36,8 +36,7 @@ func NewTopicsClient(subscriptionID string) TopicsClient {
return NewTopicsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTopicsClientWithBaseURI creates an instance of the TopicsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTopicsClientWithBaseURI creates an instance of the TopicsClient client.
func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient {
return TopicsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applications.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applications.go
index 23470d6971ab0..6c0a9e30423e5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applications.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applications.go
@@ -35,8 +35,7 @@ func NewApplicationsClient(subscriptionID string) ApplicationsClient {
return NewApplicationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client.
func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient {
return ApplicationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypes.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypes.go
index e409c54fa8b4d..d13c129ed0011 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypes.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypes.go
@@ -35,9 +35,7 @@ func NewApplicationTypesClient(subscriptionID string) ApplicationTypesClient {
return NewApplicationTypesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationTypesClientWithBaseURI creates an instance of the ApplicationTypesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewApplicationTypesClientWithBaseURI creates an instance of the ApplicationTypesClient client.
func NewApplicationTypesClientWithBaseURI(baseURI string, subscriptionID string) ApplicationTypesClient {
return ApplicationTypesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypeversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypeversions.go
index 2f653f2feca54..ac8ba3ed0b567 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypeversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/applicationtypeversions.go
@@ -36,9 +36,7 @@ func NewApplicationTypeVersionsClient(subscriptionID string) ApplicationTypeVers
return NewApplicationTypeVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewApplicationTypeVersionsClientWithBaseURI creates an instance of the ApplicationTypeVersionsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewApplicationTypeVersionsClientWithBaseURI creates an instance of the ApplicationTypeVersionsClient client.
func NewApplicationTypeVersionsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationTypeVersionsClient {
return ApplicationTypeVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/client.go
index c80825792d831..5d0f53e073fc6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusters.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusters.go
index 1a3bc9d334cac..74fce5e5ab404 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusters.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusters.go
@@ -36,8 +36,7 @@ func NewClustersClient(subscriptionID string) ClustersClient {
return NewClustersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClustersClientWithBaseURI creates an instance of the ClustersClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClustersClientWithBaseURI creates an instance of the ClustersClient client.
func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient {
return ClustersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusterversions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusterversions.go
index ced9e703a8d75..7ad6e93246afe 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusterversions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/clusterversions.go
@@ -35,8 +35,7 @@ func NewClusterVersionsClient(subscriptionID string) ClusterVersionsClient {
return NewClusterVersionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClusterVersionsClientWithBaseURI creates an instance of the ClusterVersionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClusterVersionsClientWithBaseURI creates an instance of the ClusterVersionsClient client.
func NewClusterVersionsClientWithBaseURI(baseURI string, subscriptionID string) ClusterVersionsClient {
return ClusterVersionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/operations.go
index 0ec579653c3a2..82ccc3f0bf26f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/services.go b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/services.go
index 9171195fdd4bf..035278d873940 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/services.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2018-02-01/servicefabric/services.go
@@ -35,8 +35,7 @@ func NewServicesClient(subscriptionID string) ServicesClient {
return NewServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewServicesClientWithBaseURI creates an instance of the ServicesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewServicesClientWithBaseURI creates an instance of the ServicesClient client.
func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
return ServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/client.go
index 636149b898a09..4652e64b9885c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/operations.go
index 4c42eeed66a85..e9ab3d517afe1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/signalr.go b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/signalr.go
index 0dd9b1e0e14ff..c9d2a02ce055b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/signalr.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/signalr.go
@@ -36,8 +36,7 @@ func NewClient(subscriptionID string) Client {
return NewClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting
-// with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewClientWithBaseURI creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return Client{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/usages.go
index 44e432fc6db74..9b8d6de5511ec 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/usages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/signalr/mgmt/2018-10-01/signalr/usages.go
@@ -35,8 +35,7 @@ func NewUsagesClient(subscriptionID string) UsagesClient {
return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/accounts.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/accounts.go
index 0c978a80a16ed..9b5daba19e501 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/accounts.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/accounts.go
@@ -36,8 +36,7 @@ func NewAccountsClient(subscriptionID string) AccountsClient {
return NewAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return AccountsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobcontainers.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobcontainers.go
index f4462f1091861..ed9b69fef18f4 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobcontainers.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobcontainers.go
@@ -36,8 +36,7 @@ func NewBlobContainersClient(subscriptionID string) BlobContainersClient {
return NewBlobContainersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBlobContainersClientWithBaseURI creates an instance of the BlobContainersClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBlobContainersClientWithBaseURI creates an instance of the BlobContainersClient client.
func NewBlobContainersClientWithBaseURI(baseURI string, subscriptionID string) BlobContainersClient {
return BlobContainersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobservices.go
index c3b4facfb061e..5f6e86ca6bef3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/blobservices.go
@@ -36,8 +36,7 @@ func NewBlobServicesClient(subscriptionID string) BlobServicesClient {
return NewBlobServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewBlobServicesClientWithBaseURI creates an instance of the BlobServicesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewBlobServicesClientWithBaseURI creates an instance of the BlobServicesClient client.
func NewBlobServicesClientWithBaseURI(baseURI string, subscriptionID string) BlobServicesClient {
return BlobServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/client.go
index 3cf659354e9f6..95300b8890815 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileservices.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileservices.go
index db497dc57aba3..8de550d6af1b7 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileservices.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileservices.go
@@ -36,8 +36,7 @@ func NewFileServicesClient(subscriptionID string) FileServicesClient {
return NewFileServicesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFileServicesClientWithBaseURI creates an instance of the FileServicesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFileServicesClientWithBaseURI creates an instance of the FileServicesClient client.
func NewFileServicesClientWithBaseURI(baseURI string, subscriptionID string) FileServicesClient {
return FileServicesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileshares.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileshares.go
index 2659a7107a5ca..572a717cfbd83 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileshares.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/fileshares.go
@@ -36,8 +36,7 @@ func NewFileSharesClient(subscriptionID string) FileSharesClient {
return NewFileSharesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFileSharesClientWithBaseURI creates an instance of the FileSharesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFileSharesClientWithBaseURI creates an instance of the FileSharesClient client.
func NewFileSharesClientWithBaseURI(baseURI string, subscriptionID string) FileSharesClient {
return FileSharesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/managementpolicies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/managementpolicies.go
index c04070a425a05..5fe6688904fd0 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/managementpolicies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/managementpolicies.go
@@ -36,9 +36,7 @@ func NewManagementPoliciesClient(subscriptionID string) ManagementPoliciesClient
return NewManagementPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewManagementPoliciesClientWithBaseURI creates an instance of the ManagementPoliciesClient client using a custom
-// endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure
-// stack).
+// NewManagementPoliciesClientWithBaseURI creates an instance of the ManagementPoliciesClient client.
func NewManagementPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagementPoliciesClient {
return ManagementPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/operations.go
index 44d88adf3a503..3ddad68b1559b 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/skus.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/skus.go
index 2e974a7a31119..b2eff204a6634 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/skus.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/skus.go
@@ -36,8 +36,7 @@ func NewSkusClient(subscriptionID string) SkusClient {
return NewSkusClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSkusClientWithBaseURI creates an instance of the SkusClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSkusClientWithBaseURI creates an instance of the SkusClient client.
func NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient {
return SkusClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/usages.go b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/usages.go
index 1a8e890a09b95..8f85c7cab7eb8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/usages.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2019-04-01/storage/usages.go
@@ -36,8 +36,7 @@ func NewUsagesClient(subscriptionID string) UsagesClient {
return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/client.go
index e6111739ad1ee..273aabfe4f2e8 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/functions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/functions.go
index 24673edfcc581..837e27c6816fd 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/functions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/functions.go
@@ -35,8 +35,7 @@ func NewFunctionsClient(subscriptionID string) FunctionsClient {
return NewFunctionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewFunctionsClientWithBaseURI creates an instance of the FunctionsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewFunctionsClientWithBaseURI creates an instance of the FunctionsClient client.
func NewFunctionsClientWithBaseURI(baseURI string, subscriptionID string) FunctionsClient {
return FunctionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/inputs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/inputs.go
index b3e230deeab5c..23b4df6a18932 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/inputs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/inputs.go
@@ -35,8 +35,7 @@ func NewInputsClient(subscriptionID string) InputsClient {
return NewInputsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewInputsClientWithBaseURI creates an instance of the InputsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewInputsClientWithBaseURI creates an instance of the InputsClient client.
func NewInputsClientWithBaseURI(baseURI string, subscriptionID string) InputsClient {
return InputsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/operations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/operations.go
index 65b3a768c9826..10c7a15834b54 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/operations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/operations.go
@@ -35,8 +35,7 @@ func NewOperationsClient(subscriptionID string) OperationsClient {
return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/outputs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/outputs.go
index 29c1c26fc2569..c853ccff8f324 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/outputs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/outputs.go
@@ -35,8 +35,7 @@ func NewOutputsClient(subscriptionID string) OutputsClient {
return NewOutputsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewOutputsClientWithBaseURI creates an instance of the OutputsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewOutputsClientWithBaseURI creates an instance of the OutputsClient client.
func NewOutputsClientWithBaseURI(baseURI string, subscriptionID string) OutputsClient {
return OutputsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/streamingjobs.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/streamingjobs.go
index 4644230e08a80..e3a1ebd18d02c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/streamingjobs.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/streamingjobs.go
@@ -35,8 +35,7 @@ func NewStreamingJobsClient(subscriptionID string) StreamingJobsClient {
return NewStreamingJobsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewStreamingJobsClientWithBaseURI creates an instance of the StreamingJobsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewStreamingJobsClientWithBaseURI creates an instance of the StreamingJobsClient client.
func NewStreamingJobsClientWithBaseURI(baseURI string, subscriptionID string) StreamingJobsClient {
return StreamingJobsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/subscriptions.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/subscriptions.go
index 8c9a90596f8fa..6011aeaf1f577 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/subscriptions.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/subscriptions.go
@@ -35,8 +35,7 @@ func NewSubscriptionsClient(subscriptionID string) SubscriptionsClient {
return NewSubscriptionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client.
func NewSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) SubscriptionsClient {
return SubscriptionsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/transformations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/transformations.go
index 6d5f431c91c08..7e82790ca9a68 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/transformations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/streamanalytics/mgmt/2016-03-01/streamanalytics/transformations.go
@@ -35,8 +35,7 @@ func NewTransformationsClient(subscriptionID string) TransformationsClient {
return NewTransformationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTransformationsClientWithBaseURI creates an instance of the TransformationsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTransformationsClientWithBaseURI creates an instance of the TransformationsClient client.
func NewTransformationsClientWithBaseURI(baseURI string, subscriptionID string) TransformationsClient {
return TransformationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/client.go
index 5a4d319d1b797..8e5e255f9a5d1 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/client.go
@@ -41,8 +41,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/endpoints.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/endpoints.go
index 7fd383f6e7713..a160faf1a0147 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/endpoints.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/endpoints.go
@@ -35,8 +35,7 @@ func NewEndpointsClient(subscriptionID string) EndpointsClient {
return NewEndpointsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client.
func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient {
return EndpointsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/geographichierarchies.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/geographichierarchies.go
index 1e2ca3927b9d3..4e3e76d993a66 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/geographichierarchies.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/geographichierarchies.go
@@ -35,9 +35,7 @@ func NewGeographicHierarchiesClient(subscriptionID string) GeographicHierarchies
return NewGeographicHierarchiesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewGeographicHierarchiesClientWithBaseURI creates an instance of the GeographicHierarchiesClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewGeographicHierarchiesClientWithBaseURI creates an instance of the GeographicHierarchiesClient client.
func NewGeographicHierarchiesClientWithBaseURI(baseURI string, subscriptionID string) GeographicHierarchiesClient {
return GeographicHierarchiesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/heatmap.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/heatmap.go
index d12a34db6e7b8..0f93093330507 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/heatmap.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/heatmap.go
@@ -36,8 +36,7 @@ func NewHeatMapClient(subscriptionID string) HeatMapClient {
return NewHeatMapClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewHeatMapClientWithBaseURI creates an instance of the HeatMapClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewHeatMapClientWithBaseURI creates an instance of the HeatMapClient client.
func NewHeatMapClientWithBaseURI(baseURI string, subscriptionID string) HeatMapClient {
return HeatMapClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/profiles.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/profiles.go
index a927060770006..79d03e29bdbf5 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/profiles.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/profiles.go
@@ -35,8 +35,7 @@ func NewProfilesClient(subscriptionID string) ProfilesClient {
return NewProfilesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client.
func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient {
return ProfilesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/usermetricskeys.go b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/usermetricskeys.go
index 698f53040d14f..7c3cc142cf664 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/usermetricskeys.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2018-04-01/trafficmanager/usermetricskeys.go
@@ -35,8 +35,7 @@ func NewUserMetricsKeysClient(subscriptionID string) UserMetricsKeysClient {
return NewUserMetricsKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewUserMetricsKeysClientWithBaseURI creates an instance of the UserMetricsKeysClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewUserMetricsKeysClientWithBaseURI creates an instance of the UserMetricsKeysClient client.
func NewUserMetricsKeysClientWithBaseURI(baseURI string, subscriptionID string) UserMetricsKeysClient {
return UserMetricsKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/apps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/apps.go
index 207c3bf0431c8..1baca4d707353 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/apps.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/apps.go
@@ -36,8 +36,7 @@ func NewAppsClient(subscriptionID string) AppsClient {
return NewAppsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAppsClientWithBaseURI creates an instance of the AppsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAppsClientWithBaseURI creates an instance of the AppsClient client.
func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient {
return AppsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appservicecertificateorders.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appservicecertificateorders.go
index e9083f7216b4d..8af6a8d62e885 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appservicecertificateorders.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appservicecertificateorders.go
@@ -36,9 +36,7 @@ func NewAppServiceCertificateOrdersClient(subscriptionID string) AppServiceCerti
return NewAppServiceCertificateOrdersClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAppServiceCertificateOrdersClientWithBaseURI creates an instance of the AppServiceCertificateOrdersClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewAppServiceCertificateOrdersClientWithBaseURI creates an instance of the AppServiceCertificateOrdersClient client.
func NewAppServiceCertificateOrdersClientWithBaseURI(baseURI string, subscriptionID string) AppServiceCertificateOrdersClient {
return AppServiceCertificateOrdersClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceenvironments.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceenvironments.go
index 9da648d544e61..e8f8bafdb05cf 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceenvironments.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceenvironments.go
@@ -36,9 +36,7 @@ func NewAppServiceEnvironmentsClient(subscriptionID string) AppServiceEnvironmen
return NewAppServiceEnvironmentsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAppServiceEnvironmentsClientWithBaseURI creates an instance of the AppServiceEnvironmentsClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewAppServiceEnvironmentsClientWithBaseURI creates an instance of the AppServiceEnvironmentsClient client.
func NewAppServiceEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) AppServiceEnvironmentsClient {
return AppServiceEnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceplans.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceplans.go
index 34cde6772b536..3324503f3dabc 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceplans.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/appserviceplans.go
@@ -36,8 +36,7 @@ func NewAppServicePlansClient(subscriptionID string) AppServicePlansClient {
return NewAppServicePlansClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewAppServicePlansClientWithBaseURI creates an instance of the AppServicePlansClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewAppServicePlansClientWithBaseURI creates an instance of the AppServicePlansClient client.
func NewAppServicePlansClientWithBaseURI(baseURI string, subscriptionID string) AppServicePlansClient {
return AppServicePlansClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificateregistrationprovider.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificateregistrationprovider.go
index c942d37afd378..20728a9f22866 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificateregistrationprovider.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificateregistrationprovider.go
@@ -36,8 +36,7 @@ func NewCertificateRegistrationProviderClient(subscriptionID string) Certificate
}
// NewCertificateRegistrationProviderClientWithBaseURI creates an instance of the CertificateRegistrationProviderClient
-// client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI
-// (sovereign clouds, Azure stack).
+// client.
func NewCertificateRegistrationProviderClientWithBaseURI(baseURI string, subscriptionID string) CertificateRegistrationProviderClient {
return CertificateRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificates.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificates.go
index 62de100e7daec..b1640960c58cb 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificates.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/certificates.go
@@ -36,8 +36,7 @@ func NewCertificatesClient(subscriptionID string) CertificatesClient {
return NewCertificatesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client.
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient {
return CertificatesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/client.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/client.go
index c888d08ba2435..01215bd8bb60c 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/client.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/client.go
@@ -46,8 +46,7 @@ func New(subscriptionID string) BaseClient {
return NewWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with
-// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewWithBaseURI creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return BaseClient{
Client: autorest.NewClientWithUserAgent(UserAgent()),
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/deletedwebapps.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/deletedwebapps.go
index 14859d3c671d1..46a014df4b9e3 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/deletedwebapps.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/deletedwebapps.go
@@ -35,8 +35,7 @@ func NewDeletedWebAppsClient(subscriptionID string) DeletedWebAppsClient {
return NewDeletedWebAppsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDeletedWebAppsClientWithBaseURI creates an instance of the DeletedWebAppsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDeletedWebAppsClientWithBaseURI creates an instance of the DeletedWebAppsClient client.
func NewDeletedWebAppsClientWithBaseURI(baseURI string, subscriptionID string) DeletedWebAppsClient {
return DeletedWebAppsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/diagnostics.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/diagnostics.go
index 49d00d3a27165..b6c4d90884b1d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/diagnostics.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/diagnostics.go
@@ -37,8 +37,7 @@ func NewDiagnosticsClient(subscriptionID string) DiagnosticsClient {
return NewDiagnosticsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDiagnosticsClientWithBaseURI creates an instance of the DiagnosticsClient client using a custom endpoint. Use
-// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDiagnosticsClientWithBaseURI creates an instance of the DiagnosticsClient client.
func NewDiagnosticsClientWithBaseURI(baseURI string, subscriptionID string) DiagnosticsClient {
return DiagnosticsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domainregistrationprovider.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domainregistrationprovider.go
index 22840fb37263b..b289d15851715 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domainregistrationprovider.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domainregistrationprovider.go
@@ -35,9 +35,7 @@ func NewDomainRegistrationProviderClient(subscriptionID string) DomainRegistrati
return NewDomainRegistrationProviderClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDomainRegistrationProviderClientWithBaseURI creates an instance of the DomainRegistrationProviderClient client
-// using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign
-// clouds, Azure stack).
+// NewDomainRegistrationProviderClientWithBaseURI creates an instance of the DomainRegistrationProviderClient client.
func NewDomainRegistrationProviderClientWithBaseURI(baseURI string, subscriptionID string) DomainRegistrationProviderClient {
return DomainRegistrationProviderClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domains.go
index decd7ffd76b3f..1f6c3b749419d 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domains.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/domains.go
@@ -36,8 +36,7 @@ func NewDomainsClient(subscriptionID string) DomainsClient {
return NewDomainsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewDomainsClientWithBaseURI creates an instance of the DomainsClient client using a custom endpoint. Use this when
-// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewDomainsClientWithBaseURI creates an instance of the DomainsClient client.
func NewDomainsClientWithBaseURI(baseURI string, subscriptionID string) DomainsClient {
return DomainsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/provider.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/provider.go
index 7d0100054839a..c24ca0866e5c6 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/provider.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/provider.go
@@ -35,8 +35,7 @@ func NewProviderClient(subscriptionID string) ProviderClient {
return NewProviderClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewProviderClientWithBaseURI creates an instance of the ProviderClient client using a custom endpoint. Use this
-// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewProviderClientWithBaseURI creates an instance of the ProviderClient client.
func NewProviderClientWithBaseURI(baseURI string, subscriptionID string) ProviderClient {
return ProviderClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/recommendations.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/recommendations.go
index bdc2151d8534f..89c4e34215300 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/recommendations.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/recommendations.go
@@ -36,8 +36,7 @@ func NewRecommendationsClient(subscriptionID string) RecommendationsClient {
return NewRecommendationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewRecommendationsClientWithBaseURI creates an instance of the RecommendationsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewRecommendationsClientWithBaseURI creates an instance of the RecommendationsClient client.
func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) RecommendationsClient {
return RecommendationsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/resourcehealthmetadata.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/resourcehealthmetadata.go
index a719cbe7cdad4..b43c6e5f64c0f 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/resourcehealthmetadata.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/resourcehealthmetadata.go
@@ -36,9 +36,7 @@ func NewResourceHealthMetadataClient(subscriptionID string) ResourceHealthMetada
return NewResourceHealthMetadataClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewResourceHealthMetadataClientWithBaseURI creates an instance of the ResourceHealthMetadataClient client using a
-// custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds,
-// Azure stack).
+// NewResourceHealthMetadataClientWithBaseURI creates an instance of the ResourceHealthMetadataClient client.
func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID string) ResourceHealthMetadataClient {
return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)}
}
diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/topleveldomains.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/topleveldomains.go
index 215491cf753c4..969de2a398a67 100644
--- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/topleveldomains.go
+++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web/topleveldomains.go
@@ -35,8 +35,7 @@ func NewTopLevelDomainsClient(subscriptionID string) TopLevelDomainsClient {
return NewTopLevelDomainsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
-// NewTopLevelDomainsClientWithBaseURI creates an instance of the TopLevelDomainsClient client using a custom endpoint.
-// Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
+// NewTopLevelDomainsClientWithBaseURI creates an instance of the TopLevelDomainsClient client.
func NewTopLevelDomainsClientWithBaseURI(baseURI string, subscriptionID string) TopLevelDomainsClient {
return TopLevelDomainsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
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 abc7779447fc3..2a72da3b14114 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 = "v39.0.0"
+const Number = "v38.1.0"
diff --git a/vendor/modules.txt b/vendor/modules.txt
index e663426e00b10..f56e6c6c869f4 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -6,7 +6,7 @@ cloud.google.com/go/internal/optional
cloud.google.com/go/internal/trace
cloud.google.com/go/internal/version
cloud.google.com/go/storage
-# github.com/Azure/azure-sdk-for-go v39.0.0+incompatible
+# github.com/Azure/azure-sdk-for-go v38.1.0+incompatible
github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/resources/mgmt/resources
github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices
github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement
@@ -37,7 +37,6 @@ github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault
github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault
github.com/Azure/azure-sdk-for-go/services/kusto/mgmt/2019-05-15/kusto
github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic
-github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-11-01/machinelearningservices
github.com/Azure/azure-sdk-for-go/services/maps/mgmt/2018-05-01/maps
github.com/Azure/azure-sdk-for-go/services/mariadb/mgmt/2018-06-01/mariadb
github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering