diff --git a/sdk/advisor/arm-advisor/LICENSE.txt b/sdk/advisor/arm-advisor/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/advisor/arm-advisor/LICENSE.txt +++ b/sdk/advisor/arm-advisor/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/advisor/arm-advisor/README.md b/sdk/advisor/arm-advisor/README.md index e0632cff55c4..edfb7404cf3f 100644 --- a/sdk/advisor/arm-advisor/README.md +++ b/sdk/advisor/arm-advisor/README.md @@ -9,23 +9,23 @@ This package contains an isomorphic SDK for AdvisorManagementClient. ### How to Install -``` +```bash npm install @azure/arm-advisor ``` ### How to use -#### nodejs - Authentication, client creation and listBySubscription configurations as an example written in TypeScript. +#### nodejs - Authentication, client creation and get recommendationMetadata as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -34,7 +34,8 @@ const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { const client = new AdvisorManagementClient(creds, subscriptionId); - client.configurations.listBySubscription().then((result) => { + const name = "testname"; + client.recommendationMetadata.get(name).then((result) => { console.log("The result is:"); console.log(result); }); @@ -43,11 +44,11 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -#### browser - Authentication, client creation and listBySubscription configurations as an example written in JavaScript. +#### browser - Authentication, client creation and get recommendationMetadata as an example written in JavaScript. ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -77,7 +78,8 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to authManager.login(); } const client = new Azure.ArmAdvisor.AdvisorManagementClient(res.creds, subscriptionId); - client.configurations.listBySubscription().then((result) => { + const name = "testname"; + client.recommendationMetadata.get(name).then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { @@ -94,6 +96,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/advisor/arm-advisor/README.png) diff --git a/sdk/advisor/arm-advisor/package.json b/sdk/advisor/arm-advisor/package.json index ac17810a1a1a..8d9bef0fa979 100644 --- a/sdk/advisor/arm-advisor/package.json +++ b/sdk/advisor/arm-advisor/package.json @@ -4,8 +4,8 @@ "description": "AdvisorManagementClient Library with typescript type definitions for node.js and browser.", "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/advisor/arm-advisor", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/advisor/arm-advisor/rollup.config.js b/sdk/advisor/arm-advisor/rollup.config.js index 19c4680fc09c..fcf77258b920 100644 --- a/sdk/advisor/arm-advisor/rollup.config.js +++ b/sdk/advisor/arm-advisor/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/advisorManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/advisorManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-advisor.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config; diff --git a/sdk/advisor/arm-advisor/src/advisorManagementClient.ts b/sdk/advisor/arm-advisor/src/advisorManagementClient.ts index 643eaf226574..a1de4884947a 100644 --- a/sdk/advisor/arm-advisor/src/advisorManagementClient.ts +++ b/sdk/advisor/arm-advisor/src/advisorManagementClient.ts @@ -17,6 +17,7 @@ import { AdvisorManagementClientContext } from "./advisorManagementClientContext class AdvisorManagementClient extends AdvisorManagementClientContext { // Operation groups + recommendationMetadata: operations.RecommendationMetadata; configurations: operations.Configurations; recommendations: operations.Recommendations; operations: operations.Operations; @@ -30,6 +31,7 @@ class AdvisorManagementClient extends AdvisorManagementClientContext { */ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AdvisorManagementClientOptions) { super(credentials, subscriptionId, options); + this.recommendationMetadata = new operations.RecommendationMetadata(this); this.configurations = new operations.Configurations(this); this.recommendations = new operations.Recommendations(this); this.operations = new operations.Operations(this); diff --git a/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts b/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts index 82f5adb2547f..db1466619c1d 100644 --- a/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts +++ b/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-advisor"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class AdvisorManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/advisor/arm-advisor/src/models/configurationsMappers.ts b/sdk/advisor/arm-advisor/src/models/configurationsMappers.ts index 7e0bc956ab06..2d35d1ba9d58 100644 --- a/sdk/advisor/arm-advisor/src/models/configurationsMappers.ts +++ b/sdk/advisor/arm-advisor/src/models/configurationsMappers.ts @@ -1,18 +1,15 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ConfigurationListResult, + ARMErrorResponseBody, + CloudError, ConfigData, ConfigDataProperties, - CloudError, - ARMErrorResponseBody + ConfigurationListResult } from "../models/mappers"; - diff --git a/sdk/advisor/arm-advisor/src/models/index.ts b/sdk/advisor/arm-advisor/src/models/index.ts index 21d9a82bd89e..191bacafc4e0 100644 --- a/sdk/advisor/arm-advisor/src/models/index.ts +++ b/sdk/advisor/arm-advisor/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,381 +11,353 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; +/** + * The metadata supported value detail. + */ +export interface MetadataSupportedValueDetail { + /** + * The id. + */ + id?: string; + /** + * The display name. + */ + displayName?: string; +} + +/** + * The metadata entity contract. + */ +export interface MetadataEntity { + /** + * The resource Id of the metadata entity. + */ + id?: string; + /** + * The type of the metadata entity. + */ + type?: string; + /** + * The name of the metadata entity. + */ + name?: string; + /** + * The display name. + */ + displayName?: string; + /** + * The list of keys on which this entity depends on. + */ + dependsOn?: string[]; + /** + * The list of supported values. + */ + supportedValues?: MetadataSupportedValueDetail[]; +} /** - * @interface - * An interface representing ConfigDataProperties. * The list of property name/value pairs. - * */ export interface ConfigDataProperties { /** - * @member {boolean} [exclude] Exclude the resource from Advisor evaluations. - * Valid values: False (default) or True. + * Exclude the resource from Advisor evaluations. Valid values: False (default) or True. */ exclude?: boolean; /** - * @member {string} [lowCpuThreshold] Minimum percentage threshold for - * Advisor low CPU utilization evaluation. Valid only for subscriptions. - * Valid values: 5 (default), 10, 15 or 20. + * Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for + * subscriptions. Valid values: 5 (default), 10, 15 or 20. */ lowCpuThreshold?: string; /** - * @property Describes unknown properties. The value of an unknown property - * can be of "any" type. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; } /** - * @interface - * An interface representing ConfigData. * The Advisor configuration data structure. - * */ export interface ConfigData { /** - * @member {string} [id] The resource Id of the configuration resource. + * The resource Id of the configuration resource. */ id?: string; /** - * @member {string} [type] The type of the configuration resource. + * The type of the configuration resource. */ type?: string; /** - * @member {string} [name] The name of the configuration resource. + * The name of the configuration resource. */ name?: string; /** - * @member {ConfigDataProperties} [properties] The list of property - * name/value pairs. + * The list of property name/value pairs. */ properties?: ConfigDataProperties; } /** - * @interface - * An interface representing ARMErrorResponseBody. * ARM error response body. - * */ export interface ARMErrorResponseBody { /** - * @member {string} [message] Gets or sets the string that describes the - * error in detail and provides debugging information. + * Gets or sets the string that describes the error in detail and provides debugging information. */ message?: string; /** - * @member {string} [code] Gets or sets the string that can be used to - * programmatically identify the error. + * Gets or sets the string that can be used to programmatically identify the error. */ code?: string; } /** - * @interface - * An interface representing ShortDescription. * A summary of the recommendation. - * */ export interface ShortDescription { /** - * @member {string} [problem] The issue or opportunity identified by the - * recommendation. + * The issue or opportunity identified by the recommendation. */ problem?: string; /** - * @member {string} [solution] The remediation action suggested by the - * recommendation. + * The remediation action suggested by the recommendation. */ solution?: string; } /** - * @interface - * An interface representing Resource. * An Azure resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] The resource ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * @interface - * An interface representing ResourceRecommendationBase. * Advisor Recommendation. - * - * @extends Resource */ export interface ResourceRecommendationBase extends Resource { /** - * @member {Category} [category] The category of the recommendation. Possible - * values include: 'HighAvailability', 'Security', 'Performance', 'Cost' + * The category of the recommendation. Possible values include: 'HighAvailability', 'Security', + * 'Performance', 'Cost' */ category?: Category; /** - * @member {Impact} [impact] The business impact of the recommendation. - * Possible values include: 'High', 'Medium', 'Low' + * The business impact of the recommendation. Possible values include: 'High', 'Medium', 'Low' */ impact?: Impact; /** - * @member {string} [impactedField] The resource type identified by Advisor. + * The resource type identified by Advisor. */ impactedField?: string; /** - * @member {string} [impactedValue] The resource identified by Advisor. + * The resource identified by Advisor. */ impactedValue?: string; /** - * @member {Date} [lastUpdated] The most recent time that Advisor checked the - * validity of the recommendation. + * The most recent time that Advisor checked the validity of the recommendation. */ lastUpdated?: Date; /** - * @member {{ [propertyName: string]: any }} [metadata] The recommendation - * metadata. + * The recommendation metadata. */ metadata?: { [propertyName: string]: any }; /** - * @member {string} [recommendationTypeId] The recommendation-type GUID. + * The recommendation-type GUID. */ recommendationTypeId?: string; /** - * @member {Risk} [risk] The potential risk of not implementing the - * recommendation. Possible values include: 'Error', 'Warning', 'None' + * The potential risk of not implementing the recommendation. Possible values include: 'Error', + * 'Warning', 'None' */ risk?: Risk; /** - * @member {ShortDescription} [shortDescription] A summary of the - * recommendation. + * A summary of the recommendation. */ shortDescription?: ShortDescription; /** - * @member {string[]} [suppressionIds] The list of snoozed and dismissed - * rules for the recommendation. + * The list of snoozed and dismissed rules for the recommendation. */ suppressionIds?: string[]; /** - * @member {{ [propertyName: string]: string }} [extendedProperties] Extended - * properties + * Extended properties */ extendedProperties?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing OperationDisplayInfo. * The operation supported by Advisor. - * */ export interface OperationDisplayInfo { /** - * @member {string} [description] The description of the operation. + * The description of the operation. */ description?: string; /** - * @member {string} [operation] The action that users can perform, based on - * their permission level. + * The action that users can perform, based on their permission level. */ operation?: string; /** - * @member {string} [provider] Service provider: Microsoft Advisor. + * Service provider: Microsoft Advisor. */ provider?: string; /** - * @member {string} [resource] Resource on which the operation is performed. + * Resource on which the operation is performed. */ resource?: string; } /** - * @interface - * An interface representing OperationEntity. * The operation supported by Advisor. - * */ export interface OperationEntity { /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation}. + * Operation name: {provider}/{resource}/{operation}. */ name?: string; /** - * @member {OperationDisplayInfo} [display] The operation supported by - * Advisor. + * The operation supported by Advisor. */ display?: OperationDisplayInfo; } /** - * @interface - * An interface representing SuppressionContract. - * The details of the snoozed or dismissed rule; for example, the duration, - * name, and GUID associated with the rule. - * - * @extends Resource + * The details of the snoozed or dismissed rule; for example, the duration, name, and GUID + * associated with the rule. */ export interface SuppressionContract extends Resource { /** - * @member {string} [suppressionId] The GUID of the suppression. + * The GUID of the suppression. */ suppressionId?: string; /** - * @member {string} [ttl] The duration for which the suppression is valid. + * The duration for which the suppression is valid. */ ttl?: string; } /** - * @interface - * An interface representing RecommendationsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface RecommendationsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply to the recommendations. + * The filter to apply to the recommendations. */ filter?: string; /** - * @member {number} [top] The number of recommendations per page if a paged - * version of this API is being used. + * The number of recommendations per page if a paged version of this API is being used. */ top?: number; /** - * @member {string} [skipToken] The page-continuation token to use with a - * paged version of this API. + * The page-continuation token to use with a paged version of this API. */ skipToken?: string; } /** - * @interface - * An interface representing SuppressionsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SuppressionsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {number} [top] The number of suppressions per page if a paged - * version of this API is being used. + * The number of suppressions per page if a paged version of this API is being used. */ top?: number; /** - * @member {string} [skipToken] The page-continuation token to use with a - * paged version of this API. + * The page-continuation token to use with a paged version of this API. */ skipToken?: string; } /** - * @interface * An interface representing AdvisorManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface AdvisorManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } /** - * @interface - * An interface representing RecommendationsGenerateHeaders. * Defines headers for Generate operation. - * */ export interface RecommendationsGenerateHeaders { /** - * @member {string} [location] The URL where the status of the asynchronous - * operation can be checked. + * The URL where the status of the asynchronous operation can be checked. */ location: string; /** - * @member {string} [retryAfter] The amount of delay to use while the status - * of the operation is checked. The value is expressed in seconds. + * The amount of delay to use while the status of the operation is checked. The value is + * expressed in seconds. */ retryAfter: string; } +/** + * @interface + * The list of metadata entities + * @extends Array + */ +export interface MetadataEntityListResult extends Array { + /** + * The link used to get the next page of metadata. + */ + nextLink?: string; +} /** * @interface - * An interface representing the ConfigurationListResult. * The list of Advisor configurations. - * * @extends Array */ export interface ConfigurationListResult extends Array { /** - * @member {string} [nextLink] The link used to get the next page of - * configurations. + * The link used to get the next page of configurations. */ nextLink?: string; } /** * @interface - * An interface representing the ResourceRecommendationBaseListResult. * The list of Advisor recommendations. - * * @extends Array */ export interface ResourceRecommendationBaseListResult extends Array { /** - * @member {string} [nextLink] The link used to get the next page of - * recommendations. + * The link used to get the next page of recommendations. */ nextLink?: string; } /** * @interface - * An interface representing the OperationEntityListResult. * The list of Advisor operations. - * * @extends Array */ export interface OperationEntityListResult extends Array { /** - * @member {string} [nextLink] The link used to get the next page of - * operations. + * The link used to get the next page of operations. */ nextLink?: string; } /** * @interface - * An interface representing the SuppressionContractListResult. * The list of Advisor suppressions. - * * @extends Array */ export interface SuppressionContractListResult extends Array { /** - * @member {string} [nextLink] The link used to get the next page of - * suppressions. + * The link used to get the next page of suppressions. */ nextLink?: string; } @@ -416,6 +386,71 @@ export type Impact = 'High' | 'Medium' | 'Low'; */ export type Risk = 'Error' | 'Warning' | 'None'; +/** + * Contains response data for the get operation. + */ +export type RecommendationMetadataGetResponse = { + /** + * The parsed response body. + */ + body: any; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: any; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type RecommendationMetadataListResponse = MetadataEntityListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetadataEntityListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type RecommendationMetadataListNextResponse = MetadataEntityListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: MetadataEntityListResult; + }; +}; + /** * Contains response data for the listBySubscription operation. */ @@ -428,6 +463,7 @@ export type ConfigurationsListBySubscriptionResponse = ConfigurationListResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -447,6 +483,7 @@ export type ConfigurationsCreateInSubscriptionResponse = ARMErrorResponseBody & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -466,6 +503,7 @@ export type ConfigurationsListByResourceGroupResponse = ConfigurationListResult * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -485,6 +523,7 @@ export type ConfigurationsCreateInResourceGroupResponse = ARMErrorResponseBody & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -504,6 +543,7 @@ export type ConfigurationsListBySubscriptionNextResponse = ConfigurationListResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -538,6 +578,7 @@ export type RecommendationsListResponse = ResourceRecommendationBaseListResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -557,6 +598,7 @@ export type RecommendationsGetResponse = ResourceRecommendationBase & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -576,6 +618,7 @@ export type RecommendationsListNextResponse = ResourceRecommendationBaseListResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -595,6 +638,7 @@ export type OperationsListResponse = OperationEntityListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -614,6 +658,7 @@ export type OperationsListNextResponse = OperationEntityListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -633,6 +678,7 @@ export type SuppressionsGetResponse = SuppressionContract & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -652,6 +698,7 @@ export type SuppressionsCreateResponse = SuppressionContract & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -671,6 +718,7 @@ export type SuppressionsListResponse = SuppressionContractListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -690,6 +738,7 @@ export type SuppressionsListNextResponse = SuppressionContractListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/advisor/arm-advisor/src/models/mappers.ts b/sdk/advisor/arm-advisor/src/models/mappers.ts index ffd0fb954f60..f246a5dbe1ef 100644 --- a/sdk/advisor/arm-advisor/src/models/mappers.ts +++ b/sdk/advisor/arm-advisor/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -14,6 +12,85 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; +export const MetadataSupportedValueDetail: msRest.CompositeMapper = { + serializedName: "MetadataSupportedValueDetail", + type: { + name: "Composite", + className: "MetadataSupportedValueDetail", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + } + } + } +}; + +export const MetadataEntity: msRest.CompositeMapper = { + serializedName: "MetadataEntity", + type: { + name: "Composite", + className: "MetadataEntity", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + dependsOn: { + serializedName: "properties.dependsOn", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + supportedValues: { + serializedName: "properties.supportedValues", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetadataSupportedValueDetail" + } + } + } + } + } + } +}; + export const ConfigDataProperties: msRest.CompositeMapper = { serializedName: "ConfigData_properties", type: { @@ -351,6 +428,34 @@ export const RecommendationsGenerateHeaders: msRest.CompositeMapper = { } }; +export const MetadataEntityListResult: msRest.CompositeMapper = { + serializedName: "MetadataEntityListResult", + type: { + name: "Composite", + className: "MetadataEntityListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetadataEntity" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ConfigurationListResult: msRest.CompositeMapper = { serializedName: "ConfigurationListResult", type: { diff --git a/sdk/advisor/arm-advisor/src/models/operationsMappers.ts b/sdk/advisor/arm-advisor/src/models/operationsMappers.ts index aba5d8bf047b..c83dbeabcc21 100644 --- a/sdk/advisor/arm-advisor/src/models/operationsMappers.ts +++ b/sdk/advisor/arm-advisor/src/models/operationsMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationEntityListResult, - OperationEntity, + CloudError, OperationDisplayInfo, - CloudError + OperationEntity, + OperationEntityListResult } from "../models/mappers"; - diff --git a/sdk/advisor/arm-advisor/src/models/recommendationMetadataMappers.ts b/sdk/advisor/arm-advisor/src/models/recommendationMetadataMappers.ts new file mode 100644 index 000000000000..fca081125f33 --- /dev/null +++ b/sdk/advisor/arm-advisor/src/models/recommendationMetadataMappers.ts @@ -0,0 +1,15 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + ARMErrorResponseBody, + CloudError, + MetadataEntity, + MetadataEntityListResult, + MetadataSupportedValueDetail +} from "../models/mappers"; diff --git a/sdk/advisor/arm-advisor/src/models/recommendationsMappers.ts b/sdk/advisor/arm-advisor/src/models/recommendationsMappers.ts index f7c5c9df26b7..c9febbb8f299 100644 --- a/sdk/advisor/arm-advisor/src/models/recommendationsMappers.ts +++ b/sdk/advisor/arm-advisor/src/models/recommendationsMappers.ts @@ -1,21 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - RecommendationsGenerateHeaders, + BaseResource, CloudError, - ResourceRecommendationBaseListResult, - ResourceRecommendationBase, + RecommendationsGenerateHeaders, Resource, - BaseResource, + ResourceRecommendationBase, + ResourceRecommendationBaseListResult, ShortDescription, SuppressionContract } from "../models/mappers"; - diff --git a/sdk/advisor/arm-advisor/src/models/suppressionsMappers.ts b/sdk/advisor/arm-advisor/src/models/suppressionsMappers.ts index dd0d5a4133d7..0fc61875468e 100644 --- a/sdk/advisor/arm-advisor/src/models/suppressionsMappers.ts +++ b/sdk/advisor/arm-advisor/src/models/suppressionsMappers.ts @@ -1,20 +1,17 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - SuppressionContract, - Resource, BaseResource, CloudError, - SuppressionContractListResult, + Resource, ResourceRecommendationBase, - ShortDescription + ShortDescription, + SuppressionContract, + SuppressionContractListResult } from "../models/mappers"; - diff --git a/sdk/advisor/arm-advisor/src/operations/index.ts b/sdk/advisor/arm-advisor/src/operations/index.ts index 0b5134141fb7..1b2399089695 100644 --- a/sdk/advisor/arm-advisor/src/operations/index.ts +++ b/sdk/advisor/arm-advisor/src/operations/index.ts @@ -8,6 +8,7 @@ * regenerated. */ +export * from "./recommendationMetadata"; export * from "./configurations"; export * from "./recommendations"; export * from "./operations"; diff --git a/sdk/advisor/arm-advisor/src/operations/recommendationMetadata.ts b/sdk/advisor/arm-advisor/src/operations/recommendationMetadata.ts new file mode 100644 index 000000000000..487abe86bdca --- /dev/null +++ b/sdk/advisor/arm-advisor/src/operations/recommendationMetadata.ts @@ -0,0 +1,177 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/recommendationMetadataMappers"; +import * as Parameters from "../models/parameters"; +import { AdvisorManagementClientContext } from "../advisorManagementClientContext"; + +/** Class representing a RecommendationMetadata. */ +export class RecommendationMetadata { + private readonly client: AdvisorManagementClientContext; + + /** + * Create a RecommendationMetadata. + * @param {AdvisorManagementClientContext} client Reference to the service client. + */ + constructor(client: AdvisorManagementClientContext) { + this.client = client; + } + + /** + * @summary Gets the metadata entity. + * @param name Name of metadata entity. + * @param [options] The optional parameters + * @returns Promise + */ + get(name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param name Name of metadata entity. + * @param callback The callback + */ + get(name: string, callback: msRest.ServiceCallback): void; + /** + * @param name Name of metadata entity. + * @param options The optional parameters + * @param callback The callback + */ + get(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + name, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the list of metadata entities. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the list of metadata entities. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Advisor/metadata/{name}", + urlParameters: [ + Parameters.name + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MetadataEntity + }, + 404: { + bodyMapper: Mappers.ARMErrorResponseBody + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.Advisor/metadata", + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MetadataEntityListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MetadataEntityListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/analysisservices/arm-analysisservices/LICENSE.txt b/sdk/analysisservices/arm-analysisservices/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/analysisservices/arm-analysisservices/LICENSE.txt +++ b/sdk/analysisservices/arm-analysisservices/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/analysisservices/arm-analysisservices/README.md b/sdk/analysisservices/arm-analysisservices/README.md index 70d2b1e217e6..c88927cf870b 100644 --- a/sdk/analysisservices/arm-analysisservices/README.md +++ b/sdk/analysisservices/arm-analysisservices/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for AnalysisServicesManagementClient. ### How to Install -``` +```bash npm install @azure/arm-analysisservices ``` @@ -19,13 +19,13 @@ npm install @azure/arm-analysisservices ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -49,7 +49,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -98,6 +98,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/analysisservices/arm-analysisservices/README.png) diff --git a/sdk/analysisservices/arm-analysisservices/package.json b/sdk/analysisservices/arm-analysisservices/package.json index d3c1706aa183..870d84f2fcaf 100644 --- a/sdk/analysisservices/arm-analysisservices/package.json +++ b/sdk/analysisservices/arm-analysisservices/package.json @@ -4,8 +4,8 @@ "description": "AnalysisServicesManagementClient Library with typescript type definitions for node.js and browser.", "version": "2.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/analysisservices/arm-analysisservices", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/analysisservices/arm-analysisservices/rollup.config.js b/sdk/analysisservices/arm-analysisservices/rollup.config.js index 757fa640e8e0..c9bcde08174c 100644 --- a/sdk/analysisservices/arm-analysisservices/rollup.config.js +++ b/sdk/analysisservices/arm-analysisservices/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/analysisServicesManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/analysisServicesManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-analysisservices.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config; diff --git a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts index 2655345e5084..fc8ef52bb827 100644 --- a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts +++ b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-analysisservices"; -const packageVersion = "0.1.0"; +const packageVersion = "2.3.0"; export class AnalysisServicesManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/analysisservices/arm-analysisservices/src/models/index.ts b/sdk/analysisservices/arm-analysisservices/src/models/index.ts index 3f9e871bceee..b092cf05584b 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/index.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,510 +11,396 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing OperationDisplay. * The object that represents the operation. - * */ export interface OperationDisplay { /** - * @member {string} [provider] Service provider: Microsoft.Consumption. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Service provider: Microsoft.Consumption. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provider?: string; /** - * @member {string} [resource] Resource on which the operation is performed: - * UsageDetail, etc. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource on which the operation is performed: UsageDetail, etc. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resource?: string; /** - * @member {string} [operation] Operation type: Read, write, delete, etc. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operation type: Read, write, delete, etc. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly operation?: string; } /** - * @interface - * An interface representing Operation. * A Consumption REST API operation. - * */ export interface Operation { /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation}. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operation name: {provider}/{resource}/{operation}. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {OperationDisplay} [display] The object that represents the - * operation. + * The object that represents the operation. */ display?: OperationDisplay; } /** - * @interface - * An interface representing ResourceSku. - * Represents the SKU name and Azure pricing tier for Analysis Services - * resource. - * + * Represents the SKU name and Azure pricing tier for Analysis Services resource. */ export interface ResourceSku { /** - * @member {string} name Name of the SKU level. + * Name of the SKU level. */ name: string; /** - * @member {SkuTier} [tier] The name of the Azure pricing tier to which the - * SKU applies. Possible values include: 'Development', 'Basic', 'Standard' + * The name of the Azure pricing tier to which the SKU applies. Possible values include: + * 'Development', 'Basic', 'Standard' */ tier?: SkuTier; /** - * @member {number} [capacity] The number of instances in the read only query - * pool. Default value: 1 . + * The number of instances in the read only query pool. Default value: 1. */ capacity?: number; } /** - * @interface - * An interface representing Resource. * Represents an instance of an Analysis Services resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] An identifier that represents the Analysis Services - * resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * An identifier that represents the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the Analysis Services resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the Analysis Services resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location Location of the Analysis Services resource. + * Location of the Analysis Services resource. */ location: string; /** - * @member {ResourceSku} sku The SKU of the Analysis Services resource. + * The SKU of the Analysis Services resource. */ sku: ResourceSku; /** - * @member {{ [propertyName: string]: string }} [tags] Key-value pairs of - * additional resource provisioning properties. + * Key-value pairs of additional resource provisioning properties. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing AnalysisServicesServer. * Represents an instance of an Analysis Services resource. - * - * @extends Resource */ export interface AnalysisServicesServer extends Resource { /** - * @member {ServerAdministrators} [asAdministrators] A collection of AS - * server administrators + * A collection of AS server administrators */ asAdministrators?: ServerAdministrators; /** - * @member {string} [backupBlobContainerUri] The SAS container URI to the - * backup container. + * The SAS container URI to the backup container. */ backupBlobContainerUri?: string; /** - * @member {GatewayDetails} [gatewayDetails] The gateway details configured - * for the AS server. + * The gateway details configured for the AS server. */ gatewayDetails?: GatewayDetails; /** - * @member {IPv4FirewallSettings} [ipV4FirewallSettings] The firewall - * settings for the AS server. + * The firewall settings for the AS server. */ ipV4FirewallSettings?: IPv4FirewallSettings; /** - * @member {ConnectionMode} [querypoolConnectionMode] How the read-write - * server's participation in the query pool is controlled.
It can have - * the following values:
  • readOnly - indicates that the read-write - * server is intended not to participate in query operations
  • all - - * indicates that the read-write server can participate in query - * operations
Specifying readOnly when capacity is 1 results in - * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All' . + * How the read-write server's participation in the query pool is controlled.
It can have the + * following values:
  • readOnly - indicates that the read-write server is intended not to + * participate in query operations
  • all - indicates that the read-write server can + * participate in query operations
