diff --git a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/client.go b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/client.go index 197bbff96e7c..39d2b84ced7f 100644 --- a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/client.go +++ b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/client.go @@ -41,7 +41,8 @@ func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewWithBaseURI creates an instance of the BaseClient client. +// 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()), diff --git a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/eventsubscriptions.go b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/eventsubscriptions.go index 64a3e2bd7adf..6e8507f98c75 100644 --- a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/eventsubscriptions.go +++ b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/eventsubscriptions.go @@ -35,7 +35,9 @@ func NewEventSubscriptionsClient(subscriptionID string) EventSubscriptionsClient return NewEventSubscriptionsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewEventSubscriptionsClientWithBaseURI creates an instance of the EventSubscriptionsClient client. +// 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). func NewEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) EventSubscriptionsClient { return EventSubscriptionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/operations.go b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/operations.go index c1d1bde9d539..2630b43bda37 100644 --- a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/operations.go +++ b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/operations.go @@ -35,7 +35,8 @@ func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. +// 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)} } diff --git a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topics.go b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topics.go index f537e77abfca..0572f48aada6 100644 --- a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topics.go +++ b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topics.go @@ -36,7 +36,8 @@ func NewTopicsClient(subscriptionID string) TopicsClient { return NewTopicsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewTopicsClientWithBaseURI creates an instance of the TopicsClient client. +// 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). func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient { return TopicsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topictypes.go b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topictypes.go index 169ec66f4f54..5381b3d7e717 100644 --- a/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topictypes.go +++ b/services/preview/eventgrid/mgmt/2018-05-01-preview/eventgrid/topictypes.go @@ -35,7 +35,8 @@ func NewTopicTypesClient(subscriptionID string) TopicTypesClient { return NewTopicTypesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewTopicTypesClientWithBaseURI creates an instance of the TopicTypesClient client. +// 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). func NewTopicTypesClientWithBaseURI(baseURI string, subscriptionID string) TopicTypesClient { return TopicTypesClient{NewWithBaseURI(baseURI, subscriptionID)} }