updateTagsWithResponse(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
@@ -214,7 +217,10 @@ Response updateTagsWithResponse(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/OperationsClient.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/OperationsClient.java
index 179d564a1690..eef1549f5516 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/OperationsClient.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/OperationsClient.java
@@ -17,7 +17,8 @@ public interface OperationsClient {
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link
+ * PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
@@ -29,7 +30,8 @@ public interface OperationsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link
+ * PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/WebTestsClient.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/WebTestsClient.java
index 389b5ec88568..4e30b854c9fb 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/WebTestsClient.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/WebTestsClient.java
@@ -15,27 +15,27 @@
/** An instance of this class provides access to all the operations defined in WebTestsClient. */
public interface WebTestsClient {
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -45,7 +45,7 @@ public interface WebTestsClient {
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -58,7 +58,7 @@ public interface WebTestsClient {
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -73,13 +73,13 @@ Response getByResourceGroupWithResponse(
* Creates or updates an Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
* test definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition.
+ * @return an Application Insights WebTest definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
WebTestInner createOrUpdate(String resourceGroupName, String webTestName, WebTestInner webTestDefinition);
@@ -88,44 +88,44 @@ Response getByResourceGroupWithResponse(
* Creates or updates an Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
* test definition.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response}.
+ * @return an Application Insights WebTest definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateWithResponse(
String resourceGroupName, String webTestName, WebTestInner webTestDefinition, Context context);
/**
- * Creates or updates an Application Insights web test definition.
+ * Updates the tags associated with an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
- * @param webTestTags Updated tag information to set into the web test instance.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to associate with the web test resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition.
+ * @return an Application Insights WebTest definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
WebTestInner updateTags(String resourceGroupName, String webTestName, TagsResource webTestTags);
/**
- * Creates or updates an Application Insights web test definition.
+ * Updates the tags associated with an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
- * @param webTestTags Updated tag information to set into the web test instance.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to associate with the web test resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response}.
+ * @return an Application Insights WebTest definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateTagsWithResponse(
@@ -135,7 +135,7 @@ Response updateTagsWithResponse(
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -147,7 +147,7 @@ Response updateTagsWithResponse(
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -158,24 +158,24 @@ Response updateTagsWithResponse(
Response deleteWithResponse(String resourceGroupName, String webTestName, Context context);
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentAnalyticsItemInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentAnalyticsItemInner.java
index e9200b8bbb5e..5c5907a7830f 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentAnalyticsItemInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentAnalyticsItemInner.java
@@ -32,16 +32,14 @@ public final class ApplicationInsightsComponentAnalyticsItemInner {
private String content;
/*
- * This instance's version of the data model. This can change as new
- * features are added.
+ * This instance's version of the data model. This can change as new features are added.
*/
@JsonProperty(value = "Version", access = JsonProperty.Access.WRITE_ONLY)
private String version;
/*
- * Enum indicating if this item definition is owned by a specific user or
- * is shared between all users with access to the Application Insights
- * component.
+ * Enum indicating if this item definition is owned by a specific user or is shared between all users with access
+ * to the Application Insights component.
*/
@JsonProperty(value = "Scope")
private ItemScope scope;
@@ -59,15 +57,14 @@ public final class ApplicationInsightsComponentAnalyticsItemInner {
private String timeCreated;
/*
- * Date and time in UTC of the last modification that was made to this
- * item.
+ * Date and time in UTC of the last modification that was made to this item.
*/
@JsonProperty(value = "TimeModified", access = JsonProperty.Access.WRITE_ONLY)
private String timeModified;
/*
- * A set of properties that can be defined in the context of a specific
- * item type. Each type may have its own properties.
+ * A set of properties that can be defined in the context of a specific item type. Each type may have its own
+ * properties.
*/
@JsonProperty(value = "Properties")
private ApplicationInsightsComponentAnalyticsItemProperties properties;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentApiKeyInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentApiKeyInner.java
index cc0406b16b24..5f211e048d12 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentApiKeyInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentApiKeyInner.java
@@ -12,15 +12,14 @@
@Fluent
public final class ApplicationInsightsComponentApiKeyInner {
/*
- * The unique ID of the API key inside an Application Insights component.
- * It is auto generated when the API key is created.
+ * The unique ID of the API key inside an Application Insights component. It is auto generated when the API key is
+ * created.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;
/*
- * The API key value. It will be only return once when the API Key was
- * created.
+ * The API key value. It will be only return once when the API Key was created.
*/
@JsonProperty(value = "apiKey", access = JsonProperty.Access.WRITE_ONLY)
private String apiKey;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentBillingFeaturesInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentBillingFeaturesInner.java
index 5e1f727b1480..e83fe00a10f4 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentBillingFeaturesInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentBillingFeaturesInner.java
@@ -19,8 +19,8 @@ public final class ApplicationInsightsComponentBillingFeaturesInner {
private ApplicationInsightsComponentDataVolumeCap dataVolumeCap;
/*
- * Current enabled pricing plan. When the component is in the Enterprise
- * plan, this will list both 'Basic' and 'Application Insights Enterprise'.
+ * Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and
+ * 'Application Insights Enterprise'.
*/
@JsonProperty(value = "CurrentBillingFeatures")
private List currentBillingFeatures;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentExportConfigurationInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentExportConfigurationInner.java
index 6892d0e698ce..78274f06f11b 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentExportConfigurationInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentExportConfigurationInner.java
@@ -11,9 +11,8 @@
@Fluent
public final class ApplicationInsightsComponentExportConfigurationInner {
/*
- * The unique ID of the export configuration inside an Application Insights
- * component. It is auto generated when the Continuous Export configuration
- * is created.
+ * The unique ID of the export configuration inside an Application Insights component. It is auto generated when
+ * the Continuous Export configuration is created.
*/
@JsonProperty(value = "ExportId", access = JsonProperty.Access.WRITE_ONLY)
private String exportId;
@@ -25,9 +24,8 @@ public final class ApplicationInsightsComponentExportConfigurationInner {
private String instrumentationKey;
/*
- * This comma separated list of document types that will be exported. The
- * possible values include 'Requests', 'Event', 'Exceptions', 'Metrics',
- * 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters',
+ * This comma separated list of document types that will be exported. The possible values include 'Requests',
+ * 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters',
* 'Availability', 'Messages'.
*/
@JsonProperty(value = "RecordTypes")
@@ -76,8 +74,7 @@ public final class ApplicationInsightsComponentExportConfigurationInner {
private String destinationType;
/*
- * This will be 'true' if the Continuous Export configuration is enabled,
- * otherwise it will be 'false'.
+ * This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
*/
@JsonProperty(value = "IsUserEnabled", access = JsonProperty.Access.WRITE_ONLY)
private String isUserEnabled;
@@ -95,15 +92,15 @@ public final class ApplicationInsightsComponentExportConfigurationInner {
private String notificationQueueEnabled;
/*
- * This indicates current Continuous Export configuration status. The
- * possible values are 'Preparing', 'Success', 'Failure'.
+ * This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success',
+ * 'Failure'.
*/
@JsonProperty(value = "ExportStatus", access = JsonProperty.Access.WRITE_ONLY)
private String exportStatus;
/*
- * The last time data was successfully delivered to the destination storage
- * container for this Continuous Export configuration.
+ * The last time data was successfully delivered to the destination storage container for this Continuous Export
+ * configuration.
*/
@JsonProperty(value = "LastSuccessTime", access = JsonProperty.Access.WRITE_ONLY)
private String lastSuccessTime;
@@ -115,8 +112,8 @@ public final class ApplicationInsightsComponentExportConfigurationInner {
private String lastGapTime;
/*
- * This is the reason the Continuous Export configuration started failing.
- * It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
+ * This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or
+ * 'AzureStorageAccessDenied'.
*/
@JsonProperty(value = "PermanentErrorReason", access = JsonProperty.Access.WRITE_ONLY)
private String permanentErrorReason;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentFavoriteInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentFavoriteInner.java
index a35bac698a26..242e9b10039e 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentFavoriteInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentFavoriteInner.java
@@ -19,16 +19,15 @@ public final class ApplicationInsightsComponentFavoriteInner {
private String name;
/*
- * Configuration of this particular favorite, which are driven by the Azure
- * portal UX. Configuration data is a string containing valid JSON
+ * Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a
+ * string containing valid JSON
*/
@JsonProperty(value = "Config")
private String config;
/*
- * This instance's version of the data model. This can change as new
- * features are added that can be marked favorite. Current examples include
- * MetricsExplorer (ME) and Search.
+ * This instance's version of the data model. This can change as new features are added that can be marked
+ * favorite. Current examples include MetricsExplorer (ME) and Search.
*/
@JsonProperty(value = "Version")
private String version;
@@ -40,9 +39,8 @@ public final class ApplicationInsightsComponentFavoriteInner {
private String favoriteId;
/*
- * Enum indicating if this favorite definition is owned by a specific user
- * or is shared between all users with access to the Application Insights
- * component.
+ * Enum indicating if this favorite definition is owned by a specific user or is shared between all users with
+ * access to the Application Insights component.
*/
@JsonProperty(value = "FavoriteType")
private FavoriteType favoriteType;
@@ -54,15 +52,13 @@ public final class ApplicationInsightsComponentFavoriteInner {
private String sourceType;
/*
- * Date and time in UTC of the last modification that was made to this
- * favorite definition.
+ * Date and time in UTC of the last modification that was made to this favorite definition.
*/
@JsonProperty(value = "TimeModified", access = JsonProperty.Access.WRITE_ONLY)
private String timeModified;
/*
- * A list of 0 or more tags that are associated with this favorite
- * definition
+ * A list of 0 or more tags that are associated with this favorite definition
*/
@JsonProperty(value = "Tags")
private List tags;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentInner.java
index 18f11a922b88..f61a4e2bc564 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentInner.java
@@ -22,9 +22,8 @@
@Fluent
public final class ApplicationInsightsComponentInner extends ComponentsResource {
/*
- * The kind of application that this component refers to, used to customize
- * UI. This value is a freeform string, values should typically be one of
- * the following: web, ios, other, store, java, phone.
+ * The kind of application that this component refers to, used to customize UI. This value is a freeform string,
+ * values should typically be one of the following: web, ios, other, store, java, phone.
*/
@JsonProperty(value = "kind", required = true)
private String kind;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProactiveDetectionConfigurationInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProactiveDetectionConfigurationInner.java
index 40681ab28186..e2962ff5505c 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProactiveDetectionConfigurationInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProactiveDetectionConfigurationInner.java
@@ -25,8 +25,7 @@ public final class ApplicationInsightsComponentProactiveDetectionConfigurationIn
private Boolean enabled;
/*
- * A flag that indicated whether notifications on this rule should be sent
- * to subscription owners
+ * A flag that indicated whether notifications on this rule should be sent to subscription owners
*/
@JsonProperty(value = "SendEmailsToSubscriptionOwners")
private Boolean sendEmailsToSubscriptionOwners;
@@ -44,8 +43,7 @@ public final class ApplicationInsightsComponentProactiveDetectionConfigurationIn
private String lastUpdatedTime;
/*
- * Static definitions of the ProactiveDetection configuration rule (same
- * values for all components).
+ * Static definitions of the ProactiveDetection configuration rule (same values for all components).
*/
@JsonProperty(value = "RuleDefinitions")
private ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions ruleDefinitions;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProperties.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProperties.java
index 4dfe395d589a..867aa3624084 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProperties.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentProperties.java
@@ -20,8 +20,7 @@
@Fluent
public final class ApplicationInsightsComponentProperties {
/*
- * The unique ID of your application. This field mirrors the 'Name' field
- * and cannot be changed.
+ * The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
*/
@JsonProperty(value = "ApplicationId", access = JsonProperty.Access.WRITE_ONLY)
private String applicationId;
@@ -45,32 +44,29 @@ public final class ApplicationInsightsComponentProperties {
private ApplicationType applicationType;
/*
- * Used by the Application Insights system to determine what kind of flow
- * this component was created by. This is to be set to 'Bluefield' when
- * creating/updating a component via the REST API.
+ * Used by the Application Insights system to determine what kind of flow this component was created by. This is to
+ * be set to 'Bluefield' when creating/updating a component via the REST API.
*/
@JsonProperty(value = "Flow_Type")
private FlowType flowType;
/*
- * Describes what tool created this Application Insights component.
- * Customers using this API should set this to the default 'rest'.
+ * Describes what tool created this Application Insights component. Customers using this API should set this to the
+ * default 'rest'.
*/
@JsonProperty(value = "Request_Source")
private RequestSource requestSource;
/*
- * Application Insights Instrumentation key. A read-only value that
- * applications can use to identify the destination for all telemetry sent
- * to Azure Application Insights. This value will be supplied upon
- * construction of each new Application Insights component.
+ * Application Insights Instrumentation key. A read-only value that applications can use to identify the
+ * destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction
+ * of each new Application Insights component.
*/
@JsonProperty(value = "InstrumentationKey", access = JsonProperty.Access.WRITE_ONLY)
private String instrumentationKey;
/*
- * Creation Date for the Application Insights component, in ISO 8601
- * format.
+ * Creation Date for the Application Insights component, in ISO 8601 format.
*/
@JsonProperty(value = "CreationDate", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime creationDate;
@@ -82,31 +78,29 @@ public final class ApplicationInsightsComponentProperties {
private String tenantId;
/*
- * The unique application ID created when a new application is added to
- * HockeyApp, used for communications with HockeyApp.
+ * The unique application ID created when a new application is added to HockeyApp, used for communications with
+ * HockeyApp.
*/
@JsonProperty(value = "HockeyAppId")
private String hockeyAppId;
/*
- * Token used to authenticate communications with between Application
- * Insights and HockeyApp.
+ * Token used to authenticate communications with between Application Insights and HockeyApp.
*/
@JsonProperty(value = "HockeyAppToken", access = JsonProperty.Access.WRITE_ONLY)
private String hockeyAppToken;
/*
- * Current state of this component: whether or not is has been provisioned
- * within the resource group it is defined. Users cannot change this value
- * but are able to read from it. Values will include Succeeded, Deploying,
- * Canceled, and Failed.
+ * Current state of this component: whether or not is has been provisioned within the resource group it is defined.
+ * Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled,
+ * and Failed.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;
/*
- * Percentage of the data produced by the application being monitored that
- * is being sampled for Application Insights telemetry.
+ * Percentage of the data produced by the application being monitored that is being sampled for Application
+ * Insights telemetry.
*/
@JsonProperty(value = "SamplingPercentage")
private Double samplingPercentage;
@@ -136,10 +130,8 @@ public final class ApplicationInsightsComponentProperties {
private Boolean immediatePurgeDataOn30Days;
/*
- * Resource Id of the log analytics workspace which the data will be
- * ingested to. This property is required to create an application with
- * this API version. Applications from older versions will not have this
- * property.
+ * Resource Id of the log analytics workspace which the data will be ingested to. This property is required to
+ * create an application with this API version. Applications from older versions will not have this property.
*/
@JsonProperty(value = "WorkspaceResourceId")
private String workspaceResourceId;
@@ -181,8 +173,7 @@ public final class ApplicationInsightsComponentProperties {
private Boolean disableLocalAuth;
/*
- * Force users to create their own storage account for profiler and
- * debugger.
+ * Force users to create their own storage account for profiler and debugger.
*/
@JsonProperty(value = "ForceCustomerStorageForProfiler")
private Boolean forceCustomerStorageForProfiler;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentQuotaStatusInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentQuotaStatusInner.java
index ffcbd1bfb622..82bb9b3d1aa0 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentQuotaStatusInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/ApplicationInsightsComponentQuotaStatusInner.java
@@ -23,8 +23,7 @@ public final class ApplicationInsightsComponentQuotaStatusInner {
private Boolean shouldBeThrottled;
/*
- * Date and time when the daily data volume cap will be reset, and data
- * ingestion will resume.
+ * Date and time when the daily data volume cap will be reset, and data ingestion will resume.
*/
@JsonProperty(value = "ExpirationTime", access = JsonProperty.Access.WRITE_ONLY)
private String expirationTime;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/MyWorkbookProperties.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/MyWorkbookProperties.java
index bb7a9a9d691b..a52a1038c749 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/MyWorkbookProperties.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/MyWorkbookProperties.java
@@ -19,22 +19,20 @@ public final class MyWorkbookProperties {
private String displayName;
/*
- * Configuration of this particular private workbook. Configuration data is
- * a string containing valid JSON
+ * Configuration of this particular private workbook. Configuration data is a string containing valid JSON
*/
@JsonProperty(value = "serializedData", required = true)
private String serializedData;
/*
- * This instance's version of the data model. This can change as new
- * features are added that can be marked private workbook.
+ * This instance's version of the data model. This can change as new features are added that can be marked private
+ * workbook.
*/
@JsonProperty(value = "version")
private String version;
/*
- * Date and time in UTC of the last modification that was made to this
- * private workbook definition.
+ * Date and time in UTC of the last modification that was made to this private workbook definition.
*/
@JsonProperty(value = "timeModified", access = JsonProperty.Access.WRITE_ONLY)
private String timeModified;
@@ -46,8 +44,7 @@ public final class MyWorkbookProperties {
private String category;
/*
- * A list of 0 or more tags that are associated with this private workbook
- * definition
+ * A list of 0 or more tags that are associated with this private workbook definition
*/
@JsonProperty(value = "tags")
private List tags;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/OperationInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/OperationInner.java
index 437b7f7c17eb..94b5a9c6ad7a 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/OperationInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/OperationInner.java
@@ -8,7 +8,7 @@
import com.azure.resourcemanager.applicationinsights.models.OperationDisplay;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** CDN REST API operation. */
+/** Azure Workbooks REST API operation. */
@Fluent
public final class OperationInner {
/*
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestInner.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestInner.java
index f5c12ebdf2d4..605128638861 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestInner.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestInner.java
@@ -8,17 +8,18 @@
import com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation;
import com.azure.resourcemanager.applicationinsights.models.WebTestKind;
import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesConfiguration;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesRequest;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesValidationRules;
import com.azure.resourcemanager.applicationinsights.models.WebtestsResource;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
-/** An Application Insights web test definition. */
+/** An Application Insights WebTest definition. */
@Fluent
public final class WebTestInner extends WebtestsResource {
/*
- * The kind of web test that this web test watches. Choices are ping and
- * multistep.
+ * The kind of WebTest that this web test watches. Choices are ping, multistep and standard.
*/
@JsonProperty(value = "kind")
private WebTestKind kind;
@@ -30,7 +31,7 @@ public final class WebTestInner extends WebtestsResource {
private WebTestProperties innerProperties;
/**
- * Get the kind property: The kind of web test that this web test watches. Choices are ping and multistep.
+ * Get the kind property: The kind of WebTest that this web test watches. Choices are ping, multistep and standard.
*
* @return the kind value.
*/
@@ -39,7 +40,7 @@ public WebTestKind kind() {
}
/**
- * Set the kind property: The kind of web test that this web test watches. Choices are ping and multistep.
+ * Set the kind property: The kind of WebTest that this web test watches. Choices are ping, multistep and standard.
*
* @param kind the kind value to set.
* @return the WebTestInner object itself.
@@ -121,7 +122,7 @@ public WebTestInner withWebTestName(String webTestName) {
}
/**
- * Get the description property: Purpose/user defined descriptive test for this WebTest.
+ * Get the description property: User defined description for this WebTest.
*
* @return the description value.
*/
@@ -130,7 +131,7 @@ public String description() {
}
/**
- * Set the description property: Purpose/user defined descriptive test for this WebTest.
+ * Set the description property: User defined description for this WebTest.
*
* @param description the description value to set.
* @return the WebTestInner object itself.
@@ -213,7 +214,7 @@ public WebTestInner withTimeout(Integer timeout) {
}
/**
- * Get the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
+ * Get the webTestKind property: The kind of web test this is, valid choices are ping, multistep and standard.
*
* @return the webTestKind value.
*/
@@ -222,7 +223,7 @@ public WebTestKind webTestKind() {
}
/**
- * Set the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
+ * Set the webTestKind property: The kind of web test this is, valid choices are ping, multistep and standard.
*
* @param webTestKind the webTestKind value to set.
* @return the WebTestInner object itself.
@@ -317,6 +318,52 @@ public String provisioningState() {
return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
}
+ /**
+ * Get the request property: The collection of request properties.
+ *
+ * @return the request value.
+ */
+ public WebTestPropertiesRequest request() {
+ return this.innerProperties() == null ? null : this.innerProperties().request();
+ }
+
+ /**
+ * Set the request property: The collection of request properties.
+ *
+ * @param request the request value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withRequest(WebTestPropertiesRequest request) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new WebTestProperties();
+ }
+ this.innerProperties().withRequest(request);
+ return this;
+ }
+
+ /**
+ * Get the validationRules property: The collection of validation rule properties.
+ *
+ * @return the validationRules value.
+ */
+ public WebTestPropertiesValidationRules validationRules() {
+ return this.innerProperties() == null ? null : this.innerProperties().validationRules();
+ }
+
+ /**
+ * Set the validationRules property: The collection of validation rule properties.
+ *
+ * @param validationRules the validationRules value to set.
+ * @return the WebTestInner object itself.
+ */
+ public WebTestInner withValidationRules(WebTestPropertiesValidationRules validationRules) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new WebTestProperties();
+ }
+ this.innerProperties().withValidationRules(validationRules);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestProperties.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestProperties.java
index 1e2ecf0f8ecc..aff8756239bb 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestProperties.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WebTestProperties.java
@@ -9,6 +9,8 @@
import com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation;
import com.azure.resourcemanager.applicationinsights.models.WebTestKind;
import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesConfiguration;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesRequest;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesValidationRules;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
@@ -16,8 +18,7 @@
@Fluent
public final class WebTestProperties {
/*
- * Unique ID of this WebTest. This is typically the same value as the Name
- * field.
+ * Unique ID of this WebTest. This is typically the same value as the Name field.
*/
@JsonProperty(value = "SyntheticMonitorId", required = true)
private String syntheticMonitorId;
@@ -29,7 +30,7 @@ public final class WebTestProperties {
private String webTestName;
/*
- * Purpose/user defined descriptive test for this WebTest.
+ * User defined description for this WebTest.
*/
@JsonProperty(value = "Description")
private String description;
@@ -41,8 +42,7 @@ public final class WebTestProperties {
private Boolean enabled;
/*
- * Interval in seconds between test runs for this WebTest. Default value is
- * 300.
+ * Interval in seconds between test runs for this WebTest. Default value is 300.
*/
@JsonProperty(value = "Frequency")
private Integer frequency;
@@ -54,7 +54,7 @@ public final class WebTestProperties {
private Integer timeout;
/*
- * The kind of web test this is, valid choices are ping and multistep.
+ * The kind of web test this is, valid choices are ping, multistep and standard.
*/
@JsonProperty(value = "Kind", required = true)
private WebTestKind webTestKind;
@@ -66,8 +66,7 @@ public final class WebTestProperties {
private Boolean retryEnabled;
/*
- * A list of where to physically run the tests from to give global coverage
- * for accessibility of your application.
+ * A list of where to physically run the tests from to give global coverage for accessibility of your application.
*/
@JsonProperty(value = "Locations", required = true)
private List locations;
@@ -79,14 +78,25 @@ public final class WebTestProperties {
private WebTestPropertiesConfiguration configuration;
/*
- * Current state of this component, whether or not is has been provisioned
- * within the resource group it is defined. Users cannot change this value
- * but are able to read from it. Values will include Succeeded, Deploying,
- * Canceled, and Failed.
+ * Current state of this component, whether or not is has been provisioned within the resource group it is defined.
+ * Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled,
+ * and Failed.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;
+ /*
+ * The collection of request properties
+ */
+ @JsonProperty(value = "Request")
+ private WebTestPropertiesRequest request;
+
+ /*
+ * The collection of validation rule properties
+ */
+ @JsonProperty(value = "ValidationRules")
+ private WebTestPropertiesValidationRules validationRules;
+
/**
* Get the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name
* field.
@@ -130,7 +140,7 @@ public WebTestProperties withWebTestName(String webTestName) {
}
/**
- * Get the description property: Purpose/user defined descriptive test for this WebTest.
+ * Get the description property: User defined description for this WebTest.
*
* @return the description value.
*/
@@ -139,7 +149,7 @@ public String description() {
}
/**
- * Set the description property: Purpose/user defined descriptive test for this WebTest.
+ * Set the description property: User defined description for this WebTest.
*
* @param description the description value to set.
* @return the WebTestProperties object itself.
@@ -210,7 +220,7 @@ public WebTestProperties withTimeout(Integer timeout) {
}
/**
- * Get the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
+ * Get the webTestKind property: The kind of web test this is, valid choices are ping, multistep and standard.
*
* @return the webTestKind value.
*/
@@ -219,7 +229,7 @@ public WebTestKind webTestKind() {
}
/**
- * Set the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
+ * Set the webTestKind property: The kind of web test this is, valid choices are ping, multistep and standard.
*
* @param webTestKind the webTestKind value to set.
* @return the WebTestProperties object itself.
@@ -302,6 +312,46 @@ public String provisioningState() {
return this.provisioningState;
}
+ /**
+ * Get the request property: The collection of request properties.
+ *
+ * @return the request value.
+ */
+ public WebTestPropertiesRequest request() {
+ return this.request;
+ }
+
+ /**
+ * Set the request property: The collection of request properties.
+ *
+ * @param request the request value to set.
+ * @return the WebTestProperties object itself.
+ */
+ public WebTestProperties withRequest(WebTestPropertiesRequest request) {
+ this.request = request;
+ return this;
+ }
+
+ /**
+ * Get the validationRules property: The collection of validation rule properties.
+ *
+ * @return the validationRules value.
+ */
+ public WebTestPropertiesValidationRules validationRules() {
+ return this.validationRules;
+ }
+
+ /**
+ * Set the validationRules property: The collection of validation rule properties.
+ *
+ * @param validationRules the validationRules value to set.
+ * @return the WebTestProperties object itself.
+ */
+ public WebTestProperties withValidationRules(WebTestPropertiesValidationRules validationRules) {
+ this.validationRules = validationRules;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -334,6 +384,12 @@ public void validate() {
if (configuration() != null) {
configuration().validate();
}
+ if (request() != null) {
+ request().validate();
+ }
+ if (validationRules() != null) {
+ validationRules().validate();
+ }
}
private static final ClientLogger LOGGER = new ClientLogger(WebTestProperties.class);
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookProperties.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookProperties.java
index 57fd417fb212..b74bcb12bbf3 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookProperties.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookProperties.java
@@ -20,22 +20,19 @@ public final class WorkbookProperties {
private String displayName;
/*
- * Configuration of this particular workbook. Configuration data is a
- * string containing valid JSON
+ * Configuration of this particular workbook. Configuration data is a string containing valid JSON
*/
@JsonProperty(value = "serializedData", required = true)
private String serializedData;
/*
- * Workbook schema version format, like 'Notebook/1.0', which should match
- * the workbook in serializedData
+ * Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
*/
@JsonProperty(value = "version")
private String version;
/*
- * Date and time in UTC of the last modification that was made to this
- * workbook definition.
+ * Date and time in UTC of the last modification that was made to this workbook definition.
*/
@JsonProperty(value = "timeModified", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime timeModified;
@@ -65,8 +62,7 @@ public final class WorkbookProperties {
private String sourceId;
/*
- * The resourceId to the storage account when bring your own storage is
- * used
+ * The resourceId to the storage account when bring your own storage is used
*/
@JsonProperty(value = "storageUri")
private String storageUri;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookPropertiesUpdateParameters.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookPropertiesUpdateParameters.java
index ae5fe8a053fe..85757d713163 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookPropertiesUpdateParameters.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookPropertiesUpdateParameters.java
@@ -18,8 +18,7 @@ public final class WorkbookPropertiesUpdateParameters {
private String displayName;
/*
- * Configuration of this particular workbook. Configuration data is a
- * string containing valid JSON
+ * Configuration of this particular workbook. Configuration data is a string containing valid JSON
*/
@JsonProperty(value = "serializedData")
private String serializedData;
@@ -31,8 +30,7 @@ public final class WorkbookPropertiesUpdateParameters {
private String category;
/*
- * A list of 0 or more tags that are associated with this workbook
- * definition
+ * A list of 0 or more tags that are associated with this workbook definition
*/
@JsonProperty(value = "tags")
private List tags;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookTemplateProperties.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookTemplateProperties.java
index ee326b6a0a50..8824643e8049 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookTemplateProperties.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/fluent/models/WorkbookTemplateProperties.java
@@ -17,8 +17,7 @@
@Fluent
public final class WorkbookTemplateProperties {
/*
- * Priority of the template. Determines which template to open when a
- * workbook gallery is opened in viewer mode.
+ * Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.
*/
@JsonProperty(value = "priority")
private Integer priority;
@@ -42,8 +41,7 @@ public final class WorkbookTemplateProperties {
private List galleries;
/*
- * Key value pair of localized gallery. Each key is the locale code of
- * languages supported by the Azure portal.
+ * Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.
*/
@JsonProperty(value = "localized")
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientBuilder.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientBuilder.java
index 7793c01cd415..0c615d304b2b 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientBuilder.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientBuilder.java
@@ -119,24 +119,26 @@ public ApplicationInsightsManagementClientBuilder serializerAdapter(SerializerAd
* @return an instance of ApplicationInsightsManagementClientImpl.
*/
public ApplicationInsightsManagementClientImpl buildClient() {
- if (endpoint == null) {
- this.endpoint = "https://management.azure.com";
- }
- if (environment == null) {
- this.environment = AzureEnvironment.AZURE;
- }
- if (pipeline == null) {
- this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
- }
- if (defaultPollInterval == null) {
- this.defaultPollInterval = Duration.ofSeconds(30);
- }
- if (serializerAdapter == null) {
- this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
- }
+ String localEndpoint = (endpoint != null) ? endpoint : "https://management.azure.com";
+ AzureEnvironment localEnvironment = (environment != null) ? environment : AzureEnvironment.AZURE;
+ HttpPipeline localPipeline =
+ (pipeline != null)
+ ? pipeline
+ : new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
+ Duration localDefaultPollInterval =
+ (defaultPollInterval != null) ? defaultPollInterval : Duration.ofSeconds(30);
+ SerializerAdapter localSerializerAdapter =
+ (serializerAdapter != null)
+ ? serializerAdapter
+ : SerializerFactory.createDefaultManagementSerializerAdapter();
ApplicationInsightsManagementClientImpl client =
new ApplicationInsightsManagementClientImpl(
- pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ localPipeline,
+ localSerializerAdapter,
+ localDefaultPollInterval,
+ localEnvironment,
+ subscriptionId,
+ localEndpoint);
return client;
}
}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientImpl.java
index 495810507dd5..28450eccd204 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ApplicationInsightsManagementClientImpl.java
@@ -115,16 +115,16 @@ public Duration getDefaultPollInterval() {
return this.defaultPollInterval;
}
- /** The OperationsClient object to access its operations. */
- private final OperationsClient operations;
+ /** The ComponentsClient object to access its operations. */
+ private final ComponentsClient components;
/**
- * Gets the OperationsClient object to access its operations.
+ * Gets the ComponentsClient object to access its operations.
*
- * @return the OperationsClient object.
+ * @return the ComponentsClient object.
*/
- public OperationsClient getOperations() {
- return this.operations;
+ public ComponentsClient getComponents() {
+ return this.components;
}
/** The AnnotationsClient object to access its operations. */
@@ -283,6 +283,18 @@ public AnalyticsItemsClient getAnalyticsItems() {
return this.analyticsItems;
}
+ /** The OperationsClient object to access its operations. */
+ private final OperationsClient operations;
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ public OperationsClient getOperations() {
+ return this.operations;
+ }
+
/** The WorkbookTemplatesClient object to access its operations. */
private final WorkbookTemplatesClient workbookTemplates;
@@ -319,16 +331,16 @@ public WorkbooksClient getWorkbooks() {
return this.workbooks;
}
- /** The ComponentsClient object to access its operations. */
- private final ComponentsClient components;
+ /** The LiveTokensClient object to access its operations. */
+ private final LiveTokensClient liveTokens;
/**
- * Gets the ComponentsClient object to access its operations.
+ * Gets the LiveTokensClient object to access its operations.
*
- * @return the ComponentsClient object.
+ * @return the LiveTokensClient object.
*/
- public ComponentsClient getComponents() {
- return this.components;
+ public LiveTokensClient getLiveTokens() {
+ return this.liveTokens;
}
/** The ComponentLinkedStorageAccountsOperationsClient object to access its operations. */
@@ -343,18 +355,6 @@ public ComponentLinkedStorageAccountsOperationsClient getComponentLinkedStorageA
return this.componentLinkedStorageAccountsOperations;
}
- /** The LiveTokensClient object to access its operations. */
- private final LiveTokensClient liveTokens;
-
- /**
- * Gets the LiveTokensClient object to access its operations.
- *
- * @return the LiveTokensClient object.
- */
- public LiveTokensClient getLiveTokens() {
- return this.liveTokens;
- }
-
/**
* Initializes an instance of ApplicationInsightsManagementClient client.
*
@@ -377,7 +377,7 @@ public LiveTokensClient getLiveTokens() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.operations = new OperationsClientImpl(this);
+ this.components = new ComponentsClientImpl(this);
this.annotations = new AnnotationsClientImpl(this);
this.apiKeys = new ApiKeysClientImpl(this);
this.exportConfigurations = new ExportConfigurationsClientImpl(this);
@@ -391,12 +391,12 @@ public LiveTokensClient getLiveTokens() {
this.webTestLocations = new WebTestLocationsClientImpl(this);
this.webTests = new WebTestsClientImpl(this);
this.analyticsItems = new AnalyticsItemsClientImpl(this);
+ this.operations = new OperationsClientImpl(this);
this.workbookTemplates = new WorkbookTemplatesClientImpl(this);
this.myWorkbooks = new MyWorkbooksClientImpl(this);
this.workbooks = new WorkbooksClientImpl(this);
- this.components = new ComponentsClientImpl(this);
- this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsClientImpl(this);
this.liveTokens = new LiveTokensClientImpl(this);
+ this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsClientImpl(this);
}
/**
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ComponentsClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ComponentsClientImpl.java
index b1cb815f3010..3e3039874090 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ComponentsClientImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/ComponentsClientImpl.java
@@ -1153,7 +1153,10 @@ public Response updateTagsWithResponse(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
@@ -1215,7 +1218,10 @@ private Mono> purgeWithResponseAsync(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
@@ -1275,7 +1281,10 @@ private Mono> purgeWithResponseAsync(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
@@ -1298,7 +1307,10 @@ private Mono purgeAsync(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
@@ -1319,7 +1331,10 @@ public ComponentPurgeResponseInner purge(String resourceGroupName, String resour
*
In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/FavoritesClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/FavoritesClientImpl.java
index 2f315dae742c..756f75c7d1aa 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/FavoritesClientImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/FavoritesClientImpl.java
@@ -25,13 +25,13 @@
import com.azure.core.management.exception.ManagementException;
import com.azure.core.util.Context;
import com.azure.core.util.FluxUtil;
-import com.azure.core.util.serializer.CollectionFormat;
-import com.azure.core.util.serializer.JacksonAdapter;
import com.azure.resourcemanager.applicationinsights.fluent.FavoritesClient;
import com.azure.resourcemanager.applicationinsights.fluent.models.ApplicationInsightsComponentFavoriteInner;
import com.azure.resourcemanager.applicationinsights.models.FavoriteSourceType;
import com.azure.resourcemanager.applicationinsights.models.FavoriteType;
import java.util.List;
+import java.util.Objects;
+import java.util.stream.Collectors;
import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in FavoritesClient. */
@@ -192,7 +192,9 @@ private Mono>> listWith
final String apiVersion = "2015-05-01";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
return FluxUtil
.withContext(
context ->
@@ -261,7 +263,9 @@ private Mono>> listWith
final String apiVersion = "2015-05-01";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
context = this.client.mergeContext(context);
return service
.list(
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/MyWorkbooksClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/MyWorkbooksClientImpl.java
index 8018a3743646..61691d5dd149 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/MyWorkbooksClientImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/MyWorkbooksClientImpl.java
@@ -28,14 +28,14 @@
import com.azure.core.http.rest.RestProxy;
import com.azure.core.util.Context;
import com.azure.core.util.FluxUtil;
-import com.azure.core.util.serializer.CollectionFormat;
-import com.azure.core.util.serializer.JacksonAdapter;
import com.azure.resourcemanager.applicationinsights.fluent.MyWorkbooksClient;
import com.azure.resourcemanager.applicationinsights.fluent.models.MyWorkbookInner;
import com.azure.resourcemanager.applicationinsights.models.CategoryType;
import com.azure.resourcemanager.applicationinsights.models.ErrorDefinitionException;
import com.azure.resourcemanager.applicationinsights.models.MyWorkbooksListResult;
import java.util.List;
+import java.util.Objects;
+import java.util.stream.Collectors;
import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in MyWorkbooksClient. */
@@ -221,7 +221,9 @@ private Mono> listByResourceGroupSinglePageAsync(
final String apiVersion = "2021-03-08";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
return FluxUtil
.withContext(
context ->
@@ -295,7 +297,9 @@ private Mono> listByResourceGroupSinglePageAsync(
final String apiVersion = "2021-03-08";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
context = this.client.mergeContext(context);
return service
.listByResourceGroup(
@@ -477,7 +481,9 @@ private Mono> listSinglePageAsync(
final String apiVersion = "2021-03-08";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
return FluxUtil
.withContext(
context ->
@@ -538,7 +544,9 @@ private Mono> listSinglePageAsync(
final String apiVersion = "2021-03-08";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
context = this.client.mergeContext(context);
return service
.list(
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/OperationsClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/OperationsClientImpl.java
index f966c1406737..4db66eb8c0bf 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/OperationsClientImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/OperationsClientImpl.java
@@ -82,8 +82,8 @@ Mono> listNext(
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * @return result of the request to list Azure Workbooks operations along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync() {
@@ -93,7 +93,7 @@ private Mono> listSinglePageAsync() {
new IllegalArgumentException(
"Parameter this.client.getEndpoint() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2021-03-08";
final String accept = "application/json";
return FluxUtil
.withContext(context -> service.list(this.client.getEndpoint(), apiVersion, accept, context))
@@ -116,8 +116,8 @@ private Mono> listSinglePageAsync() {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * @return result of the request to list Azure Workbooks operations along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(Context context) {
@@ -127,7 +127,7 @@ private Mono> listSinglePageAsync(Context context)
new IllegalArgumentException(
"Parameter this.client.getEndpoint() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2021-03-08";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -148,7 +148,7 @@ private Mono> listSinglePageAsync(Context context)
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedFlux}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync() {
@@ -162,7 +162,7 @@ private PagedFlux listAsync() {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedFlux}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
private PagedFlux listAsync(Context context) {
@@ -175,7 +175,8 @@ private PagedFlux listAsync(Context context) {
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link
+ * PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable list() {
@@ -189,7 +190,8 @@ public PagedIterable list() {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link
+ * PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
public PagedIterable list(Context context) {
@@ -203,8 +205,8 @@ public PagedIterable list(Context context) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * @return result of the request to list Azure Workbooks operations along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink) {
@@ -240,8 +242,8 @@ private Mono> listNextSinglePageAsync(String nextL
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * @return result of the request to list Azure Workbooks operations along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink, Context context) {
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestImpl.java
index 73aa68849eb9..98b9d33f6327 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestImpl.java
@@ -12,6 +12,8 @@
import com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation;
import com.azure.resourcemanager.applicationinsights.models.WebTestKind;
import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesConfiguration;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesRequest;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesValidationRules;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@@ -99,6 +101,14 @@ public String provisioningState() {
return this.innerModel().provisioningState();
}
+ public WebTestPropertiesRequest request() {
+ return this.innerModel().request();
+ }
+
+ public WebTestPropertiesValidationRules validationRules() {
+ return this.innerModel().validationRules();
+ }
+
public Region region() {
return Region.fromName(this.regionName());
}
@@ -285,6 +295,16 @@ public WebTestImpl withConfiguration(WebTestPropertiesConfiguration configuratio
return this;
}
+ public WebTestImpl withRequest(WebTestPropertiesRequest request) {
+ this.innerModel().withRequest(request);
+ return this;
+ }
+
+ public WebTestImpl withValidationRules(WebTestPropertiesValidationRules validationRules) {
+ this.innerModel().withValidationRules(validationRules);
+ return this;
+ }
+
private boolean isInCreateMode() {
return this.innerModel().id() == null;
}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestsClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestsClientImpl.java
index faa0d9358d4f..5abf9cf4cc9c 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestsClientImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WebTestsClientImpl.java
@@ -191,13 +191,13 @@ Mono> listByComponentNext(
}
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group along with {@link
+ * @return all Application Insights web tests defined for the specified resource group along with {@link
* PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -218,7 +218,7 @@ private Mono> listByResourceGroupSinglePageAsync(Str
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -244,14 +244,14 @@ private Mono> listByResourceGroupSinglePageAsync(Str
}
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group along with {@link
+ * @return all Application Insights web tests defined for the specified resource group along with {@link
* PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -273,7 +273,7 @@ private Mono> listByResourceGroupSinglePageAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -296,13 +296,13 @@ private Mono> listByResourceGroupSinglePageAsync(
}
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -313,14 +313,14 @@ private PagedFlux listByResourceGroupAsync(String resourceGroupNam
}
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -331,13 +331,13 @@ private PagedFlux listByResourceGroupAsync(String resourceGroupNam
}
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -346,14 +346,14 @@ public PagedIterable listByResourceGroup(String resourceGroupName)
}
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -365,7 +365,7 @@ public PagedIterable listByResourceGroup(String resourceGroupName,
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -394,7 +394,7 @@ private Mono> getByResourceGroupWithResponseAsync(
if (webTestName == null) {
return Mono.error(new IllegalArgumentException("Parameter webTestName is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -415,7 +415,7 @@ private Mono> getByResourceGroupWithResponseAsync(
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -445,7 +445,7 @@ private Mono> getByResourceGroupWithResponseAsync(
if (webTestName == null) {
return Mono.error(new IllegalArgumentException("Parameter webTestName is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -463,7 +463,7 @@ private Mono> getByResourceGroupWithResponseAsync(
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -479,7 +479,7 @@ private Mono getByResourceGroupAsync(String resourceGroupName, Str
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -494,7 +494,7 @@ public WebTestInner getByResourceGroup(String resourceGroupName, String webTestN
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -511,14 +511,14 @@ public Response getByResourceGroupWithResponse(
* Creates or updates an Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
* test definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response} on successful completion of
- * {@link Mono}.
+ * @return an Application Insights WebTest definition along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> createOrUpdateWithResponseAsync(
@@ -548,7 +548,7 @@ private Mono> createOrUpdateWithResponseAsync(
} else {
webTestDefinition.validate();
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -570,15 +570,15 @@ private Mono> createOrUpdateWithResponseAsync(
* Creates or updates an Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
* test definition.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response} on successful completion of
- * {@link Mono}.
+ * @return an Application Insights WebTest definition along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> createOrUpdateWithResponseAsync(
@@ -608,7 +608,7 @@ private Mono> createOrUpdateWithResponseAsync(
} else {
webTestDefinition.validate();
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -627,13 +627,13 @@ private Mono> createOrUpdateWithResponseAsync(
* Creates or updates an Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
* test definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition on successful completion of {@link Mono}.
+ * @return an Application Insights WebTest definition on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAsync(
@@ -646,13 +646,13 @@ private Mono createOrUpdateAsync(
* Creates or updates an Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
* test definition.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition.
+ * @return an Application Insights WebTest definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public WebTestInner createOrUpdate(String resourceGroupName, String webTestName, WebTestInner webTestDefinition) {
@@ -663,14 +663,14 @@ public WebTestInner createOrUpdate(String resourceGroupName, String webTestName,
* Creates or updates an Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param webTestDefinition Properties that need to be specified to create or update an Application Insights web
* test definition.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response}.
+ * @return an Application Insights WebTest definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response createOrUpdateWithResponse(
@@ -679,16 +679,16 @@ public Response createOrUpdateWithResponse(
}
/**
- * Creates or updates an Application Insights web test definition.
+ * Updates the tags associated with an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
- * @param webTestTags Updated tag information to set into the web test instance.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to associate with the web test resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response} on successful completion of
- * {@link Mono}.
+ * @return an Application Insights WebTest definition along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> updateTagsWithResponseAsync(
@@ -717,7 +717,7 @@ private Mono> updateTagsWithResponseAsync(
} else {
webTestTags.validate();
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -736,17 +736,17 @@ private Mono> updateTagsWithResponseAsync(
}
/**
- * Creates or updates an Application Insights web test definition.
+ * Updates the tags associated with an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
- * @param webTestTags Updated tag information to set into the web test instance.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to associate with the web test resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response} on successful completion of
- * {@link Mono}.
+ * @return an Application Insights WebTest definition along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> updateTagsWithResponseAsync(
@@ -775,7 +775,7 @@ private Mono> updateTagsWithResponseAsync(
} else {
webTestTags.validate();
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -791,15 +791,15 @@ private Mono> updateTagsWithResponseAsync(
}
/**
- * Creates or updates an Application Insights web test definition.
+ * Updates the tags associated with an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
- * @param webTestTags Updated tag information to set into the web test instance.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to associate with the web test resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition on successful completion of {@link Mono}.
+ * @return an Application Insights WebTest definition on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono updateTagsAsync(String resourceGroupName, String webTestName, TagsResource webTestTags) {
@@ -808,15 +808,15 @@ private Mono updateTagsAsync(String resourceGroupName, String webT
}
/**
- * Creates or updates an Application Insights web test definition.
+ * Updates the tags associated with an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
- * @param webTestTags Updated tag information to set into the web test instance.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to associate with the web test resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition.
+ * @return an Application Insights WebTest definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public WebTestInner updateTags(String resourceGroupName, String webTestName, TagsResource webTestTags) {
@@ -824,16 +824,16 @@ public WebTestInner updateTags(String resourceGroupName, String webTestName, Tag
}
/**
- * Creates or updates an Application Insights web test definition.
+ * Updates the tags associated with an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
- * @param webTestTags Updated tag information to set into the web test instance.
+ * @param webTestName The name of the Application Insights WebTest resource.
+ * @param webTestTags Updated tag information to associate with the web test resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an Application Insights web test definition along with {@link Response}.
+ * @return an Application Insights WebTest definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response updateTagsWithResponse(
@@ -845,7 +845,7 @@ public Response updateTagsWithResponse(
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -872,7 +872,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S
if (webTestName == null) {
return Mono.error(new IllegalArgumentException("Parameter webTestName is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
return FluxUtil
.withContext(
context ->
@@ -891,7 +891,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -920,7 +920,7 @@ private Mono> deleteWithResponseAsync(
if (webTestName == null) {
return Mono.error(new IllegalArgumentException("Parameter webTestName is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
context = this.client.mergeContext(context);
return service
.delete(
@@ -936,7 +936,7 @@ private Mono> deleteWithResponseAsync(
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -951,7 +951,7 @@ private Mono deleteAsync(String resourceGroupName, String webTestName) {
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -965,7 +965,7 @@ public void delete(String resourceGroupName, String webTestName) {
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -978,11 +978,11 @@ public Response deleteWithResponse(String resourceGroupName, String webTes
}
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription along with {@link
+ * @return all Application Insights web test definitions for the specified subscription along with {@link
* PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -999,7 +999,7 @@ private Mono> listSinglePageAsync() {
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1019,13 +1019,13 @@ private Mono> listSinglePageAsync() {
}
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription along with {@link
+ * @return all Application Insights web test definitions for the specified subscription along with {@link
* PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -1042,7 +1042,7 @@ private Mono> listSinglePageAsync(Context context) {
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1059,11 +1059,11 @@ private Mono> listSinglePageAsync(Context context) {
}
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -1072,13 +1072,13 @@ private PagedFlux listAsync() {
}
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -1088,11 +1088,11 @@ private PagedFlux listAsync(Context context) {
}
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -1101,13 +1101,13 @@ public PagedIterable list() {
}
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -1148,7 +1148,7 @@ private Mono> listByComponentSinglePageAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
return FluxUtil
.withContext(
@@ -1208,7 +1208,7 @@ private Mono> listByComponentSinglePageAsync(
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
- final String apiVersion = "2015-05-01";
+ final String apiVersion = "2022-06-15";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
@@ -1310,7 +1310,7 @@ public PagedIterable listByComponent(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of 0 or more Application Insights web test definitions along with {@link PagedResponse} on
+ * @return a list of 0 or more Application Insights WebTest definitions along with {@link PagedResponse} on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -1348,7 +1348,7 @@ private Mono> listByResourceGroupNextSinglePageAsync
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of 0 or more Application Insights web test definitions along with {@link PagedResponse} on
+ * @return a list of 0 or more Application Insights WebTest definitions along with {@link PagedResponse} on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -1384,7 +1384,7 @@ private Mono> listByResourceGroupNextSinglePageAsync
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of 0 or more Application Insights web test definitions along with {@link PagedResponse} on
+ * @return a list of 0 or more Application Insights WebTest definitions along with {@link PagedResponse} on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -1421,7 +1421,7 @@ private Mono> listNextSinglePageAsync(String nextLin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of 0 or more Application Insights web test definitions along with {@link PagedResponse} on
+ * @return a list of 0 or more Application Insights WebTest definitions along with {@link PagedResponse} on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -1457,7 +1457,7 @@ private Mono> listNextSinglePageAsync(String nextLin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of 0 or more Application Insights web test definitions along with {@link PagedResponse} on
+ * @return a list of 0 or more Application Insights WebTest definitions along with {@link PagedResponse} on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@@ -1494,7 +1494,7 @@ private Mono> listByComponentNextSinglePageAsync(Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of 0 or more Application Insights web test definitions along with {@link PagedResponse} on
+ * @return a list of 0 or more Application Insights WebTest definitions along with {@link PagedResponse} on
* successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WorkbooksClientImpl.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WorkbooksClientImpl.java
index 6c82ea7811d1..4825c0b9569e 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WorkbooksClientImpl.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/implementation/WorkbooksClientImpl.java
@@ -28,8 +28,6 @@
import com.azure.core.http.rest.RestProxy;
import com.azure.core.util.Context;
import com.azure.core.util.FluxUtil;
-import com.azure.core.util.serializer.CollectionFormat;
-import com.azure.core.util.serializer.JacksonAdapter;
import com.azure.resourcemanager.applicationinsights.fluent.WorkbooksClient;
import com.azure.resourcemanager.applicationinsights.fluent.models.WorkbookInner;
import com.azure.resourcemanager.applicationinsights.models.CategoryType;
@@ -37,6 +35,8 @@
import com.azure.resourcemanager.applicationinsights.models.WorkbookUpdateParameters;
import com.azure.resourcemanager.applicationinsights.models.WorkbooksListResult;
import java.util.List;
+import java.util.Objects;
+import java.util.stream.Collectors;
import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in WorkbooksClient. */
@@ -148,7 +148,7 @@ Mono> createOrUpdate(
@Patch(
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks"
+ "/{resourceName}")
- @ExpectedResponses({201})
+ @ExpectedResponses({200, 201})
@UnexpectedResponseExceptionType(WorkbookErrorDefinitionException.class)
Mono> update(
@HostParam("$host") String endpoint,
@@ -257,7 +257,9 @@ private Mono> listSinglePageAsync(
final String apiVersion = "2022-04-01";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
return FluxUtil
.withContext(
context ->
@@ -318,7 +320,9 @@ private Mono> listSinglePageAsync(
final String apiVersion = "2022-04-01";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
context = this.client.mergeContext(context);
return service
.list(
@@ -479,7 +483,9 @@ private Mono> listByResourceGroupSinglePageAsync(
final String apiVersion = "2022-04-01";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
return FluxUtil
.withContext(
context ->
@@ -553,7 +559,9 @@ private Mono> listByResourceGroupSinglePageAsync(
final String apiVersion = "2022-04-01";
final String accept = "application/json";
String tagsConverted =
- JacksonAdapter.createDefaultSerializerAdapter().serializeList(tags, CollectionFormat.CSV);
+ (tags == null)
+ ? null
+ : tags.stream().map(value -> Objects.toString(value, "")).collect(Collectors.joining(","));
context = this.client.mergeContext(context);
return service
.listByResourceGroup(
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponent.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponent.java
index d913f9869dfd..76420f049984 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponent.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponent.java
@@ -614,7 +614,10 @@ interface WithTags {
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param body Describes the body of a request to purge data in a single table of an Application Insights component.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -630,7 +633,10 @@ interface WithTags {
*
In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param body Describes the body of a request to purge data in a single table of an Application Insights component.
* @param context The context to associate with this operation.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentExportRequest.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentExportRequest.java
index f810eceb1d56..81dbe430aa15 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentExportRequest.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentExportRequest.java
@@ -11,10 +11,9 @@
@Fluent
public final class ApplicationInsightsComponentExportRequest {
/*
- * The document types to be exported, as comma separated values. Allowed
- * values include 'Requests', 'Event', 'Exceptions', 'Metrics',
- * 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters',
- * 'Availability', 'Messages'.
+ * The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event',
+ * 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability',
+ * 'Messages'.
*/
@JsonProperty(value = "RecordTypes")
private String recordTypes;
@@ -26,15 +25,13 @@ public final class ApplicationInsightsComponentExportRequest {
private String destinationType;
/*
- * The SAS URL for the destination storage container. It must grant write
- * permission.
+ * The SAS URL for the destination storage container. It must grant write permission.
*/
@JsonProperty(value = "DestinationAddress")
private String destinationAddress;
/*
- * Set to 'true' to create a Continuous Export configuration as enabled,
- * otherwise set it to 'false'.
+ * Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.
*/
@JsonProperty(value = "IsEnabled")
private String isEnabled;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentListResult.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentListResult.java
index 97c6007ffdc5..7c100d7fe601 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentListResult.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentListResult.java
@@ -20,8 +20,8 @@ public final class ApplicationInsightsComponentListResult {
private List value;
/*
- * The URI to get the next set of Application Insights component
- * definitions if too many components where returned in the result set.
+ * The URI to get the next set of Application Insights component definitions if too many components where returned
+ * in the result set.
*/
@JsonProperty(value = "nextLink")
private String nextLink;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions.java
index 0259ed222419..72457474f56a 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions.java
@@ -53,8 +53,7 @@ public final class ApplicationInsightsComponentProactiveDetectionConfigurationRu
private Boolean isInPreview;
/*
- * A flag indicating whether email notifications are supported for
- * detections for this rule
+ * A flag indicating whether email notifications are supported for detections for this rule
*/
@JsonProperty(value = "SupportsEmailNotifications")
private Boolean supportsEmailNotifications;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBody.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBody.java
index 4158822aa285..a43e05804dfb 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBody.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBody.java
@@ -19,8 +19,7 @@ public final class ComponentPurgeBody {
private String table;
/*
- * The set of columns and filters (queries) to run over them to purge the
- * resulting data.
+ * The set of columns and filters (queries) to run over them to purge the resulting data.
*/
@JsonProperty(value = "filters", required = true)
private List filters;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBodyFilters.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBodyFilters.java
index 4e26e313d0a9..1095f723ef43 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBodyFilters.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ComponentPurgeBodyFilters.java
@@ -17,23 +17,21 @@ public final class ComponentPurgeBodyFilters {
private String column;
/*
- * A query operator to evaluate over the provided column and value(s).
- * Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have
- * the same behavior as they would in a KQL query.
+ * A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >,
+ * >=, <, <=, between, and have the same behavior as they would in a KQL query.
*/
@JsonProperty(value = "operator")
private String operator;
/*
- * the value for the operator to function over. This can be a number (e.g.,
- * > 100), a string (timestamp >= '2017-09-01') or array of values.
+ * the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >=
+ * '2017-09-01') or array of values.
*/
@JsonProperty(value = "value")
private Object value;
/*
- * When filtering over custom dimensions, this key will be used as the name
- * of the custom dimension.
+ * When filtering over custom dimensions, this key will be used as the name of the custom dimension.
*/
@JsonProperty(value = "key")
private String key;
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Components.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Components.java
index 92f9aa97eb31..22b5e1aec5ab 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Components.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Components.java
@@ -113,7 +113,10 @@ Response getByResourceGroupWithResponse(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
@@ -131,7 +134,10 @@ Response getByResourceGroupWithResponse(
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch
* the execution of purge requests by sending a single command whose predicate includes all user identities that
* require purging. Use the in operator to specify multiple identities. You should run the query prior to using for
- * a purge request to verify that the results are expected.
+ * a purge request to verify that the results are expected. Note: this operation is intended for Classic resources,
+ * for workspace-based Application Insights resource please run purge operation (directly on the
+ * workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific
+ * resource id.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceName The name of the Application Insights component resource.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/FavoriteType.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/FavoriteType.java
index 92dd85a5a095..12b130153cf7 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/FavoriteType.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/FavoriteType.java
@@ -30,6 +30,9 @@ public enum FavoriteType {
*/
@JsonCreator
public static FavoriteType fromString(String value) {
+ if (value == null) {
+ return null;
+ }
FavoriteType[] items = FavoriteType.values();
for (FavoriteType item : items) {
if (item.toString().equalsIgnoreCase(value)) {
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/HeaderField.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/HeaderField.java
new file mode 100644
index 000000000000..9458b478ad29
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/HeaderField.java
@@ -0,0 +1,72 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** A header to add to the WebTest. */
+@Fluent
+public final class HeaderField {
+ /*
+ * The name of the header.
+ */
+ @JsonProperty(value = "key")
+ private String headerFieldName;
+
+ /*
+ * The value of the header.
+ */
+ @JsonProperty(value = "value")
+ private String headerFieldValue;
+
+ /**
+ * Get the headerFieldName property: The name of the header.
+ *
+ * @return the headerFieldName value.
+ */
+ public String headerFieldName() {
+ return this.headerFieldName;
+ }
+
+ /**
+ * Set the headerFieldName property: The name of the header.
+ *
+ * @param headerFieldName the headerFieldName value to set.
+ * @return the HeaderField object itself.
+ */
+ public HeaderField withHeaderFieldName(String headerFieldName) {
+ this.headerFieldName = headerFieldName;
+ return this;
+ }
+
+ /**
+ * Get the headerFieldValue property: The value of the header.
+ *
+ * @return the headerFieldValue value.
+ */
+ public String headerFieldValue() {
+ return this.headerFieldValue;
+ }
+
+ /**
+ * Set the headerFieldValue property: The value of the header.
+ *
+ * @param headerFieldValue the headerFieldValue value to set.
+ * @return the HeaderField object itself.
+ */
+ public HeaderField withHeaderFieldValue(String headerFieldValue) {
+ this.headerFieldValue = headerFieldValue;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ManagedServiceIdentity.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ManagedServiceIdentity.java
index 0e2356f6d3b1..5b01c8384fa9 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ManagedServiceIdentity.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/ManagedServiceIdentity.java
@@ -15,30 +15,28 @@
@Fluent
public class ManagedServiceIdentity {
/*
- * The service principal ID of the system assigned identity. This property
- * will only be provided for a system assigned identity.
+ * The service principal ID of the system assigned identity. This property will only be provided for a system
+ * assigned identity.
*/
@JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY)
private UUID principalId;
/*
- * The tenant ID of the system assigned identity. This property will only
- * be provided for a system assigned identity.
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned
+ * identity.
*/
@JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY)
private UUID tenantId;
/*
- * Type of managed service identity (where both SystemAssigned and
- * UserAssigned types are allowed).
+ * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
*/
@JsonProperty(value = "type", required = true)
private ManagedServiceIdentityType type;
/*
- * The set of user assigned identities associated with the resource. The
- * userAssignedIdentities dictionary keys will be ARM resource ids in the
- * form:
+ * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys
+ * will be ARM resource ids in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
* The dictionary values can be empty objects ({}) in requests.
*/
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationDisplay.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationDisplay.java
index aaa8ee337798..7c346a276631 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationDisplay.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationDisplay.java
@@ -11,7 +11,7 @@
@Fluent
public final class OperationDisplay {
/*
- * Service provider: Microsoft.Cdn
+ * Service provider: Microsoft.Insights
*/
@JsonProperty(value = "provider")
private String provider;
@@ -29,7 +29,7 @@ public final class OperationDisplay {
private String operation;
/**
- * Get the provider property: Service provider: Microsoft.Cdn.
+ * Get the provider property: Service provider: Microsoft.Insights.
*
* @return the provider value.
*/
@@ -38,7 +38,7 @@ public String provider() {
}
/**
- * Set the provider property: Service provider: Microsoft.Cdn.
+ * Set the provider property: Service provider: Microsoft.Insights.
*
* @param provider the provider value to set.
* @return the OperationDisplay object itself.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationListResult.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationListResult.java
index bf32cff840e1..5a19d21ee930 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationListResult.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/OperationListResult.java
@@ -10,13 +10,13 @@
import java.util.List;
/**
- * Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of
- * results.
+ * Result of the request to list Azure Workbooks operations. It contains a list of operations and a URL link to get the
+ * next set of results.
*/
@Fluent
public final class OperationListResult {
/*
- * List of CDN operations supported by the CDN resource provider.
+ * List of Workbook operations supported by the Microsoft.Insights resource provider.
*/
@JsonProperty(value = "value")
private List value;
@@ -28,7 +28,7 @@ public final class OperationListResult {
private String nextLink;
/**
- * Get the value property: List of CDN operations supported by the CDN resource provider.
+ * Get the value property: List of Workbook operations supported by the Microsoft.Insights resource provider.
*
* @return the value value.
*/
@@ -37,7 +37,7 @@ public List value() {
}
/**
- * Set the value property: List of CDN operations supported by the CDN resource provider.
+ * Set the value property: List of Workbook operations supported by the Microsoft.Insights resource provider.
*
* @param value the value value to set.
* @return the OperationListResult object itself.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Operations.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Operations.java
index 1688fc056d41..f9de153a4a05 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Operations.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/Operations.java
@@ -14,7 +14,8 @@ public interface Operations {
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link
+ * PagedIterable}.
*/
PagedIterable list();
@@ -25,7 +26,8 @@ public interface Operations {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return result of the request to list CDN operations as paginated response with {@link PagedIterable}.
+ * @return result of the request to list Azure Workbooks operations as paginated response with {@link
+ * PagedIterable}.
*/
PagedIterable list(Context context);
}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTest.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTest.java
index 4a02d8d12ea0..3565c9ab1f21 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTest.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTest.java
@@ -48,7 +48,7 @@ public interface WebTest {
Map tags();
/**
- * Gets the kind property: The kind of web test that this web test watches. Choices are ping and multistep.
+ * Gets the kind property: The kind of WebTest that this web test watches. Choices are ping, multistep and standard.
*
* @return the kind value.
*/
@@ -70,7 +70,7 @@ public interface WebTest {
String webTestName();
/**
- * Gets the description property: Purpose/user defined descriptive test for this WebTest.
+ * Gets the description property: User defined description for this WebTest.
*
* @return the description value.
*/
@@ -98,7 +98,7 @@ public interface WebTest {
Integer timeout();
/**
- * Gets the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
+ * Gets the webTestKind property: The kind of web test this is, valid choices are ping, multistep and standard.
*
* @return the webTestKind value.
*/
@@ -135,6 +135,20 @@ public interface WebTest {
*/
String provisioningState();
+ /**
+ * Gets the request property: The collection of request properties.
+ *
+ * @return the request value.
+ */
+ WebTestPropertiesRequest request();
+
+ /**
+ * Gets the validationRules property: The collection of validation rule properties.
+ *
+ * @return the validationRules value.
+ */
+ WebTestPropertiesValidationRules validationRules();
+
/**
* Gets the region of the resource.
*
@@ -219,7 +233,9 @@ interface WithCreate
DefinitionStages.WithWebTestKind,
DefinitionStages.WithRetryEnabled,
DefinitionStages.WithLocations,
- DefinitionStages.WithConfiguration {
+ DefinitionStages.WithConfiguration,
+ DefinitionStages.WithRequest,
+ DefinitionStages.WithValidationRules {
/**
* Executes the create request.
*
@@ -248,10 +264,10 @@ interface WithTags {
/** The stage of the WebTest definition allowing to specify kind. */
interface WithKind {
/**
- * Specifies the kind property: The kind of web test that this web test watches. Choices are ping and
- * multistep..
+ * Specifies the kind property: The kind of WebTest that this web test watches. Choices are ping, multistep
+ * and standard..
*
- * @param kind The kind of web test that this web test watches. Choices are ping and multistep.
+ * @param kind The kind of WebTest that this web test watches. Choices are ping, multistep and standard.
* @return the next definition stage.
*/
WithCreate withKind(WebTestKind kind);
@@ -280,9 +296,9 @@ interface WithWebTestName {
/** The stage of the WebTest definition allowing to specify description. */
interface WithDescription {
/**
- * Specifies the description property: Purpose/user defined descriptive test for this WebTest..
+ * Specifies the description property: User defined description for this WebTest..
*
- * @param description Purpose/user defined descriptive test for this WebTest.
+ * @param description User defined description for this WebTest.
* @return the next definition stage.
*/
WithCreate withDescription(String description);
@@ -321,9 +337,10 @@ interface WithTimeout {
/** The stage of the WebTest definition allowing to specify webTestKind. */
interface WithWebTestKind {
/**
- * Specifies the webTestKind property: The kind of web test this is, valid choices are ping and multistep..
+ * Specifies the webTestKind property: The kind of web test this is, valid choices are ping, multistep and
+ * standard..
*
- * @param webTestKind The kind of web test this is, valid choices are ping and multistep.
+ * @param webTestKind The kind of web test this is, valid choices are ping, multistep and standard.
* @return the next definition stage.
*/
WithCreate withWebTestKind(WebTestKind webTestKind);
@@ -360,6 +377,26 @@ interface WithConfiguration {
*/
WithCreate withConfiguration(WebTestPropertiesConfiguration configuration);
}
+ /** The stage of the WebTest definition allowing to specify request. */
+ interface WithRequest {
+ /**
+ * Specifies the request property: The collection of request properties.
+ *
+ * @param request The collection of request properties.
+ * @return the next definition stage.
+ */
+ WithCreate withRequest(WebTestPropertiesRequest request);
+ }
+ /** The stage of the WebTest definition allowing to specify validationRules. */
+ interface WithValidationRules {
+ /**
+ * Specifies the validationRules property: The collection of validation rule properties.
+ *
+ * @param validationRules The collection of validation rule properties.
+ * @return the next definition stage.
+ */
+ WithCreate withValidationRules(WebTestPropertiesValidationRules validationRules);
+ }
}
/**
* Begins update for the WebTest resource.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestGeolocation.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestGeolocation.java
index a64604c501e0..d2d73c3facd0 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestGeolocation.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestGeolocation.java
@@ -7,17 +7,17 @@
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** Geo-physical location to run a web test from. You must specify one or more locations for the test to run from. */
+/** Geo-physical location to run a WebTest from. You must specify one or more locations for the test to run from. */
@Fluent
public final class WebTestGeolocation {
/*
- * Location ID for the webtest to run from.
+ * Location ID for the WebTest to run from.
*/
@JsonProperty(value = "Id")
private String location;
/**
- * Get the location property: Location ID for the webtest to run from.
+ * Get the location property: Location ID for the WebTest to run from.
*
* @return the location value.
*/
@@ -26,7 +26,7 @@ public String location() {
}
/**
- * Set the location property: Location ID for the webtest to run from.
+ * Set the location property: Location ID for the WebTest to run from.
*
* @param location the location value to set.
* @return the WebTestGeolocation object itself.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestKind.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestKind.java
index 863583cd95cf..d39d3fa587e1 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestKind.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestKind.java
@@ -13,7 +13,10 @@ public enum WebTestKind {
PING("ping"),
/** Enum value multistep. */
- MULTISTEP("multistep");
+ MULTISTEP("multistep"),
+
+ /** Enum value standard. */
+ STANDARD("standard");
/** The actual serialized value for a WebTestKind instance. */
private final String value;
@@ -30,6 +33,9 @@ public enum WebTestKind {
*/
@JsonCreator
public static WebTestKind fromString(String value) {
+ if (value == null) {
+ return null;
+ }
WebTestKind[] items = WebTestKind.values();
for (WebTestKind item : items) {
if (item.toString().equalsIgnoreCase(value)) {
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestListResult.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestListResult.java
index f4f8db891c0e..6b8a7c32dd33 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestListResult.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestListResult.java
@@ -10,24 +10,24 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** A list of 0 or more Application Insights web test definitions. */
+/** A list of 0 or more Application Insights WebTest definitions. */
@Fluent
public final class WebTestListResult {
/*
- * Set of Application Insights web test definitions.
+ * Set of Application Insights WebTest definitions.
*/
@JsonProperty(value = "value", required = true)
private List value;
/*
- * The link to get the next part of the returned list of web tests, should
- * the return set be too large for a single request. May be null.
+ * The link to get the next part of the returned list of WebTest, should the return set be too large for a single
+ * request. May be null.
*/
@JsonProperty(value = "nextLink")
private String nextLink;
/**
- * Get the value property: Set of Application Insights web test definitions.
+ * Get the value property: Set of Application Insights WebTest definitions.
*
* @return the value value.
*/
@@ -36,7 +36,7 @@ public List value() {
}
/**
- * Set the value property: Set of Application Insights web test definitions.
+ * Set the value property: Set of Application Insights WebTest definitions.
*
* @param value the value value to set.
* @return the WebTestListResult object itself.
@@ -47,7 +47,7 @@ public WebTestListResult withValue(List value) {
}
/**
- * Get the nextLink property: The link to get the next part of the returned list of web tests, should the return set
+ * Get the nextLink property: The link to get the next part of the returned list of WebTest, should the return set
* be too large for a single request. May be null.
*
* @return the nextLink value.
@@ -57,7 +57,7 @@ public String nextLink() {
}
/**
- * Set the nextLink property: The link to get the next part of the returned list of web tests, should the return set
+ * Set the nextLink property: The link to get the next part of the returned list of WebTest, should the return set
* be too large for a single request. May be null.
*
* @param nextLink the nextLink value to set.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesRequest.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesRequest.java
new file mode 100644
index 000000000000..9db0d606e7c9
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesRequest.java
@@ -0,0 +1,180 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** The collection of request properties. */
+@Fluent
+public final class WebTestPropertiesRequest {
+ /*
+ * Url location to test.
+ */
+ @JsonProperty(value = "RequestUrl")
+ private String requestUrl;
+
+ /*
+ * List of headers and their values to add to the WebTest call.
+ */
+ @JsonProperty(value = "Headers")
+ private List headers;
+
+ /*
+ * Http verb to use for this web test.
+ */
+ @JsonProperty(value = "HttpVerb")
+ private String httpVerb;
+
+ /*
+ * Base64 encoded string body to send with this web test.
+ */
+ @JsonProperty(value = "RequestBody")
+ private String requestBody;
+
+ /*
+ * Parse Dependent request for this WebTest.
+ */
+ @JsonProperty(value = "ParseDependentRequests")
+ private Boolean parseDependentRequests;
+
+ /*
+ * Follow redirects for this web test.
+ */
+ @JsonProperty(value = "FollowRedirects")
+ private Boolean followRedirects;
+
+ /**
+ * Get the requestUrl property: Url location to test.
+ *
+ * @return the requestUrl value.
+ */
+ public String requestUrl() {
+ return this.requestUrl;
+ }
+
+ /**
+ * Set the requestUrl property: Url location to test.
+ *
+ * @param requestUrl the requestUrl value to set.
+ * @return the WebTestPropertiesRequest object itself.
+ */
+ public WebTestPropertiesRequest withRequestUrl(String requestUrl) {
+ this.requestUrl = requestUrl;
+ return this;
+ }
+
+ /**
+ * Get the headers property: List of headers and their values to add to the WebTest call.
+ *
+ * @return the headers value.
+ */
+ public List headers() {
+ return this.headers;
+ }
+
+ /**
+ * Set the headers property: List of headers and their values to add to the WebTest call.
+ *
+ * @param headers the headers value to set.
+ * @return the WebTestPropertiesRequest object itself.
+ */
+ public WebTestPropertiesRequest withHeaders(List headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /**
+ * Get the httpVerb property: Http verb to use for this web test.
+ *
+ * @return the httpVerb value.
+ */
+ public String httpVerb() {
+ return this.httpVerb;
+ }
+
+ /**
+ * Set the httpVerb property: Http verb to use for this web test.
+ *
+ * @param httpVerb the httpVerb value to set.
+ * @return the WebTestPropertiesRequest object itself.
+ */
+ public WebTestPropertiesRequest withHttpVerb(String httpVerb) {
+ this.httpVerb = httpVerb;
+ return this;
+ }
+
+ /**
+ * Get the requestBody property: Base64 encoded string body to send with this web test.
+ *
+ * @return the requestBody value.
+ */
+ public String requestBody() {
+ return this.requestBody;
+ }
+
+ /**
+ * Set the requestBody property: Base64 encoded string body to send with this web test.
+ *
+ * @param requestBody the requestBody value to set.
+ * @return the WebTestPropertiesRequest object itself.
+ */
+ public WebTestPropertiesRequest withRequestBody(String requestBody) {
+ this.requestBody = requestBody;
+ return this;
+ }
+
+ /**
+ * Get the parseDependentRequests property: Parse Dependent request for this WebTest.
+ *
+ * @return the parseDependentRequests value.
+ */
+ public Boolean parseDependentRequests() {
+ return this.parseDependentRequests;
+ }
+
+ /**
+ * Set the parseDependentRequests property: Parse Dependent request for this WebTest.
+ *
+ * @param parseDependentRequests the parseDependentRequests value to set.
+ * @return the WebTestPropertiesRequest object itself.
+ */
+ public WebTestPropertiesRequest withParseDependentRequests(Boolean parseDependentRequests) {
+ this.parseDependentRequests = parseDependentRequests;
+ return this;
+ }
+
+ /**
+ * Get the followRedirects property: Follow redirects for this web test.
+ *
+ * @return the followRedirects value.
+ */
+ public Boolean followRedirects() {
+ return this.followRedirects;
+ }
+
+ /**
+ * Set the followRedirects property: Follow redirects for this web test.
+ *
+ * @param followRedirects the followRedirects value to set.
+ * @return the WebTestPropertiesRequest object itself.
+ */
+ public WebTestPropertiesRequest withFollowRedirects(Boolean followRedirects) {
+ this.followRedirects = followRedirects;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (headers() != null) {
+ headers().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesValidationRules.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesValidationRules.java
new file mode 100644
index 000000000000..94ffc606427b
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesValidationRules.java
@@ -0,0 +1,157 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The collection of validation rule properties. */
+@Fluent
+public final class WebTestPropertiesValidationRules {
+ /*
+ * The collection of content validation properties
+ */
+ @JsonProperty(value = "ContentValidation")
+ private WebTestPropertiesValidationRulesContentValidation contentValidation;
+
+ /*
+ * Checks to see if the SSL cert is still valid.
+ */
+ @JsonProperty(value = "SSLCheck")
+ private Boolean sslCheck;
+
+ /*
+ * A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the
+ * SSLCheck must be set to true.
+ */
+ @JsonProperty(value = "SSLCertRemainingLifetimeCheck")
+ private Integer sslCertRemainingLifetimeCheck;
+
+ /*
+ * Validate that the WebTest returns the http status code provided.
+ */
+ @JsonProperty(value = "ExpectedHttpStatusCode")
+ private Integer expectedHttpStatusCode;
+
+ /*
+ * When set, validation will ignore the status code.
+ */
+ @JsonProperty(value = "IgnoreHttpsStatusCode")
+ private Boolean ignoreHttpsStatusCode;
+
+ /**
+ * Get the contentValidation property: The collection of content validation properties.
+ *
+ * @return the contentValidation value.
+ */
+ public WebTestPropertiesValidationRulesContentValidation contentValidation() {
+ return this.contentValidation;
+ }
+
+ /**
+ * Set the contentValidation property: The collection of content validation properties.
+ *
+ * @param contentValidation the contentValidation value to set.
+ * @return the WebTestPropertiesValidationRules object itself.
+ */
+ public WebTestPropertiesValidationRules withContentValidation(
+ WebTestPropertiesValidationRulesContentValidation contentValidation) {
+ this.contentValidation = contentValidation;
+ return this;
+ }
+
+ /**
+ * Get the sslCheck property: Checks to see if the SSL cert is still valid.
+ *
+ * @return the sslCheck value.
+ */
+ public Boolean sslCheck() {
+ return this.sslCheck;
+ }
+
+ /**
+ * Set the sslCheck property: Checks to see if the SSL cert is still valid.
+ *
+ * @param sslCheck the sslCheck value to set.
+ * @return the WebTestPropertiesValidationRules object itself.
+ */
+ public WebTestPropertiesValidationRules withSslCheck(Boolean sslCheck) {
+ this.sslCheck = sslCheck;
+ return this;
+ }
+
+ /**
+ * Get the sslCertRemainingLifetimeCheck property: A number of days to check still remain before the the existing
+ * SSL cert expires. Value must be positive and the SSLCheck must be set to true.
+ *
+ * @return the sslCertRemainingLifetimeCheck value.
+ */
+ public Integer sslCertRemainingLifetimeCheck() {
+ return this.sslCertRemainingLifetimeCheck;
+ }
+
+ /**
+ * Set the sslCertRemainingLifetimeCheck property: A number of days to check still remain before the the existing
+ * SSL cert expires. Value must be positive and the SSLCheck must be set to true.
+ *
+ * @param sslCertRemainingLifetimeCheck the sslCertRemainingLifetimeCheck value to set.
+ * @return the WebTestPropertiesValidationRules object itself.
+ */
+ public WebTestPropertiesValidationRules withSslCertRemainingLifetimeCheck(Integer sslCertRemainingLifetimeCheck) {
+ this.sslCertRemainingLifetimeCheck = sslCertRemainingLifetimeCheck;
+ return this;
+ }
+
+ /**
+ * Get the expectedHttpStatusCode property: Validate that the WebTest returns the http status code provided.
+ *
+ * @return the expectedHttpStatusCode value.
+ */
+ public Integer expectedHttpStatusCode() {
+ return this.expectedHttpStatusCode;
+ }
+
+ /**
+ * Set the expectedHttpStatusCode property: Validate that the WebTest returns the http status code provided.
+ *
+ * @param expectedHttpStatusCode the expectedHttpStatusCode value to set.
+ * @return the WebTestPropertiesValidationRules object itself.
+ */
+ public WebTestPropertiesValidationRules withExpectedHttpStatusCode(Integer expectedHttpStatusCode) {
+ this.expectedHttpStatusCode = expectedHttpStatusCode;
+ return this;
+ }
+
+ /**
+ * Get the ignoreHttpsStatusCode property: When set, validation will ignore the status code.
+ *
+ * @return the ignoreHttpsStatusCode value.
+ */
+ public Boolean ignoreHttpsStatusCode() {
+ return this.ignoreHttpsStatusCode;
+ }
+
+ /**
+ * Set the ignoreHttpsStatusCode property: When set, validation will ignore the status code.
+ *
+ * @param ignoreHttpsStatusCode the ignoreHttpsStatusCode value to set.
+ * @return the WebTestPropertiesValidationRules object itself.
+ */
+ public WebTestPropertiesValidationRules withIgnoreHttpsStatusCode(Boolean ignoreHttpsStatusCode) {
+ this.ignoreHttpsStatusCode = ignoreHttpsStatusCode;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (contentValidation() != null) {
+ contentValidation().validate();
+ }
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesValidationRulesContentValidation.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesValidationRulesContentValidation.java
new file mode 100644
index 000000000000..ddb6faf71211
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTestPropertiesValidationRulesContentValidation.java
@@ -0,0 +1,101 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The collection of content validation properties. */
+@Fluent
+public final class WebTestPropertiesValidationRulesContentValidation {
+ /*
+ * Content to look for in the return of the WebTest. Must not be null or empty.
+ */
+ @JsonProperty(value = "ContentMatch")
+ private String contentMatch;
+
+ /*
+ * When set, this value makes the ContentMatch validation case insensitive.
+ */
+ @JsonProperty(value = "IgnoreCase")
+ private Boolean ignoreCase;
+
+ /*
+ * When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail
+ * if there is a match
+ */
+ @JsonProperty(value = "PassIfTextFound")
+ private Boolean passIfTextFound;
+
+ /**
+ * Get the contentMatch property: Content to look for in the return of the WebTest. Must not be null or empty.
+ *
+ * @return the contentMatch value.
+ */
+ public String contentMatch() {
+ return this.contentMatch;
+ }
+
+ /**
+ * Set the contentMatch property: Content to look for in the return of the WebTest. Must not be null or empty.
+ *
+ * @param contentMatch the contentMatch value to set.
+ * @return the WebTestPropertiesValidationRulesContentValidation object itself.
+ */
+ public WebTestPropertiesValidationRulesContentValidation withContentMatch(String contentMatch) {
+ this.contentMatch = contentMatch;
+ return this;
+ }
+
+ /**
+ * Get the ignoreCase property: When set, this value makes the ContentMatch validation case insensitive.
+ *
+ * @return the ignoreCase value.
+ */
+ public Boolean ignoreCase() {
+ return this.ignoreCase;
+ }
+
+ /**
+ * Set the ignoreCase property: When set, this value makes the ContentMatch validation case insensitive.
+ *
+ * @param ignoreCase the ignoreCase value to set.
+ * @return the WebTestPropertiesValidationRulesContentValidation object itself.
+ */
+ public WebTestPropertiesValidationRulesContentValidation withIgnoreCase(Boolean ignoreCase) {
+ this.ignoreCase = ignoreCase;
+ return this;
+ }
+
+ /**
+ * Get the passIfTextFound property: When true, validation will pass if there is a match for the ContentMatch
+ * string. If false, validation will fail if there is a match.
+ *
+ * @return the passIfTextFound value.
+ */
+ public Boolean passIfTextFound() {
+ return this.passIfTextFound;
+ }
+
+ /**
+ * Set the passIfTextFound property: When true, validation will pass if there is a match for the ContentMatch
+ * string. If false, validation will fail if there is a match.
+ *
+ * @param passIfTextFound the passIfTextFound value to set.
+ * @return the WebTestPropertiesValidationRulesContentValidation object itself.
+ */
+ public WebTestPropertiesValidationRulesContentValidation withPassIfTextFound(Boolean passIfTextFound) {
+ this.passIfTextFound = passIfTextFound;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTests.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTests.java
index 3e6ffddca129..8b299604529c 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTests.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WebTests.java
@@ -11,26 +11,26 @@
/** Resource collection API of WebTests. */
public interface WebTests {
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedIterable}.
*/
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * Get all Application Insights web tests defined within a specified resource group.
+ * Get all Application Insights web tests defined for the specified resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web tests defined within a specified resource group as paginated response with
+ * @return all Application Insights web tests defined for the specified resource group as paginated response with
* {@link PagedIterable}.
*/
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
@@ -39,7 +39,7 @@ public interface WebTests {
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -51,7 +51,7 @@ public interface WebTests {
* Get a specific Application Insights web test definition.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -64,7 +64,7 @@ public interface WebTests {
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -75,7 +75,7 @@ public interface WebTests {
* Deletes an Application Insights web test.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param webTestName The name of the Application Insights webtest resource.
+ * @param webTestName The name of the Application Insights WebTest resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -85,23 +85,23 @@ public interface WebTests {
Response deleteWithResponse(String resourceGroupName, String webTestName, Context context);
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedIterable}.
*/
PagedIterable list();
/**
- * Get all Application Insights web test alerts definitions within a subscription.
+ * Get all Application Insights web test definitions for the specified subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all Application Insights web test alerts definitions within a subscription as paginated response with
+ * @return all Application Insights web test definitions for the specified subscription as paginated response with
* {@link PagedIterable}.
*/
PagedIterable list(Context context);
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WorkbookErrorDefinition.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WorkbookErrorDefinition.java
index ce490703a494..09474e25cc9a 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WorkbookErrorDefinition.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WorkbookErrorDefinition.java
@@ -15,14 +15,14 @@ public final class WorkbookErrorDefinition extends ManagementError {
* Internal error details.
*/
@JsonProperty(value = "innerError", access = JsonProperty.Access.WRITE_ONLY)
- private Object innerError;
+ private WorkbookInnerErrorTrace innerError;
/**
* Get the innerError property: Internal error details.
*
* @return the innerError value.
*/
- public Object getInnerError() {
+ public WorkbookInnerErrorTrace getInnerError() {
return this.innerError;
}
@@ -32,5 +32,8 @@ public Object getInnerError() {
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
+ if (getInnerError() != null) {
+ getInnerError().validate();
+ }
}
}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WorkbookInnerErrorTrace.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WorkbookInnerErrorTrace.java
new file mode 100644
index 000000000000..e9230ca49cfa
--- /dev/null
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/main/java/com/azure/resourcemanager/applicationinsights/models/WorkbookInnerErrorTrace.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.applicationinsights.models;
+
+import com.azure.core.annotation.Immutable;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Error details. */
+@Immutable
+public final class WorkbookInnerErrorTrace {
+ /*
+ * detailed error trace
+ */
+ @JsonProperty(value = "trace", access = JsonProperty.Access.WRITE_ONLY)
+ private List trace;
+
+ /**
+ * Get the trace property: detailed error trace.
+ *
+ * @return the trace value.
+ */
+ public List trace() {
+ return this.trace;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/ComponentCurrentBillingFeaturesUpdateSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/ComponentCurrentBillingFeaturesUpdateSamples.java
index 7228e5ce803b..553416a80066 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/ComponentCurrentBillingFeaturesUpdateSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/ComponentCurrentBillingFeaturesUpdateSamples.java
@@ -29,7 +29,7 @@ public static void componentCurrentBillingFeaturesUpdate(
new ApplicationInsightsComponentBillingFeaturesInner()
.withDataVolumeCap(
new ApplicationInsightsComponentDataVolumeCap()
- .withCap(100.0f)
+ .withCap(100.0F)
.withStopSendNotificationWhenHitCap(true))
.withCurrentBillingFeatures(Arrays.asList("Basic", "Application Insights Enterprise")),
Context.NONE);
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsCreateOrUpdateSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsCreateOrUpdateSamples.java
index cbc0a8680266..993d4ca6c611 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsCreateOrUpdateSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsCreateOrUpdateSamples.java
@@ -4,15 +4,18 @@
package com.azure.resourcemanager.applicationinsights.generated;
+import com.azure.resourcemanager.applicationinsights.models.HeaderField;
import com.azure.resourcemanager.applicationinsights.models.WebTestGeolocation;
import com.azure.resourcemanager.applicationinsights.models.WebTestKind;
import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesConfiguration;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesRequest;
+import com.azure.resourcemanager.applicationinsights.models.WebTestPropertiesValidationRules;
import java.util.Arrays;
/** Samples for WebTests CreateOrUpdate. */
public final class WebTestsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestCreate.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestCreate.json
*/
/**
* Sample code: webTestCreate.
@@ -53,7 +56,46 @@ public static void webTestCreate(com.azure.resourcemanager.applicationinsights.A
}
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdate.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestCreateStandard.json
+ */
+ /**
+ * Sample code: webTestCreateStandard.
+ *
+ * @param manager Entry point to ApplicationInsightsManager.
+ */
+ public static void webTestCreateStandard(
+ com.azure.resourcemanager.applicationinsights.ApplicationInsightsManager manager) {
+ manager
+ .webTests()
+ .define("my-webtest-my-component")
+ .withRegion("South Central US")
+ .withExistingResourceGroup("my-resource-group")
+ .withSyntheticMonitorId("my-webtest-my-component")
+ .withWebTestName("my-webtest-my-component")
+ .withDescription("Ping web test alert for mytestwebapp")
+ .withEnabled(true)
+ .withFrequency(900)
+ .withTimeout(120)
+ .withWebTestKind(WebTestKind.STANDARD)
+ .withRetryEnabled(true)
+ .withLocations(Arrays.asList(new WebTestGeolocation().withLocation("us-fl-mia-edge")))
+ .withRequest(
+ new WebTestPropertiesRequest()
+ .withRequestUrl("https://bing.com")
+ .withHeaders(
+ Arrays
+ .asList(
+ new HeaderField().withHeaderFieldName("Content-Language").withHeaderFieldValue("de-DE"),
+ new HeaderField().withHeaderFieldName("Accept-Language").withHeaderFieldValue("de-DE")))
+ .withHttpVerb("POST")
+ .withRequestBody("SGVsbG8gd29ybGQ="))
+ .withValidationRules(
+ new WebTestPropertiesValidationRules().withSslCheck(true).withSslCertRemainingLifetimeCheck(100))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestUpdate.json
*/
/**
* Sample code: webTestUpdate.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsDeleteSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsDeleteSamples.java
index dd155f43ccc2..89c8a13487c3 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsDeleteSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsDeleteSamples.java
@@ -9,7 +9,7 @@
/** Samples for WebTests Delete. */
public final class WebTestsDeleteSamples {
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestDelete.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestDelete.json
*/
/**
* Sample code: webTestDelete.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsGetByResourceGroupSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsGetByResourceGroupSamples.java
index 122f03a6a80c..8772458d3a1b 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsGetByResourceGroupSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsGetByResourceGroupSamples.java
@@ -9,7 +9,7 @@
/** Samples for WebTests GetByResourceGroup. */
public final class WebTestsGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestGet.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestGet.json
*/
/**
* Sample code: webTestGet.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByComponentSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByComponentSamples.java
index 71a428618a75..2d063868e2ed 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByComponentSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByComponentSamples.java
@@ -9,7 +9,7 @@
/** Samples for WebTests ListByComponent. */
public final class WebTestsListByComponentSamples {
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByComponent.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestListByComponent.json
*/
/**
* Sample code: webTestListByComponent.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByResourceGroupSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByResourceGroupSamples.java
index d8e5d1e36150..42a83f48b71d 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByResourceGroupSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListByResourceGroupSamples.java
@@ -9,7 +9,7 @@
/** Samples for WebTests ListByResourceGroup. */
public final class WebTestsListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestListByResourceGroup.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestListByResourceGroup.json
*/
/**
* Sample code: webTestListByResourceGroup.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListSamples.java
index 16668f68094c..f8fd8dcb397d 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsListSamples.java
@@ -9,7 +9,7 @@
/** Samples for WebTests List. */
public final class WebTestsListSamples {
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestList.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestList.json
*/
/**
* Sample code: webTestList.
diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsUpdateTagsSamples.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsUpdateTagsSamples.java
index 1406204a3ef1..2335b7711c32 100644
--- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsUpdateTagsSamples.java
+++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/samples/java/com/azure/resourcemanager/applicationinsights/generated/WebTestsUpdateTagsSamples.java
@@ -12,7 +12,7 @@
/** Samples for WebTests UpdateTags. */
public final class WebTestsUpdateTagsSamples {
/*
- * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestUpdateTagsOnly.json
+ * x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestUpdateTagsOnly.json
*/
/**
* Sample code: webTestUpdateTags.
@@ -37,8 +37,6 @@ public static void webTestUpdateTags(
"SystemType",
"A08",
"hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component",
- "Resource",
- "hidden-link:/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Web/sites/mytestwebapp",
"Resource"))
.apply();
}