diff --git a/services/appinsights/mgmt/2015-05-01/insights/annotations.go b/services/appinsights/mgmt/2015-05-01/insights/annotations.go index 93f5b3e468a6..c6b16adb42e8 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/annotations.go +++ b/services/appinsights/mgmt/2015-05-01/insights/annotations.go @@ -30,13 +30,13 @@ type AnnotationsClient struct { } // NewAnnotationsClient creates an instance of the AnnotationsClient client. -func NewAnnotationsClient(subscriptionID string, purgeID string) AnnotationsClient { - return NewAnnotationsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewAnnotationsClient(subscriptionID string) AnnotationsClient { + return NewAnnotationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewAnnotationsClientWithBaseURI creates an instance of the AnnotationsClient client. -func NewAnnotationsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) AnnotationsClient { - return AnnotationsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewAnnotationsClientWithBaseURI(baseURI string, subscriptionID string) AnnotationsClient { + return AnnotationsClient{NewWithBaseURI(baseURI, subscriptionID)} } // Create create an Annotation of an Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/apikeys.go b/services/appinsights/mgmt/2015-05-01/insights/apikeys.go index 8253ecf52c14..832dfaf7f107 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/apikeys.go +++ b/services/appinsights/mgmt/2015-05-01/insights/apikeys.go @@ -30,13 +30,13 @@ type APIKeysClient struct { } // NewAPIKeysClient creates an instance of the APIKeysClient client. -func NewAPIKeysClient(subscriptionID string, purgeID string) APIKeysClient { - return NewAPIKeysClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewAPIKeysClient(subscriptionID string) APIKeysClient { + return NewAPIKeysClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewAPIKeysClientWithBaseURI creates an instance of the APIKeysClient client. -func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) APIKeysClient { - return APIKeysClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysClient { + return APIKeysClient{NewWithBaseURI(baseURI, subscriptionID)} } // Create create an API Key of an Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/client.go b/services/appinsights/mgmt/2015-05-01/insights/client.go index 19398ab010e7..8508d449fead 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/client.go +++ b/services/appinsights/mgmt/2015-05-01/insights/client.go @@ -34,20 +34,18 @@ type BaseClient struct { autorest.Client BaseURI string SubscriptionID string - PurgeID string } // New creates an instance of the BaseClient client. -func New(subscriptionID string, purgeID string) BaseClient { - return NewWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func New(subscriptionID string) BaseClient { + return NewWithBaseURI(DefaultBaseURI, subscriptionID) } // NewWithBaseURI creates an instance of the BaseClient client. -func NewWithBaseURI(baseURI string, subscriptionID string, purgeID string) BaseClient { +func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ Client: autorest.NewClientWithUserAgent(UserAgent()), BaseURI: baseURI, SubscriptionID: subscriptionID, - PurgeID: purgeID, } } diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go b/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go index 3c7929da2716..2e7d7b4c9733 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go +++ b/services/appinsights/mgmt/2015-05-01/insights/componentavailablefeatures.go @@ -30,13 +30,13 @@ type ComponentAvailableFeaturesClient struct { } // NewComponentAvailableFeaturesClient creates an instance of the ComponentAvailableFeaturesClient client. -func NewComponentAvailableFeaturesClient(subscriptionID string, purgeID string) ComponentAvailableFeaturesClient { - return NewComponentAvailableFeaturesClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewComponentAvailableFeaturesClient(subscriptionID string) ComponentAvailableFeaturesClient { + return NewComponentAvailableFeaturesClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewComponentAvailableFeaturesClientWithBaseURI creates an instance of the ComponentAvailableFeaturesClient client. -func NewComponentAvailableFeaturesClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) ComponentAvailableFeaturesClient { - return ComponentAvailableFeaturesClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewComponentAvailableFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentAvailableFeaturesClient { + return ComponentAvailableFeaturesClient{NewWithBaseURI(baseURI, subscriptionID)} } // Get returns all available features of the application insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go b/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go index 5dd24d2265f9..55678b16ce99 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go +++ b/services/appinsights/mgmt/2015-05-01/insights/componentcurrentbillingfeatures.go @@ -30,14 +30,14 @@ type ComponentCurrentBillingFeaturesClient struct { } // NewComponentCurrentBillingFeaturesClient creates an instance of the ComponentCurrentBillingFeaturesClient client. -func NewComponentCurrentBillingFeaturesClient(subscriptionID string, purgeID string) ComponentCurrentBillingFeaturesClient { - return NewComponentCurrentBillingFeaturesClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewComponentCurrentBillingFeaturesClient(subscriptionID string) ComponentCurrentBillingFeaturesClient { + return NewComponentCurrentBillingFeaturesClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewComponentCurrentBillingFeaturesClientWithBaseURI creates an instance of the ComponentCurrentBillingFeaturesClient // client. -func NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) ComponentCurrentBillingFeaturesClient { - return ComponentCurrentBillingFeaturesClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentCurrentBillingFeaturesClient { + return ComponentCurrentBillingFeaturesClient{NewWithBaseURI(baseURI, subscriptionID)} } // Get returns current billing features for an Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go b/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go index 99b716a3aa2b..78a56cdd44b2 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go +++ b/services/appinsights/mgmt/2015-05-01/insights/componentfeaturecapabilities.go @@ -30,14 +30,14 @@ type ComponentFeatureCapabilitiesClient struct { } // NewComponentFeatureCapabilitiesClient creates an instance of the ComponentFeatureCapabilitiesClient client. -func NewComponentFeatureCapabilitiesClient(subscriptionID string, purgeID string) ComponentFeatureCapabilitiesClient { - return NewComponentFeatureCapabilitiesClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewComponentFeatureCapabilitiesClient(subscriptionID string) ComponentFeatureCapabilitiesClient { + return NewComponentFeatureCapabilitiesClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewComponentFeatureCapabilitiesClientWithBaseURI creates an instance of the ComponentFeatureCapabilitiesClient // client. -func NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) ComponentFeatureCapabilitiesClient { - return ComponentFeatureCapabilitiesClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) ComponentFeatureCapabilitiesClient { + return ComponentFeatureCapabilitiesClient{NewWithBaseURI(baseURI, subscriptionID)} } // Get returns feature capabilites of the application insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go b/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go index e506c693d174..991b6d4bc255 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go +++ b/services/appinsights/mgmt/2015-05-01/insights/componentquotastatus.go @@ -30,13 +30,13 @@ type ComponentQuotaStatusClient struct { } // NewComponentQuotaStatusClient creates an instance of the ComponentQuotaStatusClient client. -func NewComponentQuotaStatusClient(subscriptionID string, purgeID string) ComponentQuotaStatusClient { - return NewComponentQuotaStatusClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewComponentQuotaStatusClient(subscriptionID string) ComponentQuotaStatusClient { + return NewComponentQuotaStatusClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewComponentQuotaStatusClientWithBaseURI creates an instance of the ComponentQuotaStatusClient client. -func NewComponentQuotaStatusClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) ComponentQuotaStatusClient { - return ComponentQuotaStatusClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewComponentQuotaStatusClientWithBaseURI(baseURI string, subscriptionID string) ComponentQuotaStatusClient { + return ComponentQuotaStatusClient{NewWithBaseURI(baseURI, subscriptionID)} } // Get returns daily data volume cap (quota) status for an Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/components.go b/services/appinsights/mgmt/2015-05-01/insights/components.go index ff0fcb09c95e..b403b928518b 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/components.go +++ b/services/appinsights/mgmt/2015-05-01/insights/components.go @@ -31,13 +31,13 @@ type ComponentsClient struct { } // NewComponentsClient creates an instance of the ComponentsClient client. -func NewComponentsClient(subscriptionID string, purgeID string) ComponentsClient { - return NewComponentsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewComponentsClient(subscriptionID string) ComponentsClient { + return NewComponentsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewComponentsClientWithBaseURI creates an instance of the ComponentsClient client. -func NewComponentsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) ComponentsClient { - return ComponentsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewComponentsClientWithBaseURI(baseURI string, subscriptionID string) ComponentsClient { + return ComponentsClient{NewWithBaseURI(baseURI, subscriptionID)} } // CreateOrUpdate creates (or updates) an Application Insights component. Note: You cannot specify a different value @@ -254,9 +254,10 @@ func (client ComponentsClient) GetResponder(resp *http.Response) (result Applica // request. // // resourceGroupName is the name of the resource group. resourceName is the name of the Application Insights -// component resource. -func (client ComponentsClient) GetPurgeStatus(ctx context.Context, resourceGroupName string, resourceName string) (result ComponentPurgeStatusResponse, err error) { - req, err := client.GetPurgeStatusPreparer(ctx, resourceGroupName, resourceName) +// component resource. purgeID is in a purge status request, this is the Id of the operation the status of which is +// returned. +func (client ComponentsClient) GetPurgeStatus(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (result ComponentPurgeStatusResponse, err error) { + req, err := client.GetPurgeStatusPreparer(ctx, resourceGroupName, resourceName, purgeID) if err != nil { err = autorest.NewErrorWithError(err, "insights.ComponentsClient", "GetPurgeStatus", nil, "Failure preparing request") return @@ -278,9 +279,9 @@ func (client ComponentsClient) GetPurgeStatus(ctx context.Context, resourceGroup } // GetPurgeStatusPreparer prepares the GetPurgeStatus request. -func (client ComponentsClient) GetPurgeStatusPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) { +func (client ComponentsClient) GetPurgeStatusPreparer(ctx context.Context, resourceGroupName string, resourceName string, purgeID string) (*http.Request, error) { pathParameters := map[string]interface{}{ - "purgeId": autorest.Encode("path", client.PurgeID), + "purgeId": autorest.Encode("path", purgeID), "resourceGroupName": autorest.Encode("path", resourceGroupName), "resourceName": autorest.Encode("path", resourceName), "subscriptionId": autorest.Encode("path", client.SubscriptionID), diff --git a/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go b/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go index 45851f246a2b..c76a488ca74d 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go +++ b/services/appinsights/mgmt/2015-05-01/insights/exportconfigurations.go @@ -30,13 +30,13 @@ type ExportConfigurationsClient struct { } // NewExportConfigurationsClient creates an instance of the ExportConfigurationsClient client. -func NewExportConfigurationsClient(subscriptionID string, purgeID string) ExportConfigurationsClient { - return NewExportConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewExportConfigurationsClient(subscriptionID string) ExportConfigurationsClient { + return NewExportConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewExportConfigurationsClientWithBaseURI creates an instance of the ExportConfigurationsClient client. -func NewExportConfigurationsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) ExportConfigurationsClient { - return ExportConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewExportConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ExportConfigurationsClient { + return ExportConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)} } // Create create a Continuous Export configuration of an Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/favorite.go b/services/appinsights/mgmt/2015-05-01/insights/favorite.go index a6aff501078c..c18bef50305f 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/favorite.go +++ b/services/appinsights/mgmt/2015-05-01/insights/favorite.go @@ -30,13 +30,13 @@ type FavoriteClient struct { } // NewFavoriteClient creates an instance of the FavoriteClient client. -func NewFavoriteClient(subscriptionID string, purgeID string) FavoriteClient { - return NewFavoriteClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewFavoriteClient(subscriptionID string) FavoriteClient { + return NewFavoriteClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewFavoriteClientWithBaseURI creates an instance of the FavoriteClient client. -func NewFavoriteClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) FavoriteClient { - return FavoriteClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewFavoriteClientWithBaseURI(baseURI string, subscriptionID string) FavoriteClient { + return FavoriteClient{NewWithBaseURI(baseURI, subscriptionID)} } // Add adds a new favorites to an Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/favorites.go b/services/appinsights/mgmt/2015-05-01/insights/favorites.go index cdeb9763fc2f..119f18af713a 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/favorites.go +++ b/services/appinsights/mgmt/2015-05-01/insights/favorites.go @@ -30,13 +30,13 @@ type FavoritesClient struct { } // NewFavoritesClient creates an instance of the FavoritesClient client. -func NewFavoritesClient(subscriptionID string, purgeID string) FavoritesClient { - return NewFavoritesClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewFavoritesClient(subscriptionID string) FavoritesClient { + return NewFavoritesClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewFavoritesClientWithBaseURI creates an instance of the FavoritesClient client. -func NewFavoritesClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) FavoritesClient { - return FavoritesClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewFavoritesClientWithBaseURI(baseURI string, subscriptionID string) FavoritesClient { + return FavoritesClient{NewWithBaseURI(baseURI, subscriptionID)} } // List gets a list of favorites defined within an Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/operations.go b/services/appinsights/mgmt/2015-05-01/insights/operations.go index 1a59a7fd677e..a06822f91600 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/operations.go +++ b/services/appinsights/mgmt/2015-05-01/insights/operations.go @@ -30,13 +30,13 @@ type OperationsClient struct { } // NewOperationsClient creates an instance of the OperationsClient client. -func NewOperationsClient(subscriptionID string, purgeID string) OperationsClient { - return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewOperationsClient(subscriptionID string) OperationsClient { + return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. -func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) OperationsClient { - return OperationsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { + return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } // List lists all of the available insights REST API operations. diff --git a/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go b/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go index b746475b8920..00b8a1aa812b 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go +++ b/services/appinsights/mgmt/2015-05-01/insights/proactivedetectionconfigurations.go @@ -30,14 +30,14 @@ type ProactiveDetectionConfigurationsClient struct { } // NewProactiveDetectionConfigurationsClient creates an instance of the ProactiveDetectionConfigurationsClient client. -func NewProactiveDetectionConfigurationsClient(subscriptionID string, purgeID string) ProactiveDetectionConfigurationsClient { - return NewProactiveDetectionConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewProactiveDetectionConfigurationsClient(subscriptionID string) ProactiveDetectionConfigurationsClient { + return NewProactiveDetectionConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewProactiveDetectionConfigurationsClientWithBaseURI creates an instance of the // ProactiveDetectionConfigurationsClient client. -func NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) ProactiveDetectionConfigurationsClient { - return ProactiveDetectionConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ProactiveDetectionConfigurationsClient { + return ProactiveDetectionConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)} } // Get get the ProactiveDetection configuration for this configuration id. diff --git a/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go b/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go index da0a7435ea0c..5f865462c81e 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go +++ b/services/appinsights/mgmt/2015-05-01/insights/webtestlocations.go @@ -30,13 +30,13 @@ type WebTestLocationsClient struct { } // NewWebTestLocationsClient creates an instance of the WebTestLocationsClient client. -func NewWebTestLocationsClient(subscriptionID string, purgeID string) WebTestLocationsClient { - return NewWebTestLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewWebTestLocationsClient(subscriptionID string) WebTestLocationsClient { + return NewWebTestLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewWebTestLocationsClientWithBaseURI creates an instance of the WebTestLocationsClient client. -func NewWebTestLocationsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) WebTestLocationsClient { - return WebTestLocationsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewWebTestLocationsClientWithBaseURI(baseURI string, subscriptionID string) WebTestLocationsClient { + return WebTestLocationsClient{NewWithBaseURI(baseURI, subscriptionID)} } // List gets a list of web test locations available to this Application Insights component. diff --git a/services/appinsights/mgmt/2015-05-01/insights/webtests.go b/services/appinsights/mgmt/2015-05-01/insights/webtests.go index 961991cb0a38..5d8de80ebddf 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/webtests.go +++ b/services/appinsights/mgmt/2015-05-01/insights/webtests.go @@ -31,13 +31,13 @@ type WebTestsClient struct { } // NewWebTestsClient creates an instance of the WebTestsClient client. -func NewWebTestsClient(subscriptionID string, purgeID string) WebTestsClient { - return NewWebTestsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewWebTestsClient(subscriptionID string) WebTestsClient { + return NewWebTestsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewWebTestsClientWithBaseURI creates an instance of the WebTestsClient client. -func NewWebTestsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) WebTestsClient { - return WebTestsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewWebTestsClientWithBaseURI(baseURI string, subscriptionID string) WebTestsClient { + return WebTestsClient{NewWithBaseURI(baseURI, subscriptionID)} } // CreateOrUpdate creates or updates an Application Insights web test definition. diff --git a/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go b/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go index 8c7807f77543..4b05a66cd462 100644 --- a/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go +++ b/services/appinsights/mgmt/2015-05-01/insights/workitemconfigurations.go @@ -30,13 +30,13 @@ type WorkItemConfigurationsClient struct { } // NewWorkItemConfigurationsClient creates an instance of the WorkItemConfigurationsClient client. -func NewWorkItemConfigurationsClient(subscriptionID string, purgeID string) WorkItemConfigurationsClient { - return NewWorkItemConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID, purgeID) +func NewWorkItemConfigurationsClient(subscriptionID string) WorkItemConfigurationsClient { + return NewWorkItemConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } // NewWorkItemConfigurationsClientWithBaseURI creates an instance of the WorkItemConfigurationsClient client. -func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID string, purgeID string) WorkItemConfigurationsClient { - return WorkItemConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID, purgeID)} +func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) WorkItemConfigurationsClient { + return WorkItemConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)} } // Create create a work item configuration for an Application Insights component.