From 271d8b399521ff029d005973a97f8fb89622611e Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Wed, 15 Jan 2020 03:36:15 +0000 Subject: [PATCH] Generated from b35bc2bb9272e1d61d5024394f582b01a56cbf03 added missing swagger-to-sdk --- .../mgmt/2017-11-15/timeseriesinsights/accesspolicies.go | 3 ++- .../mgmt/2017-11-15/timeseriesinsights/client.go | 3 ++- .../mgmt/2017-11-15/timeseriesinsights/environments.go | 3 ++- .../mgmt/2017-11-15/timeseriesinsights/eventsources.go | 3 ++- .../mgmt/2017-11-15/timeseriesinsights/operations.go | 3 ++- .../mgmt/2017-11-15/timeseriesinsights/referencedatasets.go | 4 +++- .../timeseriesinsights/timeseriesinsightsapi/interfaces.go | 1 + 7 files changed, 14 insertions(+), 6 deletions(-) diff --git a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/accesspolicies.go b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/accesspolicies.go index 5529524ac5d4..58655fe1c758 100644 --- a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/accesspolicies.go +++ b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/accesspolicies.go @@ -36,7 +36,8 @@ func NewAccessPoliciesClient(subscriptionID string) AccessPoliciesClient { return NewAccessPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewAccessPoliciesClientWithBaseURI creates an instance of the AccessPoliciesClient client. +// NewAccessPoliciesClientWithBaseURI creates an instance of the AccessPoliciesClient 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 NewAccessPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AccessPoliciesClient { return AccessPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/client.go b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/client.go index 81536b6cc1ed..8c626bb1d8c9 100644 --- a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/client.go +++ b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/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/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/environments.go b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/environments.go index 8f299e179a37..91876d31d2de 100644 --- a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/environments.go +++ b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/environments.go @@ -36,7 +36,8 @@ func NewEnvironmentsClient(subscriptionID string) EnvironmentsClient { return NewEnvironmentsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewEnvironmentsClientWithBaseURI creates an instance of the EnvironmentsClient client. +// 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). func NewEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentsClient { return EnvironmentsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/eventsources.go b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/eventsources.go index b31338a3f59b..73376f3543e3 100644 --- a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/eventsources.go +++ b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/eventsources.go @@ -36,7 +36,8 @@ func NewEventSourcesClient(subscriptionID string) EventSourcesClient { return NewEventSourcesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewEventSourcesClientWithBaseURI creates an instance of the EventSourcesClient client. +// NewEventSourcesClientWithBaseURI creates an instance of the EventSourcesClient 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 NewEventSourcesClientWithBaseURI(baseURI string, subscriptionID string) EventSourcesClient { return EventSourcesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/operations.go b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/operations.go index d03a60c27347..31451767f252 100644 --- a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/operations.go +++ b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/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/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/referencedatasets.go b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/referencedatasets.go index c9d2fcb6ee3f..e479745d9ee3 100644 --- a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/referencedatasets.go +++ b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/referencedatasets.go @@ -36,7 +36,9 @@ func NewReferenceDataSetsClient(subscriptionID string) ReferenceDataSetsClient { return NewReferenceDataSetsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewReferenceDataSetsClientWithBaseURI creates an instance of the ReferenceDataSetsClient client. +// NewReferenceDataSetsClientWithBaseURI creates an instance of the ReferenceDataSetsClient 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 NewReferenceDataSetsClientWithBaseURI(baseURI string, subscriptionID string) ReferenceDataSetsClient { return ReferenceDataSetsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/timeseriesinsightsapi/interfaces.go b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/timeseriesinsightsapi/interfaces.go index 30fe262d017b..7533eb001b73 100644 --- a/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/timeseriesinsightsapi/interfaces.go +++ b/services/timeseriesinsights/mgmt/2017-11-15/timeseriesinsights/timeseriesinsightsapi/interfaces.go @@ -26,6 +26,7 @@ import ( // OperationsClientAPI contains the set of methods on the OperationsClient type. type OperationsClientAPI interface { List(ctx context.Context) (result timeseriesinsights.OperationListResultPage, err error) + ListComplete(ctx context.Context) (result timeseriesinsights.OperationListResultIterator, err error) } var _ OperationsClientAPI = (*timeseriesinsights.OperationsClient)(nil)