Specifying readOnly when capacity is 1 results in + * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All'. */ querypoolConnectionMode?: ConnectionMode; /** - * @member {State} [state] The current state of Analysis Services resource. - * The state is to indicate more states outside of resource provisioning. - * Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', - * 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', - * 'Resuming', 'Preparing', 'Scaling' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The current state of Analysis Services resource. The state is to indicate more states outside + * of resource provisioning. Possible values include: 'Deleting', 'Succeeded', 'Failed', + * 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', + * 'Preparing', 'Scaling' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly state?: State; /** - * @member {ProvisioningState} [provisioningState] The current deployment - * state of Analysis Services resource. The provisioningState is to indicate - * states for resource provisioning. Possible values include: 'Deleting', - * 'Succeeded', 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', - * 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The current deployment state of Analysis Services resource. The provisioningState is to + * indicate states for resource provisioning. Possible values include: 'Deleting', 'Succeeded', + * 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', + * 'Resuming', 'Preparing', 'Scaling' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [serverFullName] The full name of the Analysis Services - * resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The full name of the Analysis Services resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly serverFullName?: string; } /** - * @interface - * An interface representing ServerAdministrators. * An array of administrator user identities. - * */ export interface ServerAdministrators { /** - * @member {string[]} [members] An array of administrator user identities. + * An array of administrator user identities. */ members?: string[]; } /** - * @interface - * An interface representing GatewayDetails. * The gateway details. - * */ export interface GatewayDetails { /** - * @member {string} [gatewayResourceId] Gateway resource to be associated - * with the server. + * Gateway resource to be associated with the server. */ gatewayResourceId?: string; /** - * @member {string} [gatewayObjectId] Gateway object id from in the DMTS - * cluster for the gateway resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gateway object id from in the DMTS cluster for the gateway resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly gatewayObjectId?: string; /** - * @member {string} [dmtsClusterUri] Uri of the DMTS cluster. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Uri of the DMTS cluster. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly dmtsClusterUri?: string; } /** - * @interface - * An interface representing IPv4FirewallRule. * The detail of firewall rule. - * */ export interface IPv4FirewallRule { /** - * @member {string} [firewallRuleName] The rule name. + * The rule name. */ firewallRuleName?: string; /** - * @member {string} [rangeStart] The start range of IPv4. + * The start range of IPv4. */ rangeStart?: string; /** - * @member {string} [rangeEnd] The end range of IPv4. + * The end range of IPv4. */ rangeEnd?: string; } /** - * @interface - * An interface representing IPv4FirewallSettings. * An array of firewall rules. - * */ export interface IPv4FirewallSettings { /** - * @member {IPv4FirewallRule[]} [firewallRules] An array of firewall rules. + * An array of firewall rules. */ firewallRules?: IPv4FirewallRule[]; /** - * @member {string} [enablePowerBIService] The indicator of enableing PBI - * service. + * The indicator of enabling PBI service. */ enablePowerBIService?: string; } /** - * @interface - * An interface representing AnalysisServicesServerUpdateParameters. * Provision request specification - * */ export interface AnalysisServicesServerUpdateParameters { /** - * @member {ResourceSku} [sku] The SKU of the Analysis Services resource. + * The SKU of the Analysis Services resource. */ sku?: ResourceSku; /** - * @member {{ [propertyName: string]: string }} [tags] Key-value pairs of - * additional provisioning properties. + * Key-value pairs of additional provisioning properties. */ tags?: { [propertyName: string]: string }; /** - * @member {ServerAdministrators} [asAdministrators] A collection of AS - * server administrators + * A collection of AS server administrators */ asAdministrators?: ServerAdministrators; /** - * @member {string} [backupBlobContainerUri] The SAS container URI to the - * backup container. + * The SAS container URI to the backup container. */ backupBlobContainerUri?: string; /** - * @member {GatewayDetails} [gatewayDetails] The gateway details configured - * for the AS server. + * The gateway details configured for the AS server. */ gatewayDetails?: GatewayDetails; /** - * @member {IPv4FirewallSettings} [ipV4FirewallSettings] The firewall - * settings for the AS server. + * The firewall settings for the AS server. */ ipV4FirewallSettings?: IPv4FirewallSettings; /** - * @member {ConnectionMode} [querypoolConnectionMode] How the read-write - * server's participation in the query pool is controlled.
It can have - * the following values:
  • readOnly - indicates that the read-write - * server is intended not to participate in query operations
  • all - - * indicates that the read-write server can participate in query - * operations
Specifying readOnly when capacity is 1 results in - * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All' . + * How the read-write server's participation in the query pool is controlled.
It can have the + * following values:
  • readOnly - indicates that the read-write server is intended not to + * participate in query operations
  • all - indicates that the read-write server can + * participate in query operations
Specifying readOnly when capacity is 1 results in + * error. Possible values include: 'All', 'ReadOnly'. Default value: 'All'. */ querypoolConnectionMode?: ConnectionMode; } /** - * @interface - * An interface representing GatewayListStatusLive. * Status of gateway is live. - * */ export interface GatewayListStatusLive { /** - * @member {Status} [status] Live message of list gateway. Possible values - * include: 'Live' + * Live message of list gateway. Possible values include: 'Live' */ status?: Status; } /** - * @interface - * An interface representing GatewayError. * Detail of gateway errors. - * */ export interface GatewayError { /** - * @member {string} [code] Error code of list gateway. + * Error code of list gateway. */ code?: string; /** - * @member {string} [message] Error message of list gateway. + * Error message of list gateway. */ message?: string; } /** - * @interface - * An interface representing GatewayListStatusError. * Status of gateway is error. - * */ export interface GatewayListStatusError { /** - * @member {GatewayError} [error] Error of the list gateway status. + * Error of the list gateway status. */ error?: GatewayError; } /** - * @interface - * An interface representing CheckServerNameAvailabilityParameters. * Details of server name request body. - * */ export interface CheckServerNameAvailabilityParameters { /** - * @member {string} [name] Name for checking availability. + * Name for checking availability. */ name?: string; /** - * @member {string} [type] The resource type of azure analysis services. - * Default value: 'Microsoft.AnalysisServices/servers' . + * The resource type of azure analysis services. Default value: + * 'Microsoft.AnalysisServices/servers'. */ type?: string; } /** - * @interface - * An interface representing CheckServerNameAvailabilityResult. - * The checking result of server name availibility. - * + * The checking result of server name availability. */ export interface CheckServerNameAvailabilityResult { /** - * @member {boolean} [nameAvailable] Indicator of available of the server - * name. + * Indicator of available of the server name. */ nameAvailable?: boolean; /** - * @member {string} [reason] The reason of unavailability. + * The reason of unavailability. */ reason?: string; /** - * @member {string} [message] The detailed message of the request - * unavailability. + * The detailed message of the request unavailability. */ message?: string; } /** - * @interface - * An interface representing ErrorResponse. * Describes the format of Error response. - * */ export interface ErrorResponse { /** - * @member {string} [code] Error code + * Error code */ code?: string; /** - * @member {string} [message] Error message indicating why the operation - * failed. + * Error message indicating why the operation failed. */ message?: string; } /** - * @interface - * An interface representing OperationStatus. * The status of operation. - * */ export interface OperationStatus { /** - * @member {string} [id] The operation Id. + * The operation Id. */ id?: string; /** - * @member {string} [name] The operation name. + * The operation name. */ name?: string; /** - * @member {string} [startTime] The start time of the operation. + * The start time of the operation. */ startTime?: string; /** - * @member {string} [endTime] The end time of the operation. + * The end time of the operation. */ endTime?: string; /** - * @member {string} [status] The status of the operation. + * The status of the operation. */ status?: string; /** - * @member {ErrorResponse} [error] The error detail of the operation if any. + * The error detail of the operation if any. */ error?: ErrorResponse; } /** - * @interface - * An interface representing SkuEnumerationForNewResourceResult. * An object that represents enumerating SKUs for new resources. - * */ export interface SkuEnumerationForNewResourceResult { /** - * @member {ResourceSku[]} [value] The collection of available SKUs for new - * resources. + * The collection of available SKUs for new resources. */ value?: ResourceSku[]; } /** - * @interface - * An interface representing SkuDetailsForExistingResource. * An object that represents SKU details for existing resources. - * */ export interface SkuDetailsForExistingResource { /** - * @member {ResourceSku} [sku] The SKU in SKU details for existing resources. + * The SKU in SKU details for existing resources. */ sku?: ResourceSku; } /** - * @interface - * An interface representing SkuEnumerationForExistingResourceResult. * An object that represents enumerating SKUs for existing resources. - * */ export interface SkuEnumerationForExistingResourceResult { /** - * @member {SkuDetailsForExistingResource[]} [value] The collection of - * available SKUs for existing resources. + * The collection of available SKUs for existing resources. */ value?: SkuDetailsForExistingResource[]; } /** - * @interface * An interface representing AnalysisServicesManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface AnalysisServicesManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the AnalysisServicesServers. * An array of Analysis Services resources. - * * @extends Array */ export interface AnalysisServicesServers extends Array { @@ -524,18 +408,14 @@ export interface AnalysisServicesServers extends Array { /** * @interface - * An interface representing the OperationListResult. - * Result of listing consumption operations. It contains a list of operations - * and a URL link to get the next set of results. - * + * Result of listing consumption operations. It contains a list of operations and a URL link to get + * the next set of results. * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * URL to get the next set of operation list results if there are any. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } @@ -594,6 +474,7 @@ export type ServersGetDetailsResponse = AnalysisServicesServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -613,6 +494,7 @@ export type ServersCreateResponse = AnalysisServicesServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -632,6 +514,7 @@ export type ServersUpdateResponse = AnalysisServicesServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -651,6 +534,7 @@ export type ServersListByResourceGroupResponse = AnalysisServicesServers & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -670,6 +554,7 @@ export type ServersListResponse = AnalysisServicesServers & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -689,6 +574,7 @@ export type ServersListSkusForNewResponse = SkuEnumerationForNewResourceResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -708,6 +594,7 @@ export type ServersListSkusForExistingResponse = SkuEnumerationForExistingResour * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -727,6 +614,7 @@ export type ServersListGatewayStatusResponse = GatewayListStatusLive & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -746,6 +634,7 @@ export type ServersCheckNameAvailabilityResponse = CheckServerNameAvailabilityRe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -765,6 +654,7 @@ export type ServersListOperationStatusesResponse = OperationStatus & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -784,6 +674,7 @@ export type ServersBeginCreateResponse = AnalysisServicesServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -803,6 +694,7 @@ export type ServersBeginUpdateResponse = AnalysisServicesServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -822,6 +714,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -841,6 +734,7 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts b/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts index 0a5ec0f18454..778cfb0d3786 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; diff --git a/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts b/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts index 715467ec9522..b8de8606cf9d 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/operationsMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationListResult, + ErrorResponse, Operation, OperationDisplay, - ErrorResponse + OperationListResult } from "../models/mappers"; - diff --git a/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts b/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts index 6d1d2ff928dc..6ab18cb16dc3 100644 --- a/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/models/serversMappers.ts @@ -1,34 +1,31 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { AnalysisServicesServer, - Resource, - BaseResource, - ResourceSku, - ServerAdministrators, - GatewayDetails, - IPv4FirewallSettings, - IPv4FirewallRule, - CloudError, - AnalysisServicesServerUpdateParameters, AnalysisServicesServers, - SkuEnumerationForNewResourceResult, - SkuEnumerationForExistingResourceResult, - SkuDetailsForExistingResource, - GatewayListStatusLive, - GatewayListStatusError, - GatewayError, + AnalysisServicesServerUpdateParameters, + BaseResource, CheckServerNameAvailabilityParameters, CheckServerNameAvailabilityResult, + CloudError, + ErrorResponse, + GatewayDetails, + GatewayError, + GatewayListStatusError, + GatewayListStatusLive, + IPv4FirewallRule, + IPv4FirewallSettings, OperationStatus, - ErrorResponse + Resource, + ResourceSku, + ServerAdministrators, + SkuDetailsForExistingResource, + SkuEnumerationForExistingResourceResult, + SkuEnumerationForNewResourceResult } from "../models/mappers"; - diff --git a/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts b/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts index 4229322d7bf1..58b42cdede71 100644 --- a/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts +++ b/sdk/analysisservices/arm-analysisservices/src/operations/servers.ts @@ -112,7 +112,7 @@ export class Servers { } /** - * Supends operation of the specified Analysis Services server instance. + * Suspends operation of the specified Analysis Services server instance. * @param resourceGroupName The name of the Azure Resource group of which a given Analysis Services * server is part. This name must be at least 1 character in length, and no more than 90. * @param serverName The name of the Analysis Services server. It must be at least 3 characters in @@ -492,7 +492,7 @@ export class Servers { } /** - * Supends operation of the specified Analysis Services server instance. + * Suspends operation of the specified Analysis Services server instance. * @param resourceGroupName The name of the Azure Resource group of which a given Analysis Services * server is part. This name must be at least 1 character in length, and no more than 90. * @param serverName The name of the Analysis Services server. It must be at least 3 characters in diff --git a/sdk/applicationinsights/applicationinsights-query/LICENSE.txt b/sdk/applicationinsights/applicationinsights-query/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/applicationinsights/applicationinsights-query/LICENSE.txt +++ b/sdk/applicationinsights/applicationinsights-query/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/applicationinsights/applicationinsights-query/README.md b/sdk/applicationinsights/applicationinsights-query/README.md index 317e12925b1a..4dc1b700d94a 100644 --- a/sdk/applicationinsights/applicationinsights-query/README.md +++ b/sdk/applicationinsights/applicationinsights-query/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for ApplicationInsightsDataClient. ### How to Install -``` +```bash npm install @azure/applicationinsights-query ``` @@ -19,13 +19,13 @@ npm install @azure/applicationinsights-query ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; import { ApplicationInsightsDataClient, ApplicationInsightsDataModels, ApplicationInsightsDataMappers } from "@azure/applicationinsights-query"; @@ -55,7 +55,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -110,6 +110,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/applicationinsights/applicationinsights-query/README.png) diff --git a/sdk/applicationinsights/applicationinsights-query/package.json b/sdk/applicationinsights/applicationinsights-query/package.json index 1a33ed5a4569..5b286e5c4751 100644 --- a/sdk/applicationinsights/applicationinsights-query/package.json +++ b/sdk/applicationinsights/applicationinsights-query/package.json @@ -4,7 +4,7 @@ "description": "ApplicationInsightsDataClient Library with typescript type definitions for node.js and browser.", "version": "1.1.0", "dependencies": { - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -22,9 +22,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/applicationinsights/applicationinsights-query", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -42,6 +43,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -51,5 +53,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/applicationinsights/applicationinsights-query/rollup.config.js b/sdk/applicationinsights/applicationinsights-query/rollup.config.js index 85ed89401a88..39d2dddfc433 100644 --- a/sdk/applicationinsights/applicationinsights-query/rollup.config.js +++ b/sdk/applicationinsights/applicationinsights-query/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/applicationInsightsDataClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/applicationInsightsDataClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/applicationinsights-query.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config; diff --git a/sdk/applicationinsights/applicationinsights-query/src/applicationInsightsDataClientContext.ts b/sdk/applicationinsights/applicationinsights-query/src/applicationInsightsDataClientContext.ts index 490c2684263f..42bf565c9bea 100644 --- a/sdk/applicationinsights/applicationinsights-query/src/applicationInsightsDataClientContext.ts +++ b/sdk/applicationinsights/applicationinsights-query/src/applicationInsightsDataClientContext.ts @@ -12,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "./models"; const packageName = "@azure/applicationinsights-query"; -const packageVersion = "0.1.0"; +const packageVersion = "1.1.0"; export class ApplicationInsightsDataClientContext extends msRest.ServiceClient { credentials: msRest.ServiceClientCredentials; @@ -23,23 +23,23 @@ export class ApplicationInsightsDataClientContext extends msRest.ServiceClient { * @param [options] The parameter options */ constructor(credentials: msRest.ServiceClientCredentials, options?: Models.ApplicationInsightsDataClientOptions) { - if (credentials === null || credentials === undefined) { - throw new Error('\'credentials\' cannot be null.'); + if (credentials == undefined) { + throw new Error("'credentials' cannot be null."); } if (!options) { options = {}; } - if(!options.userAgent) { + + if (!options.userAgent) { const defaultUserAgent = msRest.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.baseUri = options.baseUri || this.baseUri || "https://api.applicationinsights.io"; + this.baseUri = options.baseUri || this.baseUri || "https://api.applicationinsights.io/v1"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; - } } diff --git a/sdk/applicationinsights/applicationinsights-query/src/models/eventsMappers.ts b/sdk/applicationinsights/applicationinsights-query/src/models/eventsMappers.ts index 57883403a86f..b5933644c6c7 100644 --- a/sdk/applicationinsights/applicationinsights-query/src/models/eventsMappers.ts +++ b/sdk/applicationinsights/applicationinsights-query/src/models/eventsMappers.ts @@ -1,51 +1,48 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - EventsResults, - ErrorInfo, ErrorDetail, - EventsResultData, - EventsResultDataCustomDimensions, - EventsResultDataCustomMeasurements, - EventsOperationInfo, - EventsSessionInfo, - EventsUserInfo, - EventsCloudInfo, + ErrorInfo, + ErrorResponse, EventsAiInfo, EventsApplicationInfo, - EventsClientInfo, - ErrorResponse, - EventsTraceResult, - EventsTraceInfo, - EventsCustomEventResult, - EventsCustomEventInfo, - EventsPageViewResult, - EventsPageViewInfo, - EventsBrowserTimingResult, + EventsAvailabilityResultInfo, + EventsAvailabilityResultResult, EventsBrowserTimingInfo, + EventsBrowserTimingResult, + EventsClientInfo, EventsClientPerformanceInfo, - EventsRequestResult, - EventsRequestInfo, - EventsDependencyResult, + EventsCloudInfo, + EventsCustomEventInfo, + EventsCustomEventResult, + EventsCustomMetricInfo, + EventsCustomMetricResult, EventsDependencyInfo, - EventsExceptionResult, - EventsExceptionInfo, + EventsDependencyResult, EventsExceptionDetail, EventsExceptionDetailsParsedStack, - EventsAvailabilityResultResult, - EventsAvailabilityResultInfo, - EventsPerformanceCounterResult, + EventsExceptionInfo, + EventsExceptionResult, + EventsOperationInfo, + EventsPageViewInfo, + EventsPageViewResult, EventsPerformanceCounterInfo, - EventsCustomMetricResult, - EventsCustomMetricInfo + EventsPerformanceCounterResult, + EventsRequestInfo, + EventsRequestResult, + EventsResultData, + EventsResultDataCustomDimensions, + EventsResultDataCustomMeasurements, + EventsResults, + EventsSessionInfo, + EventsTraceInfo, + EventsTraceResult, + EventsUserInfo } from "../models/mappers"; - diff --git a/sdk/applicationinsights/applicationinsights-query/src/models/index.ts b/sdk/applicationinsights/applicationinsights-query/src/models/index.ts index 50135f90faa0..6e47d3b8e0db 100644 --- a/sdk/applicationinsights/applicationinsights-query/src/models/index.ts +++ b/sdk/applicationinsights/applicationinsights-query/src/models/index.ts @@ -1,430 +1,326 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { ServiceClientOptions } from "@azure/ms-rest-js"; import * as msRest from "@azure/ms-rest-js"; - /** - * @interface - * An interface representing MetricsPostBodySchemaParameters. * The parameters for a single metrics query - * */ export interface MetricsPostBodySchemaParameters { /** - * @member {MetricId} metricId Possible values include: 'requests/count', - * 'requests/duration', 'requests/failed', 'users/count', - * 'users/authenticated', 'pageViews/count', 'pageViews/duration', - * 'client/processingDuration', 'client/receiveDuration', - * 'client/networkDuration', 'client/sendDuration', 'client/totalDuration', - * 'dependencies/count', 'dependencies/failed', 'dependencies/duration', - * 'exceptions/count', 'exceptions/browser', 'exceptions/server', + * Possible values include: 'requests/count', 'requests/duration', 'requests/failed', + * 'users/count', 'users/authenticated', 'pageViews/count', 'pageViews/duration', + * 'client/processingDuration', 'client/receiveDuration', 'client/networkDuration', + * 'client/sendDuration', 'client/totalDuration', 'dependencies/count', 'dependencies/failed', + * 'dependencies/duration', 'exceptions/count', 'exceptions/browser', 'exceptions/server', * 'sessions/count', 'performanceCounters/requestExecutionTime', - * 'performanceCounters/requestsPerSecond', - * 'performanceCounters/requestsInQueue', - * 'performanceCounters/memoryAvailableBytes', - * 'performanceCounters/exceptionsPerSecond', - * 'performanceCounters/processCpuPercentage', - * 'performanceCounters/processIOBytesPerSecond', - * 'performanceCounters/processPrivateBytes', - * 'performanceCounters/processorCpuPercentage', - * 'availabilityResults/availabilityPercentage', - * 'availabilityResults/duration', 'billing/telemetryCount', - * 'customEvents/count' + * 'performanceCounters/requestsPerSecond', 'performanceCounters/requestsInQueue', + * 'performanceCounters/memoryAvailableBytes', 'performanceCounters/exceptionsPerSecond', + * 'performanceCounters/processCpuPercentage', 'performanceCounters/processIOBytesPerSecond', + * 'performanceCounters/processPrivateBytes', 'performanceCounters/processorCpuPercentage', + * 'availabilityResults/availabilityPercentage', 'availabilityResults/duration', + * 'billing/telemetryCount', 'customEvents/count' */ metricId: MetricId; - /** - * @member {string} [timespan] - */ timespan?: string; - /** - * @member {MetricsAggregation[]} [aggregation] - */ aggregation?: MetricsAggregation[]; - /** - * @member {string} [interval] - */ interval?: string; - /** - * @member {MetricsSegment[]} [segment] - */ segment?: MetricsSegment[]; - /** - * @member {number} [top] - */ top?: number; - /** - * @member {string} [orderby] - */ orderby?: string; - /** - * @member {string} [filter] - */ filter?: string; } /** - * @interface - * An interface representing MetricsPostBodySchema. * A metric request - * */ export interface MetricsPostBodySchema { /** - * @member {string} id An identifier for this query. Must be unique within - * the post body of the request. This identifier will be the 'id' property - * of the response object representing this query. + * An identifier for this query. Must be unique within the post body of the request. This + * identifier will be the 'id' property of the response object representing this query. */ id: string; /** - * @member {MetricsPostBodySchemaParameters} parameters The parameters for a - * single metrics query + * The parameters for a single metrics query */ parameters: MetricsPostBodySchemaParameters; } /** - * @interface - * An interface representing MetricsSegmentInfo. * A metric segment - * */ export interface MetricsSegmentInfo { /** - * @member {Date} [start] Start time of the metric segment (only when an - * interval was specified). + * Start time of the metric segment (only when an interval was specified). */ start?: Date; /** - * @member {Date} [end] Start time of the metric segment (only when an - * interval was specified). + * Start time of the metric segment (only when an interval was specified). */ end?: Date; /** - * @member {MetricsSegmentInfo[]} [segments] Segmented metric data (if - * further segmented). + * Segmented metric data (if further segmented). */ segments?: MetricsSegmentInfo[]; /** - * @property Describes unknown properties. The value of an unknown property - * can be of "any" type. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; } /** - * @interface - * An interface representing MetricsResultInfo. * A metric result data. - * */ export interface MetricsResultInfo { /** - * @member {Date} [start] Start time of the metric. + * Start time of the metric. */ start?: Date; /** - * @member {Date} [end] Start time of the metric. + * Start time of the metric. */ end?: Date; /** - * @member {string} [interval] The interval used to segment the metric data. + * The interval used to segment the metric data. */ interval?: string; /** - * @member {MetricsSegmentInfo[]} [segments] Segmented metric data (if - * segmented). + * Segmented metric data (if segmented). */ segments?: MetricsSegmentInfo[]; /** - * @property Describes unknown properties. The value of an unknown property - * can be of "any" type. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; } /** - * @interface - * An interface representing MetricsResult. * A metric result. - * */ export interface MetricsResult { - /** - * @member {MetricsResultInfo} [value] - */ value?: MetricsResultInfo; } /** - * @interface * An interface representing MetricsResultsItem. */ export interface MetricsResultsItem { /** - * @member {string} id The specified ID for this metric. + * The specified ID for this metric. */ id: string; /** - * @member {number} status The HTTP status code of this metric query. + * The HTTP status code of this metric query. */ status: number; /** - * @member {MetricsResult} body The results of this metric query. + * The results of this metric query. */ body: MetricsResult; } /** - * @interface * An interface representing ErrorDetail. * @summary Error details. - * */ export interface ErrorDetail { /** - * @member {string} code The error's code. + * The error's code. */ code: string; /** - * @member {string} message A human readable error message. + * A human readable error message. */ message: string; /** - * @member {string} [target] Indicates which property in the request is - * responsible for the error. + * Indicates which property in the request is responsible for the error. */ target?: string; /** - * @member {string} [value] Indicates which value in 'target' is responsible - * for the error. + * Indicates which value in 'target' is responsible for the error. */ value?: string; /** - * @member {string[]} [resources] Indicates resources which were responsible - * for the error. + * Indicates resources which were responsible for the error. */ resources?: string[]; - /** - * @member {any} [additionalProperties] - */ additionalProperties?: any; } /** - * @interface * An interface representing ErrorInfo. * @summary The code and message for an error. - * */ export interface ErrorInfo { /** - * @member {string} code A machine readable error code. + * A machine readable error code. */ code: string; /** - * @member {string} message A human readable error message. + * A human readable error message. */ message: string; /** - * @member {ErrorDetail[]} [details] error details. + * error details. */ details?: ErrorDetail[]; /** - * @member {ErrorInfo} [innererror] Inner error details if they exist. + * Inner error details if they exist. */ innererror?: ErrorInfo; - /** - * @member {any} [additionalProperties] - */ additionalProperties?: any; } /** - * @interface - * An interface representing EventsResultDataCustomDimensions. * Custom dimensions of the event - * */ export interface EventsResultDataCustomDimensions { - /** - * @member {any} [additionalProperties] - */ additionalProperties?: any; } /** - * @interface - * An interface representing EventsResultDataCustomMeasurements. * Custom measurements of the event - * */ export interface EventsResultDataCustomMeasurements { - /** - * @member {any} [additionalProperties] - */ additionalProperties?: any; } /** - * @interface - * An interface representing EventsOperationInfo. * Operation info for an event result - * */ export interface EventsOperationInfo { /** - * @member {string} [name] Name of the operation + * Name of the operation */ name?: string; /** - * @member {string} [id] ID of the operation + * ID of the operation */ id?: string; /** - * @member {string} [parentId] Parent ID of the operation + * Parent ID of the operation */ parentId?: string; /** - * @member {string} [syntheticSource] Synthetic source of the operation + * Synthetic source of the operation */ syntheticSource?: string; } /** - * @interface - * An interface representing EventsSessionInfo. * Session info for an event result - * */ export interface EventsSessionInfo { /** - * @member {string} [id] ID of the session + * ID of the session */ id?: string; } /** - * @interface - * An interface representing EventsUserInfo. * User info for an event result - * */ export interface EventsUserInfo { /** - * @member {string} [id] ID of the user + * ID of the user */ id?: string; /** - * @member {string} [accountId] Account ID of the user + * Account ID of the user */ accountId?: string; /** - * @member {string} [authenticatedId] Authenticated ID of the user + * Authenticated ID of the user */ authenticatedId?: string; } /** - * @interface - * An interface representing EventsCloudInfo. * Cloud info for an event result - * */ export interface EventsCloudInfo { /** - * @member {string} [roleName] Role name of the cloud + * Role name of the cloud */ roleName?: string; /** - * @member {string} [roleInstance] Role instance of the cloud + * Role instance of the cloud */ roleInstance?: string; } /** - * @interface - * An interface representing EventsAiInfo. * AI related application info for an event result - * */ export interface EventsAiInfo { /** - * @member {string} [iKey] iKey of the app + * iKey of the app */ iKey?: string; /** - * @member {string} [appName] Name of the application + * Name of the application */ appName?: string; /** - * @member {string} [appId] ID of the application + * ID of the application */ appId?: string; /** - * @member {string} [sdkVersion] SDK version of the application + * SDK version of the application */ sdkVersion?: string; } /** - * @interface - * An interface representing EventsApplicationInfo. * Application info for an event result - * */ export interface EventsApplicationInfo { /** - * @member {string} [version] Version of the application + * Version of the application */ version?: string; } /** - * @interface - * An interface representing EventsClientInfo. * Client info for an event result - * */ export interface EventsClientInfo { /** - * @member {string} [model] Model of the client + * Model of the client */ model?: string; /** - * @member {string} [os] Operating system of the client + * Operating system of the client */ os?: string; /** - * @member {string} [type] Type of the client + * Type of the client */ type?: string; /** - * @member {string} [browser] Browser of the client + * Browser of the client */ browser?: string; /** - * @member {string} [ip] IP address of the client + * IP address of the client */ ip?: string; /** - * @member {string} [city] City of the client + * City of the client */ city?: string; /** - * @member {string} [stateOrProvince] State or province of the client + * State or province of the client */ stateOrProvince?: string; /** - * @member {string} [countryOrRegion] Country or region of the client + * Country or region of the client */ countryOrRegion?: string; } @@ -435,1485 +331,1276 @@ export interface EventsClientInfo { export type EventsResultDataUnion = EventsResultData | EventsTraceResult | EventsCustomEventResult | EventsPageViewResult | EventsBrowserTimingResult | EventsRequestResult | EventsDependencyResult | EventsExceptionResult | EventsAvailabilityResultResult | EventsPerformanceCounterResult | EventsCustomMetricResult; /** - * @interface - * An interface representing EventsResultData. * Events query result data. - * */ export interface EventsResultData { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "eventsResultData"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; } /** - * @interface - * An interface representing EventsResults. * An events query result. - * */ export interface EventsResults { /** - * @member {string} [odatacontext] OData context metadata endpoint for this - * response + * OData context metadata endpoint for this response */ odatacontext?: string; /** - * @member {ErrorInfo[]} [aimessages] OData messages for this response. + * OData messages for this response. */ aimessages?: ErrorInfo[]; /** - * @member {EventsResultDataUnion[]} [value] Contents of the events query - * result. + * Contents of the events query result. */ value?: EventsResultDataUnion[]; } /** - * @interface - * An interface representing EventsResult. * An event query result. - * */ export interface EventsResult { /** - * @member {ErrorInfo[]} [aimessages] OData messages for this response. + * OData messages for this response. */ aimessages?: ErrorInfo[]; - /** - * @member {EventsResultDataUnion} [value] - */ value?: EventsResultDataUnion; } /** - * @interface - * An interface representing EventsTraceInfo. * The trace information - * */ export interface EventsTraceInfo { /** - * @member {string} [message] The trace message + * The trace message */ message?: string; /** - * @member {number} [severityLevel] The trace severity level + * The trace severity level */ severityLevel?: number; } /** - * @interface - * An interface representing EventsTraceResult. * A trace result - * */ export interface EventsTraceResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "trace"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsTraceInfo} [trace] - */ trace?: EventsTraceInfo; } /** - * @interface - * An interface representing EventsCustomEventInfo. * The custom event information - * */ export interface EventsCustomEventInfo { /** - * @member {string} [name] The name of the custom event + * The name of the custom event */ name?: string; } /** - * @interface - * An interface representing EventsCustomEventResult. * A custom event result - * */ export interface EventsCustomEventResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "customEvent"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsCustomEventInfo} [customEvent] - */ customEvent?: EventsCustomEventInfo; } /** - * @interface - * An interface representing EventsPageViewInfo. * The page view information - * */ export interface EventsPageViewInfo { /** - * @member {string} [name] The name of the page + * The name of the page */ name?: string; /** - * @member {string} [url] The URL of the page + * The URL of the page */ url?: string; /** - * @member {string} [duration] The duration of the page view + * The duration of the page view */ duration?: string; /** - * @member {string} [performanceBucket] The performance bucket of the page - * view + * The performance bucket of the page view */ performanceBucket?: string; } /** - * @interface - * An interface representing EventsPageViewResult. * A page view result - * */ export interface EventsPageViewResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "pageView"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsPageViewInfo} [pageView] - */ pageView?: EventsPageViewInfo; } /** - * @interface - * An interface representing EventsBrowserTimingInfo. * The browser timing information - * */ export interface EventsBrowserTimingInfo { /** - * @member {string} [urlPath] The path of the URL + * The path of the URL */ urlPath?: string; /** - * @member {string} [urlHost] The host of the URL + * The host of the URL */ urlHost?: string; /** - * @member {string} [name] The name of the page + * The name of the page */ name?: string; /** - * @member {string} [url] The url of the page + * The url of the page */ url?: string; /** - * @member {number} [totalDuration] The total duration of the load + * The total duration of the load */ totalDuration?: number; /** - * @member {string} [performanceBucket] The performance bucket of the load + * The performance bucket of the load */ performanceBucket?: string; /** - * @member {number} [networkDuration] The network duration of the load + * The network duration of the load */ networkDuration?: number; /** - * @member {number} [sendDuration] The send duration of the load + * The send duration of the load */ sendDuration?: number; /** - * @member {number} [receiveDuration] The receive duration of the load + * The receive duration of the load */ receiveDuration?: number; /** - * @member {number} [processingDuration] The processing duration of the load + * The processing duration of the load */ processingDuration?: number; } /** - * @interface - * An interface representing EventsClientPerformanceInfo. * Client performance information - * */ export interface EventsClientPerformanceInfo { /** - * @member {string} [name] The name of the client performance + * The name of the client performance */ name?: string; } /** - * @interface - * An interface representing EventsBrowserTimingResult. * A browser timing result - * */ export interface EventsBrowserTimingResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "browserTiming"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsBrowserTimingInfo} [browserTiming] - */ browserTiming?: EventsBrowserTimingInfo; - /** - * @member {EventsClientPerformanceInfo} [clientPerformance] - */ clientPerformance?: EventsClientPerformanceInfo; } /** - * @interface - * An interface representing EventsRequestInfo. * The request info - * */ export interface EventsRequestInfo { /** - * @member {string} [name] The name of the request + * The name of the request */ name?: string; /** - * @member {string} [url] The URL of the request + * The URL of the request */ url?: string; /** - * @member {string} [success] Indicates if the request was successful + * Indicates if the request was successful */ success?: string; /** - * @member {number} [duration] The duration of the request + * The duration of the request */ duration?: number; /** - * @member {string} [performanceBucket] The performance bucket of the request + * The performance bucket of the request */ performanceBucket?: string; /** - * @member {string} [resultCode] The result code of the request + * The result code of the request */ resultCode?: string; /** - * @member {string} [source] The source of the request + * The source of the request */ source?: string; /** - * @member {string} [id] The ID of the request + * The ID of the request */ id?: string; } /** - * @interface - * An interface representing EventsRequestResult. * A request result - * */ export interface EventsRequestResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "request"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsRequestInfo} [request] - */ request?: EventsRequestInfo; } /** - * @interface - * An interface representing EventsDependencyInfo. * The dependency info - * */ export interface EventsDependencyInfo { /** - * @member {string} [target] The target of the dependency + * The target of the dependency */ target?: string; /** - * @member {string} [data] The data of the dependency + * The data of the dependency */ data?: string; /** - * @member {string} [success] Indicates if the dependency was successful + * Indicates if the dependency was successful */ success?: string; /** - * @member {number} [duration] The duration of the dependency + * The duration of the dependency */ duration?: number; /** - * @member {string} [performanceBucket] The performance bucket of the - * dependency + * The performance bucket of the dependency */ performanceBucket?: string; /** - * @member {string} [resultCode] The result code of the dependency + * The result code of the dependency */ resultCode?: string; /** - * @member {string} [type] The type of the dependency + * The type of the dependency */ type?: string; /** - * @member {string} [name] The name of the dependency + * The name of the dependency */ name?: string; /** - * @member {string} [id] The ID of the dependency + * The ID of the dependency */ id?: string; } /** - * @interface - * An interface representing EventsDependencyResult. * A dependency result - * */ export interface EventsDependencyResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "dependency"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsDependencyInfo} [dependency] - */ dependency?: EventsDependencyInfo; } /** - * @interface - * An interface representing EventsExceptionDetailsParsedStack. * A parsed stack entry - * */ export interface EventsExceptionDetailsParsedStack { /** - * @member {string} [assembly] The assembly of the stack entry + * The assembly of the stack entry */ assembly?: string; /** - * @member {string} [method] The method of the stack entry + * The method of the stack entry */ method?: string; /** - * @member {number} [level] The level of the stack entry + * The level of the stack entry */ level?: number; /** - * @member {number} [line] The line of the stack entry + * The line of the stack entry */ line?: number; } /** - * @interface - * An interface representing EventsExceptionDetail. * Exception details - * */ export interface EventsExceptionDetail { /** - * @member {string} [severityLevel] The severity level of the exception - * detail + * The severity level of the exception detail */ severityLevel?: string; /** - * @member {string} [outerId] The outer ID of the exception detail + * The outer ID of the exception detail */ outerId?: string; /** - * @member {string} [message] The message of the exception detail + * The message of the exception detail */ message?: string; /** - * @member {string} [type] The type of the exception detail + * The type of the exception detail */ type?: string; /** - * @member {string} [id] The ID of the exception detail + * The ID of the exception detail */ id?: string; /** - * @member {EventsExceptionDetailsParsedStack[]} [parsedStack] The parsed - * stack + * The parsed stack */ parsedStack?: EventsExceptionDetailsParsedStack[]; } /** - * @interface - * An interface representing EventsExceptionInfo. * The exception info - * */ export interface EventsExceptionInfo { /** - * @member {number} [severityLevel] The severity level of the exception + * The severity level of the exception */ severityLevel?: number; /** - * @member {string} [problemId] The problem ID of the exception + * The problem ID of the exception */ problemId?: string; /** - * @member {string} [handledAt] Indicates where the exception was handled at + * Indicates where the exception was handled at */ handledAt?: string; /** - * @member {string} [assembly] The assembly which threw the exception + * The assembly which threw the exception */ assembly?: string; /** - * @member {string} [method] The method that threw the exception + * The method that threw the exception */ method?: string; /** - * @member {string} [message] The message of the exception + * The message of the exception */ message?: string; /** - * @member {string} [type] The type of the exception + * The type of the exception */ type?: string; /** - * @member {string} [outerType] The outer type of the exception + * The outer type of the exception */ outerType?: string; /** - * @member {string} [outerMethod] The outer method of the exception + * The outer method of the exception */ outerMethod?: string; /** - * @member {string} [outerAssembly] The outer assmebly of the exception + * The outer assembly of the exception */ outerAssembly?: string; /** - * @member {string} [outerMessage] The outer message of the exception + * The outer message of the exception */ outerMessage?: string; /** - * @member {string} [innermostType] The inner most type of the exception + * The inner most type of the exception */ innermostType?: string; /** - * @member {string} [innermostMessage] The inner most message of the - * exception + * The inner most message of the exception */ innermostMessage?: string; /** - * @member {string} [innermostMethod] The inner most method of the exception + * The inner most method of the exception */ innermostMethod?: string; /** - * @member {string} [innermostAssembly] The inner most assembly of the - * exception + * The inner most assembly of the exception */ innermostAssembly?: string; /** - * @member {EventsExceptionDetail[]} [details] The details of the exception + * The details of the exception */ details?: EventsExceptionDetail[]; } /** - * @interface - * An interface representing EventsExceptionResult. * An exception result - * */ export interface EventsExceptionResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "exception"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsExceptionInfo} [exception] - */ exception?: EventsExceptionInfo; } /** - * @interface - * An interface representing EventsAvailabilityResultInfo. * The availability result info - * */ export interface EventsAvailabilityResultInfo { /** - * @member {string} [name] The name of the availability result + * The name of the availability result */ name?: string; /** - * @member {string} [success] Indicates if the availability result was - * successful + * Indicates if the availability result was successful */ success?: string; /** - * @member {number} [duration] The duration of the availability result + * The duration of the availability result */ duration?: number; /** - * @member {string} [performanceBucket] The performance bucket of the - * availability result + * The performance bucket of the availability result */ performanceBucket?: string; /** - * @member {string} [message] The message of the availability result + * The message of the availability result */ message?: string; /** - * @member {string} [location] The location of the availability result + * The location of the availability result */ location?: string; /** - * @member {string} [id] The ID of the availability result + * The ID of the availability result */ id?: string; /** - * @member {string} [size] The size of the availability result + * The size of the availability result */ size?: string; } /** - * @interface - * An interface representing EventsAvailabilityResultResult. * An availability result result - * */ export interface EventsAvailabilityResultResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "availabilityResult"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsAvailabilityResultInfo} [availabilityResult] - */ availabilityResult?: EventsAvailabilityResultInfo; } /** - * @interface - * An interface representing EventsPerformanceCounterInfo. * The performance counter info - * */ export interface EventsPerformanceCounterInfo { /** - * @member {number} [value] The value of the performance counter + * The value of the performance counter */ value?: number; /** - * @member {string} [name] The name of the performance counter + * The name of the performance counter */ name?: string; /** - * @member {string} [category] The category of the performance counter + * The category of the performance counter */ category?: string; /** - * @member {string} [counter] The counter of the performance counter + * The counter of the performance counter */ counter?: string; /** - * @member {string} [instanceName] The instance name of the performance - * counter + * The instance name of the performance counter */ instanceName?: string; /** - * @member {string} [instance] The instance of the performance counter + * The instance of the performance counter */ instance?: string; } /** - * @interface - * An interface representing EventsPerformanceCounterResult. * A performance counter result - * */ export interface EventsPerformanceCounterResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "performanceCounter"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsPerformanceCounterInfo} [performanceCounter] - */ performanceCounter?: EventsPerformanceCounterInfo; } /** - * @interface - * An interface representing EventsCustomMetricInfo. * The custom metric info - * */ export interface EventsCustomMetricInfo { /** - * @member {string} [name] The name of the custom metric + * The name of the custom metric */ name?: string; /** - * @member {number} [value] The value of the custom metric + * The value of the custom metric */ value?: number; /** - * @member {number} [valueSum] The sum of the custom metric + * The sum of the custom metric */ valueSum?: number; /** - * @member {number} [valueCount] The count of the custom metric + * The count of the custom metric */ valueCount?: number; /** - * @member {number} [valueMin] The minimum value of the custom metric + * The minimum value of the custom metric */ valueMin?: number; /** - * @member {number} [valueMax] The maximum value of the custom metric + * The maximum value of the custom metric */ valueMax?: number; /** - * @member {number} [valueStdDev] The standard deviation of the custom metric + * The standard deviation of the custom metric */ valueStdDev?: number; } /** - * @interface - * An interface representing EventsCustomMetricResult. * A custom metric result - * */ export interface EventsCustomMetricResult { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "customMetric"; /** - * @member {string} [id] The unique ID for this event. + * The unique ID for this event. */ id?: string; /** - * @member {number} [count] Count of the event + * Count of the event */ count?: number; /** - * @member {Date} [timestamp] Timestamp of the event + * Timestamp of the event */ timestamp?: Date; /** - * @member {EventsResultDataCustomDimensions} [customDimensions] Custom - * dimensions of the event + * Custom dimensions of the event */ customDimensions?: EventsResultDataCustomDimensions; /** - * @member {EventsResultDataCustomMeasurements} [customMeasurements] Custom - * measurements of the event + * Custom measurements of the event */ customMeasurements?: EventsResultDataCustomMeasurements; /** - * @member {EventsOperationInfo} [operation] Operation info of the event + * Operation info of the event */ operation?: EventsOperationInfo; /** - * @member {EventsSessionInfo} [session] Session info of the event + * Session info of the event */ session?: EventsSessionInfo; /** - * @member {EventsUserInfo} [user] User info of the event + * User info of the event */ user?: EventsUserInfo; /** - * @member {EventsCloudInfo} [cloud] Cloud info of the event + * Cloud info of the event */ cloud?: EventsCloudInfo; /** - * @member {EventsAiInfo} [ai] AI info of the event + * AI info of the event */ ai?: EventsAiInfo; /** - * @member {EventsApplicationInfo} [application] Application info of the - * event + * Application info of the event */ application?: EventsApplicationInfo; /** - * @member {EventsClientInfo} [client] Client info of the event + * Client info of the event */ client?: EventsClientInfo; - /** - * @member {EventsCustomMetricInfo} [customMetric] - */ customMetric?: EventsCustomMetricInfo; } /** - * @interface - * An interface representing QueryBody. * The Analytics query. Learn more about the [Analytics query * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) - * */ export interface QueryBody { /** - * @member {string} query The query to execute. + * The query to execute. */ query: string; /** - * @member {string} [timespan] Optional. The timespan over which to query - * data. This is an ISO8601 time period value. This timespan is applied in - * addition to any that are specified in the query expression. + * Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. */ timespan?: string; /** - * @member {string[]} [applications] A list of Application IDs for - * cross-application queries. + * A list of Application IDs for cross-application queries. */ applications?: string[]; } /** - * @interface - * An interface representing Column. - * @summary A table column. - * * A column in a table. - * + * @summary A table column. */ export interface Column { /** - * @member {string} [name] The name of this column. + * The name of this column. */ name?: string; /** - * @member {string} [type] The data type of this column. + * The data type of this column. */ type?: string; } /** - * @interface - * An interface representing Table. - * @summary A query response table. - * * Contains the columns and rows for one table in a query response. - * + * @summary A query response table. */ export interface Table { /** - * @member {string} name The name of the table. + * The name of the table. */ name: string; /** - * @member {Column[]} columns The list of columns in this table. + * The list of columns in this table. */ columns: Column[]; /** - * @member {any[][]} rows The resulting rows from this query. + * The resulting rows from this query. */ rows: any[][]; } /** - * @interface - * An interface representing QueryResults. - * @summary A query response. - * * Contains the tables, columns & rows resulting from a query. - * + * @summary A query response. */ export interface QueryResults { /** - * @member {Table[]} tables The list of tables, columns and rows. + * The list of tables, columns and rows. */ tables: Table[]; } /** - * @interface - * An interface representing ErrorResponse. - * @summary Error details. - * * Contains details when the response code indicates an error. - * + * @summary Error details. */ export interface ErrorResponse { /** - * @member {ErrorInfo} error The error details. + * The error details. */ error: ErrorInfo; } /** - * @interface * An interface representing ApplicationInsightsDataClientOptions. - * @extends ServiceClientOptions */ export interface ApplicationInsightsDataClientOptions extends ServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } /** - * @interface - * An interface representing MetricsGetOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface MetricsGetOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [timespan] The timespan over which to retrieve metric - * values. This is an ISO8601 time period value. If timespan is omitted, a - * default time range of `PT12H` ("last 12 hours") is used. The actual - * timespan that is queried may be adjusted by the server based. In all - * cases, the actual time span used for the query is included in the - * response. + * The timespan over which to retrieve metric values. This is an ISO8601 time period value. If + * timespan is omitted, a default time range of `PT12H` ("last 12 hours") is used. The actual + * timespan that is queried may be adjusted by the server based. In all cases, the actual time + * span used for the query is included in the response. */ timespan?: string; /** - * @member {string} [interval] The time interval to use when retrieving - * metric values. This is an ISO8601 duration. If interval is omitted, the - * metric value is aggregated across the entire timespan. If interval is - * supplied, the server may adjust the interval to a more appropriate size - * based on the timespan used for the query. In all cases, the actual - * interval used for the query is included in the response. + * The time interval to use when retrieving metric values. This is an ISO8601 duration. If + * interval is omitted, the metric value is aggregated across the entire timespan. If interval is + * supplied, the server may adjust the interval to a more appropriate size based on the timespan + * used for the query. In all cases, the actual interval used for the query is included in the + * response. */ interval?: string; /** - * @member {MetricsAggregation[]} [aggregation] The aggregation to use when - * computing the metric values. To retrieve more than one aggregation at a - * time, separate them with a comma. If no aggregation is specified, then the - * default aggregation for the metric is used. + * The aggregation to use when computing the metric values. To retrieve more than one aggregation + * at a time, separate them with a comma. If no aggregation is specified, then the default + * aggregation for the metric is used. */ aggregation?: MetricsAggregation[]; /** - * @member {MetricsSegment[]} [segment] The name of the dimension to segment - * the metric values by. This dimension must be applicable to the metric you - * are retrieving. To segment by more than one dimension at a time, separate - * them with a comma (,). In this case, the metric data will be segmented in - * the order the dimensions are listed in the parameter. + * The name of the dimension to segment the metric values by. This dimension must be applicable + * to the metric you are retrieving. To segment by more than one dimension at a time, separate + * them with a comma (,). In this case, the metric data will be segmented in the order the + * dimensions are listed in the parameter. */ segment?: MetricsSegment[]; /** - * @member {number} [top] The number of segments to return. This value is - * only valid when segment is specified. + * The number of segments to return. This value is only valid when segment is specified. */ top?: number; /** - * @member {string} [orderby] The aggregation function and direction to sort - * the segments by. This value is only valid when segment is specified. + * The aggregation function and direction to sort the segments by. This value is only valid when + * segment is specified. */ orderby?: string; /** - * @member {string} [filter] An expression used to filter the results. This - * value should be a valid OData filter expression where the keys of each - * clause should be applicable dimensions for the metric you are retrieving. + * An expression used to filter the results. This value should be a valid OData filter + * expression where the keys of each clause should be applicable dimensions for the metric you + * are retrieving. */ filter?: string; } /** - * @interface - * An interface representing EventsGetByTypeOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface EventsGetByTypeOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [timespan] Optional. The timespan over which to retrieve - * events. This is an ISO8601 time period value. This timespan is applied in - * addition to any that are specified in the Odata expression. + * Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. + * This timespan is applied in addition to any that are specified in the Odata expression. */ timespan?: string; /** - * @member {string} [filter] An expression used to filter the returned events + * An expression used to filter the returned events */ filter?: string; /** - * @member {string} [search] A free-text search expression to match for - * whether a particular event should be returned + * A free-text search expression to match for whether a particular event should be returned */ search?: string; /** - * @member {string} [orderby] A comma-separated list of properties with - * \"asc\" (the default) or \"desc\" to control the order of returned events + * A comma-separated list of properties with \"asc\" (the default) or \"desc\" to control the + * order of returned events */ orderby?: string; /** - * @member {string} [select] Limits the properties to just those requested on - * each returned event + * Limits the properties to just those requested on each returned event */ select?: string; /** - * @member {number} [skip] The number of items to skip over before returning - * events + * The number of items to skip over before returning events */ skip?: number; /** - * @member {number} [top] The number of events to return + * The number of events to return */ top?: number; /** - * @member {string} [format] Format for the returned events + * Format for the returned events */ format?: string; /** - * @member {boolean} [count] Request a count of matching items included with - * the returned events + * Request a count of matching items included with the returned events */ count?: boolean; /** - * @member {string} [apply] An expression used for aggregation over returned - * events + * An expression used for aggregation over returned events */ apply?: string; } /** - * @interface - * An interface representing EventsGetOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface EventsGetOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [timespan] Optional. The timespan over which to retrieve - * events. This is an ISO8601 time period value. This timespan is applied in - * addition to any that are specified in the Odata expression. + * Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. + * This timespan is applied in addition to any that are specified in the Odata expression. */ timespan?: string; } @@ -1978,6 +1665,7 @@ export type MetricsGetResponse = MetricsResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1997,6 +1685,7 @@ export type MetricsGetMultipleResponse = Array & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2012,6 +1701,7 @@ export type MetricsGetMetadataResponse = { * The parsed response body. */ body: any; + /** * The underlying HTTP response. */ @@ -2020,6 +1710,7 @@ export type MetricsGetMetadataResponse = { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2039,6 +1730,7 @@ export type EventsGetByTypeResponse = EventsResults & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2058,6 +1750,7 @@ export type EventsGetResponse = EventsResults & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2077,6 +1770,7 @@ export type QueryExecuteResponse = QueryResults & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/applicationinsights/applicationinsights-query/src/models/mappers.ts b/sdk/applicationinsights/applicationinsights-query/src/models/mappers.ts index 41143e2b862a..4c9cbb1a7f2d 100644 --- a/sdk/applicationinsights/applicationinsights-query/src/models/mappers.ts +++ b/sdk/applicationinsights/applicationinsights-query/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import * as msRest from "@azure/ms-rest-js"; @@ -1764,4 +1762,5 @@ export const discriminators = { 'EventsResultData.availabilityResult' : EventsAvailabilityResultResult, 'EventsResultData.performanceCounter' : EventsPerformanceCounterResult, 'EventsResultData.customMetric' : EventsCustomMetricResult + }; diff --git a/sdk/applicationinsights/applicationinsights-query/src/models/metricsMappers.ts b/sdk/applicationinsights/applicationinsights-query/src/models/metricsMappers.ts index 63828bb2eb67..7efa25701e61 100644 --- a/sdk/applicationinsights/applicationinsights-query/src/models/metricsMappers.ts +++ b/sdk/applicationinsights/applicationinsights-query/src/models/metricsMappers.ts @@ -1,23 +1,20 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - MetricsResult, - MetricsResultInfo, - MetricsSegmentInfo, - ErrorResponse, - ErrorInfo, ErrorDetail, + ErrorInfo, + ErrorResponse, MetricsPostBodySchema, MetricsPostBodySchemaParameters, - MetricsResultsItem + MetricsResult, + MetricsResultInfo, + MetricsResultsItem, + MetricsSegmentInfo } from "../models/mappers"; - diff --git a/sdk/applicationinsights/applicationinsights-query/src/models/queryMappers.ts b/sdk/applicationinsights/applicationinsights-query/src/models/queryMappers.ts index a2bf85da4560..cd3d1ffea4f0 100644 --- a/sdk/applicationinsights/applicationinsights-query/src/models/queryMappers.ts +++ b/sdk/applicationinsights/applicationinsights-query/src/models/queryMappers.ts @@ -1,21 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - QueryBody, - QueryResults, - Table, Column, - ErrorResponse, + ErrorDetail, ErrorInfo, - ErrorDetail + ErrorResponse, + QueryBody, + QueryResults, + Table } from "../models/mappers"; - diff --git a/sdk/applicationinsights/applicationinsights-query/src/operations/metrics.ts b/sdk/applicationinsights/applicationinsights-query/src/operations/metrics.ts index 56a1c8e0b26f..14f5da59bacc 100644 --- a/sdk/applicationinsights/applicationinsights-query/src/operations/metrics.ts +++ b/sdk/applicationinsights/applicationinsights-query/src/operations/metrics.ts @@ -136,7 +136,7 @@ export class Metrics { /** * Gets metadata describing the available metrics - * @summary Retrieve metric metatadata + * @summary Retrieve metric metadata * @param appId ID of the application. This is Application ID from the API Access settings blade in * the Azure portal. * @param [options] The optional parameters diff --git a/sdk/applicationinsights/arm-appinsights/LICENSE.txt b/sdk/applicationinsights/arm-appinsights/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/applicationinsights/arm-appinsights/LICENSE.txt +++ b/sdk/applicationinsights/arm-appinsights/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/applicationinsights/arm-appinsights/README.md b/sdk/applicationinsights/arm-appinsights/README.md index 8cff858823ae..1120de8a377e 100644 --- a/sdk/applicationinsights/arm-appinsights/README.md +++ b/sdk/applicationinsights/arm-appinsights/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for ApplicationInsightsManagementClient. ### How to Install -``` +```bash npm install @azure/arm-appinsights ``` @@ -19,13 +19,13 @@ npm install @azure/arm-appinsights ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -47,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/applicationinsights/arm-appinsights/README.png) diff --git a/sdk/applicationinsights/arm-appinsights/package.json b/sdk/applicationinsights/arm-appinsights/package.json index 3df168b062cd..32747f66363c 100644 --- a/sdk/applicationinsights/arm-appinsights/package.json +++ b/sdk/applicationinsights/arm-appinsights/package.json @@ -4,8 +4,8 @@ "description": "ApplicationInsightsManagementClient Library with typescript type definitions for node.js and browser.", "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/applicationinsights/arm-appinsights", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/applicationinsights/arm-appinsights/rollup.config.js b/sdk/applicationinsights/arm-appinsights/rollup.config.js index 78641ef3fe3c..e298230f5ddb 100644 --- a/sdk/applicationinsights/arm-appinsights/rollup.config.js +++ b/sdk/applicationinsights/arm-appinsights/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/applicationInsightsManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/applicationInsightsManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-appinsights.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config; diff --git a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts index 1ad9a69a56ef..e95b4412e537 100644 --- a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts +++ b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts @@ -37,7 +37,7 @@ class ApplicationInsightsManagementClient extends ApplicationInsightsManagementC /** * Initializes a new instance of the ApplicationInsightsManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId The Azure subscription ID. + * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { diff --git a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts index 41cf05899c26..b833010cd213 100644 --- a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts +++ b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appinsights"; -const packageVersion = "0.1.0"; +const packageVersion = "2.1.0"; export class ApplicationInsightsManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -23,7 +23,7 @@ export class ApplicationInsightsManagementClientContext extends msRestAzure.Azur /** * Initializes a new instance of the ApplicationInsightsManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId The Azure subscription ID. + * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { diff --git a/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts index 1d4fc21adfe6..359b47866056 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ApplicationInsightsComponentAPIKeyListResult, + APIKeyRequest, ApplicationInsightsComponentAPIKey, - CloudError, - APIKeyRequest + ApplicationInsightsComponentAPIKeyListResult, + CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts index b00875e33415..ec4ddeb966e1 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { @@ -13,4 +11,3 @@ export { ApplicationInsightsComponentAnalyticsItemProperties, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts index d5d9386a0d5e..dd86a501f412 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts @@ -1,18 +1,15 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - AnnotationsListResult, Annotation, AnnotationError, - InnerError, - CloudError + AnnotationsListResult, + CloudError, + InnerError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts index 778c0f8e27f8..077b32f04cad 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { @@ -14,4 +12,3 @@ export { ApplicationInsightsComponentFeatureCapability, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts index 3e6161210aec..b765b76a1921 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { @@ -13,4 +11,3 @@ export { ApplicationInsightsComponentDataVolumeCap, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts index 66534b06f77b..b13f2ae34a0c 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts @@ -1,15 +1,12 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentFeatureCapabilities, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts index a3dfa8eaaa53..6b2bc91696da 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts @@ -1,15 +1,12 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentQuotaStatus, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts index c3b85e5ea6cc..e51a73534f21 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts @@ -1,31 +1,28 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ApplicationInsightsComponentListResult, ApplicationInsightsComponent, - ComponentsResource, + ApplicationInsightsComponentListResult, + ApplicationInsightsComponentProactiveDetectionConfiguration, + ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions, BaseResource, CloudError, - TagsResource, ComponentPurgeBody, ComponentPurgeBodyFilters, ComponentPurgeResponse, ComponentPurgeStatusResponse, - ApplicationInsightsComponentProactiveDetectionConfiguration, - ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions, - WebtestsResource, + ComponentsResource, + TagsResource, WebTest, WebTestGeolocation, WebTestPropertiesConfiguration, - WorkbookResource, - Workbook + WebtestsResource, + Workbook, + WorkbookResource } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts index a1919004b9d4..a5c3232aad4e 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentExportConfiguration, - CloudError, - ApplicationInsightsComponentExportRequest + ApplicationInsightsComponentExportRequest, + CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts index f69c1f6d10e9..d927641eeede 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts @@ -1,15 +1,12 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentFavorite, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/index.ts b/sdk/applicationinsights/arm-appinsights/src/models/index.ts index ff9e140b9556..db4b92025e5f 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/index.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,1769 +11,1380 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing ErrorResponse. - * Error reponse indicates Insights service is not able to process the incoming - * request. The reason is provided in the error message. - * + * Error response indicates Insights service is not able to process the incoming request. The + * reason is provided in the error message. */ export interface ErrorResponse { /** - * @member {string} [code] Error code. + * Error code. */ code?: string; /** - * @member {string} [message] Error message indicating why the operation - * failed. + * Error message indicating why the operation failed. */ message?: string; } /** - * @interface - * An interface representing OperationDisplay. * The object that represents the operation. - * */ export interface OperationDisplay { /** - * @member {string} [provider] Service provider: Microsoft.Cdn + * Service provider: Microsoft.Cdn */ provider?: string; /** - * @member {string} [resource] Resource on which the operation is performed: - * Profile, endpoint, etc. + * Resource on which the operation is performed: Profile, endpoint, etc. */ resource?: string; /** - * @member {string} [operation] Operation type: Read, write, delete, etc. + * Operation type: Read, write, delete, etc. */ operation?: string; } /** - * @interface - * An interface representing Operation. * CDN REST API operation - * */ export interface Operation { /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation} + * Operation name: {provider}/{resource}/{operation} */ name?: string; /** - * @member {OperationDisplay} [display] The object that represents the - * operation. + * The object that represents the operation. */ display?: OperationDisplay; } /** - * @interface - * An interface representing Annotation. * Annotation associated with an application insights resource. - * */ export interface Annotation { /** - * @member {string} [annotationName] Name of annotation + * Name of annotation */ annotationName?: string; /** - * @member {string} [category] Category of annotation, free form + * Category of annotation, free form */ category?: string; /** - * @member {Date} [eventTime] Time when event occurred + * Time when event occurred */ eventTime?: Date; /** - * @member {string} [id] Unique Id for annotation + * Unique Id for annotation */ id?: string; /** - * @member {string} [properties] Serialized JSON object for detailed - * properties + * Serialized JSON object for detailed properties */ properties?: string; /** - * @member {string} [relatedAnnotation] Related parent annotation if any. - * Default value: 'null' . + * Related parent annotation if any. Default value: 'null'. */ relatedAnnotation?: string; } /** - * @interface - * An interface representing InnerError. * Inner error - * */ export interface InnerError { /** - * @member {string} [diagnosticcontext] Provides correlation for request + * Provides correlation for request */ diagnosticcontext?: string; /** - * @member {Date} [time] Request time + * Request time */ time?: Date; } /** - * @interface - * An interface representing AnnotationError. * Error associated with trying to create annotation with Id that already exist - * */ export interface AnnotationError { /** - * @member {string} [code] Error detail code and explanation + * Error detail code and explanation */ code?: string; /** - * @member {string} [message] Error message + * Error message */ message?: string; - /** - * @member {InnerError} [innererror] - */ innererror?: InnerError; } /** - * @interface - * An interface representing APIKeyRequest. - * An Application Insights component API Key createion request definition. - * + * An Application Insights component API Key creation request definition. */ export interface APIKeyRequest { /** - * @member {string} [name] The name of the API Key. + * The name of the API Key. */ name?: string; /** - * @member {string[]} [linkedReadProperties] The read access rights of this - * API Key. + * The read access rights of this API Key. */ linkedReadProperties?: string[]; /** - * @member {string[]} [linkedWriteProperties] The write access rights of this - * API Key. + * The write access rights of this API Key. */ linkedWriteProperties?: string[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentAPIKey. * Properties that define an API key of an Application Insights Component. - * */ export interface ApplicationInsightsComponentAPIKey { /** - * @member {string} [id] The unique ID of the API key inside an Applciation - * Insights component. It is auto generated when the API key is created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unique ID of the API key inside an Application Insights component. It is auto generated + * when the API key is created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [apiKey] The API key value. It will be only return once - * when the API Key was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The API key value. It will be only return once when the API Key was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiKey?: string; /** - * @member {string} [createdDate] The create date of this API key. + * The create date of this API key. */ createdDate?: string; /** - * @member {string} [name] The name of the API key. + * The name of the API key. */ name?: string; /** - * @member {string[]} [linkedReadProperties] The read access rights of this - * API Key. + * The read access rights of this API Key. */ linkedReadProperties?: string[]; /** - * @member {string[]} [linkedWriteProperties] The write access rights of this - * API Key. + * The write access rights of this API Key. */ linkedWriteProperties?: string[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentExportRequest. - * An Application Insights component Continuous Export configuration request - * definition. - * + * An Application Insights component Continuous Export configuration request definition. */ export interface ApplicationInsightsComponentExportRequest { /** - * @member {string} [recordTypes] The document types to be exported, as comma - * separated values. Allowed values include 'Requests', 'Event', - * 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', + * The document types to be exported, as comma separated values. Allowed values include + * 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', * 'PerformanceCounters', 'Availability', 'Messages'. */ recordTypes?: string; /** - * @member {string} [destinationType] The Continuous Export destination type. - * This has to be 'Blob'. + * The Continuous Export destination type. This has to be 'Blob'. */ destinationType?: string; /** - * @member {string} [destinationAddress] 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. */ destinationAddress?: string; /** - * @member {string} [isEnabled] 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'. */ isEnabled?: string; /** - * @member {string} [notificationQueueEnabled] Deprecated + * Deprecated */ notificationQueueEnabled?: string; /** - * @member {string} [notificationQueueUri] Deprecated + * Deprecated */ notificationQueueUri?: string; /** - * @member {string} [destinationStorageSubscriptionId] The subscription ID of - * the destination storage container. + * The subscription ID of the destination storage container. */ destinationStorageSubscriptionId?: string; /** - * @member {string} [destinationStorageLocationId] The location ID of the - * destination storage container. + * The location ID of the destination storage container. */ destinationStorageLocationId?: string; /** - * @member {string} [destinationAccountId] The name of destination storage - * account. + * The name of destination storage account. */ destinationAccountId?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentExportConfiguration. * Properties that define a Continuous Export configuration. - * */ export interface ApplicationInsightsComponentExportConfiguration { /** - * @member {string} [exportId] The unique ID of the export configuration - * inside an Applciation Insights component. It is auto generated when the - * Continuous Export configuration is created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unique ID of the export configuration inside an Application Insights component. It is auto + * generated when the Continuous Export configuration is created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly exportId?: string; /** - * @member {string} [instrumentationKey] The instrumentation key of the - * Application Insights component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The instrumentation key of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly instrumentationKey?: string; /** - * @member {string} [recordTypes] This comma separated list of document types - * that will be exported. The possible values include 'Requests', 'Event', - * 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', + * 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'. */ recordTypes?: string; /** - * @member {string} [applicationName] The name of the Application Insights - * component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly applicationName?: string; /** - * @member {string} [subscriptionId] The subscription of the Application - * Insights component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The subscription of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly subscriptionId?: string; /** - * @member {string} [resourceGroup] The resource group of the Application - * Insights component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource group of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resourceGroup?: string; /** - * @member {string} [destinationStorageSubscriptionId] The destination - * storage account subscription ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The destination storage account subscription ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationStorageSubscriptionId?: string; /** - * @member {string} [destinationStorageLocationId] The destination account - * location ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The destination account location ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationStorageLocationId?: string; /** - * @member {string} [destinationAccountId] The name of destination account. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of destination account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationAccountId?: string; /** - * @member {string} [destinationType] The destination type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The destination type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationType?: string; /** - * @member {string} [isUserEnabled] This will be 'true' if the Continuous - * Export configuration is enabled, otherwise it will be 'false'. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be + * 'false'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isUserEnabled?: string; /** - * @member {string} [lastUserUpdate] Last time the Continuous Export - * configuration was updated. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Last time the Continuous Export configuration was updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastUserUpdate?: string; /** - * @member {string} [notificationQueueEnabled] Deprecated + * Deprecated */ notificationQueueEnabled?: string; /** - * @member {string} [exportStatus] This indicates current Continuous Export - * configuration status. The possible values are 'Preparing', 'Success', - * 'Failure'. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This indicates current Continuous Export configuration status. The possible values are + * 'Preparing', 'Success', 'Failure'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly exportStatus?: string; /** - * @member {string} [lastSuccessTime] The last time data was successfully - * delivered to the destination storage container for this Continuous Export - * configuration. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The last time data was successfully delivered to the destination storage container for this + * Continuous Export configuration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastSuccessTime?: string; /** - * @member {string} [lastGapTime] The last time the Continuous Export - * configuration started failing. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The last time the Continuous Export configuration started failing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastGapTime?: string; /** - * @member {string} [permanentErrorReason] This is the reason the Continuous - * Export configuration started failing. It can be 'AzureStorageNotFound' or - * 'AzureStorageAccessDenied'. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This is the reason the Continuous Export configuration started failing. It can be + * 'AzureStorageNotFound' or 'AzureStorageAccessDenied'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly permanentErrorReason?: string; /** - * @member {string} [storageName] The name of the destination storage - * account. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the destination storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly storageName?: string; /** - * @member {string} [containerName] The name of the destination storage - * container. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the destination storage container. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly containerName?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentDataVolumeCap. - * An Application Insights component daily data volumne cap - * + * An Application Insights component daily data volume cap */ export interface ApplicationInsightsComponentDataVolumeCap { /** - * @member {number} [cap] Daily data volume cap in GB. + * Daily data volume cap in GB. */ cap?: number; /** - * @member {number} [resetTime] Daily data volume cap UTC reset hour. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Daily data volume cap UTC reset hour. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resetTime?: number; /** - * @member {number} [warningThreshold] Reserved, not used for now. + * Reserved, not used for now. */ warningThreshold?: number; /** - * @member {boolean} [stopSendNotificationWhenHitThreshold] Reserved, not - * used for now. + * Reserved, not used for now. */ stopSendNotificationWhenHitThreshold?: boolean; /** - * @member {boolean} [stopSendNotificationWhenHitCap] Do not send a - * notification email when the daily data volume cap is met. + * Do not send a notification email when the daily data volume cap is met. */ stopSendNotificationWhenHitCap?: boolean; /** - * @member {number} [maxHistoryCap] Maximum daily data volume cap that the - * user can set for this component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Maximum daily data volume cap that the user can set for this component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly maxHistoryCap?: number; } /** - * @interface - * An interface representing ApplicationInsightsComponentBillingFeatures. * An Application Insights component billing features - * */ export interface ApplicationInsightsComponentBillingFeatures { /** - * @member {ApplicationInsightsComponentDataVolumeCap} [dataVolumeCap] An - * Application Insights component daily data volumne cap + * An Application Insights component daily data volume cap */ dataVolumeCap?: ApplicationInsightsComponentDataVolumeCap; /** - * @member {string[]} [currentBillingFeatures] 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'. */ currentBillingFeatures?: string[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentQuotaStatus. * An Application Insights component daily data volume cap status - * */ export interface ApplicationInsightsComponentQuotaStatus { /** - * @member {string} [appId] The Application ID for the Application Insights - * component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The Application ID for the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly appId?: string; /** - * @member {boolean} [shouldBeThrottled] The daily data volume cap is met, - * and data ingestion will be stopped. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The daily data volume cap is met, and data ingestion will be stopped. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly shouldBeThrottled?: boolean; /** - * @member {string} [expirationTime] Date and time when the daily data volume - * cap will be reset, and data ingestion will resume. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time when the daily data volume cap will be reset, and data ingestion will resume. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly expirationTime?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentFeatureCapabilities. * An Application Insights component feature capabilities - * */ export interface ApplicationInsightsComponentFeatureCapabilities { /** - * @member {boolean} [supportExportData] Whether allow to use continuous - * export feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether allow to use continuous export feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportExportData?: boolean; /** - * @member {string} [burstThrottlePolicy] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly burstThrottlePolicy?: string; /** - * @member {string} [metadataClass] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly metadataClass?: string; /** - * @member {boolean} [liveStreamMetrics] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly liveStreamMetrics?: boolean; /** - * @member {boolean} [applicationMap] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly applicationMap?: boolean; /** - * @member {boolean} [workItemIntegration] Whether allow to use work item - * integration feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether allow to use work item integration feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly workItemIntegration?: boolean; /** - * @member {boolean} [powerBIIntegration] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly powerBIIntegration?: boolean; /** - * @member {boolean} [openSchema] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly openSchema?: boolean; /** - * @member {boolean} [proactiveDetection] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly proactiveDetection?: boolean; /** - * @member {boolean} [analyticsIntegration] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly analyticsIntegration?: boolean; /** - * @member {boolean} [multipleStepWebTest] Whether allow to use multiple - * steps web test feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether allow to use multiple steps web test feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly multipleStepWebTest?: boolean; /** - * @member {string} [apiAccessLevel] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiAccessLevel?: string; /** - * @member {string} [trackingType] The applciation insights component used - * tracking type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The application insights component used tracking type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly trackingType?: string; /** - * @member {number} [dailyCap] Daily data volume cap in GB. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Daily data volume cap in GB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly dailyCap?: number; /** - * @member {number} [dailyCapResetTime] Daily data volume cap UTC reset hour. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Daily data volume cap UTC reset hour. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly dailyCapResetTime?: number; /** - * @member {number} [throttleRate] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly throttleRate?: number; } /** - * @interface - * An interface representing ApplicationInsightsComponentFeatureCapability. * An Application Insights component feature capability - * */ export interface ApplicationInsightsComponentFeatureCapability { /** - * @member {string} [name] The name of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [description] The description of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The description of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly description?: string; /** - * @member {string} [value] The vaule of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The value of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly value?: string; /** - * @member {string} [unit] The unit of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unit of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly unit?: string; /** - * @member {string} [meterId] The meter used for the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter used for the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterId?: string; /** - * @member {string} [meterRateFrequency] The meter rate of the meter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter rate of the meter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterRateFrequency?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentFeature. * An Application Insights component daily data volume cap status - * */ export interface ApplicationInsightsComponentFeature { /** - * @member {string} [featureName] The pricing feature name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The pricing feature name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly featureName?: string; /** - * @member {string} [meterId] The meter id used for the feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter id used for the feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterId?: string; /** - * @member {string} [meterRateFrequency] The meter meter rate for the - * feature's meter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter rate for the feature's meter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterRateFrequency?: string; /** - * @member {string} [resouceId] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resouceId?: string; /** - * @member {boolean} [isHidden] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isHidden?: boolean; /** - * @member {ApplicationInsightsComponentFeatureCapability[]} [capabilities] A - * list of Application Insigths component feature capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * A list of Application Insights component feature capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly capabilities?: ApplicationInsightsComponentFeatureCapability[]; /** - * @member {string} [title] Desplay name of the feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Display name of the feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly title?: string; /** - * @member {boolean} [isMainFeature] Whether can apply addon feature on to - * it. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether can apply addon feature on to it. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isMainFeature?: boolean; /** - * @member {string} [supportedAddonFeatures] The add on features on main - * feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The add on features on main feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportedAddonFeatures?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentAvailableFeatures. * An Application Insights component available features. - * */ export interface ApplicationInsightsComponentAvailableFeatures { /** - * @member {ApplicationInsightsComponentFeature[]} [result] A list of - * Application Insigths component feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * A list of Application Insights component feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly result?: ApplicationInsightsComponentFeature[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions. - * Static definitions of the ProactiveDetection configuration rule (same values - * for all components). - * + * Static definitions of the ProactiveDetection configuration rule (same values for all + * components). */ export interface ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions { /** - * @member {string} [name] The rule name + * The rule name */ name?: string; /** - * @member {string} [displayName] The rule name as it is displayed in UI + * The rule name as it is displayed in UI */ displayName?: string; /** - * @member {string} [description] The rule description + * The rule description */ description?: string; /** - * @member {string} [helpUrl] URL which displays aditional info about the - * proactive detection rule + * URL which displays additional info about the proactive detection rule */ helpUrl?: string; /** - * @member {boolean} [isHidden] A flag indicating whether the rule is hidden - * (from the UI) + * A flag indicating whether the rule is hidden (from the UI) */ isHidden?: boolean; /** - * @member {boolean} [isEnabledByDefault] A flag indicating whether the rule - * is enabled by default + * A flag indicating whether the rule is enabled by default */ isEnabledByDefault?: boolean; /** - * @member {boolean} [isInPreview] A flag indicating whether the rule is in - * preview + * A flag indicating whether the rule is in preview */ isInPreview?: boolean; /** - * @member {boolean} [supportsEmailNotifications] 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 */ supportsEmailNotifications?: boolean; } /** - * @interface - * An interface representing ApplicationInsightsComponentProactiveDetectionConfiguration. * Properties that define a ProactiveDetection configuration. - * - * @extends BaseResource */ export interface ApplicationInsightsComponentProactiveDetectionConfiguration extends BaseResource { /** - * @member {string} [name] The rule name + * The rule name */ name?: string; /** - * @member {boolean} [enabled] A flag that indicates whether this rule is - * enabled by the user + * A flag that indicates whether this rule is enabled by the user */ enabled?: boolean; /** - * @member {boolean} [sendEmailsToSubscriptionOwners] 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 */ sendEmailsToSubscriptionOwners?: boolean; /** - * @member {string[]} [customEmails] Custom email addresses for this rule - * notifications + * Custom email addresses for this rule notifications */ customEmails?: string[]; /** - * @member {string} [lastUpdatedTime] The last time this rule was updated + * The last time this rule was updated */ lastUpdatedTime?: string; /** - * @member - * {ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions} - * [ruleDefinitions] Static definitions of the ProactiveDetection - * configuration rule (same values for all components). + * Static definitions of the ProactiveDetection configuration rule (same values for all + * components). */ ruleDefinitions?: ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions; } /** - * @interface - * An interface representing ComponentsResource. * An azure resource object - * - * @extends BaseResource */ export interface ComponentsResource extends BaseResource { /** - * @member {string} [id] Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location Resource location + * Resource location */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing TagsResource. - * A container holding only the Tags for a resource, allowing the user to - * update the tags on a WebTest instance. - * + * A container holding only the Tags for a resource, allowing the user to update the tags on a + * WebTest instance. */ export interface TagsResource { /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ApplicationInsightsComponent. * An Application Insights component definition. - * - * @extends ComponentsResource */ export interface ApplicationInsightsComponent extends ComponentsResource { /** - * @member {string} kind 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. */ kind: string; /** - * @member {string} [applicationId] The unique ID of your application. This - * field mirrors the 'Name' field and cannot be changed. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unique ID of your application. This field mirrors the 'Name' field and cannot be changed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly applicationId?: string; /** - * @member {string} [appId] Application Insights Unique ID for your - * Application. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Application Insights Unique ID for your Application. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly appId?: string; /** - * @member {ApplicationType} applicationType Type of application being - * monitored. Possible values include: 'web', 'other'. Default value: 'web' . + * Type of application being monitored. Possible values include: 'web', 'other'. Default value: + * 'web'. */ applicationType: ApplicationType; /** - * @member {FlowType} [flowType] 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. - * Possible values include: 'Bluefield'. Default value: 'Bluefield' . + * 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. Possible values include: 'Bluefield'. Default value: 'Bluefield'. */ flowType?: FlowType; /** - * @member {RequestSource} [requestSource] Describes what tool created this - * Application Insights component. Customers using this API should set this - * to the default 'rest'. Possible values include: 'rest'. Default value: - * 'rest' . + * Describes what tool created this Application Insights component. Customers using this API + * should set this to the default 'rest'. Possible values include: 'rest'. Default value: 'rest'. */ requestSource?: RequestSource; /** - * @member {string} [instrumentationKey] 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. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * 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. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly instrumentationKey?: string; /** - * @member {Date} [creationDate] Creation Date for the Application Insights - * component, in ISO 8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation Date for the Application Insights component, in ISO 8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationDate?: Date; /** - * @member {string} [tenantId] Azure Tenant Id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure Tenant Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tenantId?: string; /** - * @member {string} [hockeyAppId] 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. */ hockeyAppId?: string; /** - * @member {string} [hockeyAppToken] Token used to authenticate - * communications with between Application Insights and HockeyApp. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Token used to authenticate communications with between Application Insights and HockeyApp. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly hockeyAppToken?: string; /** - * @member {string} [provisioningState] 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. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * 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. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; /** - * @member {number} [samplingPercentage] 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. */ samplingPercentage?: number; } /** - * @interface - * An interface representing ComponentPurgeBodyFilters. * User-defined filters to return data which will be purged from the table. - * */ export interface ComponentPurgeBodyFilters { /** - * @member {string} [column] The column of the table over which the given - * query should run + * The column of the table over which the given query should run */ column?: string; /** - * @member {string} [operator] A query operator to evaluate over the provided - * column and value(s). + * A query operator to evaluate over the provided column and value(s). */ operator?: string; /** - * @member {any} [value] 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. */ value?: any; /** - * @member {string} [key] 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. */ key?: string; } /** - * @interface - * An interface representing ComponentPurgeBody. * Describes the body of a purge request for an App Insights component - * */ export interface ComponentPurgeBody { /** - * @member {string} table Table from which to purge data. + * Table from which to purge data. */ table: string; /** - * @member {ComponentPurgeBodyFilters[]} filters 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. */ filters: ComponentPurgeBodyFilters[]; } /** - * @interface - * An interface representing ComponentPurgeResponse. * Response containing operationId for a specific purge action. - * */ export interface ComponentPurgeResponse { /** - * @member {string} operationId Id to use when querying for status for a - * particular purge operation. + * Id to use when querying for status for a particular purge operation. */ operationId: string; } /** - * @interface - * An interface representing ComponentPurgeStatusResponse. * Response containing status for a specific purge operation. - * */ export interface ComponentPurgeStatusResponse { /** - * @member {PurgeState} status Status of the operation represented by the - * requested Id. Possible values include: 'pending', 'completed' + * Status of the operation represented by the requested Id. Possible values include: 'pending', + * 'completed' */ status: PurgeState; } /** - * @interface - * An interface representing WorkItemConfiguration. * Work item configuration associated with an application insights resource. - * */ export interface WorkItemConfiguration { /** - * @member {string} [connectorId] Connector identifier where work item is - * created + * Connector identifier where work item is created */ connectorId?: string; /** - * @member {string} [configDisplayName] Configuration friendly name + * Configuration friendly name */ configDisplayName?: string; /** - * @member {boolean} [isDefault] Boolean value indicating whether - * configuration is default + * Boolean value indicating whether configuration is default */ isDefault?: boolean; /** - * @member {string} [id] Unique Id for work item + * Unique Id for work item */ id?: string; /** - * @member {string} [configProperties] Serialized JSON object for detailed - * properties + * Serialized JSON object for detailed properties */ configProperties?: string; } /** - * @interface - * An interface representing WorkItemCreateConfiguration. * Work item configuration creation payload - * */ export interface WorkItemCreateConfiguration { /** - * @member {string} [connectorId] Unique connector id + * Unique connector id */ connectorId?: string; /** - * @member {string} [connectorDataConfiguration] Serialized JSON object for - * detaile d properties + * Serialized JSON object for detailed properties */ connectorDataConfiguration?: string; /** - * @member {boolean} [validateOnly] Boolean indicating validate only + * Boolean indicating validate only */ validateOnly?: boolean; /** - * @member {string} [workItemProperties] Custom work item properties + * Custom work item properties */ - workItemProperties?: string; + workItemProperties?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing WorkItemConfigurationError. - * Error associated with trying to get work item configuration or - * configurations - * + * Error associated with trying to get work item configuration or configurations */ export interface WorkItemConfigurationError { /** - * @member {string} [code] Error detail code and explanation + * Error detail code and explanation */ code?: string; /** - * @member {string} [message] Error message + * Error message */ message?: string; - /** - * @member {InnerError} [innererror] - */ innererror?: InnerError; } /** - * @interface - * An interface representing ApplicationInsightsComponentFavorite. - * Properties that define a favorite that is associated to an Application - * Insights component. - * + * Properties that define a favorite that is associated to an Application Insights component. */ export interface ApplicationInsightsComponentFavorite { /** - * @member {string} [name] The user-defined name of the favorite. + * The user-defined name of the favorite. */ name?: string; /** - * @member {string} [config] 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 */ config?: string; /** - * @member {string} [version] 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. */ version?: string; /** - * @member {string} [favoriteId] Internally assigned unique id of the - * favorite definition. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Internally assigned unique id of the favorite definition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly favoriteId?: string; /** - * @member {FavoriteType} [favoriteType] 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. Possible values include: + * 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. Possible values include: * 'shared', 'user' */ favoriteType?: FavoriteType; /** - * @member {string} [sourceType] The source of the favorite definition. + * The source of the favorite definition. */ sourceType?: string; /** - * @member {string} [timeModified] Date and time in UTC of the last - * modification that was made to this favorite definition. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC of the last modification that was made to this favorite definition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeModified?: string; /** - * @member {string[]} [tags] 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 */ tags?: string[]; /** - * @member {string} [category] Favorite category, as defined by the user at - * creation time. + * Favorite category, as defined by the user at creation time. */ category?: string; /** - * @member {boolean} [isGeneratedFromTemplate] Flag denoting wether or not - * this favorite was generated from a template. + * Flag denoting wether or not this favorite was generated from a template. */ isGeneratedFromTemplate?: boolean; /** - * @member {string} [userId] Unique user id of the specific user that owns - * this favorite. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Unique user id of the specific user that owns this favorite. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly userId?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentWebTestLocation. - * Properties that define a web test location available to an Application - * Insights Component. - * + * Properties that define a web test location available to an Application Insights Component. */ export interface ApplicationInsightsComponentWebTestLocation { /** - * @member {string} [displayName] The display name of the web test location. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The display name of the web test location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; /** - * @member {string} [tag] Internally defined geographic location tag. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Internally defined geographic location tag. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tag?: string; } /** - * @interface - * An interface representing WebtestsResource. * An azure resource object - * - * @extends BaseResource */ export interface WebtestsResource extends BaseResource { /** - * @member {string} [id] Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location Resource location + * Resource location */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing WebTestGeolocation. - * 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 web test from. You must specify one or more locations for the + * test to run from. */ export interface WebTestGeolocation { /** - * @member {string} [location] Location ID for the webtest to run from. + * Location ID for the webtest to run from. */ location?: string; } /** - * @interface - * An interface representing WebTestPropertiesConfiguration. * An XML configuration specification for a WebTest. - * */ export interface WebTestPropertiesConfiguration { /** - * @member {string} [webTest] The XML specification of a WebTest to run - * against an application. + * The XML specification of a WebTest to run against an application. */ webTest?: string; } /** - * @interface - * An interface representing WebTest. * An Application Insights web test definition. - * - * @extends WebtestsResource */ export interface WebTest extends WebtestsResource { /** - * @member {WebTestKind} [kind] The kind of web test that this web test - * watches. Choices are ping and multistep. Possible values include: 'ping', - * 'multistep'. Default value: 'ping' . + * The kind of web test that this web test watches. Choices are ping and multistep. Possible + * values include: 'ping', 'multistep'. Default value: 'ping'. */ kind?: WebTestKind; /** - * @member {string} syntheticMonitorId 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. */ syntheticMonitorId: string; /** - * @member {string} webTestName User defined name if this WebTest. + * User defined name if this WebTest. */ webTestName: string; /** - * @member {string} [description] Purpose/user defined descriptive test for - * this WebTest. + * Purpose/user defined descriptive test for this WebTest. */ description?: string; /** - * @member {boolean} [enabled] Is the test actively being monitored. + * Is the test actively being monitored. */ enabled?: boolean; /** - * @member {number} [frequency] Interval in seconds between test runs for - * this WebTest. Default value is 300. Default value: 300 . + * Interval in seconds between test runs for this WebTest. Default value is 300. Default value: + * 300. */ frequency?: number; /** - * @member {number} [timeout] Seconds until this WebTest will timeout and - * fail. Default value is 30. Default value: 30 . + * Seconds until this WebTest will timeout and fail. Default value is 30. Default value: 30. */ timeout?: number; /** - * @member {WebTestKind} webTestKind The kind of web test this is, valid - * choices are ping and multistep. Possible values include: 'ping', - * 'multistep'. Default value: 'ping' . + * The kind of web test this is, valid choices are ping and multistep. Possible values include: + * 'ping', 'multistep'. Default value: 'ping'. */ webTestKind: WebTestKind; /** - * @member {boolean} [retryEnabled] Allow for retries should this WebTest - * fail. + * Allow for retries should this WebTest fail. */ retryEnabled?: boolean; /** - * @member {WebTestGeolocation[]} locations 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. */ locations: WebTestGeolocation[]; /** - * @member {WebTestPropertiesConfiguration} [configuration] An XML - * configuration specification for a WebTest. + * An XML configuration specification for a WebTest. */ configuration?: WebTestPropertiesConfiguration; /** - * @member {string} [provisioningState] 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. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * 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. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentAnalyticsItemProperties. - * 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. */ export interface ApplicationInsightsComponentAnalyticsItemProperties { /** - * @member {string} [functionAlias] A function alias, used when the type of - * the item is Function + * A function alias, used when the type of the item is Function */ functionAlias?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentAnalyticsItem. - * Properties that define an Analytics item that is associated to an - * Application Insights component. - * + * Properties that define an Analytics item that is associated to an Application Insights + * component. */ export interface ApplicationInsightsComponentAnalyticsItem { /** - * @member {string} [id] Internally assigned unique id of the item - * definition. + * Internally assigned unique id of the item definition. */ id?: string; /** - * @member {string} [name] The user-defined name of the item. + * The user-defined name of the item. */ name?: string; /** - * @member {string} [content] The content of this item + * The content of this item */ content?: string; /** - * @member {string} [version] This instance's version of the data model. This - * can change as new features are added. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This instance's version of the data model. This can change as new features are added. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly version?: string; /** - * @member {ItemScope} [scope] 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. Possible values include: 'shared', 'user' + * 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. Possible values include: 'shared', + * 'user' */ scope?: ItemScope; /** - * @member {ItemType} [type] Enum indicating the type of the Analytics item. - * Possible values include: 'query', 'function', 'folder', 'recent' + * Enum indicating the type of the Analytics item. Possible values include: 'query', 'function', + * 'folder', 'recent' */ type?: ItemType; /** - * @member {string} [timeCreated] Date and time in UTC when this item was - * created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC when this item was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeCreated?: string; /** - * @member {string} [timeModified] Date and time in UTC of the last - * modification that was made to this item. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC of the last modification that was made to this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeModified?: string; - /** - * @member {ApplicationInsightsComponentAnalyticsItemProperties} [properties] - */ properties?: ApplicationInsightsComponentAnalyticsItemProperties; } /** - * @interface - * An interface representing WorkbookResource. * An azure resource object - * - * @extends BaseResource */ export interface WorkbookResource extends BaseResource { /** - * @member {string} [id] Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} [location] Resource location + * Resource location */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Workbook. * An Application Insights workbook definition. - * - * @extends WorkbookResource */ export interface Workbook extends WorkbookResource { /** - * @member {SharedTypeKind} [kind] The kind of workbook. Choices are user and - * shared. Possible values include: 'user', 'shared' + * The kind of workbook. Choices are user and shared. Possible values include: 'user', 'shared' */ kind?: SharedTypeKind; /** - * @member {string} workbookName The user-defined name of the workbook. + * The user-defined name of the workbook. */ workbookName: string; /** - * @member {string} serializedData 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 */ serializedData: string; /** - * @member {string} [version] This instance's version of the data model. This - * can change as new features are added that can be marked workbook. + * This instance's version of the data model. This can change as new features are added that can + * be marked workbook. */ version?: string; /** - * @member {string} workbookId Internally assigned unique id of the workbook - * definition. + * Internally assigned unique id of the workbook definition. */ workbookId: string; /** - * @member {SharedTypeKind} sharedTypeKind Enum indicating if this workbook - * definition is owned by a specific user or is shared between all users with - * access to the Application Insights component. Possible values include: - * 'user', 'shared'. Default value: 'shared' . + * Enum indicating if this workbook definition is owned by a specific user or is shared between + * all users with access to the Application Insights component. Possible values include: 'user', + * 'shared'. Default value: 'shared'. */ sharedTypeKind: SharedTypeKind; /** - * @member {string} [timeModified] Date and time in UTC of the last - * modification that was made to this workbook definition. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC of the last modification that was made to this workbook definition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeModified?: string; /** - * @member {string} category Workbook category, as defined by the user at - * creation time. + * Workbook category, as defined by the user at creation time. */ category: string; /** - * @member {string[]} [workbookTags] 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 */ workbookTags?: string[]; /** - * @member {string} userId Unique user id of the specific user that owns this - * workbook. + * Unique user id of the specific user that owns this workbook. */ userId: string; /** - * @member {string} [sourceResourceId] Optional resourceId for a source - * resource. + * Optional resourceId for a source resource. */ sourceResourceId?: string; } /** - * @interface - * An interface representing LinkProperties. * Contains a sourceId and workbook resource id to link two resources. - * */ export interface LinkProperties { /** - * @member {string} [sourceId] The source Azure resource id + * The source Azure resource id */ sourceId?: string; /** - * @member {string} [targetId] The workbook Azure resource id + * The workbook Azure resource id */ targetId?: string; /** - * @member {string} [category] The category of workbook + * The category of workbook */ category?: string; } /** - * @interface - * An interface representing ErrorFieldContract. * Error Field contract. - * */ export interface ErrorFieldContract { /** - * @member {string} [code] Property level error code. + * Property level error code. */ code?: string; /** - * @member {string} [message] Human-readable representation of property-level - * error. + * Human-readable representation of property-level error. */ message?: string; /** - * @member {string} [target] Property name. + * Property name. */ target?: string; } /** - * @interface - * An interface representing WorkbookError. * Error message body that will indicate why the operation failed. - * */ export interface WorkbookError { /** - * @member {string} [code] Service-defined error code. This code serves as a - * sub-status for the HTTP error code specified in the response. + * Service-defined error code. This code serves as a sub-status for the HTTP error code specified + * in the response. */ code?: string; /** - * @member {string} [message] Human-readable representation of the error. + * Human-readable representation of the error. */ message?: string; /** - * @member {ErrorFieldContract[]} [details] The list of invalid fields send - * in request, in case of validation error. + * The list of invalid fields send in request, in case of validation error. */ details?: ErrorFieldContract[]; } /** - * @interface - * An interface representing FavoritesListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface FavoritesListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {FavoriteType} [favoriteType] The type of favorite. Value can be - * either shared or user. Possible values include: 'shared', 'user'. Default - * value: 'shared' . + * The type of favorite. Value can be either shared or user. Possible values include: 'shared', + * 'user'. Default value: 'shared'. */ favoriteType?: FavoriteType; /** - * @member {FavoriteSourceType} [sourceType] Source type of favorite to - * return. When left out, the source type defaults to 'other' (not present in - * this enum). Possible values include: 'retention', 'notebook', 'sessions', - * 'events', 'userflows', 'funnel', 'impact', 'segmentation' + * Source type of favorite to return. When left out, the source type defaults to 'other' (not + * present in this enum). Possible values include: 'retention', 'notebook', 'sessions', 'events', + * 'userflows', 'funnel', 'impact', 'segmentation' */ sourceType?: FavoriteSourceType; /** - * @member {boolean} [canFetchContent] Flag indicating whether or not to - * return the full content for each applicable favorite. If false, only - * return summary content for favorites. + * Flag indicating whether or not to return the full content for each applicable favorite. If + * false, only return summary content for favorites. */ canFetchContent?: boolean; /** - * @member {string[]} [tags] Tags that must be present on each favorite - * returned. + * Tags that must be present on each favorite returned. */ tags?: string[]; } /** - * @interface - * An interface representing AnalyticsItemsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {ItemScope} [scope] 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. Possible values include: 'shared', 'user'. - * Default value: 'shared' . + * 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. Possible values include: 'shared', + * 'user'. Default value: 'shared'. */ scope?: ItemScope; /** - * @member {ItemTypeParameter} [type] Enum indicating the type of the - * Analytics item. Possible values include: 'none', 'query', 'function', - * 'folder', 'recent'. Default value: 'none' . + * Enum indicating the type of the Analytics item. Possible values include: 'none', 'query', + * 'function', 'folder', 'recent'. Default value: 'none'. */ type?: ItemTypeParameter; /** - * @member {boolean} [includeContent] Flag indicating whether or not to - * return the content of each applicable item. If false, only return the item - * information. + * Flag indicating whether or not to return the content of each applicable item. If false, only + * return the item information. */ includeContent?: boolean; } /** - * @interface - * An interface representing AnalyticsItemsGetOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsGetOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [id] The Id of a specific item defined in the Application - * Insights component + * The Id of a specific item defined in the Application Insights component */ id?: string; /** - * @member {string} [name] The name of a specific item defined in the - * Application Insights component + * The name of a specific item defined in the Application Insights component */ name?: string; } /** - * @interface - * An interface representing AnalyticsItemsPutOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsPutOptionalParams extends msRest.RequestOptionsBase { /** - * @member {boolean} [overrideItem] Flag indicating whether or not to force - * save an item. This allows overriding an item if it already exists. + * Flag indicating whether or not to force save an item. This allows overriding an item if it + * already exists. */ overrideItem?: boolean; } /** - * @interface - * An interface representing AnalyticsItemsDeleteMethodOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [id] The Id of a specific item defined in the Application - * Insights component + * The Id of a specific item defined in the Application Insights component */ id?: string; /** - * @member {string} [name] The name of a specific item defined in the - * Application Insights component + * The name of a specific item defined in the Application Insights component */ name?: string; } /** - * @interface - * An interface representing WorkbooksListByResourceGroupOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WorkbooksListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string[]} [tags] Tags presents on each workbook returned. + * Tags presents on each workbook returned. */ tags?: string[]; /** - * @member {boolean} [canFetchContent] Flag indicating whether or not to - * return the full content for each applicable workbook. If false, only - * return summary content for workbooks. + * Flag indicating whether or not to return the full content for each applicable workbook. If + * false, only return summary content for workbooks. */ canFetchContent?: boolean; } /** - * @interface * An interface representing ApplicationInsightsManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface ApplicationInsightsManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the OperationListResult. - * 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 CDN operations. It contains a list of operations and a URL link to + * get the next set of results. * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. + * URL to get the next set of operation list results if there are any. */ nextLink?: string; } /** * @interface - * An interface representing the AnnotationsListResult. * Annotations list result. - * * @extends Array */ export interface AnnotationsListResult extends Array { @@ -1783,9 +1392,7 @@ export interface AnnotationsListResult extends Array { /** * @interface - * An interface representing the ApplicationInsightsComponentAPIKeyListResult. * Describes the list of API Keys of an Application Insights Component. - * * @extends Array */ export interface ApplicationInsightsComponentAPIKeyListResult extends Array { @@ -1793,25 +1400,20 @@ export interface ApplicationInsightsComponentAPIKeyListResult extends Array */ export interface ApplicationInsightsComponentListResult extends Array { /** - * @member {string} [nextLink] The URI to get the next set of Application - * Insights component defintions 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. */ nextLink?: string; } /** * @interface - * An interface representing the WorkItemConfigurationsListResult. * Work item configuration list result. - * * @extends Array */ export interface WorkItemConfigurationsListResult extends Array { @@ -1819,10 +1421,7 @@ export interface WorkItemConfigurationsListResult extends Array */ export interface ApplicationInsightsWebTestLocationsListResult extends Array { @@ -1830,25 +1429,20 @@ export interface ApplicationInsightsWebTestLocationsListResult extends Array */ export interface WebTestListResult extends Array { /** - * @member {string} [nextLink] 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 web tests, should the return set be too + * large for a single request. May be null. */ nextLink?: string; } /** * @interface - * An interface representing the WorkbooksListResult. * Workbook list result. - * * @extends Array */ export interface WorkbooksListResult extends Array { @@ -1971,6 +1565,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1990,6 +1585,7 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2009,6 +1605,7 @@ export type AnnotationsListResponse = AnnotationsListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2028,6 +1625,7 @@ export type AnnotationsCreateResponse = Array & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2043,6 +1641,7 @@ export type AnnotationsDeleteMethodResponse = { * The parsed response body. */ body: any; + /** * The underlying HTTP response. */ @@ -2051,6 +1650,7 @@ export type AnnotationsDeleteMethodResponse = { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2070,6 +1670,7 @@ export type AnnotationsGetResponse = Array & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2089,6 +1690,7 @@ export type APIKeysListResponse = ApplicationInsightsComponentAPIKeyListResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2108,6 +1710,7 @@ export type APIKeysCreateResponse = ApplicationInsightsComponentAPIKey & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2127,6 +1730,7 @@ export type APIKeysDeleteMethodResponse = ApplicationInsightsComponentAPIKey & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2146,6 +1750,7 @@ export type APIKeysGetResponse = ApplicationInsightsComponentAPIKey & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2165,6 +1770,7 @@ export type ExportConfigurationsListResponse = Array * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2682,6 +2355,7 @@ export type FavoritesGetResponse = ApplicationInsightsComponentFavorite & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2701,6 +2375,7 @@ export type FavoritesAddResponse = ApplicationInsightsComponentFavorite & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2720,6 +2395,7 @@ export type FavoritesUpdateResponse = ApplicationInsightsComponentFavorite & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2739,6 +2415,7 @@ export type WebTestLocationsListResponse = ApplicationInsightsWebTestLocationsLi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2758,6 +2435,7 @@ export type WebTestsListByResourceGroupResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2777,6 +2455,7 @@ export type WebTestsGetResponse = WebTest & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2796,6 +2475,7 @@ export type WebTestsCreateOrUpdateResponse = WebTest & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2815,6 +2495,7 @@ export type WebTestsUpdateTagsResponse = WebTest & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2834,6 +2515,7 @@ export type WebTestsListResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2853,6 +2535,7 @@ export type WebTestsListByComponentResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2872,6 +2555,7 @@ export type WebTestsListByResourceGroupNextResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2891,6 +2575,7 @@ export type WebTestsListNextResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2910,6 +2595,7 @@ export type WebTestsListByComponentNextResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2929,6 +2615,7 @@ export type AnalyticsItemsListResponse = Array */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class APIKeys { /** * Create an API Key of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param aPIKeyProperties Properties that need to be specified to create an API key of a * Application Insights component. @@ -69,7 +69,7 @@ export class APIKeys { */ create(resourceGroupName: string, resourceName: string, aPIKeyProperties: Models.APIKeyRequest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param aPIKeyProperties Properties that need to be specified to create an API key of a * Application Insights component. @@ -77,7 +77,7 @@ export class APIKeys { */ create(resourceGroupName: string, resourceName: string, aPIKeyProperties: Models.APIKeyRequest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param aPIKeyProperties Properties that need to be specified to create an API key of a * Application Insights component. @@ -99,7 +99,7 @@ export class APIKeys { /** * Delete an API Key of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param [options] The optional parameters @@ -107,14 +107,14 @@ export class APIKeys { */ deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param options The optional parameters @@ -135,7 +135,7 @@ export class APIKeys { /** * Get the API Key for this key id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param [options] The optional parameters @@ -143,14 +143,14 @@ export class APIKeys { */ get(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, keyId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param options The optional parameters diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts b/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts index bafbaa9326ea..d8d5c077dd79 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts @@ -28,7 +28,7 @@ export class AnalyticsItems { /** * Gets a list of Analytics Items defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -38,7 +38,7 @@ export class AnalyticsItems { */ list(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsListOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -47,7 +47,7 @@ export class AnalyticsItems { */ list(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -70,7 +70,7 @@ export class AnalyticsItems { /** * Gets a specific Analytics Items defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -80,7 +80,7 @@ export class AnalyticsItems { */ get(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsGetOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -89,7 +89,7 @@ export class AnalyticsItems { */ get(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -112,7 +112,7 @@ export class AnalyticsItems { /** * Adds or Updates a specific Analytics Item within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -124,7 +124,7 @@ export class AnalyticsItems { */ put(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, itemProperties: Models.ApplicationInsightsComponentAnalyticsItem, options?: Models.AnalyticsItemsPutOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -135,7 +135,7 @@ export class AnalyticsItems { */ put(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, itemProperties: Models.ApplicationInsightsComponentAnalyticsItem, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -161,7 +161,7 @@ export class AnalyticsItems { /** * Deletes a specific Analytics Items defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -171,7 +171,7 @@ export class AnalyticsItems { */ deleteMethod(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsDeleteMethodOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values @@ -180,7 +180,7 @@ export class AnalyticsItems { */ deleteMethod(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath 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. Possible values diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts index f36ded7ddd78..2cefff3a69aa 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts @@ -28,7 +28,7 @@ export class Annotations { /** * Gets the list of annotations for a component for given time range - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param start The start time to query from for annotations, cannot be older than 90 days from * current date. @@ -38,7 +38,7 @@ export class Annotations { */ list(resourceGroupName: string, resourceName: string, start: string, end: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param start The start time to query from for annotations, cannot be older than 90 days from * current date. @@ -47,7 +47,7 @@ export class Annotations { */ list(resourceGroupName: string, resourceName: string, start: string, end: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param start The start time to query from for annotations, cannot be older than 90 days from * current date. @@ -71,7 +71,7 @@ export class Annotations { /** * Create an Annotation of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationProperties Properties that need to be specified to create an annotation of a * Application Insights component. @@ -80,7 +80,7 @@ export class Annotations { */ create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationProperties Properties that need to be specified to create an annotation of a * Application Insights component. @@ -88,7 +88,7 @@ export class Annotations { */ create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationProperties Properties that need to be specified to create an annotation of a * Application Insights component. @@ -110,7 +110,7 @@ export class Annotations { /** * Delete an Annotation of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -119,7 +119,7 @@ export class Annotations { */ deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -127,7 +127,7 @@ export class Annotations { */ deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -149,7 +149,7 @@ export class Annotations { /** * Get the annotation for given id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -158,7 +158,7 @@ export class Annotations { */ get(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -166,7 +166,7 @@ export class Annotations { */ get(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts index 84cc340da70b..3b203d7b06db 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts @@ -28,20 +28,20 @@ export class ComponentAvailableFeatures { /** * Returns all available features of the application insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts index d4a36c61adb3..834abe56146c 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts @@ -28,20 +28,20 @@ export class ComponentCurrentBillingFeatures { /** * Returns current billing features for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class ComponentCurrentBillingFeatures { /** * Update current billing features for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param billingFeaturesProperties Properties that need to be specified to update billing features * for an Application Insights component. @@ -69,7 +69,7 @@ export class ComponentCurrentBillingFeatures { */ update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: Models.ApplicationInsightsComponentBillingFeatures, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param billingFeaturesProperties Properties that need to be specified to update billing features * for an Application Insights component. @@ -77,7 +77,7 @@ export class ComponentCurrentBillingFeatures { */ update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: Models.ApplicationInsightsComponentBillingFeatures, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param billingFeaturesProperties Properties that need to be specified to update billing features * for an Application Insights component. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts index 26e06651a059..0b3b938f3cd3 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts @@ -27,21 +27,21 @@ export class ComponentFeatureCapabilities { } /** - * Returns feature capabilites of the application insights component. - * @param resourceGroupName The name of the resource group. + * Returns feature capabilities of the application insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts index 9c62a249142b..6a9a755dc264 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts @@ -28,20 +28,20 @@ export class ComponentQuotaStatus { /** * Returns daily data volume cap (quota) status for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/components.ts b/sdk/applicationinsights/arm-appinsights/src/operations/components.ts index 5d5ab4a6b9c1..5a9880304582 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/components.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/components.ts @@ -52,18 +52,18 @@ export class Components { /** * Gets a list of Application Insights components within a resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param [options] The optional parameters * @returns Promise */ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param callback The callback */ listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The optional parameters * @param callback The callback */ @@ -80,20 +80,20 @@ export class Components { /** * Deletes an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -112,20 +112,20 @@ export class Components { /** * Returns an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -145,7 +145,7 @@ export class Components { /** * Creates (or updates) an Application Insights component. Note: You cannot specify a different * value for InstrumentationKey nor AppId in the Put operation. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param insightProperties Properties that need to be specified to create an Application Insights * component. @@ -154,7 +154,7 @@ export class Components { */ createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param insightProperties Properties that need to be specified to create an Application Insights * component. @@ -162,7 +162,7 @@ export class Components { */ createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param insightProperties Properties that need to be specified to create an Application Insights * component. @@ -184,7 +184,7 @@ export class Components { /** * Updates an existing component's tags. To update other fields use the CreateOrUpdate method. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param componentTags Updated tag information to set into the component instance. * @param [options] The optional parameters @@ -192,14 +192,14 @@ export class Components { */ updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param componentTags Updated tag information to set into the component instance. * @param callback The callback */ updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param componentTags Updated tag information to set into the component instance. * @param options The optional parameters @@ -220,7 +220,7 @@ export class Components { /** * Purges data in an Application Insights component by a set of user-defined filters. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param body Describes the body of a request to purge data in a single table of an Application * Insights component @@ -229,7 +229,7 @@ export class Components { */ purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param body Describes the body of a request to purge data in a single table of an Application * Insights component @@ -237,7 +237,7 @@ export class Components { */ purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param body Describes the body of a request to purge data in a single table of an Application * Insights component @@ -259,7 +259,7 @@ export class Components { /** * Get status for an ongoing purge operation. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param purgeId In a purge status request, this is the Id of the operation the status of which is * returned. @@ -268,7 +268,7 @@ export class Components { */ getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param purgeId In a purge status request, this is the Id of the operation the status of which is * returned. @@ -276,7 +276,7 @@ export class Components { */ getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param purgeId In a purge status request, this is the Id of the operation the status of which is * returned. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts index a7985ea6e265..246ae2e74359 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts @@ -28,20 +28,20 @@ export class ExportConfigurations { /** * Gets a list of Continuous Export configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class ExportConfigurations { /** * Create a Continuous Export configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportProperties Properties that need to be specified to create a Continuous Export * configuration of a Application Insights component. @@ -69,7 +69,7 @@ export class ExportConfigurations { */ create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportProperties Properties that need to be specified to create a Continuous Export * configuration of a Application Insights component. @@ -77,7 +77,7 @@ export class ExportConfigurations { */ create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportProperties Properties that need to be specified to create a Continuous Export * configuration of a Application Insights component. @@ -99,7 +99,7 @@ export class ExportConfigurations { /** * Delete a Continuous Export configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -108,7 +108,7 @@ export class ExportConfigurations { */ deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -116,7 +116,7 @@ export class ExportConfigurations { */ deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -138,7 +138,7 @@ export class ExportConfigurations { /** * Get the Continuous Export configuration for this export id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -147,7 +147,7 @@ export class ExportConfigurations { */ get(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -155,7 +155,7 @@ export class ExportConfigurations { */ get(resourceGroupName: string, resourceName: string, exportId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -177,7 +177,7 @@ export class ExportConfigurations { /** * Update the Continuous Export configuration for this export id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -188,7 +188,7 @@ export class ExportConfigurations { */ update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -198,7 +198,7 @@ export class ExportConfigurations { */ update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts b/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts index b7d321659714..cceaa112ddf2 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts @@ -28,20 +28,20 @@ export class Favorites { /** * Gets a list of favorites defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: Models.FavoritesListOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class Favorites { /** * Get a single favorite by its FavoriteId, defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param [options] The optional parameters @@ -68,14 +68,14 @@ export class Favorites { */ get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param callback The callback */ get(resourceGroupName: string, resourceName: string, favoriteId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param options The optional parameters @@ -96,7 +96,7 @@ export class Favorites { /** * Adds a new favorites to an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to create a new favorite and add @@ -106,7 +106,7 @@ export class Favorites { */ add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to create a new favorite and add @@ -115,7 +115,7 @@ export class Favorites { */ add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to create a new favorite and add @@ -139,7 +139,7 @@ export class Favorites { /** * Updates a favorite that has already been added to an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to update the existing favorite. @@ -148,7 +148,7 @@ export class Favorites { */ update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to update the existing favorite. @@ -156,7 +156,7 @@ export class Favorites { */ update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to update the existing favorite. @@ -179,7 +179,7 @@ export class Favorites { /** * Remove a favorite that is associated to an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param [options] The optional parameters @@ -187,14 +187,14 @@ export class Favorites { */ deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param options The optional parameters diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts index ca6f6dcbe202..a8e6c5c232c0 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts @@ -28,20 +28,20 @@ export class ProactiveDetectionConfigurations { /** * Gets a list of ProactiveDetection configurations of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class ProactiveDetectionConfigurations { /** * Get the ProactiveDetection configuration for this configuration id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -69,7 +69,7 @@ export class ProactiveDetectionConfigurations { */ get(resourceGroupName: string, resourceName: string, configurationId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -77,7 +77,7 @@ export class ProactiveDetectionConfigurations { */ get(resourceGroupName: string, resourceName: string, configurationId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -99,7 +99,7 @@ export class ProactiveDetectionConfigurations { /** * Update the ProactiveDetection configuration for this configuration id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -110,7 +110,7 @@ export class ProactiveDetectionConfigurations { */ update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -120,7 +120,7 @@ export class ProactiveDetectionConfigurations { */ update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts index 95fbad790bb0..442773b190c2 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts @@ -28,20 +28,20 @@ export class WebTestLocations { /** * Gets a list of web test locations available to this Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts b/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts index 85311b4d629b..840c988c7fd2 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts @@ -28,18 +28,18 @@ export class WebTests { /** * Get all Application Insights web tests defined within a specified resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param [options] The optional parameters * @returns Promise */ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param callback The callback */ listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The optional parameters * @param callback The callback */ @@ -56,20 +56,20 @@ export class WebTests { /** * Get a specific Application Insights web test definition. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param callback The callback */ get(resourceGroupName: string, webTestName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param options The optional parameters * @param callback The callback @@ -88,7 +88,7 @@ export class WebTests { /** * Creates or updates an Application Insights web test definition. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @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. @@ -97,7 +97,7 @@ export class WebTests { */ createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: Models.WebTest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @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. @@ -105,7 +105,7 @@ export class WebTests { */ createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: Models.WebTest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @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. @@ -127,7 +127,7 @@ export class WebTests { /** * Creates or updates an Application Insights web test definition. - * @param resourceGroupName The name of the resource group. + * @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 [options] The optional parameters @@ -135,14 +135,14 @@ export class WebTests { */ updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @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 callback The callback */ updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @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 options The optional parameters @@ -163,20 +163,20 @@ export class WebTests { /** * Deletes an Application Insights web test. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param callback The callback */ deleteMethod(resourceGroupName: string, webTestName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param options The optional parameters * @param callback The callback @@ -194,7 +194,7 @@ export class WebTests { } /** - * Get all Application Insights web test alerts definitioned within a subscription. + * Get all Application Insights web test alerts definitions within a subscription. * @param [options] The optional parameters * @returns Promise */ @@ -220,20 +220,20 @@ export class WebTests { /** * Get all Application Insights web tests defined for the specified component. * @param componentName The name of the Application Insights component resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param [options] The optional parameters * @returns Promise */ listByComponent(componentName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param componentName The name of the Application Insights component resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param callback The callback */ listByComponent(componentName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; /** * @param componentName The name of the Application Insights component resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The optional parameters * @param callback The callback */ @@ -278,7 +278,7 @@ export class WebTests { } /** - * Get all Application Insights web test alerts definitioned within a subscription. + * Get all Application Insights web test alerts definitions within a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts index 5d8318641273..9429f87c652f 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts @@ -28,20 +28,20 @@ export class WorkItemConfigurations { /** * Gets the list work item configurations that exist for the application - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class WorkItemConfigurations { /** * Create a work item configuration for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigurationProperties Properties that need to be specified to create a work * item configuration of a Application Insights component. @@ -69,7 +69,7 @@ export class WorkItemConfigurations { */ create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigurationProperties Properties that need to be specified to create a work * item configuration of a Application Insights component. @@ -77,7 +77,7 @@ export class WorkItemConfigurations { */ create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigurationProperties Properties that need to be specified to create a work * item configuration of a Application Insights component. @@ -99,20 +99,20 @@ export class WorkItemConfigurations { /** * Gets default work item configurations that exist for the application - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ getDefault(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ getDefault(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -130,8 +130,8 @@ export class WorkItemConfigurations { } /** - * Delete an workitem configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * Delete a work item configuration of an Application Insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigId The unique work item configuration Id. This can be either friendly name * of connector as defined in connector configuration @@ -140,7 +140,7 @@ export class WorkItemConfigurations { */ deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigId The unique work item configuration Id. This can be either friendly name * of connector as defined in connector configuration @@ -148,7 +148,7 @@ export class WorkItemConfigurations { */ deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigId The unique work item configuration Id. This can be either friendly name * of connector as defined in connector configuration @@ -167,6 +167,91 @@ export class WorkItemConfigurations { deleteMethodOperationSpec, callback) as Promise; } + + /** + * Gets specified work item configuration for an Application Insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param [options] The optional parameters + * @returns Promise + */ + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param callback The callback + */ + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param options The optional parameters + * @param callback The callback + */ + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + resourceName, + workItemConfigId, + options + }, + getItemOperationSpec, + callback) as Promise; + } + + /** + * Update a work item configuration for an Application Insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param workItemConfigurationProperties Properties that need to be specified to update a work + * item configuration for this Application Insights component. + * @param [options] The optional parameters + * @returns Promise + */ + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param workItemConfigurationProperties Properties that need to be specified to update a work + * item configuration for this Application Insights component. + * @param callback The callback + */ + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param workItemConfigurationProperties Properties that need to be specified to update a work + * item configuration for this Application Insights component. + * @param options The optional parameters + * @param callback The callback + */ + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + resourceName, + workItemConfigId, + workItemConfigurationProperties, + options + }, + updateItemOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -283,3 +368,62 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { }, serializer }; + +const getItemOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.resourceName, + Parameters.workItemConfigId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkItemConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateItemOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.resourceName, + Parameters.workItemConfigId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workItemConfigurationProperties", + mapper: { + ...Mappers.WorkItemCreateConfiguration, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkItemConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts b/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts index 7fa139f6e407..56ce5236f6f4 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts @@ -28,7 +28,7 @@ export class Workbooks { /** * Get all Workbooks defined within a specified resource group and category. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param category Category of workbook to return. Possible values include: 'workbook', 'TSG', * 'performance', 'retention' * @param [options] The optional parameters @@ -36,14 +36,14 @@ export class Workbooks { */ listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, options?: Models.WorkbooksListByResourceGroupOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param category Category of workbook to return. Possible values include: 'workbook', 'TSG', * 'performance', 'retention' * @param callback The callback */ listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param category Category of workbook to return. Possible values include: 'workbook', 'TSG', * 'performance', 'retention' * @param options The optional parameters @@ -63,20 +63,20 @@ export class Workbooks { /** * Get a single workbook by its resourceName. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -95,20 +95,20 @@ export class Workbooks { /** * Delete a workbook. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -127,7 +127,7 @@ export class Workbooks { /** * Create a new workbook. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param [options] The optional parameters @@ -135,14 +135,14 @@ export class Workbooks { */ createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param callback The callback */ createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param options The optional parameters @@ -163,7 +163,7 @@ export class Workbooks { /** * Updates a workbook that has already been added. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param [options] The optional parameters @@ -171,14 +171,14 @@ export class Workbooks { */ update(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param callback The callback */ update(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param options The optional parameters diff --git a/sdk/automation/arm-automation/LICENSE.txt b/sdk/automation/arm-automation/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/automation/arm-automation/LICENSE.txt +++ b/sdk/automation/arm-automation/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/automation/arm-automation/README.md b/sdk/automation/arm-automation/README.md index 706f4e2a466d..020c0844b73e 100644 --- a/sdk/automation/arm-automation/README.md +++ b/sdk/automation/arm-automation/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for AutomationClient. ### How to Install -``` +```bash npm install @azure/arm-automation ``` @@ -19,13 +19,13 @@ npm install @azure/arm-automation ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -49,7 +49,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -98,6 +98,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/automation/arm-automation/README.png) diff --git a/sdk/automation/arm-automation/package.json b/sdk/automation/arm-automation/package.json index e936fa7ff266..4ff84afc7528 100644 --- a/sdk/automation/arm-automation/package.json +++ b/sdk/automation/arm-automation/package.json @@ -4,8 +4,8 @@ "description": "AutomationClient Library with typescript type definitions for node.js and browser.", "version": "9.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/automation/arm-automation", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/automation/arm-automation/rollup.config.js b/sdk/automation/arm-automation/rollup.config.js index ef2237c6c46a..796c587e2e5c 100644 --- a/sdk/automation/arm-automation/rollup.config.js +++ b/sdk/automation/arm-automation/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/automationClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/automationClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-automation.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config; diff --git a/sdk/automation/arm-automation/src/automationClient.ts b/sdk/automation/arm-automation/src/automationClient.ts index 4290b4b4a1c7..604cd1c60116 100644 --- a/sdk/automation/arm-automation/src/automationClient.ts +++ b/sdk/automation/arm-automation/src/automationClient.ts @@ -64,12 +64,10 @@ class AutomationClient extends AutomationClientContext { * @param credentials Credentials needed for the client to connect to Azure. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. - * @param countType1 The type of counts to retrieve. Possible values include: 'status', - * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { - super(credentials, subscriptionId, countType1, options); + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AutomationClientOptions) { + super(credentials, subscriptionId, options); this.automationAccount = new operations.AutomationAccountOperations(this); this.operations = new operations.Operations(this); this.statistics = new operations.StatisticsOperations(this); diff --git a/sdk/automation/arm-automation/src/automationClientContext.ts b/sdk/automation/arm-automation/src/automationClientContext.ts index 8e9fdec19135..46fb0ce71a9c 100644 --- a/sdk/automation/arm-automation/src/automationClientContext.ts +++ b/sdk/automation/arm-automation/src/automationClientContext.ts @@ -13,32 +13,26 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-automation"; -const packageVersion = "0.1.0"; +const packageVersion = "9.1.0"; export class AutomationClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; subscriptionId: string; - countType1: Models.CountType; /** * Initializes a new instance of the AutomationClient class. * @param credentials Credentials needed for the client to connect to Azure. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. - * @param countType1 The type of counts to retrieve. Possible values include: 'status', - * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AutomationClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } if (subscriptionId == undefined) { throw new Error('\'subscriptionId\' cannot be null.'); } - if (countType1 == undefined) { - throw new Error('\'countType1\' cannot be null.'); - } if (!options) { options = {}; @@ -56,7 +50,6 @@ export class AutomationClientContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; this.subscriptionId = subscriptionId; - this.countType1 = countType1; if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; diff --git a/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts b/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts index 489c95c2ecad..bb6adcb61b3a 100644 --- a/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts @@ -1,20 +1,17 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { Activity, - ActivityParameterSet, + ActivityListResult, + ActivityOutputType, ActivityParameter, + ActivityParameterSet, ActivityParameterValidationSet, - ActivityOutputType, - ErrorResponse, - ActivityListResult + ErrorResponse } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts b/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts index 2f9ccd4247ac..a818750efdea 100644 --- a/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts +++ b/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { AgentRegistration, AgentRegistrationKeys, - ErrorResponse, - AgentRegistrationRegenerateKeyParameter + AgentRegistrationRegenerateKeyParameter, + ErrorResponse } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts b/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts index 072d068c0d81..9db210f872d7 100644 --- a/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - AutomationAccountUpdateParameters, - Sku, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, AutomationAccount, - TrackedResource, - Resource, - BaseResource, - ErrorResponse, AutomationAccountCreateOrUpdateParameters, AutomationAccountListResult, - ProxyResource, + AutomationAccountUpdateParameters, + AzureQueryProperties, + BaseResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts b/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts index 18d1e9f6f3bd..45e0e9b28568 100644 --- a/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, - Certificate, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, + Certificate, CertificateCreateOrUpdateParameters, - CertificateUpdateParameters, CertificateListResult, - TrackedResource, + CertificateUpdateParameters, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts b/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts index 31e4834dd1f4..59ddcbcc2d76 100644 --- a/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - Connection, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - ConnectionTypeAssociationProperty, - ErrorResponse, + Certificate, + Connection, ConnectionCreateOrUpdateParameters, - ConnectionUpdateParameters, ConnectionListResult, - TrackedResource, - Certificate, + ConnectionTypeAssociationProperty, + ConnectionUpdateParameters, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts b/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts index cae28f245e15..1898c204b472 100644 --- a/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts @@ -1,18 +1,15 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, ConnectionType, - FieldDefinition, ConnectionTypeCreateOrUpdateParameters, - ConnectionTypeListResult + ConnectionTypeListResult, + ErrorResponse, + FieldDefinition } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts b/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts index 2973f0dcaa40..822830b5526a 100644 --- a/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts @@ -1,63 +1,61 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, - Credential, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - CredentialCreateOrUpdateParameters, - CredentialUpdateParameters, - CredentialListResult, - CloudError, - TrackedResource, Certificate, + CloudError, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, + Credential, + CredentialCreateOrUpdateParameters, + CredentialListResult, + CredentialUpdateParameters, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts index 92251becb527..34bf9bd707cc 100644 --- a/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - DscCompilationJobCreateParameters, - DscConfigurationAssociationProperty, - DscCompilationJob, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - ErrorResponse, - DscCompilationJobListResult, - JobStream, - TrackedResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, + DscCompilationJobCreateParameters, + DscCompilationJobListResult, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + JobStream, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts b/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts index 5973f43d0152..f1dfce049084 100644 --- a/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - JobStreamListResult, + ErrorResponse, JobStream, - ErrorResponse + JobStreamListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts index e142779f7cbe..e47dd3138098 100644 --- a/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts @@ -1,63 +1,61 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, - DscConfiguration, - TrackedResource, - Resource, - BaseResource, - DscConfigurationParameter, - ContentSource, - ContentHash, - DscConfigurationCreateOrUpdateParameters, - DscConfigurationUpdateParameters, - CloudError, - DscConfigurationListResult, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, AutomationAccount, - Sku, - ProxyResource, + AzureQueryProperties, + BaseResource, Certificate, + CloudError, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, + DscConfiguration, + DscConfigurationAssociationProperty, + DscConfigurationCreateOrUpdateParameters, + DscConfigurationListResult, + DscConfigurationParameter, + DscConfigurationUpdateParameters, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts index 7559b5fb9b02..3639503eafb1 100644 --- a/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts @@ -1,61 +1,59 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, - DscNodeConfiguration, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - DscConfigurationAssociationProperty, - DscNodeConfigurationCreateOrUpdateParameters, - ContentSource, - ContentHash, - DscNodeConfigurationListResult, - TrackedResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, + DscNode, + DscNodeConfiguration, + DscNodeConfigurationCreateOrUpdateParameters, + DscNodeConfigurationListResult, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts index 2d3724b4b957..a460c95c74da 100644 --- a/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - DscNode, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - DscNodeExtensionHandlerAssociationProperty, - ErrorResponse, - DscNodeUpdateParameters, - DscNodeUpdateParametersProperties, - DscNodeListResult, - TrackedResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + DscNodeListResult, + DscNodeUpdateParameters, + DscNodeUpdateParametersProperties, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/fieldsMappers.ts b/sdk/automation/arm-automation/src/models/fieldsMappers.ts index d1e251125d4d..c7bfc9962409 100644 --- a/sdk/automation/arm-automation/src/models/fieldsMappers.ts +++ b/sdk/automation/arm-automation/src/models/fieldsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - TypeFieldListResult, + ErrorResponse, TypeField, - ErrorResponse + TypeFieldListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts b/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts index 80eff3ce9d6d..970994a2278e 100644 --- a/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts @@ -1,19 +1,16 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ErrorResponse, - HybridRunbookWorkerGroup, HybridRunbookWorker, - RunAsCredentialAssociationProperty, + HybridRunbookWorkerGroup, + HybridRunbookWorkerGroupsListResult, HybridRunbookWorkerGroupUpdateParameters, - HybridRunbookWorkerGroupsListResult + RunAsCredentialAssociationProperty } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/index.ts b/sdk/automation/arm-automation/src/models/index.ts index 3a1c49549dc0..82d6caabc48f 100644 --- a/sdk/automation/arm-automation/src/models/index.ts +++ b/sdk/automation/arm-automation/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,5080 +11,4061 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing Sku. * The account SKU. - * */ export interface Sku { /** - * @member {SkuNameEnum} name Gets or sets the SKU name of the account. - * Possible values include: 'Free', 'Basic' + * Gets or sets the SKU name of the account. Possible values include: 'Free', 'Basic' */ name: SkuNameEnum; /** - * @member {string} [family] Gets or sets the SKU family. + * Gets or sets the SKU family. */ family?: string; /** - * @member {number} [capacity] Gets or sets the SKU capacity. + * Gets or sets the SKU capacity. */ capacity?: number; } /** - * @interface - * An interface representing Resource. * The core properties of ARM resources - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] Fully qualified resource Id for the resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Fully qualified resource Id for the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * @interface - * An interface representing TrackedResource. * The resource model definition for a ARM tracked top level resource - * - * @extends Resource */ export interface TrackedResource extends Resource { /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags. + * Resource tags. */ tags?: { [propertyName: string]: string }; /** - * @member {string} [location] The Azure Region where the resource lives + * The Azure Region where the resource lives */ location?: string; } /** - * @interface - * An interface representing AutomationAccount. * Definition of the automation account type. - * - * @extends TrackedResource */ export interface AutomationAccount extends TrackedResource { /** - * @member {Sku} [sku] Gets or sets the SKU of account. + * Gets or sets the SKU of account. */ sku?: Sku; /** - * @member {string} [lastModifiedBy] Gets or sets the last modified by. + * Gets or sets the last modified by. */ lastModifiedBy?: string; /** - * @member {AutomationAccountState} [state] Gets status of account. Possible - * values include: 'Ok', 'Unavailable', 'Suspended' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets status of account. Possible values include: 'Ok', 'Unavailable', 'Suspended' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly state?: AutomationAccountState; /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; /** - * @member {string} [etag] Gets or sets the etag of the resource. + * Gets or sets the etag of the resource. */ etag?: string; } /** - * @interface - * An interface representing AutomationAccountCreateOrUpdateParameters. - * The parameters supplied to the create or update automation account - * operation. - * + * The parameters supplied to the create or update automation account operation. */ export interface AutomationAccountCreateOrUpdateParameters { /** - * @member {Sku} [sku] Gets or sets account SKU. + * Gets or sets account SKU. */ sku?: Sku; /** - * @member {string} [name] Gets or sets name of the resource. + * Gets or sets name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing OperationDisplay. * Provider, Resource and Operation values - * */ export interface OperationDisplay { /** - * @member {string} [provider] Service provider: Microsoft.Automation + * Service provider: Microsoft.Automation */ provider?: string; /** - * @member {string} [resource] Resource on which the operation is performed: - * Runbooks, Jobs etc. + * Resource on which the operation is performed: Runbooks, Jobs etc. */ resource?: string; /** - * @member {string} [operation] Operation type: Read, write, delete, etc. + * Operation type: Read, write, delete, etc. */ operation?: string; } /** - * @interface - * An interface representing Operation. * Automation REST API operation - * */ export interface Operation { /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation} + * Operation name: {provider}/{resource}/{operation} */ name?: string; /** - * @member {OperationDisplay} [display] Provider, Resource and Operation - * values + * Provider, Resource and Operation values */ display?: OperationDisplay; } /** - * @interface - * An interface representing Statistics. * Definition of the statistic. - * */ export interface Statistics { /** - * @member {string} [counterProperty] Gets the property value of the - * statistic. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the property value of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly counterProperty?: string; /** - * @member {number} [counterValue] Gets the value of the statistic. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the value of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly counterValue?: number; /** - * @member {Date} [startTime] Gets the startTime of the statistic. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the startTime of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] Gets the endTime of the statistic. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the endTime of the statistic. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {string} [id] Gets the id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; } /** - * @interface - * An interface representing UsageCounterName. * Definition of usage counter name. - * */ export interface UsageCounterName { /** - * @member {string} [value] Gets or sets the usage counter name. + * Gets or sets the usage counter name. */ value?: string; /** - * @member {string} [localizedValue] Gets or sets the localized usage counter - * name. + * Gets or sets the localized usage counter name. */ localizedValue?: string; } /** - * @interface - * An interface representing Usage. * Definition of Usage. - * */ export interface Usage { /** - * @member {string} [id] Gets or sets the id of the resource. + * Gets or sets the id of the resource. */ id?: string; /** - * @member {UsageCounterName} [name] Gets or sets the usage counter name. + * Gets or sets the usage counter name. */ name?: UsageCounterName; /** - * @member {string} [unit] Gets or sets the usage unit name. + * Gets or sets the usage unit name. */ unit?: string; /** - * @member {number} [currentValue] Gets or sets the current usage value. + * Gets or sets the current usage value. */ currentValue?: number; /** - * @member {number} [limit] Gets or sets max limit. -1 for unlimited + * Gets or sets max limit. -1 for unlimited */ limit?: number; /** - * @member {string} [throttleStatus] Gets or sets the throttle status. + * Gets or sets the throttle status. */ throttleStatus?: string; } /** - * @interface - * An interface representing Key. * Automation key which is used to register a DSC Node - * */ export interface Key { /** - * @member {AutomationKeyName} [keyName] Automation key name. Possible values - * include: 'Primary', 'Secondary' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Automation key name. Possible values include: 'Primary', 'Secondary' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly keyName?: AutomationKeyName; /** - * @member {AutomationKeyPermissions} [permissions] Automation key - * permissions. Possible values include: 'Read', 'Full' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Automation key permissions. Possible values include: 'Read', 'Full' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly permissions?: AutomationKeyPermissions; /** - * @member {string} [value] Value of the Automation Key used for - * registration. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Value of the Automation Key used for registration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly value?: string; } /** - * @interface * An interface representing KeyListResult. */ export interface KeyListResult { /** - * @member {Key[]} [keys] Lists the automation keys. + * Lists the automation keys. */ keys?: Key[]; } /** - * @interface - * An interface representing AutomationAccountUpdateParameters. * The parameters supplied to the update automation account operation. - * */ export interface AutomationAccountUpdateParameters { /** - * @member {Sku} [sku] Gets or sets account SKU. + * Gets or sets account SKU. */ sku?: Sku; /** - * @member {string} [name] Gets or sets the name of the resource. + * Gets or sets the name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ProxyResource. * ARM proxy resource. - * - * @extends Resource */ export interface ProxyResource extends Resource { } /** - * @interface - * An interface representing ErrorResponse. * Error response of an operation failure - * */ export interface ErrorResponse { /** - * @member {string} [code] Error code + * Error code */ code?: string; /** - * @member {string} [message] Error message indicating why the operation - * failed. + * Error message indicating why the operation failed. */ message?: string; } /** - * @interface - * An interface representing CertificateCreateOrUpdateParameters. - * The parameters supplied to the create or update or replace certificate - * operation. - * + * The parameters supplied to the create or update or replace certificate operation. */ export interface CertificateCreateOrUpdateParameters { /** - * @member {string} name Gets or sets the name of the certificate. + * Gets or sets the name of the certificate. */ name: string; /** - * @member {string} base64Value Gets or sets the base64 encoded value of the - * certificate. + * Gets or sets the base64 encoded value of the certificate. */ base64Value: string; /** - * @member {string} [description] Gets or sets the description of the - * certificate. + * Gets or sets the description of the certificate. */ description?: string; /** - * @member {string} [thumbprint] Gets or sets the thumbprint of the - * certificate. + * Gets or sets the thumbprint of the certificate. */ thumbprint?: string; /** - * @member {boolean} [isExportable] Gets or sets the is exportable flag of - * the certificate. + * Gets or sets the is exportable flag of the certificate. */ isExportable?: boolean; } /** - * @interface - * An interface representing Certificate. * Definition of the certificate. - * - * @extends ProxyResource */ export interface Certificate extends ProxyResource { /** - * @member {string} [thumbprint] Gets the thumbprint of the certificate. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the thumbprint of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly thumbprint?: string; /** - * @member {Date} [expiryTime] Gets the expiry time of the certificate. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the expiry time of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly expiryTime?: Date; /** - * @member {boolean} [isExportable] Gets the is exportable flag of the - * certificate. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the is exportable flag of the certificate. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isExportable?: boolean; /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing CertificateUpdateParameters. * The parameters supplied to the update certificate operation. - * */ export interface CertificateUpdateParameters { /** - * @member {string} [name] Gets or sets the name of the certificate. + * Gets or sets the name of the certificate. */ name?: string; /** - * @member {string} [description] Gets or sets the description of the - * certificate. + * Gets or sets the description of the certificate. */ description?: string; } /** - * @interface - * An interface representing ConnectionTypeAssociationProperty. * The connection type property associated with the entity. - * */ export interface ConnectionTypeAssociationProperty { /** - * @member {string} [name] Gets or sets the name of the connection type. + * Gets or sets the name of the connection type. */ name?: string; } /** - * @interface - * An interface representing ConnectionCreateOrUpdateParameters. * The parameters supplied to the create or update connection operation. - * */ export interface ConnectionCreateOrUpdateParameters { /** - * @member {string} name Gets or sets the name of the connection. + * Gets or sets the name of the connection. */ name: string; /** - * @member {string} [description] Gets or sets the description of the - * connection. + * Gets or sets the description of the connection. */ description?: string; /** - * @member {ConnectionTypeAssociationProperty} connectionType Gets or sets - * the connectionType of the connection. + * Gets or sets the connectionType of the connection. */ connectionType: ConnectionTypeAssociationProperty; /** - * @member {{ [propertyName: string]: string }} [fieldDefinitionValues] Gets - * or sets the field definition properties of the connection. + * Gets or sets the field definition properties of the connection. */ fieldDefinitionValues?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Connection. * Definition of the connection. - * - * @extends ProxyResource */ export interface Connection extends ProxyResource { /** - * @member {ConnectionTypeAssociationProperty} [connectionType] Gets or sets - * the connectionType of the connection. + * Gets or sets the connectionType of the connection. */ connectionType?: ConnectionTypeAssociationProperty; /** - * @member {{ [propertyName: string]: string }} [fieldDefinitionValues] Gets - * the field definition values of the connection. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the field definition values of the connection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly fieldDefinitionValues?: { [propertyName: string]: string }; /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing ConnectionUpdateParameters. * The parameters supplied to the update connection operation. - * */ export interface ConnectionUpdateParameters { /** - * @member {string} [name] Gets or sets the name of the connection. + * Gets or sets the name of the connection. */ name?: string; /** - * @member {string} [description] Gets or sets the description of the - * connection. + * Gets or sets the description of the connection. */ description?: string; /** - * @member {{ [propertyName: string]: string }} [fieldDefinitionValues] Gets - * or sets the field definition values of the connection. + * Gets or sets the field definition values of the connection. */ fieldDefinitionValues?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing FieldDefinition. * Definition of the connection fields. - * */ export interface FieldDefinition { /** - * @member {boolean} [isEncrypted] Gets or sets the isEncrypted flag of the - * connection field definition. + * Gets or sets the isEncrypted flag of the connection field definition. */ isEncrypted?: boolean; /** - * @member {boolean} [isOptional] Gets or sets the isOptional flag of the - * connection field definition. + * Gets or sets the isOptional flag of the connection field definition. */ isOptional?: boolean; /** - * @member {string} type Gets or sets the type of the connection field - * definition. + * Gets or sets the type of the connection field definition. */ type: string; } /** - * @interface - * An interface representing ConnectionType. * Definition of the connection type. - * */ export interface ConnectionType { /** - * @member {string} [id] Gets the id of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the id of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Gets the name of the connection type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the name of the connection type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {boolean} [isGlobal] Gets or sets a Boolean value to indicate if - * the connection type is global. + * Gets or sets a Boolean value to indicate if the connection type is global. */ isGlobal?: boolean; /** - * @member {{ [propertyName: string]: FieldDefinition }} [fieldDefinitions] * Gets the field definitions of the connection type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly fieldDefinitions?: { [propertyName: string]: FieldDefinition }; /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing ConnectionTypeCreateOrUpdateParameters. * The parameters supplied to the create or update connection type operation. - * */ export interface ConnectionTypeCreateOrUpdateParameters { /** - * @member {string} name Gets or sets the name of the connection type. + * Gets or sets the name of the connection type. */ name: string; /** - * @member {boolean} [isGlobal] Gets or sets a Boolean value to indicate if - * the connection type is global. + * Gets or sets a Boolean value to indicate if the connection type is global. */ isGlobal?: boolean; /** - * @member {{ [propertyName: string]: FieldDefinition }} fieldDefinitions * Gets or sets the field definitions of the connection type. */ fieldDefinitions: { [propertyName: string]: FieldDefinition }; } /** - * @interface - * An interface representing CredentialCreateOrUpdateParameters. * The parameters supplied to the create or update credential operation. - * */ export interface CredentialCreateOrUpdateParameters { /** - * @member {string} name Gets or sets the name of the credential. + * Gets or sets the name of the credential. */ name: string; /** - * @member {string} userName Gets or sets the user name of the credential. + * Gets or sets the user name of the credential. */ userName: string; /** - * @member {string} password Gets or sets the password of the credential. + * Gets or sets the password of the credential. */ password: string; /** - * @member {string} [description] Gets or sets the description of the - * credential. + * Gets or sets the description of the credential. */ description?: string; } /** - * @interface - * An interface representing Credential. * Definition of the credential. - * - * @extends ProxyResource */ export interface Credential extends ProxyResource { /** - * @member {string} [userName] Gets the user name of the credential. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the user name of the credential. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly userName?: string; /** - * @member {Date} [creationTime] Gets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing CredentialUpdateParameters. * The parameters supplied to the Update credential operation. - * */ export interface CredentialUpdateParameters { /** - * @member {string} [name] Gets or sets the name of the credential. + * Gets or sets the name of the credential. */ name?: string; /** - * @member {string} [userName] Gets or sets the user name of the credential. + * Gets or sets the user name of the credential. */ userName?: string; /** - * @member {string} [password] Gets or sets the password of the credential. + * Gets or sets the password of the credential. */ password?: string; /** - * @member {string} [description] Gets or sets the description of the - * credential. + * Gets or sets the description of the credential. */ description?: string; } /** - * @interface - * An interface representing ContentHash. * Definition of the runbook property type. - * */ export interface ContentHash { /** - * @member {string} algorithm Gets or sets the content hash algorithm used to - * hash the content. + * Gets or sets the content hash algorithm used to hash the content. */ algorithm: string; /** - * @member {string} value Gets or sets expected hash value of the content. + * Gets or sets expected hash value of the content. */ value: string; } /** - * @interface - * An interface representing ContentSource. * Definition of the content source. - * */ export interface ContentSource { /** - * @member {ContentHash} [hash] Gets or sets the hash. + * Gets or sets the hash. */ hash?: ContentHash; /** - * @member {ContentSourceType} [type] Gets or sets the content source type. - * Possible values include: 'embeddedContent', 'uri' + * Gets or sets the content source type. Possible values include: 'embeddedContent', 'uri' */ type?: ContentSourceType; /** - * @member {string} [value] Gets or sets the value of the content. This is - * based on the content source type. + * Gets or sets the value of the content. This is based on the content source type. */ value?: string; /** - * @member {string} [version] Gets or sets the version of the content. + * Gets or sets the version of the content. */ version?: string; } /** - * @interface - * An interface representing DscConfigurationParameter. * Definition of the configuration parameter type. - * */ export interface DscConfigurationParameter { /** - * @member {string} [type] Gets or sets the type of the parameter. + * Gets or sets the type of the parameter. */ type?: string; /** - * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is madatory or not. + * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ isMandatory?: boolean; /** - * @member {number} [position] Get or sets the position of the parameter. + * Get or sets the position of the parameter. */ position?: number; /** - * @member {string} [defaultValue] Gets or sets the default value of - * parameter. + * Gets or sets the default value of parameter. */ defaultValue?: string; } /** - * @interface - * An interface representing DscConfigurationCreateOrUpdateParameters. * The parameters supplied to the create or update configuration operation. - * */ export interface DscConfigurationCreateOrUpdateParameters { /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. + * Gets or sets verbose log option. */ logVerbose?: boolean; /** - * @member {boolean} [logProgress] Gets or sets progress log option. + * Gets or sets progress log option. */ logProgress?: boolean; /** - * @member {ContentSource} source Gets or sets the source. + * Gets or sets the source. */ source: ContentSource; /** - * @member {{ [propertyName: string]: DscConfigurationParameter }} - * [parameters] Gets or sets the configuration parameters. + * Gets or sets the configuration parameters. */ parameters?: { [propertyName: string]: DscConfigurationParameter }; /** - * @member {string} [description] Gets or sets the description of the - * configuration. + * Gets or sets the description of the configuration. */ description?: string; /** - * @member {string} [name] Gets or sets name of the resource. + * Gets or sets name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing DscConfiguration. * Definition of the configuration type. - * - * @extends TrackedResource */ export interface DscConfiguration extends TrackedResource { /** - * @member {DscConfigurationProvisioningState} [provisioningState] Gets or - * sets the provisioning state of the configuration. Possible values include: - * 'Succeeded' + * Gets or sets the provisioning state of the configuration. Possible values include: 'Succeeded' */ provisioningState?: DscConfigurationProvisioningState; /** - * @member {number} [jobCount] Gets or sets the job count of the - * configuration. + * Gets or sets the job count of the configuration. */ jobCount?: number; /** - * @member {{ [propertyName: string]: DscConfigurationParameter }} - * [parameters] Gets or sets the configuration parameters. + * Gets or sets the configuration parameters. */ parameters?: { [propertyName: string]: DscConfigurationParameter }; /** - * @member {ContentSource} [source] Gets or sets the source. + * Gets or sets the source. */ source?: ContentSource; /** - * @member {DscConfigurationState} [state] Gets or sets the state of the - * configuration. Possible values include: 'New', 'Edit', 'Published' + * Gets or sets the state of the configuration. Possible values include: 'New', 'Edit', + * 'Published' */ state?: DscConfigurationState; /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. + * Gets or sets verbose log option. */ logVerbose?: boolean; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {number} [nodeConfigurationCount] Gets the number of compiled node - * configurations. + * Gets the number of compiled node configurations. */ nodeConfigurationCount?: number; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; /** - * @member {string} [etag] Gets or sets the etag of the resource. + * Gets or sets the etag of the resource. */ etag?: string; } /** - * @interface - * An interface representing DscConfigurationUpdateParameters. * The parameters supplied to the create or update configuration operation. - * */ export interface DscConfigurationUpdateParameters { /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. + * Gets or sets verbose log option. */ logVerbose?: boolean; /** - * @member {boolean} [logProgress] Gets or sets progress log option. + * Gets or sets progress log option. */ logProgress?: boolean; /** - * @member {ContentSource} source Gets or sets the source. + * Gets or sets the source. */ source: ContentSource; /** - * @member {{ [propertyName: string]: DscConfigurationParameter }} - * [parameters] Gets or sets the configuration parameters. + * Gets or sets the configuration parameters. */ parameters?: { [propertyName: string]: DscConfigurationParameter }; /** - * @member {string} [description] Gets or sets the description of the - * configuration. + * Gets or sets the description of the configuration. */ description?: string; /** - * @member {string} [name] Gets or sets name of the resource. + * Gets or sets name of the resource. */ name?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing RunAsCredentialAssociationProperty. - * Definition of runas credential to use for hybrid worker. - * + * Definition of RunAs credential to use for hybrid worker. */ export interface RunAsCredentialAssociationProperty { /** - * @member {string} [name] Gets or sets the name of the credential. + * Gets or sets the name of the credential. */ name?: string; } /** - * @interface - * An interface representing HybridRunbookWorker. * Definition of hybrid runbook worker. - * */ export interface HybridRunbookWorker { /** - * @member {string} [name] Gets or sets the worker machine name. + * Gets or sets the worker machine name. */ name?: string; /** - * @member {string} [ip] Gets or sets the assigned machine IP address. + * Gets or sets the assigned machine IP address. */ ip?: string; /** - * @member {Date} [registrationTime] Gets or sets the registration time of - * the worker machine. + * Gets or sets the registration time of the worker machine. */ registrationTime?: Date; /** - * @member {Date} [lastSeenDateTime] Last Heartbeat from the Worker + * Last Heartbeat from the Worker */ lastSeenDateTime?: Date; } /** - * @interface - * An interface representing HybridRunbookWorkerGroup. * Definition of hybrid runbook worker group. - * */ export interface HybridRunbookWorkerGroup { /** - * @member {string} [id] Gets or sets the id of the resource. + * Gets or sets the id of the resource. */ id?: string; /** - * @member {string} [name] Gets or sets the name of the group. + * Gets or sets the name of the group. */ name?: string; /** - * @member {HybridRunbookWorker[]} [hybridRunbookWorkers] Gets or sets the - * list of hybrid runbook workers. + * Gets or sets the list of hybrid runbook workers. */ hybridRunbookWorkers?: HybridRunbookWorker[]; /** - * @member {RunAsCredentialAssociationProperty} [credential] Sets the - * credential of a worker group. + * Sets the credential of a worker group. */ credential?: RunAsCredentialAssociationProperty; /** - * @member {GroupTypeEnum} [groupType] Type of the HybridWorkerGroup. - * Possible values include: 'User', 'System' + * Type of the HybridWorkerGroup. Possible values include: 'User', 'System' */ groupType?: GroupTypeEnum; } /** - * @interface - * An interface representing HybridRunbookWorkerGroupUpdateParameters. * Parameters supplied to the update operation. - * */ export interface HybridRunbookWorkerGroupUpdateParameters { /** - * @member {RunAsCredentialAssociationProperty} [credential] Sets the - * credential of a worker group. + * Sets the credential of a worker group. */ credential?: RunAsCredentialAssociationProperty; } /** - * @interface - * An interface representing ScheduleAssociationProperty. * The schedule property associated with the entity. - * */ export interface ScheduleAssociationProperty { /** - * @member {string} [name] Gets or sets the name of the Schedule. + * Gets or sets the name of the Schedule. */ name?: string; } /** - * @interface - * An interface representing RunbookAssociationProperty. * The runbook property associated with the entity. - * */ export interface RunbookAssociationProperty { /** - * @member {string} [name] Gets or sets the name of the runbook. + * Gets or sets the name of the runbook. */ name?: string; } /** - * @interface - * An interface representing JobSchedule. * Definition of the job schedule. - * */ export interface JobSchedule { /** - * @member {string} [id] Gets the id of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the id of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Gets the name of the variable. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the name of the variable. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} [jobScheduleId] Gets or sets the id of job schedule. + * Gets or sets the id of job schedule. */ jobScheduleId?: string; /** - * @member {ScheduleAssociationProperty} [schedule] Gets or sets the - * schedule. + * Gets or sets the schedule. */ schedule?: ScheduleAssociationProperty; /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. + * Gets or sets the runbook. */ runbook?: RunbookAssociationProperty; /** - * @member {string} [runOn] Gets or sets the hybrid worker group that the - * scheduled job should run on. + * Gets or sets the hybrid worker group that the scheduled job should run on. */ runOn?: string; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job schedule. + * Gets or sets the parameters of the job schedule. */ parameters?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing JobScheduleCreateParameters. * The parameters supplied to the create job schedule operation. - * */ export interface JobScheduleCreateParameters { /** - * @member {ScheduleAssociationProperty} schedule Gets or sets the schedule. + * Gets or sets the schedule. */ schedule: ScheduleAssociationProperty; /** - * @member {RunbookAssociationProperty} runbook Gets or sets the runbook. + * Gets or sets the runbook. */ runbook: RunbookAssociationProperty; /** - * @member {string} [runOn] Gets or sets the hybrid worker group that the - * scheduled job should run on. + * Gets or sets the hybrid worker group that the scheduled job should run on. */ runOn?: string; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets a - * list of job properties. + * Gets or sets a list of job properties. */ parameters?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing LinkedWorkspace. * Definition of the linked workspace. - * */ export interface LinkedWorkspace { /** - * @member {string} [id] Gets the id of the linked workspace. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the id of the linked workspace. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; } /** - * @interface - * An interface representing ActivityParameterValidationSet. * Definition of the activity parameter validation set. - * */ export interface ActivityParameterValidationSet { /** - * @member {string} [memberValue] Gets or sets the name of the activity - * parameter validation set member. + * Gets or sets the name of the activity parameter validation set member. */ memberValue?: string; } /** - * @interface - * An interface representing ActivityParameter. * Definition of the activity parameter. - * */ export interface ActivityParameter { /** - * @member {string} [name] Gets or sets the name of the activity parameter. + * Gets or sets the name of the activity parameter. */ name?: string; /** - * @member {string} [type] Gets or sets the type of the activity parameter. + * Gets or sets the type of the activity parameter. */ type?: string; /** - * @member {boolean} [isMandatory] Gets or sets a Boolean value that - * indicates true if the parameter is required. If the value is false, the - * parameter is optional. + * Gets or sets a Boolean value that indicates true if the parameter is required. If the value is + * false, the parameter is optional. */ isMandatory?: boolean; /** - * @member {boolean} [isDynamic] Gets or sets a Boolean value that indicates - * true if the parameter is dynamic. + * Gets or sets a Boolean value that indicates true if the parameter is dynamic. */ isDynamic?: boolean; /** - * @member {number} [position] Gets or sets the position of the activity - * parameter. + * Gets or sets the position of the activity parameter. */ position?: number; /** - * @member {boolean} [valueFromPipeline] Gets or sets a Boolean value that - * indicates true if the parameter can take values from the incoming pipeline - * objects. This setting is used if the cmdlet must access the complete input - * object. false indicates that the parameter cannot take values from the - * complete input object. + * Gets or sets a Boolean value that indicates true if the parameter can take values from the + * incoming pipeline objects. This setting is used if the cmdlet must access the complete input + * object. false indicates that the parameter cannot take values from the complete input object. */ valueFromPipeline?: boolean; /** - * @member {boolean} [valueFromPipelineByPropertyName] Gets or sets a Boolean - * value that indicates true if the parameter can be filled from a property - * of the incoming pipeline object that has the same name as this parameter. - * false indicates that the parameter cannot be filled from the incoming - * pipeline object property with the same name. + * Gets or sets a Boolean value that indicates true if the parameter can be filled from a + * property of the incoming pipeline object that has the same name as this parameter. false + * indicates that the parameter cannot be filled from the incoming pipeline object property with + * the same name. */ valueFromPipelineByPropertyName?: boolean; /** - * @member {boolean} [valueFromRemainingArguments] Gets or sets a Boolean - * value that indicates true if the cmdlet parameter accepts all the - * remaining command-line arguments that are associated with this parameter - * in the form of an array. false if the cmdlet parameter does not accept all - * the remaining argument values. + * Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the + * remaining command-line arguments that are associated with this parameter in the form of an + * array. false if the cmdlet parameter does not accept all the remaining argument values. */ valueFromRemainingArguments?: boolean; /** - * @member {string} [description] Gets or sets the description of the - * activity parameter. + * Gets or sets the description of the activity parameter. */ description?: string; /** - * @member {ActivityParameterValidationSet[]} [validationSet] Gets or sets - * the validation set of activity parameter. + * Gets or sets the validation set of activity parameter. */ validationSet?: ActivityParameterValidationSet[]; } /** - * @interface - * An interface representing ActivityParameterSet. * Definition of the activity parameter set. - * */ export interface ActivityParameterSet { /** - * @member {string} [name] Gets or sets the name of the activity parameter - * set. + * Gets or sets the name of the activity parameter set. */ name?: string; /** - * @member {ActivityParameter[]} [parameters] Gets or sets the parameters of - * the activity parameter set. + * Gets or sets the parameters of the activity parameter set. */ parameters?: ActivityParameter[]; } /** - * @interface - * An interface representing ActivityOutputType. * Definition of the activity output type. - * */ export interface ActivityOutputType { /** - * @member {string} [name] Gets or sets the name of the activity output type. + * Gets or sets the name of the activity output type. */ name?: string; /** - * @member {string} [type] Gets or sets the type of the activity output type. + * Gets or sets the type of the activity output type. */ type?: string; } /** - * @interface - * An interface representing Activity. * Definition of the activity. - * */ export interface Activity { /** - * @member {string} [id] Gets or sets the id of the resource. + * Gets or sets the id of the resource. */ id?: string; /** - * @member {string} [name] Gets the name of the activity. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the name of the activity. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [definition] Gets or sets the user name of the activity. + * Gets or sets the user name of the activity. */ definition?: string; /** - * @member {ActivityParameterSet[]} [parameterSets] Gets or sets the - * parameter sets of the activity. + * Gets or sets the parameter sets of the activity. */ parameterSets?: ActivityParameterSet[]; /** - * @member {ActivityOutputType[]} [outputTypes] Gets or sets the output types - * of the activity. + * Gets or sets the output types of the activity. */ outputTypes?: ActivityOutputType[]; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing ModuleErrorInfo. * Definition of the module error info type. - * */ export interface ModuleErrorInfo { /** - * @member {string} [code] Gets or sets the error code. + * Gets or sets the error code. */ code?: string; /** - * @member {string} [message] Gets or sets the error message. + * Gets or sets the error message. */ message?: string; } /** - * @interface - * An interface representing ContentLink. * Definition of the content link. - * */ export interface ContentLink { /** - * @member {string} [uri] Gets or sets the uri of the runbook content. + * Gets or sets the uri of the runbook content. */ uri?: string; /** - * @member {ContentHash} [contentHash] Gets or sets the hash. + * Gets or sets the hash. */ contentHash?: ContentHash; /** - * @member {string} [version] Gets or sets the version of the content. + * Gets or sets the version of the content. */ version?: string; } /** - * @interface - * An interface representing Module. * Definition of the module type. - * - * @extends TrackedResource */ export interface Module extends TrackedResource { /** - * @member {boolean} [isGlobal] Gets or sets the isGlobal flag of the module. + * Gets or sets the isGlobal flag of the module. */ isGlobal?: boolean; /** - * @member {string} [version] Gets or sets the version of the module. + * Gets or sets the version of the module. */ version?: string; /** - * @member {number} [sizeInBytes] Gets or sets the size in bytes of the - * module. + * Gets or sets the size in bytes of the module. */ sizeInBytes?: number; /** - * @member {number} [activityCount] Gets or sets the activity count of the - * module. + * Gets or sets the activity count of the module. */ activityCount?: number; /** - * @member {ModuleProvisioningState} [provisioningState] Gets or sets the - * provisioning state of the module. Possible values include: 'Created', - * 'Creating', 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', - * 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', - * 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', - * 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', + * Gets or sets the provisioning state of the module. Possible values include: 'Created', + * 'Creating', 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', 'ContentRetrieved', + * 'ContentDownloaded', 'ContentValidated', 'ConnectionTypeImported', 'ContentStored', + * 'ModuleDataStored', 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', * 'Cancelled', 'Updating' */ provisioningState?: ModuleProvisioningState; /** - * @member {ContentLink} [contentLink] Gets or sets the contentLink of the - * module. + * Gets or sets the contentLink of the module. */ contentLink?: ContentLink; /** - * @member {ModuleErrorInfo} [error] Gets or sets the error info of the - * module. + * Gets or sets the error info of the module. */ error?: ModuleErrorInfo; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; /** - * @member {boolean} [isComposite] Gets or sets type of module, if its - * composite or not. + * Gets or sets type of module, if its composite or not. */ isComposite?: boolean; /** - * @member {string} [etag] Gets or sets the etag of the resource. + * Gets or sets the etag of the resource. */ etag?: string; } /** - * @interface - * An interface representing ModuleCreateOrUpdateParameters. * The parameters supplied to the create or update module operation. - * */ export interface ModuleCreateOrUpdateParameters { /** - * @member {ContentLink} contentLink Gets or sets the module content link. + * Gets or sets the module content link. */ contentLink: ContentLink; /** - * @member {string} [name] Gets or sets name of the resource. + * Gets or sets name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ModuleUpdateParameters. * The parameters supplied to the update module operation. - * */ export interface ModuleUpdateParameters { /** - * @member {ContentLink} [contentLink] Gets or sets the module content link. + * Gets or sets the module content link. */ contentLink?: ContentLink; /** - * @member {string} [name] Gets or sets name of the resource. + * Gets or sets name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing TypeField. * Information about a field of a type. - * */ export interface TypeField { /** - * @member {string} [name] Gets or sets the name of the field. + * Gets or sets the name of the field. */ name?: string; /** - * @member {string} [type] Gets or sets the type of the field. + * Gets or sets the type of the field. */ type?: string; } /** - * @interface - * An interface representing AdvancedScheduleMonthlyOccurrence. * The properties of the create advanced schedule monthly occurrence. - * */ export interface AdvancedScheduleMonthlyOccurrence { /** - * @member {number} [occurrence] Occurrence of the week within the month. - * Must be between 1 and 5 + * Occurrence of the week within the month. Must be between 1 and 5 */ occurrence?: number; /** - * @member {ScheduleDay} [day] Day of the occurrence. Must be one of monday, - * tuesday, wednesday, thursday, friday, saturday, sunday. Possible values - * include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, + * sunday. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', * 'Saturday', 'Sunday' */ day?: ScheduleDay; } /** - * @interface - * An interface representing AdvancedSchedule. * The properties of the create Advanced Schedule. - * */ export interface AdvancedSchedule { /** - * @member {string[]} [weekDays] Days of the week that the job should execute - * on. + * Days of the week that the job should execute on. */ weekDays?: string[]; /** - * @member {number[]} [monthDays] Days of the month that the job should - * execute on. Must be between 1 and 31. + * Days of the month that the job should execute on. Must be between 1 and 31. */ monthDays?: number[]; /** - * @member {AdvancedScheduleMonthlyOccurrence[]} [monthlyOccurrences] * Occurrences of days within a month. */ monthlyOccurrences?: AdvancedScheduleMonthlyOccurrence[]; } /** - * @interface - * An interface representing ScheduleCreateOrUpdateParameters. * The parameters supplied to the create or update schedule operation. - * */ export interface ScheduleCreateOrUpdateParameters { /** - * @member {string} name Gets or sets the name of the Schedule. + * Gets or sets the name of the Schedule. */ name: string; /** - * @member {string} [description] Gets or sets the description of the - * schedule. + * Gets or sets the description of the schedule. */ description?: string; /** - * @member {Date} startTime Gets or sets the start time of the schedule. + * Gets or sets the start time of the schedule. */ startTime: Date; /** - * @member {Date} [expiryTime] Gets or sets the end time of the schedule. + * Gets or sets the end time of the schedule. */ expiryTime?: Date; /** - * @member {any} [interval] Gets or sets the interval of the schedule. + * Gets or sets the interval of the schedule. */ interval?: any; /** - * @member {ScheduleFrequency} frequency Possible values include: 'OneTime', - * 'Day', 'Hour', 'Week', 'Month' + * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' */ frequency: ScheduleFrequency; /** - * @member {string} [timeZone] Gets or sets the time zone of the schedule. + * Gets or sets the time zone of the schedule. */ timeZone?: string; /** - * @member {AdvancedSchedule} [advancedSchedule] Gets or sets the - * AdvancedSchedule. + * Gets or sets the AdvancedSchedule. */ advancedSchedule?: AdvancedSchedule; } /** - * @interface - * An interface representing ScheduleProperties. * Definition of schedule parameters. - * */ export interface ScheduleProperties { /** - * @member {Date} [startTime] Gets or sets the start time of the schedule. + * Gets or sets the start time of the schedule. */ startTime?: Date; /** - * @member {number} [startTimeOffsetMinutes] Gets the start time's offset in - * minutes. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the start time's offset in minutes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTimeOffsetMinutes?: number; /** - * @member {Date} [expiryTime] Gets or sets the end time of the schedule. + * Gets or sets the end time of the schedule. */ expiryTime?: Date; /** - * @member {number} [expiryTimeOffsetMinutes] Gets or sets the expiry time's - * offset in minutes. + * Gets or sets the expiry time's offset in minutes. */ expiryTimeOffsetMinutes?: number; /** - * @member {boolean} [isEnabled] Gets or sets a value indicating whether this - * schedule is enabled. Default value: false . + * Gets or sets a value indicating whether this schedule is enabled. Default value: false. */ isEnabled?: boolean; /** - * @member {Date} [nextRun] Gets or sets the next run time of the schedule. + * Gets or sets the next run time of the schedule. */ nextRun?: Date; /** - * @member {number} [nextRunOffsetMinutes] Gets or sets the next run time's - * offset in minutes. + * Gets or sets the next run time's offset in minutes. */ nextRunOffsetMinutes?: number; /** - * @member {number} [interval] Gets or sets the interval of the schedule. + * Gets or sets the interval of the schedule. */ interval?: number; /** - * @member {ScheduleFrequency} [frequency] Gets or sets the frequency of the - * schedule. Possible values include: 'OneTime', 'Day', 'Hour', 'Week', - * 'Month' + * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', + * 'Week', 'Month' */ frequency?: ScheduleFrequency; /** - * @member {string} [timeZone] Gets or sets the time zone of the schedule. + * Gets or sets the time zone of the schedule. */ timeZone?: string; /** - * @member {AdvancedSchedule} [advancedSchedule] Gets or sets the advanced - * schedule. + * Gets or sets the advanced schedule. */ advancedSchedule?: AdvancedSchedule; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing Schedule. * Definition of the schedule. - * - * @extends ProxyResource */ export interface Schedule extends ProxyResource { /** - * @member {Date} [startTime] Gets or sets the start time of the schedule. + * Gets or sets the start time of the schedule. */ startTime?: Date; /** - * @member {number} [startTimeOffsetMinutes] Gets the start time's offset in - * minutes. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the start time's offset in minutes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTimeOffsetMinutes?: number; /** - * @member {Date} [expiryTime] Gets or sets the end time of the schedule. + * Gets or sets the end time of the schedule. */ expiryTime?: Date; /** - * @member {number} [expiryTimeOffsetMinutes] Gets or sets the expiry time's - * offset in minutes. + * Gets or sets the expiry time's offset in minutes. */ expiryTimeOffsetMinutes?: number; /** - * @member {boolean} [isEnabled] Gets or sets a value indicating whether this - * schedule is enabled. Default value: false . + * Gets or sets a value indicating whether this schedule is enabled. Default value: false. */ isEnabled?: boolean; /** - * @member {Date} [nextRun] Gets or sets the next run time of the schedule. + * Gets or sets the next run time of the schedule. */ nextRun?: Date; /** - * @member {number} [nextRunOffsetMinutes] Gets or sets the next run time's - * offset in minutes. + * Gets or sets the next run time's offset in minutes. */ nextRunOffsetMinutes?: number; /** - * @member {number} [interval] Gets or sets the interval of the schedule. + * Gets or sets the interval of the schedule. */ interval?: number; /** - * @member {ScheduleFrequency} [frequency] Gets or sets the frequency of the - * schedule. Possible values include: 'OneTime', 'Day', 'Hour', 'Week', - * 'Month' + * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', + * 'Week', 'Month' */ frequency?: ScheduleFrequency; /** - * @member {string} [timeZone] Gets or sets the time zone of the schedule. + * Gets or sets the time zone of the schedule. */ timeZone?: string; /** - * @member {AdvancedSchedule} [advancedSchedule] Gets or sets the advanced - * schedule. + * Gets or sets the advanced schedule. */ advancedSchedule?: AdvancedSchedule; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing ScheduleUpdateParameters. * The parameters supplied to the update schedule operation. - * */ export interface ScheduleUpdateParameters { /** - * @member {string} [name] Gets or sets the name of the Schedule. + * Gets or sets the name of the Schedule. */ name?: string; /** - * @member {string} [description] Gets or sets the description of the - * schedule. + * Gets or sets the description of the schedule. */ description?: string; /** - * @member {boolean} [isEnabled] Gets or sets a value indicating whether this - * schedule is enabled. + * Gets or sets a value indicating whether this schedule is enabled. */ isEnabled?: boolean; } /** - * @interface - * An interface representing VariableCreateOrUpdateParameters. * The parameters supplied to the create or update variable operation. - * */ export interface VariableCreateOrUpdateParameters { /** - * @member {string} name Gets or sets the name of the variable. + * Gets or sets the name of the variable. */ name: string; /** - * @member {string} [value] Gets or sets the value of the variable. + * Gets or sets the value of the variable. */ value?: string; /** - * @member {string} [description] Gets or sets the description of the - * variable. + * Gets or sets the description of the variable. */ description?: string; /** - * @member {boolean} [isEncrypted] Gets or sets the encrypted flag of the - * variable. + * Gets or sets the encrypted flag of the variable. */ isEncrypted?: boolean; } /** - * @interface - * An interface representing Variable. - * Definition of the varible. - * - * @extends ProxyResource + * Definition of the variable. */ export interface Variable extends ProxyResource { /** - * @member {string} [value] Gets or sets the value of the variable. + * Gets or sets the value of the variable. */ value?: string; /** - * @member {boolean} [isEncrypted] Gets or sets the encrypted flag of the - * variable. + * Gets or sets the encrypted flag of the variable. */ isEncrypted?: boolean; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing VariableUpdateParameters. * The parameters supplied to the update variable operation. - * */ export interface VariableUpdateParameters { /** - * @member {string} [name] Gets or sets the name of the variable. + * Gets or sets the name of the variable. */ name?: string; /** - * @member {string} [value] Gets or sets the value of the variable. + * Gets or sets the value of the variable. */ value?: string; /** - * @member {string} [description] Gets or sets the description of the - * variable. + * Gets or sets the description of the variable. */ description?: string; } /** - * @interface - * An interface representing Webhook. * Definition of the webhook type. - * - * @extends ProxyResource */ export interface Webhook extends ProxyResource { /** - * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag - * of the webhook. Default value: false . + * Gets or sets the value of the enabled flag of the webhook. Default value: false. */ isEnabled?: boolean; /** - * @member {string} [uri] Gets or sets the webhook uri. + * Gets or sets the webhook uri. */ uri?: string; /** - * @member {Date} [expiryTime] Gets or sets the expiry time. + * Gets or sets the expiry time. */ expiryTime?: Date; /** - * @member {Date} [lastInvokedTime] Gets or sets the last invoked time. + * Gets or sets the last invoked time. */ lastInvokedTime?: Date; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job that is created when the webhook calls the runbook - * it is associated with. + * Gets or sets the parameters of the job that is created when the webhook calls the runbook it + * is associated with. */ parameters?: { [propertyName: string]: string }; /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook - * the webhook is associated with. + * Gets or sets the runbook the webhook is associated with. */ runbook?: RunbookAssociationProperty; /** - * @member {string} [runOn] Gets or sets the name of the hybrid worker group - * the webhook job will run on. + * Gets or sets the name of the hybrid worker group the webhook job will run on. */ runOn?: string; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] Details of the user who last modified - * the Webhook + * Details of the user who last modified the Webhook */ lastModifiedBy?: string; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; } /** - * @interface - * An interface representing WebhookUpdateParameters. * The parameters supplied to the update webhook operation. - * */ export interface WebhookUpdateParameters { /** - * @member {string} [name] Gets or sets the name of the webhook. + * Gets or sets the name of the webhook. */ name?: string; /** - * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag - * of webhook. + * Gets or sets the value of the enabled flag of webhook. */ isEnabled?: boolean; /** - * @member {string} [runOn] Gets or sets the name of the hybrid worker group - * the webhook job will run on. + * Gets or sets the name of the hybrid worker group the webhook job will run on. */ runOn?: string; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; /** - * @member {string} [description] Gets or sets the description of the - * webhook. + * Gets or sets the description of the webhook. */ description?: string; } /** - * @interface - * An interface representing WebhookCreateOrUpdateParameters. * The parameters supplied to the create or update webhook operation. - * */ export interface WebhookCreateOrUpdateParameters { /** - * @member {string} name Gets or sets the name of the webhook. + * Gets or sets the name of the webhook. */ name: string; /** - * @member {boolean} [isEnabled] Gets or sets the value of the enabled flag - * of webhook. + * Gets or sets the value of the enabled flag of webhook. */ isEnabled?: boolean; /** - * @member {string} [uri] Gets or sets the uri. + * Gets or sets the uri. */ uri?: string; /** - * @member {Date} [expiryTime] Gets or sets the expiry time. + * Gets or sets the expiry time. */ expiryTime?: Date; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. + * Gets or sets the runbook. */ runbook?: RunbookAssociationProperty; /** - * @member {string} [runOn] Gets or sets the name of the hybrid worker group - * the webhook job will run on. + * Gets or sets the name of the hybrid worker group the webhook job will run on. */ runOn?: string; } /** - * @interface - * An interface representing Watcher. * Definition of the watcher type. - * - * @extends TrackedResource */ export interface Watcher extends TrackedResource { /** - * @member {number} [executionFrequencyInSeconds] Gets or sets the frequency - * at which the watcher is invoked. + * Gets or sets the frequency at which the watcher is invoked. */ executionFrequencyInSeconds?: number; /** - * @member {string} [scriptName] Gets or sets the name of the script the - * watcher is attached to, i.e. the name of an existing runbook. + * Gets or sets the name of the script the watcher is attached to, i.e. the name of an existing + * runbook. */ scriptName?: string; /** - * @member {{ [propertyName: string]: string }} [scriptParameters] Gets or - * sets the parameters of the script. + * Gets or sets the parameters of the script. */ scriptParameters?: { [propertyName: string]: string }; /** - * @member {string} [scriptRunOn] Gets or sets the name of the hybrid worker - * group the watcher will run on. + * Gets or sets the name of the hybrid worker group the watcher will run on. */ scriptRunOn?: string; /** - * @member {string} [status] Gets the current status of the watcher. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the current status of the watcher. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: string; /** - * @member {Date} [creationTime] Gets or sets the creation time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets or sets the creation time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets or sets the last modified time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] Details of the user who last modified - * the watcher. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Details of the user who last modified the watcher. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedBy?: string; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; /** - * @member {string} [etag] Gets or sets the etag of the resource. + * Gets or sets the etag of the resource. */ etag?: string; } /** - * @interface * An interface representing WatcherUpdateParameters. */ export interface WatcherUpdateParameters { /** - * @member {number} [executionFrequencyInSeconds] Gets or sets the frequency - * at which the watcher is invoked. + * Gets or sets the frequency at which the watcher is invoked. */ executionFrequencyInSeconds?: number; /** - * @member {string} [name] Gets or sets the name of the resource. + * Gets or sets the name of the resource. */ name?: string; } /** - * @interface - * An interface representing WindowsProperties. * Windows specific update configuration. - * */ export interface WindowsProperties { /** - * @member {WindowsUpdateClasses} [includedUpdateClassifications] Update - * classification included in the software update configuration. A comma - * separated string with required values. Possible values include: - * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * Update classification included in the software update configuration. A comma separated string + * with required values. Possible values include: 'Unclassified', 'Critical', 'Security', + * 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', 'Updates' */ includedUpdateClassifications?: WindowsUpdateClasses; /** - * @member {string[]} [excludedKbNumbers] KB numbers excluded from the - * software update configuration. + * KB numbers excluded from the software update configuration. */ excludedKbNumbers?: string[]; /** - * @member {string[]} [includedKbNumbers] KB numbers included from the - * software update configuration. + * KB numbers included from the software update configuration. */ includedKbNumbers?: string[]; /** - * @member {string} [rebootSetting] Reboot setting for the software update - * configuration. + * Reboot setting for the software update configuration. */ rebootSetting?: string; } /** - * @interface - * An interface representing LinuxProperties. * Linux specific update configuration. - * */ export interface LinuxProperties { /** - * @member {LinuxUpdateClasses} [includedPackageClassifications] Update - * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * Update classifications included in the software update configuration. Possible values include: + * 'Unclassified', 'Critical', 'Security', 'Other' */ includedPackageClassifications?: LinuxUpdateClasses; /** - * @member {string[]} [excludedPackageNameMasks] packages excluded from the - * software update configuration. + * packages excluded from the software update configuration. */ excludedPackageNameMasks?: string[]; /** - * @member {string[]} [includedPackageNameMasks] packages included from the - * software update configuration. + * packages included from the software update configuration. */ includedPackageNameMasks?: string[]; /** - * @member {string} [rebootSetting] Reboot setting for the software update - * configuration. + * Reboot setting for the software update configuration. */ rebootSetting?: string; } /** - * @interface - * An interface representing TagSettingsProperties. * Tag filter information for the VM. - * */ export interface TagSettingsProperties { /** - * @member {{ [propertyName: string]: string[] }} [tags] Dictionary of tags - * with its list of values. + * Dictionary of tags with its list of values. */ tags?: { [propertyName: string]: string[] }; /** - * @member {TagOperators} [filterOperator] Filter VMs by Any or All specified - * tags. Possible values include: 'All', 'Any' + * Filter VMs by Any or All specified tags. Possible values include: 'All', 'Any' */ filterOperator?: TagOperators; } /** - * @interface - * An interface representing AzureQueryProperties. * Azure query for the update configuration. - * */ export interface AzureQueryProperties { /** - * @member {string[]} [scope] List of Subscription or Resource Group ARM Ids. + * List of Subscription or Resource Group ARM Ids. */ scope?: string[]; /** - * @member {string[]} [locations] List of locations to scope the query to. + * List of locations to scope the query to. */ locations?: string[]; /** - * @member {TagSettingsProperties} [tagSettings] Tag settings for the VM. + * Tag settings for the VM. */ tagSettings?: TagSettingsProperties; } /** - * @interface - * An interface representing TargetProperties. + * Non Azure query for the update configuration. + */ +export interface NonAzureQueryProperties { + /** + * Log Analytics Saved Search name. + */ + functionAlias?: string; + /** + * Workspace Id for Log Analytics in which the saved Search is resided. + */ + workspaceId?: string; +} + +/** * Group specific to the update configuration. - * */ export interface TargetProperties { /** - * @member {AzureQueryProperties[]} [azureQueries] List of Azure queries in - * the software update configuration. + * List of Azure queries in the software update configuration. */ azureQueries?: AzureQueryProperties[]; + /** + * List of non Azure queries in the software update configuration. + */ + nonAzureQueries?: NonAzureQueryProperties[]; } /** - * @interface - * An interface representing UpdateConfiguration. - * Update specifc properties of the software update configuration. - * + * Update specific properties of the software update configuration. */ export interface UpdateConfiguration { /** - * @member {OperatingSystemType} operatingSystem operating system of target - * machines. Possible values include: 'Windows', 'Linux' + * operating system of target machines. Possible values include: 'Windows', 'Linux' */ operatingSystem: OperatingSystemType; /** - * @member {WindowsProperties} [windows] Windows specific update - * configuration. + * Windows specific update configuration. */ windows?: WindowsProperties; /** - * @member {LinuxProperties} [linux] Linux specific update configuration. + * Linux specific update configuration. */ linux?: LinuxProperties; /** - * @member {string} [duration] Maximum time allowed for the software update - * configuration run. Duration needs to be specified using the format - * PT[n]H[n]M[n]S as per ISO8601 + * Maximum time allowed for the software update configuration run. Duration needs to be specified + * using the format PT[n]H[n]M[n]S as per ISO8601 */ duration?: string; /** - * @member {string[]} [azureVirtualMachines] List of azure resource Ids for - * azure virtual machines targeted by the software update configuration. + * List of azure resource Ids for azure virtual machines targeted by the software update + * configuration. */ azureVirtualMachines?: string[]; /** - * @member {string[]} [nonAzureComputerNames] List of names of non-azure - * machines targeted by the software update configuration. + * List of names of non-azure machines targeted by the software update configuration. */ nonAzureComputerNames?: string[]; /** - * @member {TargetProperties} [targets] Group targets for the software update - * configuration. + * Group targets for the software update configuration. */ targets?: TargetProperties; } /** - * @interface - * An interface representing TaskProperties. * Task properties of the software update configuration. - * */ export interface TaskProperties { /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the task. + * Gets or sets the parameters of the task. */ parameters?: { [propertyName: string]: string }; /** - * @member {string} [source] Gets or sets the name of the runbook. + * Gets or sets the name of the runbook. */ source?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationTasks. * Task properties of the software update configuration. - * */ export interface SoftwareUpdateConfigurationTasks { /** - * @member {TaskProperties} [preTask] Pre task properties. + * Pre task properties. */ preTask?: TaskProperties; /** - * @member {TaskProperties} [postTask] Post task properties. + * Post task properties. */ postTask?: TaskProperties; } /** - * @interface - * An interface representing SoftwareUpdateConfiguration. * Software update configuration properties. - * - * @extends BaseResource */ export interface SoftwareUpdateConfiguration extends BaseResource { /** - * @member {string} [name] Resource name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [id] Resource Id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [type] Resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {UpdateConfiguration} updateConfiguration update specific - * properties for the Software update configuration + * update specific properties for the Software update configuration */ updateConfiguration: UpdateConfiguration; /** - * @member {ScheduleProperties} scheduleInfo Schedule information for the - * Software update configuration + * Schedule information for the Software update configuration */ scheduleInfo: ScheduleProperties; /** - * @member {string} [provisioningState] Provisioning state for the software - * update configuration, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning state for the software update configuration, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; /** - * @member {ErrorResponse} [error] Details of provisioning error + * Details of provisioning error */ error?: ErrorResponse; /** - * @member {Date} [creationTime] Creation time of the resource, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time of the resource, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] CreatedBy property, which only appears in the - * response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * CreatedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdBy?: string; /** - * @member {Date} [lastModifiedTime] Last time resource was modified, which - * only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Last time resource was modified, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] LastModifiedBy property, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * LastModifiedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedBy?: string; /** - * @member {SoftwareUpdateConfigurationTasks} [tasks] Tasks information for - * the Software update configuration. + * Tasks information for the Software update configuration. */ tasks?: SoftwareUpdateConfigurationTasks; } /** - * @interface - * An interface representing CollectionItemUpdateConfiguration. - * object returned when requesting a collection of software update - * configuration - * + * object returned when requesting a collection of software update configuration */ export interface CollectionItemUpdateConfiguration { /** - * @member {string[]} [azureVirtualMachines] List of azure resource Ids for - * azure virtual machines targeted by the software update configuration. + * List of azure resource Ids for azure virtual machines targeted by the software update + * configuration. */ azureVirtualMachines?: string[]; /** - * @member {string} [duration] Maximum time allowed for the software update - * configuration run. Duration needs to be specified using the format - * PT[n]H[n]M[n]S as per ISO8601 + * Maximum time allowed for the software update configuration run. Duration needs to be specified + * using the format PT[n]H[n]M[n]S as per ISO8601 */ duration?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationCollectionItem. * Software update configuration collection item properties. - * */ export interface SoftwareUpdateConfigurationCollectionItem { /** - * @member {string} [name] Name of the software update configuration. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the software update configuration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [id] Resource Id of the software update configuration - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Id of the software update configuration + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {CollectionItemUpdateConfiguration} [updateConfiguration] Update - * specific properties of the software update configuration. + * Update specific properties of the software update configuration. */ updateConfiguration?: CollectionItemUpdateConfiguration; /** - * @member {ScheduleFrequency} [frequency] execution frequency of the - * schedule associated with the software update configuration. Possible - * values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * execution frequency of the schedule associated with the software update configuration. + * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' */ frequency?: ScheduleFrequency; /** - * @member {Date} [startTime] the start time of the update. + * the start time of the update. */ startTime?: Date; /** - * @member {Date} [creationTime] Creation time of the software update - * configuration, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time of the software update configuration, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Last time software update configuration - * was modified, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Last time software update configuration was modified, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [provisioningState] Provisioning state for the software - * update configuration, which only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning state for the software update configuration, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; /** - * @member {Date} [nextRun] ext run time of the update. + * ext run time of the update. */ nextRun?: Date; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationListResult. * result of listing all software update configuration - * */ export interface SoftwareUpdateConfigurationListResult { /** - * @member {SoftwareUpdateConfigurationCollectionItem[]} [value] outer object - * returned when listing all software update configurations + * outer object returned when listing all software update configurations */ value?: SoftwareUpdateConfigurationCollectionItem[]; } /** - * @interface - * An interface representing UpdateConfigurationNavigation. * Software update configuration Run Navigation model. - * */ export interface UpdateConfigurationNavigation { /** - * @member {string} [name] Name of the software update configuration - * triggered the software update configuration run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the software update configuration triggered the software update configuration run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; } /** - * @interface - * An interface representing SoftareUpdateConfigurationRunTaskProperties. * Task properties of the software update configuration. - * */ export interface SoftareUpdateConfigurationRunTaskProperties { /** - * @member {string} [status] The status of the task. + * The status of the task. */ status?: string; /** - * @member {string} [source] The name of the source of the task. + * The name of the source of the task. */ source?: string; /** - * @member {string} [jobId] The job id of the task. + * The job id of the task. */ jobId?: string; } /** - * @interface - * An interface representing SoftareUpdateConfigurationRunTasks. * Software update configuration run tasks model. - * */ export interface SoftareUpdateConfigurationRunTasks { /** - * @member {SoftareUpdateConfigurationRunTaskProperties} [preTask] Pre task - * properties. + * Pre task properties. */ preTask?: SoftareUpdateConfigurationRunTaskProperties; /** - * @member {SoftareUpdateConfigurationRunTaskProperties} [postTask] Post task - * properties. + * Post task properties. */ postTask?: SoftareUpdateConfigurationRunTaskProperties; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationRun. * Software update configuration Run properties. - * */ export interface SoftwareUpdateConfigurationRun { /** - * @member {string} [name] Name of the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [id] Resource Id of the software update configuration run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Id of the software update configuration run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {UpdateConfigurationNavigation} [softwareUpdateConfiguration] * software update configuration triggered this run */ softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * @member {string} [status] Status of the software update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Status of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: string; /** - * @member {string} [configuredDuration] Configured duration for the software - * update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Configured duration for the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly configuredDuration?: string; /** - * @member {string} [osType] Operating system target of the software update - * configuration triggered this run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operating system target of the software update configuration triggered this run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly osType?: string; /** - * @member {Date} [startTime] Start time of the software update configuration - * run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Start time of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] End time of the software update configuration - * run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * End time of the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {number} [computerCount] Number of computers in the software - * update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of computers in the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly computerCount?: number; /** - * @member {number} [failedCount] Number of computers with failed status. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of computers with failed status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly failedCount?: number; /** - * @member {Date} [creationTime] Creation time of theresource, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time of the resource, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] CreatedBy property, which only appears in the - * response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * CreatedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdBy?: string; /** - * @member {Date} [lastModifiedTime] Last time resource was modified, which - * only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Last time resource was modified, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] LastModifiedBy property, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * LastModifiedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedBy?: string; /** - * @member {SoftareUpdateConfigurationRunTasks} [tasks] Software update - * configuration tasks triggered in this run + * Software update configuration tasks triggered in this run */ tasks?: SoftareUpdateConfigurationRunTasks; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationRunListResult. * result of listing all software update configuration runs - * */ export interface SoftwareUpdateConfigurationRunListResult { /** - * @member {SoftwareUpdateConfigurationRun[]} [value] outer object returned - * when listing all software update configuration runs + * outer object returned when listing all software update configuration runs */ value?: SoftwareUpdateConfigurationRun[]; /** - * @member {string} [nextLink] link to next page of results. + * link to next page of results. */ nextLink?: string; } /** - * @interface - * An interface representing JobNavigation. * Software update configuration machine run job navigation properties. - * */ export interface JobNavigation { /** - * @member {string} [id] Id of the job associated with the software update - * configuration run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Id of the job associated with the software update configuration run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationMachineRun. * Software update configuration machine run model. - * */ export interface SoftwareUpdateConfigurationMachineRun { /** - * @member {string} [name] Name of the software update configuration machine - * run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [id] Resource Id of the software update configuration - * machine run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Id of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [targetComputer] name of the updated computer - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * name of the updated computer + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly targetComputer?: string; /** - * @member {string} [targetComputerType] type of the updated computer. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * type of the updated computer. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly targetComputerType?: string; /** - * @member {UpdateConfigurationNavigation} [softwareUpdateConfiguration] * software update configuration triggered this run */ softwareUpdateConfiguration?: UpdateConfigurationNavigation; /** - * @member {string} [status] Status of the software update configuration - * machine run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Status of the software update configuration machine run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: string; /** - * @member {string} [osType] Operating system target of the software update - * configuration triggered this run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operating system target of the software update configuration triggered this run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly osType?: string; /** - * @member {string} [correlationId] correlation id of the software update - * configuration machine run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * correlation id of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly correlationId?: string; /** - * @member {string} [sourceComputerId] source computer id of the software - * update configuration machine run - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * source computer id of the software update configuration machine run + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly sourceComputerId?: string; /** - * @member {Date} [startTime] Start time of the software update configuration - * machine run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Start time of the software update configuration machine run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] End time of the software update configuration - * machine run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * End time of the software update configuration machine run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {string} [configuredDuration] configured duration for the software - * update configuration run. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * configured duration for the software update configuration run. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly configuredDuration?: string; /** - * @member {JobNavigation} [job] Job associated with the software update - * configuration machine run + * Job associated with the software update configuration machine run */ job?: JobNavigation; /** - * @member {Date} [creationTime] Creation time of theresource, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time of the resource, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] createdBy property, which only appears in the - * response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * createdBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdBy?: string; /** - * @member {Date} [lastModifiedTime] Last time resource was modified, which - * only appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Last time resource was modified, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only - * appears in the response. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * lastModifiedBy property, which only appears in the response. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedBy?: string; /** - * @member {ErrorResponse} [error] detailes of provisioning error + * Details of provisioning error */ error?: ErrorResponse; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationMachineRunListResult. * result of listing all software update configuration machine runs - * */ export interface SoftwareUpdateConfigurationMachineRunListResult { /** - * @member {SoftwareUpdateConfigurationMachineRun[]} [value] outer object - * returned when listing all software update configuration machine runs + * outer object returned when listing all software update configuration machine runs */ value?: SoftwareUpdateConfigurationMachineRun[]; /** - * @member {string} [nextLink] link to next page of results. + * link to next page of results. */ nextLink?: string; } /** - * @interface - * An interface representing SourceControl. * Definition of the source control. - * - * @extends ProxyResource */ export interface SourceControl extends ProxyResource { /** - * @member {string} [repoUrl] The repo url of the source control. + * The repo url of the source control. */ repoUrl?: string; /** - * @member {string} [branch] The repo branch of the source control. Include - * branch as empty string for VsoTfvc. + * The repo branch of the source control. Include branch as empty string for VsoTfvc. */ branch?: string; /** - * @member {string} [folderPath] The folder path of the source control. + * The folder path of the source control. */ folderPath?: string; /** - * @member {boolean} [autoSync] The auto sync of the source control. Default - * is false. + * The auto sync of the source control. Default is false. */ autoSync?: boolean; /** - * @member {boolean} [publishRunbook] The auto publish of the source control. - * Default is true. + * The auto publish of the source control. Default is true. */ publishRunbook?: boolean; /** - * @member {SourceType} [sourceType] The source type. Must be one of VsoGit, - * VsoTfvc, GitHub. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub' + * The source type. Must be one of VsoGit, VsoTfvc, GitHub. Possible values include: 'VsoGit', + * 'VsoTfvc', 'GitHub' */ sourceType?: SourceType; /** - * @member {string} [description] The description. + * The description. */ description?: string; /** - * @member {Date} [creationTime] The creation time. + * The creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] The last modified time. + * The last modified time. */ lastModifiedTime?: Date; } /** - * @interface * An interface representing SourceControlSecurityTokenProperties. */ export interface SourceControlSecurityTokenProperties { /** - * @member {string} [accessToken] The access token. + * The access token. */ accessToken?: string; /** - * @member {string} [refreshToken] The refresh token. + * The refresh token. */ refreshToken?: string; /** - * @member {TokenType} [tokenType] The token type. Must be either - * PersonalAccessToken or Oauth. Possible values include: + * The token type. Must be either PersonalAccessToken or Oauth. Possible values include: * 'PersonalAccessToken', 'Oauth' */ tokenType?: TokenType; } /** - * @interface - * An interface representing SourceControlUpdateParameters. * The parameters supplied to the update source control operation. - * */ export interface SourceControlUpdateParameters { /** - * @member {string} [branch] The repo branch of the source control. + * The repo branch of the source control. */ branch?: string; /** - * @member {string} [folderPath] The folder path of the source control. Path - * must be relative. + * The folder path of the source control. Path must be relative. */ folderPath?: string; /** - * @member {boolean} [autoSync] The auto sync of the source control. Default - * is false. + * The auto sync of the source control. Default is false. */ autoSync?: boolean; /** - * @member {boolean} [publishRunbook] The auto publish of the source control. - * Default is true. + * The auto publish of the source control. Default is true. */ publishRunbook?: boolean; /** - * @member {SourceControlSecurityTokenProperties} [securityToken] The - * authorization token for the repo of the source control. + * The authorization token for the repo of the source control. */ securityToken?: SourceControlSecurityTokenProperties; /** - * @member {string} [description] The user description of the source control. + * The user description of the source control. */ description?: string; } /** - * @interface - * An interface representing SourceControlCreateOrUpdateParameters. * The parameters supplied to the create or update source control operation. - * */ export interface SourceControlCreateOrUpdateParameters { /** - * @member {string} [repoUrl] The repo url of the source control. + * The repo url of the source control. */ repoUrl?: string; /** - * @member {string} [branch] The repo branch of the source control. Include - * branch as empty string for VsoTfvc. + * The repo branch of the source control. Include branch as empty string for VsoTfvc. */ branch?: string; /** - * @member {string} [folderPath] The folder path of the source control. Path - * must be relative. + * The folder path of the source control. Path must be relative. */ folderPath?: string; /** - * @member {boolean} [autoSync] The auto async of the source control. Default - * is false. + * The auto async of the source control. Default is false. */ autoSync?: boolean; /** - * @member {boolean} [publishRunbook] The auto publish of the source control. - * Default is true. + * The auto publish of the source control. Default is true. */ publishRunbook?: boolean; /** - * @member {SourceType} [sourceType] The source type. Must be one of VsoGit, - * VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', - * 'VsoTfvc', 'GitHub' + * The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values + * include: 'VsoGit', 'VsoTfvc', 'GitHub' */ sourceType?: SourceType; /** - * @member {SourceControlSecurityTokenProperties} [securityToken] The - * authorization token for the repo of the source control. + * The authorization token for the repo of the source control. */ securityToken?: SourceControlSecurityTokenProperties; /** - * @member {string} [description] The user description of the source control. + * The user description of the source control. */ description?: string; } /** - * @interface - * An interface representing SourceControlSyncJob. * Definition of the source control sync job. - * */ export interface SourceControlSyncJob { /** - * @member {string} [name] Resource name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Resource type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} [id] Resource id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [sourceControlSyncJobId] The source control sync job id. + * The source control sync job id. */ sourceControlSyncJobId?: string; /** - * @member {Date} [creationTime] The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the job. Possible values include: 'Completed', 'Failed', 'Running' + * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' */ provisioningState?: ProvisioningState; /** - * @member {Date} [startTime] The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {SyncType} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' + * The sync type. Possible values include: 'PartialSync', 'FullSync' */ syncType?: SyncType; } /** - * @interface - * An interface representing SourceControlSyncJobCreateParameters. * The parameters supplied to the create source control sync job operation. - * */ export interface SourceControlSyncJobCreateParameters { /** - * @member {string} commitId The commit id of the source control sync job. If - * not syncing to a commitId, enter an empty string. + * The commit id of the source control sync job. If not syncing to a commitId, enter an empty + * string. */ commitId: string; } /** - * @interface - * An interface representing SourceControlSyncJobById. * Definition of the source control sync job. - * */ export interface SourceControlSyncJobById { /** - * @member {string} [id] The id of the job. + * The id of the job. */ id?: string; /** - * @member {string} [sourceControlSyncJobId] The source control sync job id. + * The source control sync job id. */ sourceControlSyncJobId?: string; /** - * @member {Date} [creationTime] The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the job. Possible values include: 'Completed', 'Failed', 'Running' + * The provisioning state of the job. Possible values include: 'Completed', 'Failed', 'Running' */ provisioningState?: ProvisioningState; /** - * @member {Date} [startTime] The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {SyncType} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' + * The sync type. Possible values include: 'PartialSync', 'FullSync' */ syncType?: SyncType; /** - * @member {string} [exception] The exceptions that occured while running the - * sync job. + * The exceptions that occurred while running the sync job. */ exception?: string; } /** - * @interface - * An interface representing SourceControlSyncJobStream. * Definition of the source control sync job stream. - * */ export interface SourceControlSyncJobStream { /** - * @member {string} [id] Resource id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [sourceControlSyncJobStreamId] The sync job stream id. + * The sync job stream id. */ sourceControlSyncJobStreamId?: string; /** - * @member {string} [summary] The summary of the sync job stream. + * The summary of the sync job stream. */ summary?: string; /** - * @member {Date} [time] The time of the sync job stream. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The time of the sync job stream. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly time?: Date; /** - * @member {StreamType} [streamType] The type of the sync job stream. - * Possible values include: 'Error', 'Output' + * The type of the sync job stream. Possible values include: 'Error', 'Output' */ streamType?: StreamType; } /** - * @interface - * An interface representing SourceControlSyncJobStreamById. * Definition of the source control sync job stream by id. - * */ export interface SourceControlSyncJobStreamById { /** - * @member {string} [id] Resource id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [sourceControlSyncJobStreamId] The sync job stream id. + * The sync job stream id. */ sourceControlSyncJobStreamId?: string; /** - * @member {string} [summary] The summary of the sync job stream. + * The summary of the sync job stream. */ summary?: string; /** - * @member {Date} [time] The time of the sync job stream. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The time of the sync job stream. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly time?: Date; /** - * @member {StreamType} [streamType] The type of the sync job stream. - * Possible values include: 'Error', 'Output' + * The type of the sync job stream. Possible values include: 'Error', 'Output' */ streamType?: StreamType; /** - * @member {string} [streamText] The text of the sync job stream. + * The text of the sync job stream. */ streamText?: string; /** - * @member {{ [propertyName: string]: any }} [value] The values of the job - * stream. + * The values of the job stream. */ value?: { [propertyName: string]: any }; } /** - * @interface - * An interface representing JobStream. * Definition of the job stream. - * */ export interface JobStream { /** - * @member {string} [id] Gets or sets the id of the resource. + * Gets or sets the id of the resource. */ id?: string; /** - * @member {string} [jobStreamId] Gets or sets the id of the job stream. + * Gets or sets the id of the job stream. */ jobStreamId?: string; /** - * @member {Date} [time] Gets or sets the creation time of the job. + * Gets or sets the creation time of the job. */ time?: Date; /** - * @member {JobStreamType} [streamType] Gets or sets the stream type. - * Possible values include: 'Progress', 'Output', 'Warning', 'Error', - * 'Debug', 'Verbose', 'Any' + * Gets or sets the stream type. Possible values include: 'Progress', 'Output', 'Warning', + * 'Error', 'Debug', 'Verbose', 'Any' */ streamType?: JobStreamType; /** - * @member {string} [streamText] Gets or sets the stream text. + * Gets or sets the stream text. */ streamText?: string; /** - * @member {string} [summary] Gets or sets the summary. + * Gets or sets the summary. */ summary?: string; /** - * @member {{ [propertyName: string]: any }} [value] Gets or sets the values - * of the job stream. + * Gets or sets the values of the job stream. */ value?: { [propertyName: string]: any }; } /** - * @interface - * An interface representing Job. * Definition of the job. - * - * @extends ProxyResource */ export interface Job extends ProxyResource { /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. + * Gets or sets the runbook. */ runbook?: RunbookAssociationProperty; /** - * @member {string} [startedBy] Gets or sets the job started by. + * Gets or sets the job started by. */ startedBy?: string; /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ runOn?: string; /** - * @member {string} [jobId] Gets or sets the id of the job. + * Gets or sets the id of the job. */ jobId?: string; /** - * @member {Date} [creationTime] Gets or sets the creation time of the job. + * Gets or sets the creation time of the job. */ creationTime?: Date; /** - * @member {JobStatus} [status] Gets or sets the status of the job. Possible - * values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', - * 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', + * Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', + * 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', * 'Stopping', 'Resuming', 'Removing' */ status?: JobStatus; /** - * @member {string} [statusDetails] Gets or sets the status details of the - * job. + * Gets or sets the status details of the job. */ statusDetails?: string; /** - * @member {Date} [startTime] Gets or sets the start time of the job. + * Gets or sets the start time of the job. */ startTime?: Date; /** - * @member {Date} [endTime] Gets or sets the end time of the job. + * Gets or sets the end time of the job. */ endTime?: Date; /** - * @member {string} [exception] Gets or sets the exception of the job. + * Gets or sets the exception of the job. */ exception?: string; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time of - * the job. + * Gets or sets the last modified time of the job. */ lastModifiedTime?: Date; /** - * @member {Date} [lastStatusModifiedTime] Gets or sets the last status - * modified time of the job. + * Gets or sets the last status modified time of the job. */ lastStatusModifiedTime?: Date; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; /** - * @member {JobProvisioningState} [provisioningState] The current - * provisioning state of the job. Possible values include: 'Failed', - * 'Succeeded', 'Suspended', 'Processing' + * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', + * 'Suspended', 'Processing' */ provisioningState?: JobProvisioningState; } /** - * @interface - * An interface representing JobCollectionItem. * Job collection item properties. - * - * @extends ProxyResource */ export interface JobCollectionItem extends ProxyResource { /** - * @member {RunbookAssociationProperty} [runbook] The runbook association. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The runbook association. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly runbook?: RunbookAssociationProperty; /** - * @member {string} [jobId] The id of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The id of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly jobId?: string; /** - * @member {Date} [creationTime] The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {JobStatus} [status] The status of the job. Possible values - * include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', - * 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', + * The status of the job. Possible values include: 'New', 'Activating', 'Running', 'Completed', + * 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', * 'Resuming', 'Removing' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: JobStatus; /** - * @member {Date} [startTime] The start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] The end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {Date} [lastModifiedTime] The last modified time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The last modified time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {string} [provisioningState] The provisioning state of a resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of a resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; /** - * @member {string} [runOn] Specifies the runOn group name where the job was - * executed. + * Specifies the runOn group name where the job was executed. */ runOn?: string; } /** - * @interface - * An interface representing JobCreateParameters. * The parameters supplied to the create job operation. - * */ export interface JobCreateParameters { /** - * @member {RunbookAssociationProperty} [runbook] Gets or sets the runbook. + * Gets or sets the runbook. */ runbook?: RunbookAssociationProperty; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ runOn?: string; } /** - * @interface - * An interface representing DscReportError. * Definition of the dsc node report error type. - * */ export interface DscReportError { /** - * @member {string} [errorSource] Gets or sets the source of the error. + * Gets or sets the source of the error. */ errorSource?: string; /** - * @member {string} [resourceId] Gets or sets the resource ID which generated - * the error. + * Gets or sets the resource ID which generated the error. */ resourceId?: string; /** - * @member {string} [errorCode] Gets or sets the error code. + * Gets or sets the error code. */ errorCode?: string; /** - * @member {string} [errorMessage] Gets or sets the error message. + * Gets or sets the error message. */ errorMessage?: string; /** - * @member {string} [locale] Gets or sets the locale of the error. + * Gets or sets the locale of the error. */ locale?: string; /** - * @member {string} [errorDetails] Gets or sets the error details. + * Gets or sets the error details. */ errorDetails?: string; } /** - * @interface - * An interface representing DscReportResourceNavigation. * Navigation for DSC Report Resource. - * */ export interface DscReportResourceNavigation { /** - * @member {string} [resourceId] Gets or sets the ID of the resource to - * navigate to. + * Gets or sets the ID of the resource to navigate to. */ resourceId?: string; } /** - * @interface - * An interface representing DscReportResource. * Definition of the DSC Report Resource. - * */ export interface DscReportResource { /** - * @member {string} [resourceId] Gets or sets the ID of the resource. + * Gets or sets the ID of the resource. */ resourceId?: string; /** - * @member {string} [sourceInfo] Gets or sets the source info of the - * resource. + * Gets or sets the source info of the resource. */ sourceInfo?: string; /** - * @member {DscReportResourceNavigation[]} [dependsOn] Gets or sets the - * Resource Navigation values for resources the resource depends on. + * Gets or sets the Resource Navigation values for resources the resource depends on. */ dependsOn?: DscReportResourceNavigation[]; /** - * @member {string} [moduleName] Gets or sets the module name of the - * resource. + * Gets or sets the module name of the resource. */ moduleName?: string; /** - * @member {string} [moduleVersion] Gets or sets the module version of the - * resource. + * Gets or sets the module version of the resource. */ moduleVersion?: string; /** - * @member {string} [resourceName] Gets or sets the name of the resource. + * Gets or sets the name of the resource. */ resourceName?: string; /** - * @member {string} [error] Gets or sets the error of the resource. + * Gets or sets the error of the resource. */ error?: string; /** - * @member {string} [status] Gets or sets the status of the resource. + * Gets or sets the status of the resource. */ status?: string; /** - * @member {number} [durationInSeconds] Gets or sets the duration in seconds - * for the resource. + * Gets or sets the duration in seconds for the resource. */ durationInSeconds?: number; /** - * @member {Date} [startDate] Gets or sets the start date of the resource. + * Gets or sets the start date of the resource. */ startDate?: Date; } /** - * @interface - * An interface representing DscMetaConfiguration. * Definition of the DSC Meta Configuration. - * */ export interface DscMetaConfiguration { /** - * @member {number} [configurationModeFrequencyMins] Gets or sets the - * ConfigurationModeFrequencyMins value of the meta configuration. + * Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration. */ configurationModeFrequencyMins?: number; /** - * @member {boolean} [rebootNodeIfNeeded] Gets or sets the RebootNodeIfNeeded - * value of the meta configuration. + * Gets or sets the RebootNodeIfNeeded value of the meta configuration. */ rebootNodeIfNeeded?: boolean; /** - * @member {string} [configurationMode] Gets or sets the ConfigurationMode - * value of the meta configuration. + * Gets or sets the ConfigurationMode value of the meta configuration. */ configurationMode?: string; /** - * @member {string} [actionAfterReboot] Gets or sets the ActionAfterReboot - * value of the meta configuration. + * Gets or sets the ActionAfterReboot value of the meta configuration. */ actionAfterReboot?: string; /** - * @member {string} [certificateId] Gets or sets the CertificateId value of - * the meta configuration. + * Gets or sets the CertificateId value of the meta configuration. */ certificateId?: string; /** - * @member {number} [refreshFrequencyMins] Gets or sets the - * RefreshFrequencyMins value of the meta configuration. + * Gets or sets the RefreshFrequencyMins value of the meta configuration. */ refreshFrequencyMins?: number; /** - * @member {boolean} [allowModuleOverwrite] Gets or sets the - * AllowModuleOverwrite value of the meta configuration. + * Gets or sets the AllowModuleOverwrite value of the meta configuration. */ allowModuleOverwrite?: boolean; } /** - * @interface - * An interface representing DscNodeReport. * Definition of the dsc node report type. - * */ export interface DscNodeReport { /** - * @member {Date} [endTime] Gets or sets the end time of the node report. + * Gets or sets the end time of the node report. */ endTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the lastModifiedTime of the - * node report. + * Gets or sets the lastModifiedTime of the node report. */ lastModifiedTime?: Date; /** - * @member {Date} [startTime] Gets or sets the start time of the node report. + * Gets or sets the start time of the node report. */ startTime?: Date; /** - * @member {string} [type] Gets or sets the type of the node report. + * Gets or sets the type of the node report. */ type?: string; /** - * @member {string} [reportId] Gets or sets the id of the node report. + * Gets or sets the id of the node report. */ reportId?: string; /** - * @member {string} [status] Gets or sets the status of the node report. + * Gets or sets the status of the node report. */ status?: string; /** - * @member {string} [refreshMode] Gets or sets the refreshMode of the node - * report. + * Gets or sets the refreshMode of the node report. */ refreshMode?: string; /** - * @member {string} [rebootRequested] Gets or sets the rebootRequested of the - * node report. + * Gets or sets the rebootRequested of the node report. */ rebootRequested?: string; /** - * @member {string} [reportFormatVersion] Gets or sets the - * reportFormatVersion of the node report. + * Gets or sets the reportFormatVersion of the node report. */ reportFormatVersion?: string; /** - * @member {string} [configurationVersion] Gets or sets the - * configurationVersion of the node report. + * Gets or sets the configurationVersion of the node report. */ configurationVersion?: string; /** - * @member {string} [id] Gets or sets the id. + * Gets or sets the id. */ id?: string; /** - * @member {DscReportError[]} [errors] Gets or sets the errors for the node - * report. + * Gets or sets the errors for the node report. */ errors?: DscReportError[]; /** - * @member {DscReportResource[]} [resources] Gets or sets the resource for - * the node report. + * Gets or sets the resource for the node report. */ resources?: DscReportResource[]; /** - * @member {DscMetaConfiguration} [metaConfiguration] Gets or sets the - * metaConfiguration of the node at the time of the report. + * Gets or sets the metaConfiguration of the node at the time of the report. */ metaConfiguration?: DscMetaConfiguration; /** - * @member {string} [hostName] Gets or sets the hostname of the node that - * sent the report. + * Gets or sets the hostname of the node that sent the report. */ hostName?: string; /** - * @member {string[]} [iPV4Addresses] Gets or sets the IPv4 address of the - * node that sent the report. + * Gets or sets the IPv4 address of the node that sent the report. */ iPV4Addresses?: string[]; /** - * @member {string[]} [iPV6Addresses] Gets or sets the IPv6 address of the - * node that sent the report. + * Gets or sets the IPv6 address of the node that sent the report. */ iPV6Addresses?: string[]; /** - * @member {number} [numberOfResources] Gets or sets the number of resource - * in the node report. + * Gets or sets the number of resource in the node report. */ numberOfResources?: number; /** - * @member {string} [rawErrors] Gets or sets the unparsed errors for the node - * report. + * Gets or sets the unparsed errors for the node report. */ rawErrors?: string; } /** - * @interface - * An interface representing AgentRegistrationKeys. * Definition of the agent registration keys. - * */ export interface AgentRegistrationKeys { /** - * @member {string} [primary] Gets or sets the primary key. + * Gets or sets the primary key. */ primary?: string; /** - * @member {string} [secondary] Gets or sets the secondary key. + * Gets or sets the secondary key. */ secondary?: string; } /** - * @interface - * An interface representing AgentRegistration. - * Definition of the agent registration infomration type. - * + * Definition of the agent registration information type. */ export interface AgentRegistration { /** - * @member {string} [dscMetaConfiguration] Gets or sets the dsc meta - * configuration. + * Gets or sets the dsc meta configuration. */ dscMetaConfiguration?: string; /** - * @member {string} [endpoint] Gets or sets the dsc server endpoint. + * Gets or sets the dsc server endpoint. */ endpoint?: string; /** - * @member {AgentRegistrationKeys} [keys] Gets or sets the agent registration - * keys. + * Gets or sets the agent registration keys. */ keys?: AgentRegistrationKeys; /** - * @member {string} [id] Gets or sets the id. + * Gets or sets the id. */ id?: string; } /** - * @interface - * An interface representing DscNodeExtensionHandlerAssociationProperty. * The dsc extensionHandler property associated with the node - * */ export interface DscNodeExtensionHandlerAssociationProperty { /** - * @member {string} [name] Gets or sets the name of the extension handler. + * Gets or sets the name of the extension handler. */ name?: string; /** - * @member {string} [version] Gets or sets the version of the extension - * handler. + * Gets or sets the version of the extension handler. */ version?: string; } /** - * @interface - * An interface representing DscNode. * Definition of a DscNode - * - * @extends ProxyResource */ export interface DscNode extends ProxyResource { /** - * @member {Date} [lastSeen] Gets or sets the last seen time of the node. + * Gets or sets the last seen time of the node. */ lastSeen?: Date; /** - * @member {Date} [registrationTime] Gets or sets the registration time of - * the node. + * Gets or sets the registration time of the node. */ registrationTime?: Date; /** - * @member {string} [ip] Gets or sets the ip of the node. + * Gets or sets the ip of the node. */ ip?: string; /** - * @member {string} [accountId] Gets or sets the account id of the node. + * Gets or sets the account id of the node. */ accountId?: string; /** - * @member {string} [dscNodeName] Gets or sets the name of the dsc - * nodeconfiguration. + * Gets or sets the name of the dsc node configuration. */ dscNodeName?: string; /** - * @member {string} [status] Gets or sets the status of the node. + * Gets or sets the status of the node. */ status?: string; /** - * @member {string} [nodeId] Gets or sets the node id. + * Gets or sets the node id. */ nodeId?: string; /** - * @member {string} [etag] Gets or sets the etag of the resource. + * Gets or sets the etag of the resource. */ etag?: string; /** - * @member {number} [totalCount] Gets the total number of records matching - * filter criteria. + * Gets the total number of records matching filter criteria. */ totalCount?: number; /** - * @member {DscNodeExtensionHandlerAssociationProperty[]} [extensionHandler] * Gets or sets the list of extensionHandler properties for a Node. */ extensionHandler?: DscNodeExtensionHandlerAssociationProperty[]; } /** - * @interface - * An interface representing AgentRegistrationRegenerateKeyParameter. * The parameters supplied to the regenerate keys operation. - * */ export interface AgentRegistrationRegenerateKeyParameter { /** - * @member {AgentRegistrationKeyName} keyName Gets or sets the agent - * registration key name - primary or secondary. Possible values include: + * Gets or sets the agent registration key name - primary or secondary. Possible values include: * 'primary', 'secondary' */ keyName: AgentRegistrationKeyName; } /** - * @interface * An interface representing DscNodeUpdateParametersProperties. */ export interface DscNodeUpdateParametersProperties { /** - * @member {string} [name] Gets or sets the name of the dsc - * nodeconfiguration. + * Gets or sets the name of the dsc node configuration. */ name?: string; } /** - * @interface - * An interface representing DscNodeUpdateParameters. * The parameters supplied to the update dsc node operation. - * */ export interface DscNodeUpdateParameters { /** - * @member {string} [nodeId] Gets or sets the id of the dsc node. + * Gets or sets the id of the dsc node. */ nodeId?: string; - /** - * @member {DscNodeUpdateParametersProperties} [properties] - */ properties?: DscNodeUpdateParametersProperties; } /** - * @interface - * An interface representing DscConfigurationAssociationProperty. * The Dsc configuration property associated with the entity. - * */ export interface DscConfigurationAssociationProperty { /** - * @member {string} [name] Gets or sets the name of the Dsc configuration. + * Gets or sets the name of the Dsc configuration. */ name?: string; } /** - * @interface - * An interface representing DscCompilationJob. * Definition of the Dsc Compilation job. - * - * @extends ProxyResource */ export interface DscCompilationJob extends ProxyResource { /** - * @member {DscConfigurationAssociationProperty} [configuration] Gets or sets - * the configuration. + * Gets or sets the configuration. */ configuration?: DscConfigurationAssociationProperty; /** - * @member {string} [startedBy] Gets the compilation job started by. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the compilation job started by. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startedBy?: string; /** - * @member {string} [jobId] Gets the id of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the id of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly jobId?: string; /** - * @member {Date} [creationTime] Gets the creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {JobProvisioningState} [provisioningState] The current - * provisioning state of the job. Possible values include: 'Failed', - * 'Succeeded', 'Suspended', 'Processing' + * The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', + * 'Suspended', 'Processing' */ provisioningState?: JobProvisioningState; /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ runOn?: string; /** - * @member {JobStatus} [status] Gets or sets the status of the job. Possible - * values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', - * 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', + * Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', + * 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', * 'Stopping', 'Resuming', 'Removing' */ status?: JobStatus; /** - * @member {string} [statusDetails] Gets or sets the status details of the - * job. + * Gets or sets the status details of the job. */ statusDetails?: string; /** - * @member {Date} [startTime] Gets the start time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the start time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] Gets the end time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the end time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {string} [exception] Gets the exception of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the exception of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly exception?: string; /** - * @member {Date} [lastModifiedTime] Gets the last modified time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the last modified time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModifiedTime?: Date; /** - * @member {Date} [lastStatusModifiedTime] Gets the last status modified time - * of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the last status modified time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastStatusModifiedTime?: Date; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing DscCompilationJobCreateParameters. * The parameters supplied to the create compilation job operation. - * */ export interface DscCompilationJobCreateParameters { /** - * @member {DscConfigurationAssociationProperty} configuration Gets or sets - * the configuration. + * Gets or sets the configuration. */ configuration: DscConfigurationAssociationProperty; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the job. + * Gets or sets the parameters of the job. */ parameters?: { [propertyName: string]: string }; /** - * @member {boolean} [incrementNodeConfigurationBuild] If a new build version - * of NodeConfiguration is required. + * If a new build version of NodeConfiguration is required. */ incrementNodeConfigurationBuild?: boolean; /** - * @member {string} [name] Gets or sets name of the resource. + * Gets or sets name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing DscNodeConfiguration. * Definition of the dsc node configuration. - * - * @extends ProxyResource */ export interface DscNodeConfiguration extends ProxyResource { /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {Date} [creationTime] Gets or sets creation time. + * Gets or sets creation time. */ creationTime?: Date; /** - * @member {DscConfigurationAssociationProperty} [configuration] Gets or sets - * the configuration of the node. + * Gets or sets the configuration of the node. */ configuration?: DscConfigurationAssociationProperty; /** - * @member {string} [source] Source of node configuration. + * Source of node configuration. */ source?: string; /** - * @member {number} [nodeCount] Number of nodes with this nodeconfiguration - * assigned + * Number of nodes with this node configuration assigned */ nodeCount?: number; /** - * @member {boolean} [incrementNodeConfigurationBuild] If a new build version - * of NodeConfiguration is required. + * If a new build version of NodeConfiguration is required. */ incrementNodeConfigurationBuild?: boolean; } /** - * @interface - * An interface representing DscNodeConfigurationCreateOrUpdateParameters. - * The parameters supplied to the create or update node configuration - * operation. - * + * The parameters supplied to the create or update node configuration operation. */ export interface DscNodeConfigurationCreateOrUpdateParameters { /** - * @member {ContentSource} source Gets or sets the source. + * Gets or sets the source. */ source: ContentSource; /** - * @member {DscConfigurationAssociationProperty} configuration Gets or sets - * the configuration of the node. + * Gets or sets the configuration of the node. */ configuration: DscConfigurationAssociationProperty; /** - * @member {boolean} [incrementNodeConfigurationBuild] If a new build version - * of NodeConfiguration is required. + * If a new build version of NodeConfiguration is required. */ incrementNodeConfigurationBuild?: boolean; /** - * @member {string} [name] Name of the node configuration. + * Name of the node configuration. */ name?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface * An interface representing NodeCountProperties. */ export interface NodeCountProperties { /** - * @member {number} [count] Gets the count for the name + * Gets the count for the name */ count?: number; } /** - * @interface - * An interface representing NodeCount. * Number of nodes based on the Filter - * */ export interface NodeCount { /** - * @member {string} [name] Gets the name of a count type + * Gets the name of a count type */ name?: string; - /** - * @member {NodeCountProperties} [properties] - */ properties?: NodeCountProperties; } /** - * @interface - * An interface representing NodeCounts. * Gets the count of nodes by count type - * */ export interface NodeCounts { /** - * @member {NodeCount[]} [value] Gets an array of counts + * Gets an array of counts */ value?: NodeCount[]; /** - * @member {number} [totalCount] Gets the total number of records matching - * countType criteria. + * Gets the total number of records matching countType criteria. */ totalCount?: number; } /** - * @interface - * An interface representing RunbookParameter. * Definition of the runbook parameter type. - * */ export interface RunbookParameter { /** - * @member {string} [type] Gets or sets the type of the parameter. + * Gets or sets the type of the parameter. */ type?: string; /** - * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is madatory or not. + * Gets or sets a Boolean value to indicate whether the parameter is mandatory or not. */ isMandatory?: boolean; /** - * @member {number} [position] Get or sets the position of the parameter. + * Get or sets the position of the parameter. */ position?: number; /** - * @member {string} [defaultValue] Gets or sets the default value of - * parameter. + * Gets or sets the default value of parameter. */ defaultValue?: string; } /** - * @interface * An interface representing RunbookDraft. */ export interface RunbookDraft { /** - * @member {boolean} [inEdit] Gets or sets whether runbook is in edit mode. + * Gets or sets whether runbook is in edit mode. */ inEdit?: boolean; /** - * @member {ContentLink} [draftContentLink] Gets or sets the draft runbook - * content link. + * Gets or sets the draft runbook content link. */ draftContentLink?: ContentLink; /** - * @member {Date} [creationTime] Gets or sets the creation time of the - * runbook draft. + * Gets or sets the creation time of the runbook draft. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time of - * the runbook draft. + * Gets or sets the last modified time of the runbook draft. */ lastModifiedTime?: Date; /** - * @member {{ [propertyName: string]: RunbookParameter }} [parameters] Gets - * or sets the runbook draft parameters. + * Gets or sets the runbook draft parameters. */ parameters?: { [propertyName: string]: RunbookParameter }; /** - * @member {string[]} [outputTypes] Gets or sets the runbook output types. + * Gets or sets the runbook output types. */ outputTypes?: string[]; } /** - * @interface - * An interface representing Runbook. * Definition of the runbook type. - * - * @extends TrackedResource */ export interface Runbook extends TrackedResource { /** - * @member {RunbookTypeEnum} [runbookType] Gets or sets the type of the - * runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', - * 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' + * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ runbookType?: RunbookTypeEnum; /** - * @member {ContentLink} [publishContentLink] Gets or sets the published - * runbook content link. + * Gets or sets the published runbook content link. */ publishContentLink?: ContentLink; /** - * @member {RunbookState} [state] Gets or sets the state of the runbook. - * Possible values include: 'New', 'Edit', 'Published' + * Gets or sets the state of the runbook. Possible values include: 'New', 'Edit', 'Published' */ state?: RunbookState; /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. + * Gets or sets verbose log option. */ logVerbose?: boolean; /** - * @member {boolean} [logProgress] Gets or sets progress log option. + * Gets or sets progress log option. */ logProgress?: boolean; /** - * @member {number} [logActivityTrace] Gets or sets the option to log - * activity trace of the runbook. + * Gets or sets the option to log activity trace of the runbook. */ logActivityTrace?: number; /** - * @member {number} [jobCount] Gets or sets the job count of the runbook. + * Gets or sets the job count of the runbook. */ jobCount?: number; /** - * @member {{ [propertyName: string]: RunbookParameter }} [parameters] Gets - * or sets the runbook parameters. + * Gets or sets the runbook parameters. */ parameters?: { [propertyName: string]: RunbookParameter }; /** - * @member {string[]} [outputTypes] Gets or sets the runbook output types. + * Gets or sets the runbook output types. */ outputTypes?: string[]; /** - * @member {RunbookDraft} [draft] Gets or sets the draft runbook properties. + * Gets or sets the draft runbook properties. */ draft?: RunbookDraft; /** - * @member {RunbookProvisioningState} [provisioningState] Gets or sets the - * provisioning state of the runbook. Possible values include: 'Succeeded' + * Gets or sets the provisioning state of the runbook. Possible values include: 'Succeeded' */ provisioningState?: RunbookProvisioningState; /** - * @member {string} [lastModifiedBy] Gets or sets the last modified by. + * Gets or sets the last modified by. */ lastModifiedBy?: string; /** - * @member {Date} [creationTime] Gets or sets the creation time. + * Gets or sets the creation time. */ creationTime?: Date; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time. + * Gets or sets the last modified time. */ lastModifiedTime?: Date; /** - * @member {string} [description] Gets or sets the description. + * Gets or sets the description. */ description?: string; /** - * @member {string} [etag] Gets or sets the etag of the resource. + * Gets or sets the etag of the resource. */ etag?: string; } /** - * @interface - * An interface representing RunbookCreateOrUpdateParameters. * The parameters supplied to the create or update runbook operation. - * */ export interface RunbookCreateOrUpdateParameters { /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. + * Gets or sets verbose log option. */ logVerbose?: boolean; /** - * @member {boolean} [logProgress] Gets or sets progress log option. + * Gets or sets progress log option. */ logProgress?: boolean; /** - * @member {RunbookTypeEnum} runbookType Gets or sets the type of the - * runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', - * 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' + * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ runbookType: RunbookTypeEnum; /** - * @member {RunbookDraft} [draft] Gets or sets the draft runbook properties. + * Gets or sets the draft runbook properties. */ draft?: RunbookDraft; /** - * @member {ContentLink} [publishContentLink] Gets or sets the published - * runbook content link. + * Gets or sets the published runbook content link. */ publishContentLink?: ContentLink; /** - * @member {string} [description] Gets or sets the description of the - * runbook. + * Gets or sets the description of the runbook. */ description?: string; /** - * @member {number} [logActivityTrace] Gets or sets the activity-level - * tracing options of the runbook. + * Gets or sets the activity-level tracing options of the runbook. */ logActivityTrace?: number; /** - * @member {string} [name] Gets or sets the name of the resource. + * Gets or sets the name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing RunbookUpdateParameters. * The parameters supplied to the update runbook operation. - * */ export interface RunbookUpdateParameters { /** - * @member {string} [description] Gets or sets the description of the - * runbook. + * Gets or sets the description of the runbook. */ description?: string; /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. + * Gets or sets verbose log option. */ logVerbose?: boolean; /** - * @member {boolean} [logProgress] Gets or sets progress log option. + * Gets or sets progress log option. */ logProgress?: boolean; /** - * @member {number} [logActivityTrace] Gets or sets the activity-level - * tracing options of the runbook. + * Gets or sets the activity-level tracing options of the runbook. */ logActivityTrace?: number; /** - * @member {string} [name] Gets or sets the name of the resource. + * Gets or sets the name of the resource. */ name?: string; /** - * @member {string} [location] Gets or sets the location of the resource. + * Gets or sets the location of the resource. */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing RunbookDraftUndoEditResult. - * The response model for the undoedit runbook operation. - * + * The response model for the undo edit runbook operation. */ export interface RunbookDraftUndoEditResult { /** - * @member {HttpStatusCode} [statusCode] Possible values include: 'Continue', - * 'SwitchingProtocols', 'OK', 'Created', 'Accepted', - * 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', - * 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', - * 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', - * 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', - * 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', - * 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', - * 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', - * 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', - * 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', - * 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', - * 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', - * 'HttpVersionNotSupported' + * Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', + * 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', + * 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', + * 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', + * 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', + * 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', + * 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', + * 'RequestUriTooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', + * 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', + * 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' */ statusCode?: HttpStatusCode; - /** - * @member {string} [requestId] - */ requestId?: string; } /** - * @interface - * An interface representing TestJobCreateParameters. * The parameters supplied to the create test job operation. - * */ export interface TestJobCreateParameters { /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the test job. + * Gets or sets the parameters of the test job. */ parameters?: { [propertyName: string]: string }; /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ runOn?: string; } /** - * @interface - * An interface representing TestJob. * Definition of the test job. - * */ export interface TestJob { /** - * @member {Date} [creationTime] Gets or sets the creation time of the test - * job. + * Gets or sets the creation time of the test job. */ creationTime?: Date; /** - * @member {string} [status] Gets or sets the status of the test job. + * Gets or sets the status of the test job. */ status?: string; /** - * @member {string} [statusDetails] Gets or sets the status details of the - * test job. + * Gets or sets the status details of the test job. */ statusDetails?: string; /** - * @member {string} [runOn] Gets or sets the runOn which specifies the group - * name where the job is to be executed. + * Gets or sets the runOn which specifies the group name where the job is to be executed. */ runOn?: string; /** - * @member {Date} [startTime] Gets or sets the start time of the test job. + * Gets or sets the start time of the test job. */ startTime?: Date; /** - * @member {Date} [endTime] Gets or sets the end time of the test job. + * Gets or sets the end time of the test job. */ endTime?: Date; /** - * @member {string} [exception] Gets or sets the exception of the test job. + * Gets or sets the exception of the test job. */ exception?: string; /** - * @member {Date} [lastModifiedTime] Gets or sets the last modified time of - * the test job. + * Gets or sets the last modified time of the test job. */ lastModifiedTime?: Date; /** - * @member {Date} [lastStatusModifiedTime] Gets or sets the last status - * modified time of the test job. + * Gets or sets the last status modified time of the test job. */ lastStatusModifiedTime?: Date; /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the test job. + * Gets or sets the parameters of the test job. */ parameters?: { [propertyName: string]: string }; /** - * @member {number} [logActivityTrace] The activity-level tracing options of - * the runbook. + * The activity-level tracing options of the runbook. */ logActivityTrace?: number; } /** - * @interface - * An interface representing RunbookCreateOrUpdateDraftProperties. - * The parameters supplied to the create or update dratft runbook properties. - * + * The parameters supplied to the create or update draft runbook properties. */ export interface RunbookCreateOrUpdateDraftProperties { /** - * @member {boolean} [logVerbose] Gets or sets verbose log option. + * Gets or sets verbose log option. */ logVerbose?: boolean; /** - * @member {boolean} [logProgress] Gets or sets progress log option. + * Gets or sets progress log option. */ logProgress?: boolean; /** - * @member {RunbookTypeEnum} runbookType Gets or sets the type of the - * runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', - * 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' + * Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', + * 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell' */ runbookType: RunbookTypeEnum; /** - * @member {RunbookDraft} draft Gets or sets the draft runbook properties. + * Gets or sets the draft runbook properties. */ draft: RunbookDraft; /** - * @member {string} [description] Gets or sets the description of the - * runbook. + * Gets or sets the description of the runbook. */ description?: string; /** - * @member {number} [logActivityTrace] Gets or sets the activity-level - * tracing options of the runbook. + * Gets or sets the activity-level tracing options of the runbook. */ logActivityTrace?: number; } /** - * @interface - * An interface representing RunbookCreateOrUpdateDraftParameters. * The parameters supplied to the create or update runbook operation. - * */ export interface RunbookCreateOrUpdateDraftParameters { /** - * @member {string} runbookContent Content of the Runbook. + * Content of the Runbook. */ runbookContent: string; } /** - * @interface - * An interface representing PythonPackageCreateParameters. * The parameters supplied to the create or update module operation. - * */ export interface PythonPackageCreateParameters { /** - * @member {ContentLink} contentLink Gets or sets the module content link. + * Gets or sets the module content link. */ contentLink: ContentLink; /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing PythonPackageUpdateParameters. * The parameters supplied to the update module operation. - * */ export interface PythonPackageUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] Gets or sets the tags - * attached to the resource. + * Gets or sets the tags attached to the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing StatisticsListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface StatisticsListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing DscConfigurationUpdateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface DscConfigurationUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {DscConfigurationUpdateParameters} [parameters] The create or - * update parameters for configuration. + * The create or update parameters for configuration. */ parameters?: DscConfigurationUpdateParameters; } /** - * @interface - * An interface representing DscConfigurationListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface DscConfigurationListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; /** - * @member {number} [skip] The number of rows to skip. + * The number of rows to skip. */ skip?: number; /** - * @member {number} [top] The the number of rows to take. + * The the number of rows to take. */ top?: number; /** - * @member {string} [inlinecount] Return total rows. + * Return total rows. */ inlinecount?: string; } /** - * @interface - * An interface representing HybridRunbookWorkerGroupListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface HybridRunbookWorkerGroupListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing JobScheduleListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobScheduleListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing WebhookListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WebhookListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing WatcherListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WatcherListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationsCreateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationsGetByNameOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationsGetByNameOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationsDeleteMethodOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationRunsGetByIdOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationRunsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; /** - * @member {string} [filter] The filter to apply on the operation. You can - * use the following filters: 'properties/osType', 'properties/status', - * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' + * The filter to apply on the operation. You can use the following filters: 'properties/osType', + * 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' */ filter?: string; /** - * @member {string} [skip] Number of entries you skip before returning - * results + * Number of entries you skip before returning results */ skip?: string; /** - * @member {string} [top] Maximum number of entries returned in the results - * collection + * Maximum number of entries returned in the results collection */ top?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationMachineRunsGetByIdOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing SoftwareUpdateConfigurationMachineRunsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SoftwareUpdateConfigurationMachineRunsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; /** - * @member {string} [filter] The filter to apply on the operation. You can - * use the following filters: 'properties/osType', 'properties/status', - * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' + * The filter to apply on the operation. You can use the following filters: 'properties/osType', + * 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' */ filter?: string; /** - * @member {string} [skip] number of entries you skip before returning - * results + * number of entries you skip before returning results */ skip?: string; /** - * @member {string} [top] Maximum number of entries returned in the results - * collection + * Maximum number of entries returned in the results collection */ top?: string; } /** - * @interface - * An interface representing SourceControlListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SourceControlListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing SourceControlSyncJobListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SourceControlSyncJobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing SourceControlSyncJobStreamsListBySyncJobOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing JobGetOutputOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobGetOutputOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobGetRunbookContentOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobGetRunbookContentOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobSuspendOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobSuspendOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobStopOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobStopOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobGetOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobGetOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobCreateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobCreateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobResumeOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobResumeOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobListByAutomationAccountNextOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobStreamGetOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobStreamGetOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobStreamListByJobOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobStreamListByJobOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing JobStreamListByJobNextOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobStreamListByJobNextOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [clientRequestId] Identifies this specific client - * request. + * Identifies this specific client request. */ clientRequestId?: string; } /** - * @interface - * An interface representing DscNodeListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface DscNodeListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; /** - * @member {number} [skip] The number of rows to skip. + * The number of rows to skip. */ skip?: number; /** - * @member {number} [top] The the number of rows to take. + * The the number of rows to take. */ top?: number; /** - * @member {string} [inlinecount] Return total rows. + * Return total rows. */ inlinecount?: string; } /** - * @interface - * An interface representing NodeReportsListByNodeOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface NodeReportsListByNodeOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing DscCompilationJobListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface DscCompilationJobListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface - * An interface representing DscNodeConfigurationListByAutomationAccountOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface DscNodeConfigurationListByAutomationAccountOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; /** - * @member {number} [skip] The number of rows to skip. + * The number of rows to skip. */ skip?: number; /** - * @member {number} [top] The the number of rows to take. + * The the number of rows to take. */ top?: number; /** - * @member {string} [inlinecount] Return total rows. + * Return total rows. */ inlinecount?: string; } /** - * @interface - * An interface representing TestJobStreamsListByTestJobOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface TestJobStreamsListByTestJobOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The filter to apply on the operation. + * The filter to apply on the operation. */ filter?: string; } /** - * @interface * An interface representing AutomationClientOptions. - * @extends AzureServiceClientOptions */ export interface AutomationClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } /** - * @interface - * An interface representing RunbookDraftReplaceContentHeaders. * Defines headers for ReplaceContent operation. - * */ export interface RunbookDraftReplaceContentHeaders { /** - * @member {string} [location] URL to query for status of the operation. + * URL to query for status of the operation. */ location: string; } /** - * @interface - * An interface representing RunbookPublishHeaders. * Defines headers for Publish operation. - * */ export interface RunbookPublishHeaders { /** - * @member {string} [location] URL to query for status of the operation. + * URL to query for status of the operation. */ location: string; } - /** * @interface - * An interface representing the AutomationAccountListResult. * The response model for the list account operation. - * * @extends Array */ export interface AutomationAccountListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the OperationListResult. * The response model for the list of Automation operations - * * @extends Array */ export interface OperationListResult extends Array { @@ -5094,9 +4073,7 @@ export interface OperationListResult extends Array { /** * @interface - * An interface representing the StatisticsListResult. * The response model for the list statistics operation. - * * @extends Array */ export interface StatisticsListResult extends Array { @@ -5104,9 +4081,7 @@ export interface StatisticsListResult extends Array { /** * @interface - * An interface representing the UsageListResult. * The response model for the get usage operation. - * * @extends Array */ export interface UsageListResult extends Array { @@ -5114,140 +4089,119 @@ export interface UsageListResult extends Array { /** * @interface - * An interface representing the CertificateListResult. * The response model for the list certificate operation. - * * @extends Array */ export interface CertificateListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the ConnectionListResult. * The response model for the list connection operation. - * * @extends Array */ export interface ConnectionListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the ConnectionTypeListResult. * The response model for the list connection type operation. - * * @extends Array */ export interface ConnectionTypeListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the CredentialListResult. * The response model for the list credential operation. - * * @extends Array */ export interface CredentialListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the DscConfigurationListResult. * The response model for the list configuration operation. - * * @extends Array */ export interface DscConfigurationListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; /** - * @member {number} [totalCount] Gets the total number of configurations - * matching filter criteria. + * Gets the total number of configurations matching filter criteria. */ totalCount?: number; } /** * @interface - * An interface representing the HybridRunbookWorkerGroupsListResult. * The response model for the list hybrid runbook worker groups. - * * @extends Array */ export interface HybridRunbookWorkerGroupsListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the JobScheduleListResult. * The response model for the list job schedule operation. - * * @extends Array */ export interface JobScheduleListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the ActivityListResult. * The response model for the list activity operation. - * * @extends Array */ export interface ActivityListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the ModuleListResult. * The response model for the list module operation. - * * @extends Array */ export interface ModuleListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the TypeFieldListResult. * The response model for the list fields operation. - * * @extends Array */ export interface TypeFieldListResult extends Array { @@ -5255,209 +4209,178 @@ export interface TypeFieldListResult extends Array { /** * @interface - * An interface representing the ScheduleListResult. * The response model for the list schedule operation. - * * @extends Array */ export interface ScheduleListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the VariableListResult. * The response model for the list variables operation. - * * @extends Array */ export interface VariableListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the WebhookListResult. * The response model for the list webhook operation. - * * @extends Array */ export interface WebhookListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the WatcherListResult. * The response model for the list watcher operation. - * * @extends Array */ export interface WatcherListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the SourceControlListResult. * The response model for the list source controls operation. - * * @extends Array */ export interface SourceControlListResult extends Array { /** - * @member {string} [nextLink] The next link. + * The next link. */ nextLink?: string; } /** * @interface - * An interface representing the SourceControlSyncJobListResult. * The response model for the list source control sync jobs operation. - * * @extends Array */ export interface SourceControlSyncJobListResult extends Array { /** - * @member {string} [nextLink] The next link. + * The next link. */ nextLink?: string; } /** * @interface - * An interface representing the SourceControlSyncJobStreamsListBySyncJob. * The response model for the list source control sync job streams operation. - * * @extends Array */ export interface SourceControlSyncJobStreamsListBySyncJob extends Array { /** - * @member {string} [nextLink] The next link. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The next link. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the JobListResultV2. * The response model for the list job operation. - * * @extends Array */ export interface JobListResultV2 extends Array { /** - * @member {string} [nextLink] The link to the next page. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The link to the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the JobStreamListResult. * The response model for the list job stream operation. - * * @extends Array */ export interface JobStreamListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the DscNodeListResult. * The response model for the list dsc nodes operation. - * * @extends Array */ export interface DscNodeListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; /** - * @member {number} [totalCount] Gets the total number of nodes matching - * filter criteria. + * Gets the total number of nodes matching filter criteria. */ totalCount?: number; } /** * @interface - * An interface representing the DscNodeReportListResult. * The response model for the list dsc nodes operation. - * * @extends Array */ export interface DscNodeReportListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the DscCompilationJobListResult. * The response model for the list job operation. - * * @extends Array */ export interface DscCompilationJobListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } /** * @interface - * An interface representing the DscNodeConfigurationListResult. * The response model for the list job operation. - * * @extends Array */ export interface DscNodeConfigurationListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; /** - * @member {number} [totalCount] Gets or sets the total rows in query. + * Gets or sets the total rows in query. */ totalCount?: number; } /** * @interface - * An interface representing the RunbookListResult. * The response model for the list runbook operation. - * * @extends Array */ export interface RunbookListResult extends Array { /** - * @member {string} [nextLink] Gets or sets the next link. + * Gets or sets the next link. */ nextLink?: string; } @@ -5722,6 +4645,7 @@ export type AutomationAccountUpdateResponse = AutomationAccount & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5741,6 +4665,7 @@ export type AutomationAccountCreateOrUpdateResponse = AutomationAccount & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5760,6 +4685,7 @@ export type AutomationAccountGetResponse = AutomationAccount & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5779,6 +4705,7 @@ export type AutomationAccountListByResourceGroupResponse = AutomationAccountList * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5798,6 +4725,7 @@ export type AutomationAccountListResponse = AutomationAccountListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5817,6 +4745,7 @@ export type AutomationAccountListByResourceGroupNextResponse = AutomationAccount * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5836,6 +4765,7 @@ export type AutomationAccountListNextResponse = AutomationAccountListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5855,6 +4785,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5874,6 +4805,7 @@ export type StatisticsListByAutomationAccountResponse = StatisticsListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5893,6 +4825,7 @@ export type UsagesListByAutomationAccountResponse = UsageListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5912,6 +4845,7 @@ export type KeysListByAutomationAccountResponse = KeyListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5931,6 +4865,7 @@ export type CertificateGetResponse = Certificate & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5950,6 +4885,7 @@ export type CertificateCreateOrUpdateResponse = Certificate & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5969,6 +4905,7 @@ export type CertificateUpdateResponse = Certificate & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -5988,6 +4925,7 @@ export type CertificateListByAutomationAccountResponse = CertificateListResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6007,6 +4945,7 @@ export type CertificateListByAutomationAccountNextResponse = CertificateListResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6026,6 +4965,7 @@ export type ConnectionDeleteMethodResponse = Connection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6045,6 +4985,7 @@ export type ConnectionGetResponse = Connection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6064,6 +5005,7 @@ export type ConnectionCreateOrUpdateResponse = Connection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6083,6 +5025,7 @@ export type ConnectionUpdateResponse = Connection & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6102,6 +5045,7 @@ export type ConnectionListByAutomationAccountResponse = ConnectionListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6121,6 +5065,7 @@ export type ConnectionListByAutomationAccountNextResponse = ConnectionListResult * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6140,6 +5085,7 @@ export type ConnectionTypeGetResponse = ConnectionType & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6159,6 +5105,7 @@ export type ConnectionTypeCreateOrUpdateResponse = ConnectionType & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6178,6 +5125,7 @@ export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListRe * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6197,6 +5145,7 @@ export type ConnectionTypeListByAutomationAccountNextResponse = ConnectionTypeLi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6216,6 +5165,7 @@ export type CredentialGetResponse = Credential & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6235,6 +5185,7 @@ export type CredentialCreateOrUpdateResponse = Credential & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6254,6 +5205,7 @@ export type CredentialUpdateResponse = Credential & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6273,6 +5225,7 @@ export type CredentialListByAutomationAccountResponse = CredentialListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6292,6 +5245,7 @@ export type CredentialListByAutomationAccountNextResponse = CredentialListResult * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6311,6 +5265,7 @@ export type DscConfigurationGetResponse = DscConfiguration & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6330,6 +5285,7 @@ export type DscConfigurationCreateOrUpdateResponse = DscConfiguration & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6349,6 +5305,7 @@ export type DscConfigurationUpdateResponse = DscConfiguration & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6367,6 +5324,7 @@ export type DscConfigurationGetContentResponse = { * Always undefined in node.js. */ blobBody?: Promise; + /** * NODEJS ONLY * @@ -6374,6 +5332,7 @@ export type DscConfigurationGetContentResponse = { * Always undefined in the browser. */ readableStreamBody?: NodeJS.ReadableStream; + /** * The underlying HTTP response. */ @@ -6392,6 +5351,7 @@ export type DscConfigurationListByAutomationAccountResponse = DscConfigurationLi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6411,6 +5371,7 @@ export type DscConfigurationListByAutomationAccountNextResponse = DscConfigurati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6430,6 +5391,7 @@ export type HybridRunbookWorkerGroupGetResponse = HybridRunbookWorkerGroup & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6449,6 +5411,7 @@ export type HybridRunbookWorkerGroupUpdateResponse = HybridRunbookWorkerGroup & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6468,6 +5431,7 @@ export type HybridRunbookWorkerGroupListByAutomationAccountResponse = HybridRunb * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6487,6 +5451,7 @@ export type HybridRunbookWorkerGroupListByAutomationAccountNextResponse = Hybrid * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6506,6 +5471,7 @@ export type JobScheduleGetResponse = JobSchedule & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6525,6 +5491,7 @@ export type JobScheduleCreateResponse = JobSchedule & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6544,6 +5511,7 @@ export type JobScheduleListByAutomationAccountResponse = JobScheduleListResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6563,6 +5531,7 @@ export type JobScheduleListByAutomationAccountNextResponse = JobScheduleListResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6582,6 +5551,7 @@ export type LinkedWorkspaceGetResponse = LinkedWorkspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6601,6 +5571,7 @@ export type ActivityGetResponse = Activity & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6620,6 +5591,7 @@ export type ActivityListByModuleResponse = ActivityListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6639,6 +5611,7 @@ export type ActivityListByModuleNextResponse = ActivityListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6658,6 +5631,7 @@ export type ModuleGetResponse = Module & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6677,6 +5651,7 @@ export type ModuleCreateOrUpdateResponse = Module & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6696,6 +5671,7 @@ export type ModuleUpdateResponse = Module & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6715,6 +5691,7 @@ export type ModuleListByAutomationAccountResponse = ModuleListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6734,6 +5711,7 @@ export type ModuleListByAutomationAccountNextResponse = ModuleListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6753,6 +5731,7 @@ export type ObjectDataTypesListFieldsByModuleAndTypeResponse = TypeFieldListResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6772,6 +5751,7 @@ export type ObjectDataTypesListFieldsByTypeResponse = TypeFieldListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6791,6 +5771,7 @@ export type FieldsListByTypeResponse = TypeFieldListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6810,6 +5791,7 @@ export type ScheduleCreateOrUpdateResponse = Schedule & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6829,6 +5811,7 @@ export type ScheduleUpdateResponse = Schedule & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6848,6 +5831,7 @@ export type ScheduleGetResponse = Schedule & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6867,6 +5851,7 @@ export type ScheduleListByAutomationAccountResponse = ScheduleListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6886,6 +5871,7 @@ export type ScheduleListByAutomationAccountNextResponse = ScheduleListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6905,6 +5891,7 @@ export type VariableCreateOrUpdateResponse = Variable & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6924,6 +5911,7 @@ export type VariableUpdateResponse = Variable & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6943,6 +5931,7 @@ export type VariableGetResponse = Variable & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6962,6 +5951,7 @@ export type VariableListByAutomationAccountResponse = VariableListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6981,6 +5971,7 @@ export type VariableListByAutomationAccountNextResponse = VariableListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -6996,6 +5987,7 @@ export type WebhookGenerateUriResponse = { * The parsed response body. */ body: string; + /** * The underlying HTTP response. */ @@ -7004,6 +5996,7 @@ export type WebhookGenerateUriResponse = { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7023,6 +6016,7 @@ export type WebhookGetResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7042,6 +6036,7 @@ export type WebhookCreateOrUpdateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7061,6 +6056,7 @@ export type WebhookUpdateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7080,6 +6076,7 @@ export type WebhookListByAutomationAccountResponse = WebhookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7099,6 +6096,7 @@ export type WebhookListByAutomationAccountNextResponse = WebhookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7118,6 +6116,7 @@ export type WatcherCreateOrUpdateResponse = Watcher & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7137,6 +6136,7 @@ export type WatcherGetResponse = Watcher & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7156,6 +6156,7 @@ export type WatcherUpdateResponse = Watcher & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7175,6 +6176,7 @@ export type WatcherListByAutomationAccountResponse = WatcherListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7194,6 +6196,7 @@ export type WatcherListByAutomationAccountNextResponse = WatcherListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7213,6 +6216,7 @@ export type SoftwareUpdateConfigurationsCreateResponse = SoftwareUpdateConfigura * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7232,6 +6236,7 @@ export type SoftwareUpdateConfigurationsGetByNameResponse = SoftwareUpdateConfig * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7251,6 +6256,7 @@ export type SoftwareUpdateConfigurationsListResponse = SoftwareUpdateConfigurati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7270,6 +6276,7 @@ export type SoftwareUpdateConfigurationRunsGetByIdResponse = SoftwareUpdateConfi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7289,6 +6296,7 @@ export type SoftwareUpdateConfigurationRunsListResponse = SoftwareUpdateConfigur * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7308,6 +6316,7 @@ export type SoftwareUpdateConfigurationMachineRunsGetByIdResponse = SoftwareUpda * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7327,6 +6336,7 @@ export type SoftwareUpdateConfigurationMachineRunsListResponse = SoftwareUpdateC * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7346,6 +6356,7 @@ export type SourceControlCreateOrUpdateResponse = SourceControl & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7365,6 +6376,7 @@ export type SourceControlUpdateResponse = SourceControl & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7384,6 +6396,7 @@ export type SourceControlGetResponse = SourceControl & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7403,6 +6416,7 @@ export type SourceControlListByAutomationAccountResponse = SourceControlListResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7422,6 +6436,7 @@ export type SourceControlListByAutomationAccountNextResponse = SourceControlList * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7441,6 +6456,7 @@ export type SourceControlSyncJobCreateResponse = SourceControlSyncJob & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7460,6 +6476,7 @@ export type SourceControlSyncJobGetResponse = SourceControlSyncJobById & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7479,6 +6496,7 @@ export type SourceControlSyncJobListByAutomationAccountResponse = SourceControlS * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7498,6 +6516,7 @@ export type SourceControlSyncJobListByAutomationAccountNextResponse = SourceCont * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7517,6 +6536,7 @@ export type SourceControlSyncJobStreamsListBySyncJobResponse = SourceControlSync * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7536,6 +6556,7 @@ export type SourceControlSyncJobStreamsGetResponse = SourceControlSyncJobStreamB * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7555,6 +6576,7 @@ export type SourceControlSyncJobStreamsListBySyncJobNextResponse = SourceControl * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7573,6 +6595,7 @@ export type JobGetOutputResponse = { * Always undefined in node.js. */ blobBody?: Promise; + /** * NODEJS ONLY * @@ -7580,6 +6603,7 @@ export type JobGetOutputResponse = { * Always undefined in the browser. */ readableStreamBody?: NodeJS.ReadableStream; + /** * The underlying HTTP response. */ @@ -7597,6 +6621,7 @@ export type JobGetRunbookContentResponse = { * Always undefined in node.js. */ blobBody?: Promise; + /** * NODEJS ONLY * @@ -7604,6 +6629,7 @@ export type JobGetRunbookContentResponse = { * Always undefined in the browser. */ readableStreamBody?: NodeJS.ReadableStream; + /** * The underlying HTTP response. */ @@ -7622,6 +6648,7 @@ export type JobGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7641,6 +6668,7 @@ export type JobCreateResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7660,6 +6688,7 @@ export type JobListByAutomationAccountResponse = JobListResultV2 & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7679,6 +6708,7 @@ export type JobListByAutomationAccountNextResponse = JobListResultV2 & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7698,6 +6728,7 @@ export type JobStreamGetResponse = JobStream & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7717,6 +6748,7 @@ export type JobStreamListByJobResponse = JobStreamListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7736,6 +6768,7 @@ export type JobStreamListByJobNextResponse = JobStreamListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7755,6 +6788,7 @@ export type AgentRegistrationInformationGetResponse = AgentRegistration & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7774,6 +6808,7 @@ export type AgentRegistrationInformationRegenerateKeyResponse = AgentRegistratio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7793,6 +6828,7 @@ export type DscNodeDeleteMethodResponse = DscNode & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7812,6 +6848,7 @@ export type DscNodeGetResponse = DscNode & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7831,6 +6868,7 @@ export type DscNodeUpdateResponse = DscNode & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7850,6 +6888,7 @@ export type DscNodeListByAutomationAccountResponse = DscNodeListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7869,6 +6908,7 @@ export type DscNodeListByAutomationAccountNextResponse = DscNodeListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7888,6 +6928,7 @@ export type NodeReportsListByNodeResponse = DscNodeReportListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7907,6 +6948,7 @@ export type NodeReportsGetResponse = DscNodeReport & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7922,6 +6964,7 @@ export type NodeReportsGetContentResponse = { * The parsed response body. */ body: any; + /** * The underlying HTTP response. */ @@ -7930,6 +6973,7 @@ export type NodeReportsGetContentResponse = { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7949,6 +6993,7 @@ export type NodeReportsListByNodeNextResponse = DscNodeReportListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7968,6 +7013,7 @@ export type DscCompilationJobCreateResponse = DscCompilationJob & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -7987,6 +7033,7 @@ export type DscCompilationJobGetResponse = DscCompilationJob & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8006,6 +7053,7 @@ export type DscCompilationJobListByAutomationAccountResponse = DscCompilationJob * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8025,6 +7073,7 @@ export type DscCompilationJobGetStreamResponse = JobStream & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8044,6 +7093,7 @@ export type DscCompilationJobBeginCreateResponse = DscCompilationJob & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8063,6 +7113,7 @@ export type DscCompilationJobListByAutomationAccountNextResponse = DscCompilatio * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8082,6 +7133,7 @@ export type DscCompilationJobStreamListByJobResponse = JobStreamListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8101,6 +7153,7 @@ export type DscNodeConfigurationGetResponse = DscNodeConfiguration & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8120,6 +7173,7 @@ export type DscNodeConfigurationCreateOrUpdateResponse = DscNodeConfiguration & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8139,6 +7193,7 @@ export type DscNodeConfigurationListByAutomationAccountResponse = DscNodeConfigu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8158,6 +7213,7 @@ export type DscNodeConfigurationBeginCreateOrUpdateResponse = DscNodeConfigurati * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8177,6 +7233,7 @@ export type DscNodeConfigurationListByAutomationAccountNextResponse = DscNodeCon * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8196,6 +7253,7 @@ export type NodeCountInformationGetResponse = NodeCounts & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8214,6 +7272,7 @@ export type RunbookDraftGetContentResponse = { * Always undefined in node.js. */ blobBody?: Promise; + /** * NODEJS ONLY * @@ -8221,6 +7280,7 @@ export type RunbookDraftGetContentResponse = { * Always undefined in the browser. */ readableStreamBody?: NodeJS.ReadableStream; + /** * The underlying HTTP response. */ @@ -8238,6 +7298,7 @@ export type RunbookDraftReplaceContentResponse = RunbookDraftReplaceContentHeade * Always undefined in node.js. */ blobBody?: Promise; + /** * NODEJS ONLY * @@ -8245,6 +7306,7 @@ export type RunbookDraftReplaceContentResponse = RunbookDraftReplaceContentHeade * Always undefined in the browser. */ readableStreamBody?: NodeJS.ReadableStream; + /** * The underlying HTTP response. */ @@ -8268,6 +7330,7 @@ export type RunbookDraftGetResponse = RunbookDraft & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8287,6 +7350,7 @@ export type RunbookDraftUndoEditResponse = RunbookDraftUndoEditResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8320,6 +7384,7 @@ export type RunbookGetContentResponse = { * Always undefined in node.js. */ blobBody?: Promise; + /** * NODEJS ONLY * @@ -8327,6 +7392,7 @@ export type RunbookGetContentResponse = { * Always undefined in the browser. */ readableStreamBody?: NodeJS.ReadableStream; + /** * The underlying HTTP response. */ @@ -8345,6 +7411,7 @@ export type RunbookGetResponse = Runbook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8364,6 +7431,7 @@ export type RunbookCreateOrUpdateResponse = Runbook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8383,6 +7451,7 @@ export type RunbookUpdateResponse = Runbook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8402,6 +7471,7 @@ export type RunbookListByAutomationAccountResponse = RunbookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8421,6 +7491,7 @@ export type RunbookListByAutomationAccountNextResponse = RunbookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8440,6 +7511,7 @@ export type TestJobStreamsGetResponse = JobStream & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8459,6 +7531,7 @@ export type TestJobStreamsListByTestJobResponse = JobStreamListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8478,6 +7551,7 @@ export type TestJobStreamsListByTestJobNextResponse = JobStreamListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8497,6 +7571,7 @@ export type TestJobCreateResponse = TestJob & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8516,6 +7591,7 @@ export type TestJobGetResponse = TestJob & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8535,6 +7611,7 @@ export type Python2PackageGetResponse = Module & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8554,6 +7631,7 @@ export type Python2PackageCreateOrUpdateResponse = Module & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8573,6 +7651,7 @@ export type Python2PackageUpdateResponse = Module & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8592,6 +7671,7 @@ export type Python2PackageListByAutomationAccountResponse = ModuleListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -8611,6 +7691,7 @@ export type Python2PackageListByAutomationAccountNextResponse = ModuleListResult * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts index 4a462fcf66a5..c454aab004a3 100644 --- a/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - CloudError, - ErrorResponse, - Job, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - RunbookAssociationProperty, - JobCreateParameters, - JobListResultV2, - JobCollectionItem, - TrackedResource, Certificate, + CloudError, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + JobCreateParameters, + JobListResultV2, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts index 21b8ba2f2cb7..d34c750a6e68 100644 --- a/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts @@ -1,19 +1,16 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ErrorResponse, JobSchedule, - ScheduleAssociationProperty, - RunbookAssociationProperty, JobScheduleCreateParameters, - JobScheduleListResult + JobScheduleListResult, + RunbookAssociationProperty, + ScheduleAssociationProperty } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts index ecada22398f3..f1dfce049084 100644 --- a/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - JobStream, ErrorResponse, + JobStream, JobStreamListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/keysMappers.ts b/sdk/automation/arm-automation/src/models/keysMappers.ts index c624dabeedb0..0e67095af658 100644 --- a/sdk/automation/arm-automation/src/models/keysMappers.ts +++ b/sdk/automation/arm-automation/src/models/keysMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - KeyListResult, + ErrorResponse, Key, - ErrorResponse + KeyListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts b/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts index fb9368d83b12..95e9f276fc47 100644 --- a/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts @@ -1,15 +1,12 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - LinkedWorkspace, - ErrorResponse + ErrorResponse, + LinkedWorkspace } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/mappers.ts b/sdk/automation/arm-automation/src/models/mappers.ts index f4564803e4eb..476881218cdf 100644 --- a/sdk/automation/arm-automation/src/models/mappers.ts +++ b/sdk/automation/arm-automation/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -3010,6 +3008,28 @@ export const AzureQueryProperties: msRest.CompositeMapper = { } }; +export const NonAzureQueryProperties: msRest.CompositeMapper = { + serializedName: "NonAzureQueryProperties", + type: { + name: "Composite", + className: "NonAzureQueryProperties", + modelProperties: { + functionAlias: { + serializedName: "functionAlias", + type: { + name: "String" + } + }, + workspaceId: { + serializedName: "workspaceId", + type: { + name: "String" + } + } + } + } +}; + export const TargetProperties: msRest.CompositeMapper = { serializedName: "TargetProperties", type: { @@ -3027,6 +3047,18 @@ export const TargetProperties: msRest.CompositeMapper = { } } } + }, + nonAzureQueries: { + serializedName: "nonAzureQueries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NonAzureQueryProperties" + } + } + } } } } diff --git a/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts index 330e203beb95..2753e228b7a2 100644 --- a/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, - Module, - TrackedResource, - Resource, - BaseResource, - ContentLink, - ContentHash, - ModuleErrorInfo, - ModuleCreateOrUpdateParameters, - ModuleUpdateParameters, - ModuleListResult, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, AutomationAccount, - Sku, - ProxyResource, + AzureQueryProperties, + BaseResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, - RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, - ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, - SourceControl, - Job, - JobCollectionItem, DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, + Module, + ModuleCreateOrUpdateParameters, + ModuleErrorInfo, + ModuleListResult, + ModuleUpdateParameters, + NonAzureQueryProperties, + ProxyResource, + Resource, Runbook, + RunbookAssociationProperty, + RunbookDraft, RunbookParameter, - RunbookDraft + Schedule, + ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts b/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts index 14a5993ec072..f4c0b55bdb86 100644 --- a/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts +++ b/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - NodeCounts, + ErrorResponse, NodeCount, NodeCountProperties, - ErrorResponse + NodeCounts } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts b/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts index 1ec8ddd83fc8..82fbc726d4d6 100644 --- a/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts +++ b/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts @@ -1,20 +1,17 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - DscNodeReportListResult, + DscMetaConfiguration, DscNodeReport, + DscNodeReportListResult, DscReportError, DscReportResource, DscReportResourceNavigation, - DscMetaConfiguration, ErrorResponse } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts b/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts index d1e251125d4d..c7bfc9962409 100644 --- a/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts +++ b/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - TypeFieldListResult, + ErrorResponse, TypeField, - ErrorResponse + TypeFieldListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/operationsMappers.ts b/sdk/automation/arm-automation/src/models/operationsMappers.ts index 715467ec9522..b8de8606cf9d 100644 --- a/sdk/automation/arm-automation/src/models/operationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/operationsMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationListResult, + ErrorResponse, Operation, OperationDisplay, - ErrorResponse + OperationListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/python2PackageMappers.ts b/sdk/automation/arm-automation/src/models/python2PackageMappers.ts index e9d3f45f08aa..aaa3208acc4c 100644 --- a/sdk/automation/arm-automation/src/models/python2PackageMappers.ts +++ b/sdk/automation/arm-automation/src/models/python2PackageMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, - Module, - TrackedResource, - Resource, - BaseResource, - ContentLink, - ContentHash, - ModuleErrorInfo, - PythonPackageCreateParameters, - PythonPackageUpdateParameters, - ModuleListResult, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, AutomationAccount, - Sku, - ProxyResource, + AzureQueryProperties, + BaseResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, - RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, - ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, - SourceControl, - Job, - JobCollectionItem, DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, + Module, + ModuleErrorInfo, + ModuleListResult, + NonAzureQueryProperties, + ProxyResource, + PythonPackageCreateParameters, + PythonPackageUpdateParameters, + Resource, Runbook, + RunbookAssociationProperty, + RunbookDraft, RunbookParameter, - RunbookDraft + Schedule, + ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationTasks, + SourceControl, + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts b/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts index a990bd3087e3..68582951b026 100644 --- a/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts @@ -1,21 +1,18 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { CloudError, - RunbookDraftReplaceContentHeaders, + ContentHash, + ContentLink, ErrorResponse, RunbookDraft, - ContentLink, - ContentHash, - RunbookParameter, - RunbookDraftUndoEditResult + RunbookDraftReplaceContentHeaders, + RunbookDraftUndoEditResult, + RunbookParameter } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts b/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts index b1cacfef0343..2f5f76a1bf92 100644 --- a/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts @@ -1,64 +1,62 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - RunbookPublishHeaders, - ErrorResponse, - CloudError, - Runbook, - TrackedResource, - Resource, - BaseResource, - ContentLink, - ContentHash, - RunbookParameter, - RunbookDraft, - RunbookCreateOrUpdateParameters, - RunbookUpdateParameters, - RunbookListResult, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, AutomationAccount, - Sku, - ProxyResource, + AzureQueryProperties, + BaseResource, Certificate, + CloudError, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookCreateOrUpdateParameters, + RunbookDraft, + RunbookListResult, + RunbookParameter, + RunbookPublishHeaders, + RunbookUpdateParameters, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts index b4cdf77d7461..c8932eee0df6 100644 --- a/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ScheduleCreateOrUpdateParameters, AdvancedSchedule, AdvancedScheduleMonthlyOccurrence, - Schedule, - ProxyResource, - Resource, + AutomationAccount, + AzureQueryProperties, BaseResource, - ErrorResponse, - ScheduleUpdateParameters, - ScheduleListResult, - TrackedResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, + ScheduleCreateOrUpdateParameters, + ScheduleListResult, ScheduleProperties, + ScheduleUpdateParameters, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts index a76401e94ba0..fded41e478a2 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts @@ -1,18 +1,15 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - SoftwareUpdateConfigurationMachineRun, - UpdateConfigurationNavigation, - JobNavigation, ErrorResponse, - SoftwareUpdateConfigurationMachineRunListResult + JobNavigation, + SoftwareUpdateConfigurationMachineRun, + SoftwareUpdateConfigurationMachineRunListResult, + UpdateConfigurationNavigation } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts index e6ddca73be95..b10b45a54021 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts @@ -1,19 +1,16 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - SoftwareUpdateConfigurationRun, - UpdateConfigurationNavigation, - SoftareUpdateConfigurationRunTasks, - SoftareUpdateConfigurationRunTaskProperties, ErrorResponse, - SoftwareUpdateConfigurationRunListResult + SoftareUpdateConfigurationRunTaskProperties, + SoftareUpdateConfigurationRunTasks, + SoftwareUpdateConfigurationRun, + SoftwareUpdateConfigurationRunListResult, + UpdateConfigurationNavigation } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts index 5ceae51ce72d..4b50eb050c5a 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - SoftwareUpdateConfiguration, - BaseResource, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, - ScheduleProperties, AdvancedSchedule, AdvancedScheduleMonthlyOccurrence, - ErrorResponse, - SoftwareUpdateConfigurationTasks, - TaskProperties, - SoftwareUpdateConfigurationListResult, - SoftwareUpdateConfigurationCollectionItem, + AutomationAccount, + AzureQueryProperties, + BaseResource, + Certificate, CollectionItemUpdateConfiguration, - Resource, - TrackedResource, + Connection, + ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, + Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Watcher, + NonAzureQueryProperties, + ProxyResource, + Resource, Runbook, - RunbookParameter, + RunbookAssociationProperty, RunbookDraft, - AutomationAccount, - Sku, - ProxyResource, - Certificate, - Connection, - ConnectionTypeAssociationProperty, - Credential, + RunbookParameter, Schedule, + ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, + SoftwareUpdateConfigurationCollectionItem, + SoftwareUpdateConfigurationListResult, + SoftwareUpdateConfigurationTasks, + SourceControl, + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, Variable, + Watcher, Webhook, - RunbookAssociationProperty, - SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts index e5ccd3148729..23592d2f9549 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts @@ -1,63 +1,61 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - SourceControlCreateOrUpdateParameters, - SourceControlSecurityTokenProperties, - SourceControl, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - ErrorResponse, - SourceControlUpdateParameters, - SourceControlListResult, - TrackedResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, + SourceControl, + SourceControlCreateOrUpdateParameters, + SourceControlListResult, + SourceControlSecurityTokenProperties, + SourceControlUpdateParameters, + TagSettingsProperties, + TargetProperties, TaskProperties, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts index 06bc2ab9804d..7df3a65e1921 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts @@ -1,18 +1,15 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - SourceControlSyncJobCreateParameters, - SourceControlSyncJob, ErrorResponse, + SourceControlSyncJob, SourceControlSyncJobById, + SourceControlSyncJobCreateParameters, SourceControlSyncJobListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts index 26868f143f8e..cf8212b1a3e5 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - SourceControlSyncJobStreamsListBySyncJob, - SourceControlSyncJobStream, ErrorResponse, - SourceControlSyncJobStreamById + SourceControlSyncJobStream, + SourceControlSyncJobStreamById, + SourceControlSyncJobStreamsListBySyncJob } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts b/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts index aa5b88fc7cd9..d1f78f9ba706 100644 --- a/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - StatisticsListResult, + ErrorResponse, Statistics, - ErrorResponse + StatisticsListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts index 4442e889cadb..760583cab1f9 100644 --- a/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - TestJobCreateParameters, + ErrorResponse, TestJob, - ErrorResponse + TestJobCreateParameters } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts b/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts index ecada22398f3..f1dfce049084 100644 --- a/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts +++ b/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - JobStream, ErrorResponse, + JobStream, JobStreamListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/usagesMappers.ts b/sdk/automation/arm-automation/src/models/usagesMappers.ts index e40e8af700d4..ca940ec4574c 100644 --- a/sdk/automation/arm-automation/src/models/usagesMappers.ts +++ b/sdk/automation/arm-automation/src/models/usagesMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - UsageListResult, + ErrorResponse, Usage, UsageCounterName, - ErrorResponse + UsageListResult } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts b/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts index 3211e3c01907..0e452c95ee88 100644 --- a/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - VariableCreateOrUpdateParameters, - Variable, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - ErrorResponse, - VariableUpdateParameters, - VariableListResult, - TrackedResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + VariableCreateOrUpdateParameters, + VariableListResult, + VariableUpdateParameters, + Watcher, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts b/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts index c3ec4b5fefe8..a03786e905b4 100644 --- a/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts @@ -1,61 +1,59 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - Watcher, - TrackedResource, - Resource, - BaseResource, - ErrorResponse, - WatcherUpdateParameters, - WatcherListResult, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, AutomationAccount, - Sku, - ProxyResource, + AzureQueryProperties, + BaseResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, - Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Webhook, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, RunbookAssociationProperty, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, + RunbookDraft, + RunbookParameter, + Schedule, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + WatcherListResult, + WatcherUpdateParameters, + Webhook, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts b/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts index ab8d1864807d..13ae6b8395bc 100644 --- a/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts @@ -1,62 +1,60 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorResponse, - Webhook, - ProxyResource, - Resource, + AdvancedSchedule, + AdvancedScheduleMonthlyOccurrence, + AutomationAccount, + AzureQueryProperties, BaseResource, - RunbookAssociationProperty, - WebhookCreateOrUpdateParameters, - WebhookUpdateParameters, - WebhookListResult, - TrackedResource, Certificate, Connection, ConnectionTypeAssociationProperty, + ContentHash, + ContentLink, + ContentSource, Credential, + DscCompilationJob, DscConfiguration, + DscConfigurationAssociationProperty, DscConfigurationParameter, - ContentSource, - ContentHash, + DscNode, + DscNodeConfiguration, + DscNodeExtensionHandlerAssociationProperty, + ErrorResponse, + Job, + JobCollectionItem, + LinuxProperties, Module, - ContentLink, ModuleErrorInfo, + NonAzureQueryProperties, + ProxyResource, + Resource, + Runbook, + RunbookAssociationProperty, + RunbookDraft, + RunbookParameter, Schedule, - AdvancedSchedule, - AdvancedScheduleMonthlyOccurrence, - Variable, - Watcher, - SoftwareUpdateConfiguration, - UpdateConfiguration, - WindowsProperties, - LinuxProperties, - TargetProperties, - AzureQueryProperties, - TagSettingsProperties, ScheduleProperties, + Sku, + SoftwareUpdateConfiguration, SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, - Job, - JobCollectionItem, - DscNode, - DscNodeExtensionHandlerAssociationProperty, - DscCompilationJob, - DscConfigurationAssociationProperty, - DscNodeConfiguration, - Runbook, - RunbookParameter, - RunbookDraft, - AutomationAccount, - Sku + TagSettingsProperties, + TargetProperties, + TaskProperties, + TrackedResource, + UpdateConfiguration, + Variable, + Watcher, + Webhook, + WebhookCreateOrUpdateParameters, + WebhookListResult, + WebhookUpdateParameters, + WindowsProperties } from "../models/mappers"; - diff --git a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts index 0244efd78956..47d2620dcaed 100644 --- a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts +++ b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts @@ -27,10 +27,10 @@ export class ConnectionTypeOperations { } /** - * Delete the connectiontype. + * Delete the connection type. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param [options] The optional parameters * @returns Promise */ @@ -38,14 +38,14 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param options The optional parameters * @param callback The callback */ @@ -63,10 +63,10 @@ export class ConnectionTypeOperations { } /** - * Retrieve the connectiontype identified by connectiontype name. + * Retrieve the connection type identified by connection type name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param [options] The optional parameters * @returns Promise */ @@ -74,14 +74,14 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param options The optional parameters * @param callback The callback */ @@ -99,12 +99,12 @@ export class ConnectionTypeOperations { } /** - * Create a connectiontype. + * Create a connection type. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connectiontype + * @param connectionTypeName The parameters supplied to the create or update connection type * operation. - * @param parameters The parameters supplied to the create or update connectiontype operation. + * @param parameters The parameters supplied to the create or update connection type operation. * @param [options] The optional parameters * @returns Promise */ @@ -112,18 +112,18 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connectiontype + * @param connectionTypeName The parameters supplied to the create or update connection type * operation. - * @param parameters The parameters supplied to the create or update connectiontype operation. + * @param parameters The parameters supplied to the create or update connection type operation. * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: Models.ConnectionTypeCreateOrUpdateParameters, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connectiontype + * @param connectionTypeName The parameters supplied to the create or update connection type * operation. - * @param parameters The parameters supplied to the create or update connectiontype operation. + * @param parameters The parameters supplied to the create or update connection type operation. * @param options The optional parameters * @param callback The callback */ @@ -142,7 +142,7 @@ export class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param [options] The optional parameters @@ -174,7 +174,7 @@ export class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts b/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts index 56ae77124bb1..d4dcea17ba4e 100644 --- a/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts +++ b/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts @@ -30,28 +30,35 @@ export class NodeCountInformation { * Retrieve counts for Dsc Nodes. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param callback The callback */ - get(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, automationAccountName, + countType, options }, getOperationSpec,