diff --git a/sdk/appservice/arm-appservice/LICENSE.txt b/sdk/appservice/arm-appservice/LICENSE.txt index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/appservice/arm-appservice/LICENSE.txt +++ b/sdk/appservice/arm-appservice/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2020 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/appservice/arm-appservice/README.md b/sdk/appservice/arm-appservice/README.md index a99087eec231..916b2d0ac3e9 100644 --- a/sdk/appservice/arm-appservice/README.md +++ b/sdk/appservice/arm-appservice/README.md @@ -19,8 +19,9 @@ npm install @azure/arm-appservice ##### Install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. ```bash -npm install @azure/ms-rest-nodeauth +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code @@ -95,4 +96,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [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%2Fsdk%2Fappservice%2Farm-appservice%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/appservice/arm-appservice/README.png) diff --git a/sdk/appservice/arm-appservice/package.json b/sdk/appservice/arm-appservice/package.json index 4e0873b3dbe2..afb9f8a85bae 100644 --- a/sdk/appservice/arm-appservice/package.json +++ b/sdk/appservice/arm-appservice/package.json @@ -4,9 +4,9 @@ "description": "WebSiteManagementClient Library with typescript type definitions for node.js and browser.", "version": "5.8.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.0", - "@azure/ms-rest-js": "^2.0.3", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,11 +20,11 @@ "module": "./esm/webSiteManagementClient.js", "types": "./esm/webSiteManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", - "uglify-js": "^3.4.9" + "uglify-js": "^3.6.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appservice/arm-appservice", "repository": { diff --git a/sdk/appservice/arm-appservice/rollup.config.js b/sdk/appservice/arm-appservice/rollup.config.js index c0c606fdb8d8..6f74995874a1 100644 --- a/sdk/appservice/arm-appservice/rollup.config.js +++ b/sdk/appservice/arm-appservice/rollup.config.js @@ -29,7 +29,7 @@ const config = { */` }, plugins: [ - nodeResolve({ module: true }), + nodeResolve({ mainFields: ['module', 'main'] }), sourcemaps() ] }; diff --git a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts index 0d10f98202f1..a7f72687cdf0 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateCollection, AppServiceCertificateOrder, @@ -45,11 +50,16 @@ export { CertificateOrderAction, CertificatePatchResource, CloningInfo, - CloudError, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -84,7 +94,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -97,10 +106,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -163,6 +172,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -186,6 +197,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts index d5c29b2df099..0da303d8b505 100644 --- a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts @@ -13,7 +13,11 @@ export { AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -46,11 +50,16 @@ export { CertificateOrderAction, CertificatePatchResource, CloningInfo, - CloudError, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CsmUsageQuota, @@ -89,7 +98,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentDiagnostics, @@ -105,11 +113,11 @@ export { InboundEnvironmentEndpoint, InboundEnvironmentEndpointCollection, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, LocalizableString, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -144,14 +152,9 @@ export { RequestsBasedTrigger, Resource, ResourceHealthMetadata, - ResourceMetric, ResourceMetricAvailability, - ResourceMetricCollection, ResourceMetricDefinition, ResourceMetricDefinitionCollection, - ResourceMetricName, - ResourceMetricProperty, - ResourceMetricValue, ResponseMetaData, RestoreRequest, Site, @@ -180,6 +183,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StampCapacityCollection, StatusCodesBasedTrigger, @@ -206,6 +211,7 @@ export { VnetValidationTestFailure, WebAppCollection, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolCollection, WorkerPoolResource diff --git a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts index 5bd86a00b425..962101c64ef6 100644 --- a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -44,11 +49,16 @@ export { CertificateOrderAction, CertificatePatchResource, CloningInfo, - CloudError, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CsmUsageQuota, @@ -85,7 +95,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -99,11 +108,11 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, LocalizableString, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -136,14 +145,8 @@ export { Resource, ResourceCollection, ResourceHealthMetadata, - ResourceMetric, ResourceMetricAvailability, - ResourceMetricCollection, ResourceMetricDefinition, - ResourceMetricDefinitionCollection, - ResourceMetricName, - ResourceMetricProperty, - ResourceMetricValue, ResponseMetaData, RestoreRequest, Site, @@ -170,6 +173,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -194,6 +199,7 @@ export { VnetValidationTestFailure, WebAppCollection, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts index 644ba6f1e19e..94f4a37fb70c 100644 --- a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -44,11 +49,16 @@ export { CertificateOrderAction, CertificatePatchResource, CloningInfo, - CloudError, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -83,7 +93,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -96,10 +105,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -159,6 +168,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -182,6 +193,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts index e782334c42f7..62e2beed03fd 100644 --- a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -47,6 +52,12 @@ export { ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -82,7 +93,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -95,10 +105,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -158,6 +168,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -181,6 +193,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts index 82e9a59ec611..7f698469d355 100644 --- a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -47,6 +52,12 @@ export { ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -85,7 +96,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -98,10 +108,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -161,6 +171,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -184,6 +196,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts index 8fb9d52e1fd2..564814ba0a95 100644 --- a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -43,11 +48,16 @@ export { CertificateOrderAction, CertificatePatchResource, CloningInfo, - CloudError, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -72,7 +82,7 @@ export { DiagnosticMetricSample, DiagnosticMetricSet, Domain, - DomainAvailablilityCheckResult, + DomainAvailabilityCheckResult, DomainCollection, DomainControlCenterSsoRequest, DomainOwnershipIdentifier, @@ -87,7 +97,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -100,10 +109,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -165,6 +174,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -188,6 +199,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts index dd1fdf46d983..cb2d5b6f955c 100644 --- a/sdk/appservice/arm-appservice/src/models/index.ts +++ b/sdk/appservice/arm-appservice/src/models/index.ts @@ -603,53 +603,6 @@ export interface Snapshot extends ProxyOnlyResource { readonly time?: string; } -/** - * Metrics availability and retention. - */ -export interface ResourceMetricAvailability { - /** - * Time grain . - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly timeGrain?: string; - /** - * Retention period for the current time grain. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly retention?: string; -} - -/** - * Metadata for the metrics. - */ -export interface ResourceMetricDefinition extends ProxyOnlyResource { - /** - * Unit of the metric. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly unit?: string; - /** - * Primary aggregation type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly primaryAggregationType?: string; - /** - * List of time grains supported for the metric together with retention period. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly metricAvailabilities?: ResourceMetricAvailability[]; - /** - * Resource URI. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly resourceUri?: string; - /** - * Resource metric definition properties. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly properties?: { [propertyName: string]: string }; -} - /** * Push settings for the App. */ @@ -685,23 +638,7 @@ export interface Identifier extends ProxyOnlyResource { /** * String representation of the identity. */ - identifierId?: string; -} - -/** - * Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. - */ -export interface HybridConnectionKey extends ProxyOnlyResource { - /** - * The name of the send key. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly sendKeyName?: string; - /** - * The value of the send key. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly sendKeyValue?: string; + value?: string; } /** @@ -812,8 +749,8 @@ export interface ManagedServiceIdentityUserAssignedIdentitiesValue { */ export interface ManagedServiceIdentity { /** - * Type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned', - * 'SystemAssigned, UserAssigned', 'None' + * Type of managed service identity. Possible values include: 'None', 'SystemAssigned', + * 'UserAssigned' */ type?: ManagedServiceIdentityType; /** @@ -834,20 +771,6 @@ export interface ManagedServiceIdentity { userAssignedIdentities?: { [propertyName: string]: ManagedServiceIdentityUserAssignedIdentitiesValue }; } -/** - * A global distribution definition. - */ -export interface GeoDistribution { - /** - * Location. - */ - location?: string; - /** - * NumberOfWorkers. - */ - numberOfWorkers?: number; -} - /** * The status of the last successful slot swap operation. */ @@ -999,6 +922,16 @@ export interface IpSecurityRestriction { description?: string; } +/** + * Azure API management (APIM) configuration linked to the app. + */ +export interface ApiManagementConfig { + /** + * APIM-Api Identifier. + */ + id?: string; +} + /** * Information about the formal API definition for the app. */ @@ -1188,11 +1121,11 @@ export interface RampUpRule { reroutePercentage?: number; /** * In auto ramp up scenario this is the step to add/remove from ReroutePercentage - * until it reaches - * MinReroutePercentage or MaxReroutePercentage. Site metrics are - * checked every N minutes specified in ChangeIntervalInMinutes. - * Custom decision algorithm can be provided in TiPCallback site extension which URL can be - * specified in ChangeDecisionCallbackUrl. + * until it reaches \nMinReroutePercentage or + * MaxReroutePercentage. Site metrics are checked every N minutes specified in + * ChangeIntervalInMinutes.\nCustom decision algorithm + * can be provided in TiPCallback site extension which URL can be specified in + * ChangeDecisionCallbackUrl. */ changeStep?: number; /** @@ -1328,38 +1261,6 @@ export interface ConnStringInfo { type?: ConnectionStringType; } -/** - * Azure Files or Blob Storage access information value for dictionary storage. - */ -export interface AzureStorageInfoValue { - /** - * Type of storage. Possible values include: 'AzureFiles', 'AzureBlob' - */ - type?: AzureStorageType; - /** - * Name of the storage account. - */ - accountName?: string; - /** - * Name of the file share (container name, for Blob storage). - */ - shareName?: string; - /** - * Access key for the storage account. - */ - accessKey?: string; - /** - * Path to mount the storage within the site's runtime environment. - */ - mountPath?: string; - /** - * State of the storage account. Possible values include: 'Ok', 'InvalidCredentials', - * 'InvalidShare' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: AzureStorageState; -} - /** * Name value pair. */ @@ -1446,10 +1347,6 @@ export interface SiteConfig { * Application settings. */ appSettings?: NameValuePair[]; - /** - * User-provided Azure storage accounts. - */ - azureStorageAccounts?: { [propertyName: string]: AzureStorageInfoValue }; /** * Connection strings. */ @@ -1470,7 +1367,7 @@ export interface SiteConfig { /** * SCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', * 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', - * 'OneDrive', 'VSO' + * 'OneDrive', 'VSO', 'VSTSRM' */ scmType?: ScmType; /** @@ -1550,6 +1447,10 @@ export interface SiteConfig { * Information about the formal API definition for the app. */ apiDefinition?: ApiDefinitionInfo; + /** + * Azure API management settings linked to the app. + */ + apiManagementConfig?: ApiManagementConfig; /** * Auto-swap slot name. */ @@ -1593,10 +1494,14 @@ export interface SiteConfig { */ ftpsState?: FtpsState; /** - * Number of reserved instances. - * This setting only applies to the Consumption Plan + * Number of preWarmed instances. + * This setting only applies to the Consumption and Elastic Plans + */ + preWarmedInstanceCount?: number; + /** + * Health check path */ - reservedInstanceCount?: number; + healthCheckPath?: string; } /** @@ -1750,7 +1655,7 @@ export interface Site extends Resource { readonly outboundIpAddresses?: string; /** * List of IP addresses that the app uses for outbound connections (e.g. database access). - * Includes VIPs from all tenants. Read-only. + * Includes VIPs from all tenants except dataComponent. Read-only. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly possibleOutboundIpAddresses?: string; @@ -1812,10 +1717,6 @@ export interface Site extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly inProgressOperationId?: string; - /** - * GeoDistributions for this site - */ - geoDistributions?: GeoDistribution[]; identity?: ManagedServiceIdentity; } @@ -2109,6 +2010,7 @@ export interface MetricSpecification { dimensions?: Dimension[]; category?: string; availabilities?: MetricAvailability[]; + supportedTimeGrainTypes?: string[]; } /** @@ -2376,7 +2278,7 @@ export interface Domain extends Resource { /** * Domain availability check result. */ -export interface DomainAvailablilityCheckResult { +export interface DomainAvailabilityCheckResult { /** * Name of the domain. */ @@ -2688,6 +2590,10 @@ export interface Certificate extends Resource { * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ serverFarmId?: string; + /** + * CNAME of the certificate to be issued via free certificate + */ + canonicalName?: string; } /** @@ -2788,6 +2694,10 @@ export interface CertificatePatchResource extends ProxyOnlyResource { * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". */ serverFarmId?: string; + /** + * CNAME of the certificate to be issued via free certificate + */ + canonicalName?: string; } /** @@ -2861,6 +2771,10 @@ export interface VirtualIPMapping { * Is virtual IP mapping in use. */ inUse?: boolean; + /** + * name of the service that virtual IP is assigned to + */ + serviceName?: string; } /** @@ -2889,7 +2803,7 @@ export interface StampCapacity { computeMode?: ComputeModeOptions; /** * Size of the machines. Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', - * 'Default' + * 'NestedSmall', 'Default' */ workerSize?: WorkerSizeOptions; /** @@ -2997,7 +2911,7 @@ export interface AppServiceEnvironment { * Description of worker pools with worker size IDs, VM sizes, and number of workers in each * pool. */ - workerPools: WorkerPool[]; + workerPools?: WorkerPool[]; /** * Number of IP SSL addresses reserved for the App Service Environment. */ @@ -3236,128 +3150,6 @@ export interface Operation { geoMasterOperationId?: string; } -/** - * Name of a metric for any resource . - */ -export interface ResourceMetricName { - /** - * metric name value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly value?: string; - /** - * Localized metric name value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly localizedValue?: string; -} - -/** - * Resource metric property. - */ -export interface ResourceMetricProperty { - /** - * Key for resource metric property. - */ - key?: string; - /** - * Value of pair. - */ - value?: string; -} - -/** - * Value of resource metric. - */ -export interface ResourceMetricValue { - /** - * Value timestamp. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly timestamp?: string; - /** - * Value average. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly average?: number; - /** - * Value minimum. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly minimum?: number; - /** - * Value maximum. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly maximum?: number; - /** - * Value total. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly total?: number; - /** - * Value count. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly count?: number; - /** - * Resource metric properties collection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly properties?: ResourceMetricProperty[]; -} - -/** - * Object representing a metric for any resource . - */ -export interface ResourceMetric { - /** - * Name of metric. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: ResourceMetricName; - /** - * Metric unit. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly unit?: string; - /** - * Metric granularity. E.g PT1H, PT5M, P1D - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly timeGrain?: string; - /** - * Metric start time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly startTime?: Date; - /** - * Metric end time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly endTime?: Date; - /** - * Metric resource Id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly resourceId?: string; - /** - * Resource Id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Metric values. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly metricValues?: ResourceMetricValue[]; - /** - * Resource metric properties collection. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly properties?: ResourceMetricProperty[]; -} - /** * Class Representing Solution for problems detected. */ @@ -3836,6 +3628,19 @@ export interface StackMajorVersion { * true if this supports Application Insights; otherwise, false. */ applicationInsights?: boolean; + /** + * true if this stack is in Preview, otherwise false. + */ + isPreview?: boolean; + /** + * true if this stack has been deprecated, otherwise false. + */ + isDeprecated?: boolean; + /** + * true if this stack should be hidden for new customers on portal, otherwise + * false. + */ + isHidden?: boolean; } /** @@ -3864,6 +3669,32 @@ export interface ApplicationStack { frameworks?: ApplicationStack[]; } +/** + * ARM resource for a ApplicationStack. + */ +export interface ApplicationStackResource extends ProxyOnlyResource { + /** + * Application stack name. + */ + applicationStackResourceName?: string; + /** + * Application stack display name. + */ + display?: string; + /** + * Application stack dependency. + */ + dependency?: string; + /** + * List of major versions available. + */ + majorVersions?: StackMajorVersion[]; + /** + * List of frameworks associated with application stack. + */ + frameworks?: ApplicationStack[]; +} + /** * Represents a recommendation result generated by the recommendation engine. */ @@ -4085,6 +3916,11 @@ export interface GeoRegion extends ProxyOnlyResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; + /** + * Display name for region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly orgDomain?: string; } /** @@ -4282,49 +4118,19 @@ export interface SourceControl extends ProxyOnlyResource { } /** - * Container settings validation request context + * Resource validation request content. */ -export interface ValidateContainerSettingsRequest { +export interface ValidateRequest { /** - * Base URL of the container registry + * Resource name to verify. */ - baseUrl?: string; + name: string; /** - * Username for to access the container registry + * Resource type used for verification. Possible values include: 'ServerFarm', 'Site' */ - username?: string; + type: ValidateResourceTypes; /** - * Password for to access the container registry - */ - password?: string; - /** - * Repository name (image name) - */ - repository?: string; - /** - * Image tag - */ - tag?: string; - /** - * Platform (windows or linux) - */ - platform?: string; -} - -/** - * Resource validation request content. - */ -export interface ValidateRequest { - /** - * Resource name to verify. - */ - name: string; - /** - * Resource type used for verification. Possible values include: 'ServerFarm', 'Site' - */ - type: ValidateResourceTypes; - /** - * Expected location of the resource. + * Expected location of the resource. */ location: string; /** @@ -4355,6 +4161,30 @@ export interface ValidateRequest { * true if App Service plan is running as a windows container */ isXenon?: boolean; + /** + * Base URL of the container registry + */ + containerRegistryBaseUrl?: string; + /** + * Username for to access the container registry + */ + containerRegistryUsername?: string; + /** + * Password for to access the container registry + */ + containerRegistryPassword?: string; + /** + * Repository name (image name) + */ + containerImageRepository?: string; + /** + * Image tag + */ + containerImageTag?: string; + /** + * Platform (windows or linux) + */ + containerImagePlatform?: string; } /** @@ -4431,6 +4261,35 @@ export interface VnetValidationFailureDetails extends ProxyOnlyResource { failedTests?: VnetValidationTestFailure[]; } +/** + * Description of site key vault references. + */ +export interface ApiKVReference { + reference?: string; + /** + * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', + * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', + * 'OtherReasons' + */ + status?: ResolveStatus; + vaultName?: string; + secretName?: string; + secretVersion?: string; + /** + * Possible values include: 'None', 'SystemAssigned', 'UserAssigned' + */ + identityType?: ManagedServiceIdentityType; + details?: string; + /** + * Possible values include: 'KeyVault' + */ + source?: ConfigReferenceSource; + /** + * Possible values include: 'ApplicationSetting' + */ + location?: ConfigReferenceLocation; +} + /** * Application logs to file system configuration. */ @@ -4515,6 +4374,38 @@ export interface AzureBlobStorageHttpLogsConfig { enabled?: boolean; } +/** + * Azure Files or Blob Storage access information value for dictionary storage. + */ +export interface AzureStorageInfoValue { + /** + * Type of storage. Possible values include: 'AzureFiles', 'AzureBlob' + */ + type?: AzureStorageType; + /** + * Name of the storage account. + */ + accountName?: string; + /** + * Name of the file share (container name, for Blob storage). + */ + shareName?: string; + /** + * Access key for the storage account. + */ + accessKey?: string; + /** + * Path to mount the storage within the site's runtime environment. + */ + mountPath?: string; + /** + * State of the storage account. Possible values include: 'Ok', 'InvalidCredentials', + * 'InvalidShare' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly state?: AzureStorageState; +} + /** * AzureStorageInfo dictionary resource. */ @@ -4713,6 +4604,72 @@ export interface ConnectionStringDictionary extends ProxyOnlyResource { properties?: { [propertyName: string]: ConnStringValueTypePair }; } +/** + * An interface representing ContainerCpuUsage. + */ +export interface ContainerCpuUsage { + totalUsage?: number; + perCpuUsage?: number[]; + kernelModeUsage?: number; + userModeUsage?: number; +} + +/** + * An interface representing ContainerThrottlingData. + */ +export interface ContainerThrottlingData { + periods?: number; + throttledPeriods?: number; + throttledTime?: number; +} + +/** + * An interface representing ContainerCpuStatistics. + */ +export interface ContainerCpuStatistics { + cpuUsage?: ContainerCpuUsage; + systemCpuUsage?: number; + onlineCpuCount?: number; + throttlingData?: ContainerThrottlingData; +} + +/** + * An interface representing ContainerMemoryStatistics. + */ +export interface ContainerMemoryStatistics { + usage?: number; + maxUsage?: number; + limit?: number; +} + +/** + * An interface representing ContainerNetworkInterfaceStatistics. + */ +export interface ContainerNetworkInterfaceStatistics { + rxBytes?: number; + rxPackets?: number; + rxErrors?: number; + rxDropped?: number; + txBytes?: number; + txPackets?: number; + txErrors?: number; + txDropped?: number; +} + +/** + * An interface representing ContainerInfo. + */ +export interface ContainerInfo { + currentTimeStamp?: Date; + previousTimeStamp?: Date; + currentCpuStats?: ContainerCpuStatistics; + previousCpuStats?: ContainerCpuStatistics; + memoryStats?: ContainerMemoryStatistics; + name?: string; + id?: string; + eth0?: ContainerNetworkInterfaceStatistics; +} + /** * Continuous Web Job Information. */ @@ -4760,6 +4717,23 @@ export interface ContinuousWebJob extends ProxyOnlyResource { settings?: { [propertyName: string]: any }; } +/** + * Copy deployment slot parameters. + */ +export interface CsmCopySlotEntity { + /** + * Destination deployment slot during copy operation. + */ + targetSlot: string; + /** + * The site object which will be merged with the source slot site + * to produce new destination slot site object. + * null to just copy source slot content. Otherwise a Site + * object with properties to override source slot site. + */ + siteConfig: SiteConfig; +} + /** * Publishing options for requested profile. */ @@ -4949,7 +4923,7 @@ export interface FileSystemHttpLogsConfig { } /** - * Web Job Information. + * Function information. */ export interface FunctionEnvelope extends ProxyOnlyResource { /** @@ -4968,6 +4942,10 @@ export interface FunctionEnvelope extends ProxyOnlyResource { * Config URI. */ configHref?: string; + /** + * Test data URI. + */ + testDataHref?: string; /** * Secrets file URI. */ @@ -4988,6 +4966,18 @@ export interface FunctionEnvelope extends ProxyOnlyResource { * Test data used when testing via the Azure Portal. */ testData?: string; + /** + * The invocation URL + */ + invokeUrlTemplate?: string; + /** + * The function language + */ + language?: string; + /** + * Gets or sets a value indicating whether the function is disabled + */ + isDisabled?: boolean; } /** @@ -5004,6 +4994,24 @@ export interface FunctionSecrets extends ProxyOnlyResource { triggerUrl?: string; } +/** + * Functions host level keys. + */ +export interface HostKeys { + /** + * Secret key. + */ + masterKey?: string; + /** + * Host level function keys. + */ + functionKeys?: { [propertyName: string]: string }; + /** + * System keys. + */ + systemKeys?: { [propertyName: string]: string }; +} + /** * A hostname binding object. */ @@ -5061,6 +5069,56 @@ export interface HttpLogsConfig { azureBlobStorage?: AzureBlobStorageHttpLogsConfig; } +/** + * Function key info. + */ +export interface KeyInfo { + /** + * Key name + */ + name?: string; + /** + * Key value + */ + value?: string; +} + +/** + * Web app key vault reference and status ARM resource. + */ +export interface KeyVaultReferenceCollection extends ProxyOnlyResource { + keyToReferenceStatuses?: { [propertyName: string]: ApiKVReference }; +} + +/** + * Web app key vault reference and status ARM resource. + */ +export interface KeyVaultReferenceResource extends ProxyOnlyResource { + reference?: string; + /** + * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', + * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', + * 'OtherReasons' + */ + status?: ResolveStatus; + vaultName?: string; + secretName?: string; + secretVersion?: string; + /** + * Possible values include: 'None', 'SystemAssigned', 'UserAssigned' + */ + identityType?: ManagedServiceIdentityType; + details?: string; + /** + * Possible values include: 'KeyVault' + */ + source?: ConfigReferenceSource; + /** + * Possible values include: 'ApplicationSetting' + */ + location?: ConfigReferenceLocation; +} + /** * MSDeploy ARM PUT information */ @@ -5468,10 +5526,6 @@ export interface ProcessThreadInfo extends ProxyOnlyResource { * User processor time. */ userProcessorTime?: string; - /** - * Privileged processor time. - */ - priviledgedProcessorTime?: string; /** * Thread state. */ @@ -6036,10 +6090,6 @@ export interface SiteConfigResource extends ProxyOnlyResource { * Application settings. */ appSettings?: NameValuePair[]; - /** - * User-provided Azure storage accounts. - */ - azureStorageAccounts?: { [propertyName: string]: AzureStorageInfoValue }; /** * Connection strings. */ @@ -6060,7 +6110,7 @@ export interface SiteConfigResource extends ProxyOnlyResource { /** * SCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', * 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', - * 'OneDrive', 'VSO' + * 'OneDrive', 'VSO', 'VSTSRM' */ scmType?: ScmType; /** @@ -6140,6 +6190,10 @@ export interface SiteConfigResource extends ProxyOnlyResource { * Information about the formal API definition for the app. */ apiDefinition?: ApiDefinitionInfo; + /** + * Azure API management settings linked to the app. + */ + apiManagementConfig?: ApiManagementConfig; /** * Auto-swap slot name. */ @@ -6183,10 +6237,14 @@ export interface SiteConfigResource extends ProxyOnlyResource { */ ftpsState?: FtpsState; /** - * Number of reserved instances. - * This setting only applies to the Consumption Plan + * Number of preWarmed instances. + * This setting only applies to the Consumption and Elastic Plans + */ + preWarmedInstanceCount?: number; + /** + * Health check path */ - reservedInstanceCount?: number; + healthCheckPath?: string; } /** @@ -6441,7 +6499,7 @@ export interface SitePatchResource extends ProxyOnlyResource { readonly outboundIpAddresses?: string; /** * List of IP addresses that the app uses for outbound connections (e.g. database access). - * Includes VIPs from all tenants. Read-only. + * Includes VIPs from all tenants except dataComponent. Read-only. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly possibleOutboundIpAddresses?: string; @@ -6503,10 +6561,6 @@ export interface SitePatchResource extends ProxyOnlyResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly inProgressOperationId?: string; - /** - * GeoDistributions for this site - */ - geoDistributions?: GeoDistribution[]; identity?: ManagedServiceIdentity; } @@ -6871,10 +6925,33 @@ export interface WebJob extends ProxyOnlyResource { settings?: { [propertyName: string]: any }; } +/** + * An interface representing WebSiteInstanceStatus. + */ +export interface WebSiteInstanceStatus extends ProxyOnlyResource { + /** + * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' + */ + state?: SiteRuntimeState; + /** + * Link to the GetStatusApi in Kudu + */ + statusUrl?: string; + /** + * Link to the Diagnose and Solve Portal + */ + detectorUrl?: string; + /** + * Link to the Diagnose and Solve Portal + */ + consoleUrl?: string; + containers?: { [propertyName: string]: ContainerInfo }; +} + /** * Describes main public IP address and any extra virtual IPs. */ -export interface AddressResponse { +export interface AddressResponse extends ProxyOnlyResource { /** * Main public virtual IP. */ @@ -6951,7 +7028,7 @@ export interface AppServiceEnvironmentResource extends Resource { * Description of worker pools with worker size IDs, VM sizes, and number of workers in each * pool. */ - workerPools: WorkerPool[]; + workerPools?: WorkerPool[]; /** * Number of IP SSL addresses reserved for the App Service Environment. */ @@ -7138,7 +7215,7 @@ export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { * Description of worker pools with worker size IDs, VM sizes, and number of workers in each * pool. */ - workerPools: WorkerPool[]; + workerPools?: WorkerPool[]; /** * Number of IP SSL addresses reserved for the App Service Environment. */ @@ -7289,7 +7366,7 @@ export interface EndpointDetail { * Whether it is possible to create a TCP connection from the App Service Environment to this * IpAddress at this Port. */ - isAccessable?: boolean; + isAccessible?: boolean; } /** @@ -7317,7 +7394,7 @@ export interface HostingEnvironmentDiagnostics { /** * Diagnostics output. */ - diagnosicsOutput?: string; + diagnosticsOutput?: string; } /** @@ -7340,23 +7417,41 @@ export interface InboundEnvironmentEndpoint { } /** - * Metric availability and retention. + * Endpoints accessed for a common purpose that the App Service Environment requires outbound + * network access to. */ -export interface MetricAvailabilily { +export interface OutboundEnvironmentEndpoint { + /** + * The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL + * Database, and Azure Active Directory. + */ + category?: string; /** - * Time grain. + * The endpoints that the App Service Environment reaches the service at. */ - timeGrain?: string; + endpoints?: EndpointDependency[]; +} + +/** + * Metrics availability and retention. + */ +export interface ResourceMetricAvailability { + /** + * Time grain . + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly timeGrain?: string; /** * Retention period for the current time grain. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - retention?: string; + readonly retention?: string; } /** - * Metadata for a metric. + * Metadata for the metrics. */ -export interface MetricDefinition extends ProxyOnlyResource { +export interface ResourceMetricDefinition extends ProxyOnlyResource { /** * Unit of the metric. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -7371,28 +7466,17 @@ export interface MetricDefinition extends ProxyOnlyResource { * List of time grains supported for the metric together with retention period. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly metricAvailabilities?: MetricAvailabilily[]; + readonly metricAvailabilities?: ResourceMetricAvailability[]; /** - * Friendly name shown in the UI. + * Resource URI. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly displayName?: string; -} - -/** - * Endpoints accessed for a common purpose that the App Service Environment requires outbound - * network access to. - */ -export interface OutboundEnvironmentEndpoint { - /** - * The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL - * Database, and Azure Active Directory. - */ - category?: string; + readonly resourceUri?: string; /** - * The endpoints that the App Service Environment reaches the service at. + * Resource metric definition properties. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - endpoints?: EndpointDependency[]; + readonly properties?: { [propertyName: string]: string }; } /** @@ -7583,23 +7667,39 @@ export interface AppServicePlanPatchResource extends ProxyOnlyResource { } /** - * Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. + * Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. */ -export interface HybridConnectionLimits extends ProxyOnlyResource { +export interface HybridConnectionKey extends ProxyOnlyResource { /** - * The current number of Hybrid Connections. + * The name of the send key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly current?: number; + readonly sendKeyName?: string; /** - * The maximum number of Hybrid Connections allowed. + * The value of the send key. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly maximum?: number; + readonly sendKeyValue?: string; } /** - * Used for getting ResourceHealthCheck settings. + * Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. + */ +export interface HybridConnectionLimits extends ProxyOnlyResource { + /** + * The current number of Hybrid Connections. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly current?: number; + /** + * The maximum number of Hybrid Connections allowed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly maximum?: number; +} + +/** + * Used for getting ResourceHealthCheck settings. */ export interface ResourceHealthMetadata extends ProxyOnlyResource { /** @@ -7980,8 +8080,8 @@ export interface WebAppsDeleteMethodOptionalParams extends msRest.RequestOptions */ deleteMetrics?: boolean; /** - * Specify true if the App Service plan will be empty after app deletion and you want to delete - * the empty App Service plan. By default, the empty App Service plan is not deleted. + * Specify false if you want to keep empty App Service plan. By default, empty App Service plan + * is deleted. */ deleteEmptyServerFarm?: boolean; } @@ -7996,23 +8096,6 @@ export interface WebAppsAnalyzeCustomHostnameOptionalParams extends msRest.Reque hostName?: string; } -/** - * Optional Parameters. - */ -export interface WebAppsListMetricsOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify "true" to include metric details in the response. It is "false" by default. - */ - details?: boolean; - /** - * Return only metrics specified in the filter (using OData syntax). For example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq - * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq - * duration'[Hour|Minute|Day]'. - */ - filter?: string; -} - /** * Optional Parameters. */ @@ -8102,23 +8185,6 @@ export interface WebAppsAnalyzeCustomHostnameSlotOptionalParams extends msRest.R hostName?: string; } -/** - * Optional Parameters. - */ -export interface WebAppsListMetricsSlotOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify "true" to include metric details in the response. It is "false" by default. - */ - details?: boolean; - /** - * Return only metrics specified in the filter (using OData syntax). For example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq - * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq - * duration'[Hour|Minute|Day]'. - */ - filter?: string; -} - /** * Optional Parameters. */ @@ -8328,62 +8394,6 @@ export interface AppServiceEnvironmentsDeleteMethodOptionalParams extends msRest forceDelete?: boolean; } -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListMetricsOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to include instance details. The default is false. - */ - details?: boolean; - /** - * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq - * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq - * duration'[Hour|Minute|Day]'. - */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to include instance details. The default is false. - */ - details?: boolean; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListMultiRoleMetricsOptionalParams extends msRest.RequestOptionsBase { - /** - * Beginning time of the metrics query. - */ - startTime?: string; - /** - * End time of the metrics query. - */ - endTime?: string; - /** - * Time granularity of the metrics query. - */ - timeGrain?: string; - /** - * Specify true to include instance details. The default is false. - */ - details?: boolean; - /** - * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq - * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq - * duration'[Hour|Minute|Day]'. - */ - filter?: string; -} - /** * Optional Parameters. */ @@ -8407,40 +8417,6 @@ export interface AppServiceEnvironmentsListUsagesOptionalParams extends msRest.R filter?: string; } -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListWorkerPoolInstanceMetricsOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to include instance details. The default is false. - */ - details?: boolean; - /** - * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq - * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq - * duration'[Hour|Minute|Day]'. - */ - filter?: string; -} - -/** - * Optional Parameters. - */ -export interface AppServiceEnvironmentsListWebWorkerMetricsOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to include instance details. The default is false. - */ - details?: boolean; - /** - * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq - * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq - * duration'[Hour|Minute|Day]'. - */ - filter?: string; -} - /** * Optional Parameters. */ @@ -8464,23 +8440,6 @@ export interface AppServicePlansListOptionalParams extends msRest.RequestOptions detailed?: boolean; } -/** - * Optional Parameters. - */ -export interface AppServicePlansListMetricsOptionalParams extends msRest.RequestOptionsBase { - /** - * Specify true to include instance details. The default is false. - */ - details?: boolean; - /** - * Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: - * $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq - * 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq - * duration'[Hour|Minute|Day]'. - */ - filter?: string; -} - /** * Optional Parameters. */ @@ -8716,9 +8675,9 @@ export interface DiagnosticDetectorCollection extends Array /** * @interface * Collection of Application Stacks - * @extends Array + * @extends Array */ -export interface ApplicationStackCollection extends Array { +export interface ApplicationStackCollection extends Array { /** * Link to next page of resources. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -8960,32 +8919,6 @@ export interface ProcessThreadInfoCollection extends Array { readonly nextLink?: string; } -/** - * @interface - * Collection of metric definitions. - * @extends Array - */ -export interface ResourceMetricDefinitionCollection extends Array { - /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - -/** - * @interface - * Collection of metric responses. - * @extends Array - */ -export interface ResourceMetricCollection extends Array { - /** - * Link to next page of resources. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - /** * @interface * Collection of performance monitor counters. @@ -9155,6 +9088,19 @@ export interface WorkerPoolCollection extends Array { readonly nextLink?: string; } +/** + * @interface + * Collection of metric definitions. + * @extends Array + */ +export interface ResourceMetricDefinitionCollection extends Array { + /** + * Link to next page of resources. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * @interface * Collection of SKU information. @@ -9303,12 +9249,11 @@ export type RouteType = 'DEFAULT' | 'INHERITED' | 'STATIC'; /** * Defines values for ManagedServiceIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', - * 'None' + * Possible values include: 'None', 'SystemAssigned', 'UserAssigned' * @readonly * @enum {string} */ -export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; +export type ManagedServiceIdentityType = 'None' | 'SystemAssigned' | 'UserAssigned'; /** * Defines values for IpFilterTag. @@ -9335,30 +9280,15 @@ export type AutoHealActionType = 'Recycle' | 'LogEvent' | 'CustomAction'; */ export type ConnectionStringType = 'MySql' | 'SQLServer' | 'SQLAzure' | 'Custom' | 'NotificationHub' | 'ServiceBus' | 'EventHub' | 'ApiHub' | 'DocDb' | 'RedisCache' | 'PostgreSQL'; -/** - * Defines values for AzureStorageType. - * Possible values include: 'AzureFiles', 'AzureBlob' - * @readonly - * @enum {string} - */ -export type AzureStorageType = 'AzureFiles' | 'AzureBlob'; - -/** - * Defines values for AzureStorageState. - * Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare' - * @readonly - * @enum {string} - */ -export type AzureStorageState = 'Ok' | 'InvalidCredentials' | 'InvalidShare'; - /** * Defines values for ScmType. * Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', - * 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO' + * 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', + * 'VSTSRM' * @readonly * @enum {string} */ -export type ScmType = 'None' | 'Dropbox' | 'Tfs' | 'LocalGit' | 'GitHub' | 'CodePlexGit' | 'CodePlexHg' | 'BitbucketGit' | 'BitbucketHg' | 'ExternalGit' | 'ExternalHg' | 'OneDrive' | 'VSO'; +export type ScmType = 'None' | 'Dropbox' | 'Tfs' | 'LocalGit' | 'GitHub' | 'CodePlexGit' | 'CodePlexHg' | 'BitbucketGit' | 'BitbucketHg' | 'ExternalGit' | 'ExternalHg' | 'OneDrive' | 'VSO' | 'VSTSRM'; /** * Defines values for ManagedPipelineMode. @@ -9517,11 +9447,11 @@ export type ComputeModeOptions = 'Shared' | 'Dedicated' | 'Dynamic'; /** * Defines values for WorkerSizeOptions. - * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'Default' + * Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'NestedSmall', 'Default' * @readonly * @enum {string} */ -export type WorkerSizeOptions = 'Small' | 'Medium' | 'Large' | 'D1' | 'D2' | 'D3' | 'Default'; +export type WorkerSizeOptions = 'Small' | 'Medium' | 'Large' | 'D1' | 'D2' | 'D3' | 'NestedSmall' | 'Default'; /** * Defines values for AccessControlEntryAction. @@ -9622,6 +9552,32 @@ export type CheckNameResourceTypes = 'Site' | 'Slot' | 'HostingEnvironment' | 'P */ export type ValidateResourceTypes = 'ServerFarm' | 'Site'; +/** + * Defines values for ResolveStatus. + * Possible values include: 'Initialized', 'Resolved', 'InvalidSyntax', 'MSINotEnabled', + * 'VaultNotFound', 'SecretNotFound', 'SecretVersionNotFound', 'AccessToKeyVaultDenied', + * 'OtherReasons' + * @readonly + * @enum {string} + */ +export type ResolveStatus = 'Initialized' | 'Resolved' | 'InvalidSyntax' | 'MSINotEnabled' | 'VaultNotFound' | 'SecretNotFound' | 'SecretVersionNotFound' | 'AccessToKeyVaultDenied' | 'OtherReasons'; + +/** + * Defines values for ConfigReferenceSource. + * Possible values include: 'KeyVault' + * @readonly + * @enum {string} + */ +export type ConfigReferenceSource = 'KeyVault'; + +/** + * Defines values for ConfigReferenceLocation. + * Possible values include: 'ApplicationSetting' + * @readonly + * @enum {string} + */ +export type ConfigReferenceLocation = 'ApplicationSetting'; + /** * Defines values for LogLevel. * Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error' @@ -9630,6 +9586,22 @@ export type ValidateResourceTypes = 'ServerFarm' | 'Site'; */ export type LogLevel = 'Off' | 'Verbose' | 'Information' | 'Warning' | 'Error'; +/** + * Defines values for AzureStorageType. + * Possible values include: 'AzureFiles', 'AzureBlob' + * @readonly + * @enum {string} + */ +export type AzureStorageType = 'AzureFiles' | 'AzureBlob'; + +/** + * Defines values for AzureStorageState. + * Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare' + * @readonly + * @enum {string} + */ +export type AzureStorageState = 'Ok' | 'InvalidCredentials' | 'InvalidShare'; + /** * Defines values for BackupItemStatus. * Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', @@ -9768,6 +9740,14 @@ export type SiteExtensionType = 'Gallery' | 'WebRoot'; */ export type TriggeredWebJobStatus = 'Success' | 'Failed' | 'Error'; +/** + * Defines values for SiteRuntimeState. + * Possible values include: 'READY', 'STOPPED', 'UNKNOWN' + * @readonly + * @enum {string} + */ +export type SiteRuntimeState = 'READY' | 'STOPPED' | 'UNKNOWN'; + /** * Defines values for SkuName. * Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', @@ -10176,7 +10156,7 @@ export type CertificateRegistrationProviderListOperationsNextResponse = CsmOpera /** * Contains response data for the checkAvailability operation. */ -export type DomainsCheckAvailabilityResponse = DomainAvailablilityCheckResult & { +export type DomainsCheckAvailabilityResponse = DomainAvailabilityCheckResult & { /** * The underlying HTTP response. */ @@ -10189,7 +10169,7 @@ export type DomainsCheckAvailabilityResponse = DomainAvailablilityCheckResult & /** * The response body as parsed JSON or XML */ - parsedBody: DomainAvailablilityCheckResult; + parsedBody: DomainAvailabilityCheckResult; }; }; @@ -11036,7 +11016,7 @@ export type DiagnosticsListSiteAnalysesResponse = DiagnosticAnalysisCollection & /** * Contains response data for the getSiteAnalysis operation. */ -export type DiagnosticsGetSiteAnalysisResponse = DiagnosticAnalysis & { +export type DiagnosticsGetSiteAnalysisResponse = AnalysisDefinition & { /** * The underlying HTTP response. */ @@ -11049,7 +11029,7 @@ export type DiagnosticsGetSiteAnalysisResponse = DiagnosticAnalysis & { /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticAnalysis; + parsedBody: AnalysisDefinition; }; }; @@ -11096,7 +11076,7 @@ export type DiagnosticsListSiteDetectorsResponse = DiagnosticDetectorCollection /** * Contains response data for the getSiteDetector operation. */ -export type DiagnosticsGetSiteDetectorResponse = DiagnosticDetectorCollection & { +export type DiagnosticsGetSiteDetectorResponse = DetectorDefinition & { /** * The underlying HTTP response. */ @@ -11109,7 +11089,7 @@ export type DiagnosticsGetSiteDetectorResponse = DiagnosticDetectorCollection & /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticDetectorCollection; + parsedBody: DetectorDefinition; }; }; @@ -11236,7 +11216,7 @@ export type DiagnosticsListSiteAnalysesSlotResponse = DiagnosticAnalysisCollecti /** * Contains response data for the getSiteAnalysisSlot operation. */ -export type DiagnosticsGetSiteAnalysisSlotResponse = DiagnosticAnalysis & { +export type DiagnosticsGetSiteAnalysisSlotResponse = AnalysisDefinition & { /** * The underlying HTTP response. */ @@ -11249,7 +11229,7 @@ export type DiagnosticsGetSiteAnalysisSlotResponse = DiagnosticAnalysis & { /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticAnalysis; + parsedBody: AnalysisDefinition; }; }; @@ -11296,7 +11276,7 @@ export type DiagnosticsListSiteDetectorsSlotResponse = DiagnosticDetectorCollect /** * Contains response data for the getSiteDetectorSlot operation. */ -export type DiagnosticsGetSiteDetectorSlotResponse = DiagnosticDetectorCollection & { +export type DiagnosticsGetSiteDetectorSlotResponse = DetectorDefinition & { /** * The underlying HTTP response. */ @@ -11309,7 +11289,7 @@ export type DiagnosticsGetSiteDetectorSlotResponse = DiagnosticDetectorCollectio /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticDetectorCollection; + parsedBody: DetectorDefinition; }; }; @@ -11433,26 +11413,6 @@ export type DiagnosticsListSiteDetectorsNextResponse = DiagnosticDetectorCollect }; }; -/** - * Contains response data for the getSiteDetectorNext operation. - */ -export type DiagnosticsGetSiteDetectorNextResponse = DiagnosticDetectorCollection & { - /** - * 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: DiagnosticDetectorCollection; - }; -}; - /** * Contains response data for the listSiteDetectorResponsesSlotNext operation. */ @@ -11534,9 +11494,9 @@ export type DiagnosticsListSiteDetectorsSlotNextResponse = DiagnosticDetectorCol }; /** - * Contains response data for the getSiteDetectorSlotNext operation. + * Contains response data for the getAvailableStacks operation. */ -export type DiagnosticsGetSiteDetectorSlotNextResponse = DiagnosticDetectorCollection & { +export type ProviderGetAvailableStacksResponse = ApplicationStackCollection & { /** * The underlying HTTP response. */ @@ -11549,14 +11509,14 @@ export type DiagnosticsGetSiteDetectorSlotNextResponse = DiagnosticDetectorColle /** * The response body as parsed JSON or XML */ - parsedBody: DiagnosticDetectorCollection; + parsedBody: ApplicationStackCollection; }; }; /** - * Contains response data for the getAvailableStacks operation. + * Contains response data for the listOperations operation. */ -export type ProviderGetAvailableStacksResponse = ApplicationStackCollection & { +export type ProviderListOperationsResponse = CsmOperationCollection & { /** * The underlying HTTP response. */ @@ -11569,14 +11529,14 @@ export type ProviderGetAvailableStacksResponse = ApplicationStackCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationStackCollection; + parsedBody: CsmOperationCollection; }; }; /** - * Contains response data for the listOperations operation. + * Contains response data for the getAvailableStacksOnPrem operation. */ -export type ProviderListOperationsResponse = CsmOperationCollection & { +export type ProviderGetAvailableStacksOnPremResponse = ApplicationStackCollection & { /** * The underlying HTTP response. */ @@ -11589,27 +11549,7 @@ export type ProviderListOperationsResponse = CsmOperationCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: CsmOperationCollection; - }; -}; - -/** - * Contains response data for the getAvailableStacksOnPrem operation. - */ -export type ProviderGetAvailableStacksOnPremResponse = ApplicationStackCollection & { - /** - * 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: ApplicationStackCollection; + parsedBody: ApplicationStackCollection; }; }; @@ -12193,31 +12133,6 @@ export type ValidateResponse2 = ValidateResponse & { }; }; -/** - * Contains response data for the validateContainerSettings operation. - */ -export type ValidateContainerSettingsResponse = { - /** - * 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 listSourceControlsNext operation. */ @@ -12698,6 +12613,46 @@ export type WebAppsGetBackupConfigurationResponse = BackupRequest & { }; }; +/** + * Contains response data for the getAppSettingsKeyVaultReferences operation. + */ +export type WebAppsGetAppSettingsKeyVaultReferencesResponse = KeyVaultReferenceCollection & { + /** + * 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: KeyVaultReferenceCollection; + }; +}; + +/** + * Contains response data for the getAppSettingKeyVaultReference operation. + */ +export type WebAppsGetAppSettingKeyVaultReferenceResponse = KeyVaultReferenceResource & { + /** + * 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: KeyVaultReferenceResource; + }; +}; + /** * Contains response data for the updateConnectionStrings operation. */ @@ -13435,6 +13390,46 @@ export type WebAppsCreateFunctionResponse = FunctionEnvelope & { }; }; +/** + * Contains response data for the createOrUpdateFunctionSecret operation. + */ +export type WebAppsCreateOrUpdateFunctionSecretResponse = KeyInfo & { + /** + * 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: KeyInfo; + }; +}; + +/** + * Contains response data for the listFunctionKeys operation. + */ +export type WebAppsListFunctionKeysResponse = StringDictionary & { + /** + * 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: StringDictionary; + }; +}; + /** * Contains response data for the listFunctionSecrets operation. */ @@ -13456,9 +13451,9 @@ export type WebAppsListFunctionSecretsResponse = FunctionSecrets & { }; /** - * Contains response data for the listHostNameBindings operation. + * Contains response data for the listHostKeys operation. */ -export type WebAppsListHostNameBindingsResponse = HostNameBindingCollection & { +export type WebAppsListHostKeysResponse = HostKeys & { /** * The underlying HTTP response. */ @@ -13471,14 +13466,14 @@ export type WebAppsListHostNameBindingsResponse = HostNameBindingCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: HostNameBindingCollection; + parsedBody: HostKeys; }; }; /** - * Contains response data for the getHostNameBinding operation. + * Contains response data for the createOrUpdateHostSecret operation. */ -export type WebAppsGetHostNameBindingResponse = HostNameBinding & { +export type WebAppsCreateOrUpdateHostSecretResponse = KeyInfo & { /** * The underlying HTTP response. */ @@ -13491,14 +13486,34 @@ export type WebAppsGetHostNameBindingResponse = HostNameBinding & { /** * The response body as parsed JSON or XML */ - parsedBody: HostNameBinding; + parsedBody: KeyInfo; }; }; /** - * Contains response data for the createOrUpdateHostNameBinding operation. + * Contains response data for the listHostNameBindings operation. */ -export type WebAppsCreateOrUpdateHostNameBindingResponse = HostNameBinding & { +export type WebAppsListHostNameBindingsResponse = HostNameBindingCollection & { + /** + * 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: HostNameBindingCollection; + }; +}; + +/** + * Contains response data for the getHostNameBinding operation. + */ +export type WebAppsGetHostNameBindingResponse = HostNameBinding & { /** * The underlying HTTP response. */ @@ -13516,9 +13531,9 @@ export type WebAppsCreateOrUpdateHostNameBindingResponse = HostNameBinding & { }; /** - * Contains response data for the getHybridConnection operation. + * Contains response data for the createOrUpdateHostNameBinding operation. */ -export type WebAppsGetHybridConnectionResponse = HybridConnection & { +export type WebAppsCreateOrUpdateHostNameBindingResponse = HostNameBinding & { /** * The underlying HTTP response. */ @@ -13531,14 +13546,14 @@ export type WebAppsGetHybridConnectionResponse = HybridConnection & { /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnection; + parsedBody: HostNameBinding; }; }; /** - * Contains response data for the createOrUpdateHybridConnection operation. + * Contains response data for the getHybridConnection operation. */ -export type WebAppsCreateOrUpdateHybridConnectionResponse = HybridConnection & { +export type WebAppsGetHybridConnectionResponse = HybridConnection & { /** * The underlying HTTP response. */ @@ -13556,9 +13571,9 @@ export type WebAppsCreateOrUpdateHybridConnectionResponse = HybridConnection & { }; /** - * Contains response data for the updateHybridConnection operation. + * Contains response data for the createOrUpdateHybridConnection operation. */ -export type WebAppsUpdateHybridConnectionResponse = HybridConnection & { +export type WebAppsCreateOrUpdateHybridConnectionResponse = HybridConnection & { /** * The underlying HTTP response. */ @@ -13576,9 +13591,9 @@ export type WebAppsUpdateHybridConnectionResponse = HybridConnection & { }; /** - * Contains response data for the listHybridConnectionKeys operation. + * Contains response data for the updateHybridConnection operation. */ -export type WebAppsListHybridConnectionKeysResponse = HybridConnectionKey & { +export type WebAppsUpdateHybridConnectionResponse = HybridConnection & { /** * The underlying HTTP response. */ @@ -13591,7 +13606,7 @@ export type WebAppsListHybridConnectionKeysResponse = HybridConnectionKey & { /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnectionKey; + parsedBody: HybridConnection; }; }; @@ -13715,6 +13730,26 @@ export type WebAppsListInstanceIdentifiersResponse = WebAppInstanceCollection & }; }; +/** + * Contains response data for the getInstanceInfo operation. + */ +export type WebAppsGetInstanceInfoResponse = WebSiteInstanceStatus & { + /** + * 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: WebSiteInstanceStatus; + }; +}; + /** * Contains response data for the getInstanceMsDeployStatus operation. */ @@ -13901,26 +13936,6 @@ export type WebAppsListInstanceProcessThreadsResponse = ProcessThreadInfoCollect }; }; -/** - * Contains response data for the getInstanceProcessThread operation. - */ -export type WebAppsGetInstanceProcessThreadResponse = ProcessThreadInfo & { - /** - * 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: ProcessThreadInfo; - }; -}; - /** * Contains response data for the isCloneable operation. */ @@ -13942,29 +13957,9 @@ export type WebAppsIsCloneableResponse = SiteCloneability & { }; /** - * Contains response data for the listSyncFunctionTriggers operation. - */ -export type WebAppsListSyncFunctionTriggersResponse = FunctionSecrets & { - /** - * 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: FunctionSecrets; - }; -}; - -/** - * Contains response data for the listMetricDefinitions operation. + * Contains response data for the listSiteBackups operation. */ -export type WebAppsListMetricDefinitionsResponse = ResourceMetricDefinitionCollection & { +export type WebAppsListSiteBackupsResponse = BackupItemCollection & { /** * The underlying HTTP response. */ @@ -13977,14 +13972,14 @@ export type WebAppsListMetricDefinitionsResponse = ResourceMetricDefinitionColle /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; + parsedBody: BackupItemCollection; }; }; /** - * Contains response data for the listMetrics operation. + * Contains response data for the listSyncFunctionTriggers operation. */ -export type WebAppsListMetricsResponse = ResourceMetricCollection & { +export type WebAppsListSyncFunctionTriggersResponse = FunctionSecrets & { /** * The underlying HTTP response. */ @@ -13997,7 +13992,7 @@ export type WebAppsListMetricsResponse = ResourceMetricCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricCollection; + parsedBody: FunctionSecrets; }; }; @@ -14552,26 +14547,6 @@ export type WebAppsListProcessThreadsResponse = ProcessThreadInfoCollection & { }; }; -/** - * Contains response data for the getProcessThread operation. - */ -export type WebAppsGetProcessThreadResponse = ProcessThreadInfo & { - /** - * 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: ProcessThreadInfo; - }; -}; - /** * Contains response data for the listPublicCertificates operation. */ @@ -15776,9 +15751,9 @@ export type WebAppsCreateInstanceFunctionSlotResponse = FunctionEnvelope & { }; /** - * Contains response data for the listFunctionSecretsSlot operation. + * Contains response data for the createOrUpdateFunctionSecretSlot operation. */ -export type WebAppsListFunctionSecretsSlotResponse = FunctionSecrets & { +export type WebAppsCreateOrUpdateFunctionSecretSlotResponse = KeyInfo & { /** * The underlying HTTP response. */ @@ -15791,14 +15766,14 @@ export type WebAppsListFunctionSecretsSlotResponse = FunctionSecrets & { /** * The response body as parsed JSON or XML */ - parsedBody: FunctionSecrets; + parsedBody: KeyInfo; }; }; /** - * Contains response data for the listHostNameBindingsSlot operation. + * Contains response data for the listFunctionKeysSlot operation. */ -export type WebAppsListHostNameBindingsSlotResponse = HostNameBindingCollection & { +export type WebAppsListFunctionKeysSlotResponse = StringDictionary & { /** * The underlying HTTP response. */ @@ -15811,14 +15786,14 @@ export type WebAppsListHostNameBindingsSlotResponse = HostNameBindingCollection /** * The response body as parsed JSON or XML */ - parsedBody: HostNameBindingCollection; + parsedBody: StringDictionary; }; }; /** - * Contains response data for the getHostNameBindingSlot operation. + * Contains response data for the listFunctionSecretsSlot operation. */ -export type WebAppsGetHostNameBindingSlotResponse = HostNameBinding & { +export type WebAppsListFunctionSecretsSlotResponse = FunctionSecrets & { /** * The underlying HTTP response. */ @@ -15831,14 +15806,14 @@ export type WebAppsGetHostNameBindingSlotResponse = HostNameBinding & { /** * The response body as parsed JSON or XML */ - parsedBody: HostNameBinding; + parsedBody: FunctionSecrets; }; }; /** - * Contains response data for the createOrUpdateHostNameBindingSlot operation. + * Contains response data for the listHostKeysSlot operation. */ -export type WebAppsCreateOrUpdateHostNameBindingSlotResponse = HostNameBinding & { +export type WebAppsListHostKeysSlotResponse = HostKeys & { /** * The underlying HTTP response. */ @@ -15851,14 +15826,14 @@ export type WebAppsCreateOrUpdateHostNameBindingSlotResponse = HostNameBinding & /** * The response body as parsed JSON or XML */ - parsedBody: HostNameBinding; + parsedBody: HostKeys; }; }; /** - * Contains response data for the getHybridConnectionSlot operation. + * Contains response data for the createOrUpdateHostSecretSlot operation. */ -export type WebAppsGetHybridConnectionSlotResponse = HybridConnection & { +export type WebAppsCreateOrUpdateHostSecretSlotResponse = KeyInfo & { /** * The underlying HTTP response. */ @@ -15871,14 +15846,74 @@ export type WebAppsGetHybridConnectionSlotResponse = HybridConnection & { /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnection; + parsedBody: KeyInfo; }; }; /** - * Contains response data for the createOrUpdateHybridConnectionSlot operation. + * Contains response data for the listHostNameBindingsSlot operation. */ -export type WebAppsCreateOrUpdateHybridConnectionSlotResponse = HybridConnection & { +export type WebAppsListHostNameBindingsSlotResponse = HostNameBindingCollection & { + /** + * 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: HostNameBindingCollection; + }; +}; + +/** + * Contains response data for the getHostNameBindingSlot operation. + */ +export type WebAppsGetHostNameBindingSlotResponse = HostNameBinding & { + /** + * 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: HostNameBinding; + }; +}; + +/** + * Contains response data for the createOrUpdateHostNameBindingSlot operation. + */ +export type WebAppsCreateOrUpdateHostNameBindingSlotResponse = HostNameBinding & { + /** + * 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: HostNameBinding; + }; +}; + +/** + * Contains response data for the getHybridConnectionSlot operation. + */ +export type WebAppsGetHybridConnectionSlotResponse = HybridConnection & { /** * The underlying HTTP response. */ @@ -15896,9 +15931,9 @@ export type WebAppsCreateOrUpdateHybridConnectionSlotResponse = HybridConnection }; /** - * Contains response data for the updateHybridConnectionSlot operation. + * Contains response data for the createOrUpdateHybridConnectionSlot operation. */ -export type WebAppsUpdateHybridConnectionSlotResponse = HybridConnection & { +export type WebAppsCreateOrUpdateHybridConnectionSlotResponse = HybridConnection & { /** * The underlying HTTP response. */ @@ -15916,9 +15951,9 @@ export type WebAppsUpdateHybridConnectionSlotResponse = HybridConnection & { }; /** - * Contains response data for the listHybridConnectionKeysSlot operation. + * Contains response data for the updateHybridConnectionSlot operation. */ -export type WebAppsListHybridConnectionKeysSlotResponse = HybridConnectionKey & { +export type WebAppsUpdateHybridConnectionSlotResponse = HybridConnection & { /** * The underlying HTTP response. */ @@ -15931,7 +15966,7 @@ export type WebAppsListHybridConnectionKeysSlotResponse = HybridConnectionKey & /** * The response body as parsed JSON or XML */ - parsedBody: HybridConnectionKey; + parsedBody: HybridConnection; }; }; @@ -16055,6 +16090,26 @@ export type WebAppsListInstanceIdentifiersSlotResponse = WebAppInstanceCollectio }; }; +/** + * Contains response data for the getInstanceInfoSlot operation. + */ +export type WebAppsGetInstanceInfoSlotResponse = WebSiteInstanceStatus & { + /** + * 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: WebSiteInstanceStatus; + }; +}; + /** * Contains response data for the getInstanceMsDeployStatusSlot operation. */ @@ -16241,26 +16296,6 @@ export type WebAppsListInstanceProcessThreadsSlotResponse = ProcessThreadInfoCol }; }; -/** - * Contains response data for the getInstanceProcessThreadSlot operation. - */ -export type WebAppsGetInstanceProcessThreadSlotResponse = ProcessThreadInfo & { - /** - * 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: ProcessThreadInfo; - }; -}; - /** * Contains response data for the isCloneableSlot operation. */ @@ -16282,9 +16317,9 @@ export type WebAppsIsCloneableSlotResponse = SiteCloneability & { }; /** - * Contains response data for the listSyncFunctionTriggersSlot operation. + * Contains response data for the listSiteBackupsSlot operation. */ -export type WebAppsListSyncFunctionTriggersSlotResponse = FunctionSecrets & { +export type WebAppsListSiteBackupsSlotResponse = BackupItemCollection & { /** * The underlying HTTP response. */ @@ -16297,34 +16332,14 @@ export type WebAppsListSyncFunctionTriggersSlotResponse = FunctionSecrets & { /** * The response body as parsed JSON or XML */ - parsedBody: FunctionSecrets; - }; -}; - -/** - * Contains response data for the listMetricDefinitionsSlot operation. - */ -export type WebAppsListMetricDefinitionsSlotResponse = ResourceMetricDefinitionCollection & { - /** - * 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: ResourceMetricDefinitionCollection; + parsedBody: BackupItemCollection; }; }; /** - * Contains response data for the listMetricsSlot operation. + * Contains response data for the listSyncFunctionTriggersSlot operation. */ -export type WebAppsListMetricsSlotResponse = ResourceMetricCollection & { +export type WebAppsListSyncFunctionTriggersSlotResponse = FunctionSecrets & { /** * The underlying HTTP response. */ @@ -16337,7 +16352,7 @@ export type WebAppsListMetricsSlotResponse = ResourceMetricCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricCollection; + parsedBody: FunctionSecrets; }; }; @@ -16852,26 +16867,6 @@ export type WebAppsListProcessThreadsSlotResponse = ProcessThreadInfoCollection }; }; -/** - * Contains response data for the getProcessThreadSlot operation. - */ -export type WebAppsGetProcessThreadSlotResponse = ProcessThreadInfo & { - /** - * 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: ProcessThreadInfo; - }; -}; - /** * Contains response data for the listPublicCertificatesSlot operation. */ @@ -18539,9 +18534,9 @@ export type WebAppsListInstanceProcessThreadsNextResponse = ProcessThreadInfoCol }; /** - * Contains response data for the listMetricDefinitionsNext operation. + * Contains response data for the listSiteBackupsNext operation. */ -export type WebAppsListMetricDefinitionsNextResponse = ResourceMetricDefinitionCollection & { +export type WebAppsListSiteBackupsNextResponse = BackupItemCollection & { /** * The underlying HTTP response. */ @@ -18554,27 +18549,7 @@ export type WebAppsListMetricDefinitionsNextResponse = ResourceMetricDefinitionC /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; - }; -}; - -/** - * Contains response data for the listMetricsNext operation. - */ -export type WebAppsListMetricsNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; + parsedBody: BackupItemCollection; }; }; @@ -18959,9 +18934,9 @@ export type WebAppsListInstanceProcessThreadsSlotNextResponse = ProcessThreadInf }; /** - * Contains response data for the listMetricDefinitionsSlotNext operation. + * Contains response data for the listSiteBackupsSlotNext operation. */ -export type WebAppsListMetricDefinitionsSlotNextResponse = ResourceMetricDefinitionCollection & { +export type WebAppsListSiteBackupsSlotNextResponse = BackupItemCollection & { /** * The underlying HTTP response. */ @@ -18974,27 +18949,7 @@ export type WebAppsListMetricDefinitionsSlotNextResponse = ResourceMetricDefinit /** * The response body as parsed JSON or XML */ - parsedBody: ResourceMetricDefinitionCollection; - }; -}; - -/** - * Contains response data for the listMetricsSlotNext operation. - */ -export type WebAppsListMetricsSlotNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; + parsedBody: BackupItemCollection; }; }; @@ -19519,9 +19474,9 @@ export type AppServiceEnvironmentsListCapacitiesResponse = StampCapacityCollecti }; /** - * Contains response data for the listVips operation. + * Contains response data for the getVipInfo operation. */ -export type AppServiceEnvironmentsListVipsResponse = AddressResponse & { +export type AppServiceEnvironmentsGetVipInfoResponse = AddressResponse & { /** * The underlying HTTP response. */ @@ -19618,46 +19573,6 @@ export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsResponse }; }; -/** - * Contains response data for the listMetricDefinitions operation. - */ -export type AppServiceEnvironmentsListMetricDefinitionsResponse = MetricDefinition & { - /** - * 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: MetricDefinition; - }; -}; - -/** - * Contains response data for the listMetrics operation. - */ -export type AppServiceEnvironmentsListMetricsResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listMultiRolePools operation. */ @@ -19758,26 +19673,6 @@ export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsResp }; }; -/** - * Contains response data for the listMultiRolePoolInstanceMetrics operation. - */ -export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricsResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listMultiRoleMetricDefinitions operation. */ @@ -19798,26 +19693,6 @@ export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsResponse = Resou }; }; -/** - * Contains response data for the listMultiRoleMetrics operation. - */ -export type AppServiceEnvironmentsListMultiRoleMetricsResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listMultiRolePoolSkus operation. */ @@ -20098,26 +19973,6 @@ export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsRespons }; }; -/** - * Contains response data for the listWorkerPoolInstanceMetrics operation. - */ -export type AppServiceEnvironmentsListWorkerPoolInstanceMetricsResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listWebWorkerMetricDefinitions operation. */ @@ -20138,26 +19993,6 @@ export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsResponse = Resou }; }; -/** - * Contains response data for the listWebWorkerMetrics operation. - */ -export type AppServiceEnvironmentsListWebWorkerMetricsResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listWorkerPoolSkus operation. */ @@ -20418,26 +20253,6 @@ export type AppServiceEnvironmentsGetInboundNetworkDependenciesEndpointsNextResp }; }; -/** - * Contains response data for the listMetricsNext operation. - */ -export type AppServiceEnvironmentsListMetricsNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listMultiRolePoolsNext operation. */ @@ -20478,26 +20293,6 @@ export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricDefinitionsNext }; }; -/** - * Contains response data for the listMultiRolePoolInstanceMetricsNext operation. - */ -export type AppServiceEnvironmentsListMultiRolePoolInstanceMetricsNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listMultiRoleMetricDefinitionsNext operation. */ @@ -20518,26 +20313,6 @@ export type AppServiceEnvironmentsListMultiRoleMetricDefinitionsNextResponse = R }; }; -/** - * Contains response data for the listMultiRoleMetricsNext operation. - */ -export type AppServiceEnvironmentsListMultiRoleMetricsNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listMultiRolePoolSkusNext operation. */ @@ -20738,26 +20513,6 @@ export type AppServiceEnvironmentsListWorkerPoolInstanceMetricDefinitionsNextRes }; }; -/** - * Contains response data for the listWorkerPoolInstanceMetricsNext operation. - */ -export type AppServiceEnvironmentsListWorkerPoolInstanceMetricsNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listWebWorkerMetricDefinitionsNext operation. */ @@ -20778,26 +20533,6 @@ export type AppServiceEnvironmentsListWebWorkerMetricDefinitionsNextResponse = R }; }; -/** - * Contains response data for the listWebWorkerMetricsNext operation. - */ -export type AppServiceEnvironmentsListWebWorkerMetricsNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listWorkerPoolSkusNext operation. */ @@ -21118,46 +20853,6 @@ export type AppServicePlansListHybridConnectionsResponse = HybridConnectionColle }; }; -/** - * Contains response data for the listMetricDefintions operation. - */ -export type AppServicePlansListMetricDefintionsResponse = ResourceMetricDefinitionCollection & { - /** - * 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: ResourceMetricDefinitionCollection; - }; -}; - -/** - * Contains response data for the listMetrics operation. - */ -export type AppServicePlansListMetricsResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listWebApps operation. */ @@ -21483,46 +21178,6 @@ export type AppServicePlansListHybridConnectionsNextResponse = HybridConnectionC }; }; -/** - * Contains response data for the listMetricDefintionsNext operation. - */ -export type AppServicePlansListMetricDefintionsNextResponse = ResourceMetricDefinitionCollection & { - /** - * 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: ResourceMetricDefinitionCollection; - }; -}; - -/** - * Contains response data for the listMetricsNext operation. - */ -export type AppServicePlansListMetricsNextResponse = ResourceMetricCollection & { - /** - * 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: ResourceMetricCollection; - }; -}; - /** * Contains response data for the listWebAppsNext operation. */ diff --git a/sdk/appservice/arm-appservice/src/models/mappers.ts b/sdk/appservice/arm-appservice/src/models/mappers.ts index 449de0b5f0d0..7f798e5822ba 100644 --- a/sdk/appservice/arm-appservice/src/models/mappers.ts +++ b/sdk/appservice/arm-appservice/src/models/mappers.ts @@ -1011,87 +1011,6 @@ export const Snapshot: msRest.CompositeMapper = { } }; -export const ResourceMetricAvailability: msRest.CompositeMapper = { - serializedName: "ResourceMetricAvailability", - type: { - name: "Composite", - className: "ResourceMetricAvailability", - modelProperties: { - timeGrain: { - readOnly: true, - serializedName: "timeGrain", - type: { - name: "String" - } - }, - retention: { - readOnly: true, - serializedName: "retention", - type: { - name: "String" - } - } - } - } -}; - -export const ResourceMetricDefinition: msRest.CompositeMapper = { - serializedName: "ResourceMetricDefinition", - type: { - name: "Composite", - className: "ResourceMetricDefinition", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - unit: { - readOnly: true, - serializedName: "properties.unit", - type: { - name: "String" - } - }, - primaryAggregationType: { - readOnly: true, - serializedName: "properties.primaryAggregationType", - type: { - name: "String" - } - }, - metricAvailabilities: { - readOnly: true, - serializedName: "properties.metricAvailabilities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetricAvailability" - } - } - } - }, - resourceUri: { - readOnly: true, - serializedName: "properties.resourceUri", - type: { - name: "String" - } - }, - properties: { - readOnly: true, - serializedName: "properties.properties", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const PushSettings: msRest.CompositeMapper = { serializedName: "PushSettings", type: { @@ -1135,7 +1054,7 @@ export const Identifier: msRest.CompositeMapper = { className: "Identifier", modelProperties: { ...ProxyOnlyResource.type.modelProperties, - identifierId: { + value: { serializedName: "properties.id", type: { name: "String" @@ -1145,31 +1064,6 @@ export const Identifier: msRest.CompositeMapper = { } }; -export const HybridConnectionKey: msRest.CompositeMapper = { - serializedName: "HybridConnectionKey", - type: { - name: "Composite", - className: "HybridConnectionKey", - modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - sendKeyName: { - readOnly: true, - serializedName: "properties.sendKeyName", - type: { - name: "String" - } - }, - sendKeyValue: { - readOnly: true, - serializedName: "properties.sendKeyValue", - type: { - name: "String" - } - } - } - } -}; - export const HybridConnection: msRest.CompositeMapper = { serializedName: "HybridConnection", type: { @@ -1329,7 +1223,12 @@ export const ManagedServiceIdentity: msRest.CompositeMapper = { type: { serializedName: "type", type: { - name: "String" + name: "Enum", + allowedValues: [ + "None", + "SystemAssigned", + "UserAssigned" + ] } }, tenantId: { @@ -1362,28 +1261,6 @@ export const ManagedServiceIdentity: msRest.CompositeMapper = { } }; -export const GeoDistribution: msRest.CompositeMapper = { - serializedName: "GeoDistribution", - type: { - name: "Composite", - className: "GeoDistribution", - modelProperties: { - location: { - serializedName: "location", - type: { - name: "String" - } - }, - numberOfWorkers: { - serializedName: "numberOfWorkers", - type: { - name: "Number" - } - } - } - } -}; - export const SlotSwapStatus: msRest.CompositeMapper = { serializedName: "SlotSwapStatus", type: { @@ -1601,6 +1478,22 @@ export const IpSecurityRestriction: msRest.CompositeMapper = { } }; +export const ApiManagementConfig: msRest.CompositeMapper = { + serializedName: "ApiManagementConfig", + type: { + name: "Composite", + className: "ApiManagementConfig", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + export const ApiDefinitionInfo: msRest.CompositeMapper = { serializedName: "ApiDefinitionInfo", type: { @@ -2129,62 +2022,6 @@ export const ConnStringInfo: msRest.CompositeMapper = { } }; -export const AzureStorageInfoValue: msRest.CompositeMapper = { - serializedName: "AzureStorageInfoValue", - type: { - name: "Composite", - className: "AzureStorageInfoValue", - modelProperties: { - type: { - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "AzureFiles", - "AzureBlob" - ] - } - }, - accountName: { - serializedName: "accountName", - type: { - name: "String" - } - }, - shareName: { - serializedName: "shareName", - type: { - name: "String" - } - }, - accessKey: { - serializedName: "accessKey", - type: { - name: "String" - } - }, - mountPath: { - serializedName: "mountPath", - type: { - name: "String" - } - }, - state: { - readOnly: true, - serializedName: "state", - type: { - name: "Enum", - allowedValues: [ - "Ok", - "InvalidCredentials", - "InvalidShare" - ] - } - } - } - } -}; - export const NameValuePair: msRest.CompositeMapper = { serializedName: "NameValuePair", type: { @@ -2327,18 +2164,6 @@ export const SiteConfig: msRest.CompositeMapper = { } } }, - azureStorageAccounts: { - serializedName: "azureStorageAccounts", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "AzureStorageInfoValue" - } - } - } - }, connectionStrings: { serializedName: "connectionStrings", type: { @@ -2520,6 +2345,13 @@ export const SiteConfig: msRest.CompositeMapper = { className: "ApiDefinitionInfo" } }, + apiManagementConfig: { + serializedName: "apiManagementConfig", + type: { + name: "Composite", + className: "ApiManagementConfig" + } + }, autoSwapSlotName: { serializedName: "autoSwapSlotName", type: { @@ -2594,8 +2426,8 @@ export const SiteConfig: msRest.CompositeMapper = { name: "String" } }, - reservedInstanceCount: { - serializedName: "reservedInstanceCount", + preWarmedInstanceCount: { + serializedName: "preWarmedInstanceCount", constraints: { InclusiveMaximum: 10, InclusiveMinimum: 0 @@ -2603,6 +2435,12 @@ export const SiteConfig: msRest.CompositeMapper = { type: { name: "Number" } + }, + healthCheckPath: { + serializedName: "healthCheckPath", + type: { + name: "String" + } } } } @@ -2949,18 +2787,6 @@ export const Site: msRest.CompositeMapper = { name: "Uuid" } }, - geoDistributions: { - serializedName: "properties.geoDistributions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GeoDistribution" - } - } - } - }, identity: { serializedName: "identity", type: { @@ -3566,6 +3392,17 @@ export const MetricSpecification: msRest.CompositeMapper = { } } } + }, + supportedTimeGrainTypes: { + serializedName: "supportedTimeGrainTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } @@ -4113,11 +3950,11 @@ export const Domain: msRest.CompositeMapper = { } }; -export const DomainAvailablilityCheckResult: msRest.CompositeMapper = { - serializedName: "DomainAvailablilityCheckResult", +export const DomainAvailabilityCheckResult: msRest.CompositeMapper = { + serializedName: "DomainAvailabilityCheckResult", type: { name: "Composite", - className: "DomainAvailablilityCheckResult", + className: "DomainAvailabilityCheckResult", modelProperties: { name: { serializedName: "name", @@ -4649,6 +4486,12 @@ export const Certificate: msRest.CompositeMapper = { type: { name: "String" } + }, + canonicalName: { + serializedName: "properties.canonicalName", + type: { + name: "String" + } } } } @@ -4807,6 +4650,12 @@ export const CertificatePatchResource: msRest.CompositeMapper = { type: { name: "String" } + }, + canonicalName: { + serializedName: "properties.canonicalName", + type: { + name: "String" + } } } } @@ -4928,6 +4777,12 @@ export const VirtualIPMapping: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + serviceName: { + serializedName: "serviceName", + type: { + name: "String" + } } } } @@ -4985,6 +4840,7 @@ export const StampCapacity: msRest.CompositeMapper = { "D1", "D2", "D3", + "NestedSmall", "Default" ] } @@ -5158,7 +5014,6 @@ export const AppServiceEnvironment: msRest.CompositeMapper = { } }, workerPools: { - required: true, serializedName: "workerPools", type: { name: "Sequence", @@ -5571,208 +5426,11 @@ export const Operation: msRest.CompositeMapper = { } }; -export const ResourceMetricName: msRest.CompositeMapper = { - serializedName: "ResourceMetricName", +export const Solution: msRest.CompositeMapper = { + serializedName: "Solution", type: { name: "Composite", - className: "ResourceMetricName", - modelProperties: { - value: { - readOnly: true, - serializedName: "value", - type: { - name: "String" - } - }, - localizedValue: { - readOnly: true, - serializedName: "localizedValue", - type: { - name: "String" - } - } - } - } -}; - -export const ResourceMetricProperty: msRest.CompositeMapper = { - serializedName: "ResourceMetricProperty", - type: { - name: "Composite", - className: "ResourceMetricProperty", - modelProperties: { - key: { - serializedName: "key", - type: { - name: "String" - } - }, - value: { - serializedName: "value", - type: { - name: "String" - } - } - } - } -}; - -export const ResourceMetricValue: msRest.CompositeMapper = { - serializedName: "ResourceMetricValue", - type: { - name: "Composite", - className: "ResourceMetricValue", - modelProperties: { - timestamp: { - readOnly: true, - serializedName: "timestamp", - type: { - name: "String" - } - }, - average: { - readOnly: true, - serializedName: "average", - type: { - name: "Number" - } - }, - minimum: { - readOnly: true, - serializedName: "minimum", - type: { - name: "Number" - } - }, - maximum: { - readOnly: true, - serializedName: "maximum", - type: { - name: "Number" - } - }, - total: { - readOnly: true, - serializedName: "total", - type: { - name: "Number" - } - }, - count: { - readOnly: true, - serializedName: "count", - type: { - name: "Number" - } - }, - properties: { - readOnly: true, - serializedName: "properties", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetricProperty" - } - } - } - } - } - } -}; - -export const ResourceMetric: msRest.CompositeMapper = { - serializedName: "ResourceMetric", - type: { - name: "Composite", - className: "ResourceMetric", - modelProperties: { - name: { - readOnly: true, - serializedName: "name", - type: { - name: "Composite", - className: "ResourceMetricName" - } - }, - unit: { - readOnly: true, - serializedName: "unit", - type: { - name: "String" - } - }, - timeGrain: { - readOnly: true, - serializedName: "timeGrain", - type: { - name: "String" - } - }, - startTime: { - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - readOnly: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - resourceId: { - readOnly: true, - serializedName: "resourceId", - type: { - name: "String" - } - }, - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - metricValues: { - readOnly: true, - serializedName: "metricValues", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetricValue" - } - } - } - }, - properties: { - readOnly: true, - serializedName: "properties", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetricProperty" - } - } - } - } - } - } -}; - -export const Solution: msRest.CompositeMapper = { - serializedName: "Solution", - type: { - name: "Composite", - className: "Solution", + className: "Solution", modelProperties: { id: { serializedName: "id", @@ -6676,6 +6334,24 @@ export const StackMajorVersion: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + isPreview: { + serializedName: "isPreview", + type: { + name: "Boolean" + } + }, + isDeprecated: { + serializedName: "isDeprecated", + type: { + name: "Boolean" + } + }, + isHidden: { + serializedName: "isHidden", + type: { + name: "Boolean" + } } } } @@ -6733,6 +6409,59 @@ export const ApplicationStack: msRest.CompositeMapper = { } }; +export const ApplicationStackResource: msRest.CompositeMapper = { + serializedName: "ApplicationStackResource", + type: { + name: "Composite", + className: "ApplicationStackResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + applicationStackResourceName: { + serializedName: "properties.name", + type: { + name: "String" + } + }, + display: { + serializedName: "properties.display", + type: { + name: "String" + } + }, + dependency: { + serializedName: "properties.dependency", + type: { + name: "String" + } + }, + majorVersions: { + serializedName: "properties.majorVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StackMajorVersion" + } + } + } + }, + frameworks: { + serializedName: "properties.frameworks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ApplicationStack" + } + } + } + } + } + } +}; + export const Recommendation: msRest.CompositeMapper = { serializedName: "Recommendation", type: { @@ -7113,6 +6842,13 @@ export const GeoRegion: msRest.CompositeMapper = { type: { name: "String" } + }, + orgDomain: { + readOnly: true, + serializedName: "properties.orgDomain", + type: { + name: "String" + } } } } @@ -7450,81 +7186,35 @@ export const SourceControl: msRest.CompositeMapper = { } }; -export const ValidateContainerSettingsRequest: msRest.CompositeMapper = { - serializedName: "ValidateContainerSettingsRequest", +export const ValidateRequest: msRest.CompositeMapper = { + serializedName: "ValidateRequest", type: { name: "Composite", - className: "ValidateContainerSettingsRequest", + className: "ValidateRequest", modelProperties: { - baseUrl: { - serializedName: "baseUrl", + name: { + required: true, + serializedName: "name", type: { name: "String" } }, - username: { - serializedName: "username", + type: { + required: true, + serializedName: "type", type: { name: "String" } }, - password: { - serializedName: "password", + location: { + required: true, + serializedName: "location", type: { name: "String" } }, - repository: { - serializedName: "repository", - type: { - name: "String" - } - }, - tag: { - serializedName: "tag", - type: { - name: "String" - } - }, - platform: { - serializedName: "platform", - type: { - name: "String" - } - } - } - } -}; - -export const ValidateRequest: msRest.CompositeMapper = { - serializedName: "ValidateRequest", - type: { - name: "Composite", - className: "ValidateRequest", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - required: true, - serializedName: "type", - type: { - name: "String" - } - }, - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - }, - serverFarmId: { - serializedName: "properties.serverFarmId", + serverFarmId: { + serializedName: "properties.serverFarmId", type: { name: "String" } @@ -7567,6 +7257,42 @@ export const ValidateRequest: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + containerRegistryBaseUrl: { + serializedName: "properties.containerRegistryBaseUrl", + type: { + name: "String" + } + }, + containerRegistryUsername: { + serializedName: "properties.containerRegistryUsername", + type: { + name: "String" + } + }, + containerRegistryPassword: { + serializedName: "properties.containerRegistryPassword", + type: { + name: "String" + } + }, + containerImageRepository: { + serializedName: "properties.containerImageRepository", + type: { + name: "String" + } + }, + containerImageTag: { + serializedName: "properties.containerImageTag", + type: { + name: "String" + } + }, + containerImagePlatform: { + serializedName: "properties.containerImagePlatform", + type: { + name: "String" + } } } } @@ -7698,6 +7424,92 @@ export const VnetValidationFailureDetails: msRest.CompositeMapper = { } }; +export const ApiKVReference: msRest.CompositeMapper = { + serializedName: "ApiKVReference", + type: { + name: "Composite", + className: "ApiKVReference", + modelProperties: { + reference: { + serializedName: "reference", + type: { + name: "String" + } + }, + status: { + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Initialized", + "Resolved", + "InvalidSyntax", + "MSINotEnabled", + "VaultNotFound", + "SecretNotFound", + "SecretVersionNotFound", + "AccessToKeyVaultDenied", + "OtherReasons" + ] + } + }, + vaultName: { + serializedName: "vaultName", + type: { + name: "String" + } + }, + secretName: { + serializedName: "secretName", + type: { + name: "String" + } + }, + secretVersion: { + serializedName: "secretVersion", + type: { + name: "String" + } + }, + identityType: { + serializedName: "identityType", + type: { + name: "Enum", + allowedValues: [ + "None", + "SystemAssigned", + "UserAssigned" + ] + } + }, + details: { + serializedName: "details", + type: { + name: "String" + } + }, + source: { + serializedName: "source", + type: { + name: "Enum", + allowedValues: [ + "KeyVault" + ] + } + }, + location: { + serializedName: "location", + type: { + name: "Enum", + allowedValues: [ + "ApplicationSetting" + ] + } + } + } + } +}; + export const FileSystemApplicationLogsConfig: msRest.CompositeMapper = { serializedName: "FileSystemApplicationLogsConfig", type: { @@ -7846,6 +7658,62 @@ export const AzureBlobStorageHttpLogsConfig: msRest.CompositeMapper = { } }; +export const AzureStorageInfoValue: msRest.CompositeMapper = { + serializedName: "AzureStorageInfoValue", + type: { + name: "Composite", + className: "AzureStorageInfoValue", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "AzureFiles", + "AzureBlob" + ] + } + }, + accountName: { + serializedName: "accountName", + type: { + name: "String" + } + }, + shareName: { + serializedName: "shareName", + type: { + name: "String" + } + }, + accessKey: { + serializedName: "accessKey", + type: { + name: "String" + } + }, + mountPath: { + serializedName: "mountPath", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "state", + type: { + name: "Enum", + allowedValues: [ + "Ok", + "InvalidCredentials", + "InvalidShare" + ] + } + } + } + } +}; + export const AzureStoragePropertyDictionaryResource: msRest.CompositeMapper = { serializedName: "AzureStoragePropertyDictionaryResource", type: { @@ -8199,74 +8067,325 @@ export const ConnectionStringDictionary: msRest.CompositeMapper = { } }; -export const ContinuousWebJob: msRest.CompositeMapper = { - serializedName: "ContinuousWebJob", +export const ContainerCpuUsage: msRest.CompositeMapper = { + serializedName: "ContainerCpuUsage", type: { name: "Composite", - className: "ContinuousWebJob", + className: "ContainerCpuUsage", modelProperties: { - ...ProxyOnlyResource.type.modelProperties, - status: { - serializedName: "properties.status", + totalUsage: { + serializedName: "totalUsage", type: { - name: "Enum", - allowedValues: [ - "Initializing", - "Starting", - "Running", - "PendingRestart", - "Stopped" - ] + name: "Number" } }, - detailedStatus: { - serializedName: "properties.detailed_status", + perCpuUsage: { + serializedName: "perCpuUsage", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - logUrl: { - serializedName: "properties.log_url", + kernelModeUsage: { + serializedName: "kernelModeUsage", type: { - name: "String" + name: "Number" } }, - runCommand: { - serializedName: "properties.run_command", + userModeUsage: { + serializedName: "userModeUsage", type: { - name: "String" + name: "Number" } - }, - url: { - serializedName: "properties.url", + } + } + } +}; + +export const ContainerThrottlingData: msRest.CompositeMapper = { + serializedName: "ContainerThrottlingData", + type: { + name: "Composite", + className: "ContainerThrottlingData", + modelProperties: { + periods: { + serializedName: "periods", type: { - name: "String" + name: "Number" } }, - extraInfoUrl: { - serializedName: "properties.extra_info_url", + throttledPeriods: { + serializedName: "throttledPeriods", type: { - name: "String" + name: "Number" } }, - webJobType: { - serializedName: "properties.web_job_type", + throttledTime: { + serializedName: "throttledTime", type: { - name: "Enum", - allowedValues: [ - "Continuous", - "Triggered" - ] + name: "Number" } - }, - error: { - serializedName: "properties.error", + } + } + } +}; + +export const ContainerCpuStatistics: msRest.CompositeMapper = { + serializedName: "ContainerCpuStatistics", + type: { + name: "Composite", + className: "ContainerCpuStatistics", + modelProperties: { + cpuUsage: { + serializedName: "cpuUsage", type: { - name: "String" + name: "Composite", + className: "ContainerCpuUsage" } }, - usingSdk: { - serializedName: "properties.using_sdk", + systemCpuUsage: { + serializedName: "systemCpuUsage", + type: { + name: "Number" + } + }, + onlineCpuCount: { + serializedName: "onlineCpuCount", + type: { + name: "Number" + } + }, + throttlingData: { + serializedName: "throttlingData", + type: { + name: "Composite", + className: "ContainerThrottlingData" + } + } + } + } +}; + +export const ContainerMemoryStatistics: msRest.CompositeMapper = { + serializedName: "ContainerMemoryStatistics", + type: { + name: "Composite", + className: "ContainerMemoryStatistics", + modelProperties: { + usage: { + serializedName: "usage", + type: { + name: "Number" + } + }, + maxUsage: { + serializedName: "maxUsage", + type: { + name: "Number" + } + }, + limit: { + serializedName: "limit", + type: { + name: "Number" + } + } + } + } +}; + +export const ContainerNetworkInterfaceStatistics: msRest.CompositeMapper = { + serializedName: "ContainerNetworkInterfaceStatistics", + type: { + name: "Composite", + className: "ContainerNetworkInterfaceStatistics", + modelProperties: { + rxBytes: { + serializedName: "rxBytes", + type: { + name: "Number" + } + }, + rxPackets: { + serializedName: "rxPackets", + type: { + name: "Number" + } + }, + rxErrors: { + serializedName: "rxErrors", + type: { + name: "Number" + } + }, + rxDropped: { + serializedName: "rxDropped", + type: { + name: "Number" + } + }, + txBytes: { + serializedName: "txBytes", + type: { + name: "Number" + } + }, + txPackets: { + serializedName: "txPackets", + type: { + name: "Number" + } + }, + txErrors: { + serializedName: "txErrors", + type: { + name: "Number" + } + }, + txDropped: { + serializedName: "txDropped", + type: { + name: "Number" + } + } + } + } +}; + +export const ContainerInfo: msRest.CompositeMapper = { + serializedName: "ContainerInfo", + type: { + name: "Composite", + className: "ContainerInfo", + modelProperties: { + currentTimeStamp: { + serializedName: "currentTimeStamp", + type: { + name: "DateTime" + } + }, + previousTimeStamp: { + serializedName: "previousTimeStamp", + type: { + name: "DateTime" + } + }, + currentCpuStats: { + serializedName: "currentCpuStats", + type: { + name: "Composite", + className: "ContainerCpuStatistics" + } + }, + previousCpuStats: { + serializedName: "previousCpuStats", + type: { + name: "Composite", + className: "ContainerCpuStatistics" + } + }, + memoryStats: { + serializedName: "memoryStats", + type: { + name: "Composite", + className: "ContainerMemoryStatistics" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + id: { + serializedName: "id", + type: { + name: "String" + } + }, + eth0: { + serializedName: "eth0", + type: { + name: "Composite", + className: "ContainerNetworkInterfaceStatistics" + } + } + } + } +}; + +export const ContinuousWebJob: msRest.CompositeMapper = { + serializedName: "ContinuousWebJob", + type: { + name: "Composite", + className: "ContinuousWebJob", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + status: { + serializedName: "properties.status", + type: { + name: "Enum", + allowedValues: [ + "Initializing", + "Starting", + "Running", + "PendingRestart", + "Stopped" + ] + } + }, + detailedStatus: { + serializedName: "properties.detailed_status", + type: { + name: "String" + } + }, + logUrl: { + serializedName: "properties.log_url", + type: { + name: "String" + } + }, + runCommand: { + serializedName: "properties.run_command", + type: { + name: "String" + } + }, + url: { + serializedName: "properties.url", + type: { + name: "String" + } + }, + extraInfoUrl: { + serializedName: "properties.extra_info_url", + type: { + name: "String" + } + }, + webJobType: { + serializedName: "properties.web_job_type", + type: { + name: "Enum", + allowedValues: [ + "Continuous", + "Triggered" + ] + } + }, + error: { + serializedName: "properties.error", + type: { + name: "String" + } + }, + usingSdk: { + serializedName: "properties.using_sdk", type: { name: "Boolean" } @@ -8286,6 +8405,31 @@ export const ContinuousWebJob: msRest.CompositeMapper = { } }; +export const CsmCopySlotEntity: msRest.CompositeMapper = { + serializedName: "CsmCopySlotEntity", + type: { + name: "Composite", + className: "CsmCopySlotEntity", + modelProperties: { + targetSlot: { + required: true, + serializedName: "targetSlot", + type: { + name: "String" + } + }, + siteConfig: { + required: true, + serializedName: "siteConfig", + type: { + name: "Composite", + className: "SiteConfig" + } + } + } + } +}; + export const CsmPublishingProfileOptions: msRest.CompositeMapper = { serializedName: "CsmPublishingProfileOptions", type: { @@ -8625,6 +8769,12 @@ export const FunctionEnvelope: msRest.CompositeMapper = { name: "String" } }, + testDataHref: { + serializedName: "properties.test_data_href", + type: { + name: "String" + } + }, secretsFileHref: { serializedName: "properties.secrets_file_href", type: { @@ -8659,6 +8809,24 @@ export const FunctionEnvelope: msRest.CompositeMapper = { type: { name: "String" } + }, + invokeUrlTemplate: { + serializedName: "properties.invoke_url_template", + type: { + name: "String" + } + }, + language: { + serializedName: "properties.language", + type: { + name: "String" + } + }, + isDisabled: { + serializedName: "properties.isDisabled", + type: { + name: "Boolean" + } } } } @@ -8687,6 +8855,44 @@ export const FunctionSecrets: msRest.CompositeMapper = { } }; +export const HostKeys: msRest.CompositeMapper = { + serializedName: "HostKeys", + type: { + name: "Composite", + className: "HostKeys", + modelProperties: { + masterKey: { + serializedName: "masterKey", + type: { + name: "String" + } + }, + functionKeys: { + serializedName: "functionKeys", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + systemKeys: { + serializedName: "systemKeys", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const HostNameBinding: msRest.CompositeMapper = { serializedName: "HostNameBinding", type: { @@ -8794,6 +9000,138 @@ export const HttpLogsConfig: msRest.CompositeMapper = { } }; +export const KeyInfo: msRest.CompositeMapper = { + serializedName: "KeyInfo", + type: { + name: "Composite", + className: "KeyInfo", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const KeyVaultReferenceCollection: msRest.CompositeMapper = { + serializedName: "KeyVaultReferenceCollection", + type: { + name: "Composite", + className: "KeyVaultReferenceCollection", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + keyToReferenceStatuses: { + serializedName: "properties.keyToReferenceStatuses", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "ApiKVReference" + } + } + } + } + } + } +}; + +export const KeyVaultReferenceResource: msRest.CompositeMapper = { + serializedName: "KeyVaultReferenceResource", + type: { + name: "Composite", + className: "KeyVaultReferenceResource", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + reference: { + serializedName: "properties.reference", + type: { + name: "String" + } + }, + status: { + serializedName: "properties.status", + type: { + name: "Enum", + allowedValues: [ + "Initialized", + "Resolved", + "InvalidSyntax", + "MSINotEnabled", + "VaultNotFound", + "SecretNotFound", + "SecretVersionNotFound", + "AccessToKeyVaultDenied", + "OtherReasons" + ] + } + }, + vaultName: { + serializedName: "properties.vaultName", + type: { + name: "String" + } + }, + secretName: { + serializedName: "properties.secretName", + type: { + name: "String" + } + }, + secretVersion: { + serializedName: "properties.secretVersion", + type: { + name: "String" + } + }, + identityType: { + serializedName: "properties.identityType", + type: { + name: "Enum", + allowedValues: [ + "None", + "SystemAssigned", + "UserAssigned" + ] + } + }, + details: { + serializedName: "properties.details", + type: { + name: "String" + } + }, + source: { + serializedName: "properties.source", + type: { + name: "Enum", + allowedValues: [ + "KeyVault" + ] + } + }, + location: { + serializedName: "properties.location", + type: { + name: "Enum", + allowedValues: [ + "ApplicationSetting" + ] + } + } + } + } +}; + export const MSDeploy: msRest.CompositeMapper = { serializedName: "MSDeploy", type: { @@ -9510,12 +9848,6 @@ export const ProcessThreadInfo: msRest.CompositeMapper = { name: "String" } }, - priviledgedProcessorTime: { - serializedName: "properties.priviledged_processor_time", - type: { - name: "String" - } - }, state: { serializedName: "properties.state", type: { @@ -10396,18 +10728,6 @@ export const SiteConfigResource: msRest.CompositeMapper = { } } }, - azureStorageAccounts: { - serializedName: "properties.azureStorageAccounts", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "AzureStorageInfoValue" - } - } - } - }, connectionStrings: { serializedName: "properties.connectionStrings", type: { @@ -10589,6 +10909,13 @@ export const SiteConfigResource: msRest.CompositeMapper = { className: "ApiDefinitionInfo" } }, + apiManagementConfig: { + serializedName: "properties.apiManagementConfig", + type: { + name: "Composite", + className: "ApiManagementConfig" + } + }, autoSwapSlotName: { serializedName: "properties.autoSwapSlotName", type: { @@ -10663,8 +10990,8 @@ export const SiteConfigResource: msRest.CompositeMapper = { name: "String" } }, - reservedInstanceCount: { - serializedName: "properties.reservedInstanceCount", + preWarmedInstanceCount: { + serializedName: "properties.preWarmedInstanceCount", constraints: { InclusiveMaximum: 10, InclusiveMinimum: 0 @@ -10672,6 +10999,12 @@ export const SiteConfigResource: msRest.CompositeMapper = { type: { name: "Number" } + }, + healthCheckPath: { + serializedName: "properties.healthCheckPath", + type: { + name: "String" + } } } } @@ -11185,18 +11518,6 @@ export const SitePatchResource: msRest.CompositeMapper = { name: "Uuid" } }, - geoDistributions: { - serializedName: "properties.geoDistributions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "GeoDistribution" - } - } - } - }, identity: { serializedName: "identity", type: { @@ -11809,26 +12130,79 @@ export const WebJob: msRest.CompositeMapper = { } }; +export const WebSiteInstanceStatus: msRest.CompositeMapper = { + serializedName: "WebSiteInstanceStatus", + type: { + name: "Composite", + className: "WebSiteInstanceStatus", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + state: { + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "READY", + "STOPPED", + "UNKNOWN" + ] + } + }, + statusUrl: { + serializedName: "properties.statusUrl", + type: { + name: "String" + } + }, + detectorUrl: { + serializedName: "properties.detectorUrl", + type: { + name: "String" + } + }, + consoleUrl: { + serializedName: "properties.consoleUrl", + type: { + name: "String" + } + }, + containers: { + serializedName: "properties.containers", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "ContainerInfo" + } + } + } + } + } + } +}; + export const AddressResponse: msRest.CompositeMapper = { serializedName: "AddressResponse", type: { name: "Composite", className: "AddressResponse", modelProperties: { + ...ProxyOnlyResource.type.modelProperties, serviceIpAddress: { - serializedName: "serviceIpAddress", + serializedName: "properties.serviceIpAddress", type: { name: "String" } }, internalIpAddress: { - serializedName: "internalIpAddress", + serializedName: "properties.internalIpAddress", type: { name: "String" } }, outboundIpAddresses: { - serializedName: "outboundIpAddresses", + serializedName: "properties.outboundIpAddresses", type: { name: "Sequence", element: { @@ -11839,7 +12213,7 @@ export const AddressResponse: msRest.CompositeMapper = { } }, vipMappings: { - serializedName: "vipMappings", + serializedName: "properties.vipMappings", type: { name: "Sequence", element: { @@ -11952,7 +12326,6 @@ export const AppServiceEnvironmentResource: msRest.CompositeMapper = { } }, workerPools: { - required: true, serializedName: "properties.workerPools", type: { name: "Sequence", @@ -12272,7 +12645,6 @@ export const AppServiceEnvironmentPatchResource: msRest.CompositeMapper = { } }, workerPools: { - required: true, serializedName: "properties.workerPools", type: { name: "Sequence", @@ -12518,8 +12890,8 @@ export const EndpointDetail: msRest.CompositeMapper = { name: "Number" } }, - isAccessable: { - serializedName: "isAccessable", + isAccessible: { + serializedName: "isAccessible", type: { name: "Boolean" } @@ -12568,8 +12940,8 @@ export const HostingEnvironmentDiagnostics: msRest.CompositeMapper = { name: "String" } }, - diagnosicsOutput: { - serializedName: "diagnosicsOutput", + diagnosticsOutput: { + serializedName: "diagnosticsOutput", type: { name: "String" } @@ -12616,19 +12988,49 @@ export const InboundEnvironmentEndpoint: msRest.CompositeMapper = { } }; -export const MetricAvailabilily: msRest.CompositeMapper = { - serializedName: "MetricAvailabilily", +export const OutboundEnvironmentEndpoint: msRest.CompositeMapper = { + serializedName: "OutboundEnvironmentEndpoint", + type: { + name: "Composite", + className: "OutboundEnvironmentEndpoint", + modelProperties: { + category: { + serializedName: "category", + type: { + name: "String" + } + }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EndpointDependency" + } + } + } + } + } + } +}; + +export const ResourceMetricAvailability: msRest.CompositeMapper = { + serializedName: "ResourceMetricAvailability", type: { name: "Composite", - className: "MetricAvailabilily", + className: "ResourceMetricAvailability", modelProperties: { timeGrain: { + readOnly: true, serializedName: "timeGrain", type: { name: "String" } }, retention: { + readOnly: true, serializedName: "retention", type: { name: "String" @@ -12638,11 +13040,11 @@ export const MetricAvailabilily: msRest.CompositeMapper = { } }; -export const MetricDefinition: msRest.CompositeMapper = { - serializedName: "MetricDefinition", +export const ResourceMetricDefinition: msRest.CompositeMapper = { + serializedName: "ResourceMetricDefinition", type: { name: "Composite", - className: "MetricDefinition", + className: "ResourceMetricDefinition", modelProperties: { ...ProxyOnlyResource.type.modelProperties, unit: { @@ -12667,42 +13069,26 @@ export const MetricDefinition: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "MetricAvailabilily" + className: "ResourceMetricAvailability" } } } }, - displayName: { + resourceUri: { readOnly: true, - serializedName: "properties.displayName", - type: { - name: "String" - } - } - } - } -}; - -export const OutboundEnvironmentEndpoint: msRest.CompositeMapper = { - serializedName: "OutboundEnvironmentEndpoint", - type: { - name: "Composite", - className: "OutboundEnvironmentEndpoint", - modelProperties: { - category: { - serializedName: "category", + serializedName: "properties.resourceUri", type: { name: "String" } }, - endpoints: { - serializedName: "endpoints", + properties: { + readOnly: true, + serializedName: "properties.properties", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { - name: "Composite", - className: "EndpointDependency" + name: "String" } } } @@ -13021,6 +13407,31 @@ export const AppServicePlanPatchResource: msRest.CompositeMapper = { } }; +export const HybridConnectionKey: msRest.CompositeMapper = { + serializedName: "HybridConnectionKey", + type: { + name: "Composite", + className: "HybridConnectionKey", + modelProperties: { + ...ProxyOnlyResource.type.modelProperties, + sendKeyName: { + readOnly: true, + serializedName: "properties.sendKeyName", + type: { + name: "String" + } + }, + sendKeyValue: { + readOnly: true, + serializedName: "properties.sendKeyValue", + type: { + name: "String" + } + } + } + } +}; + export const HybridConnectionLimits: msRest.CompositeMapper = { serializedName: "HybridConnectionLimits", type: { @@ -13503,7 +13914,7 @@ export const ApplicationStackCollection: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ApplicationStack" + className: "ApplicationStackResource" } } } @@ -14059,66 +14470,6 @@ export const ProcessThreadInfoCollection: msRest.CompositeMapper = { } }; -export const ResourceMetricDefinitionCollection: msRest.CompositeMapper = { - serializedName: "ResourceMetricDefinitionCollection", - type: { - name: "Composite", - className: "ResourceMetricDefinitionCollection", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetricDefinition" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - -export const ResourceMetricCollection: msRest.CompositeMapper = { - serializedName: "ResourceMetricCollection", - type: { - name: "Composite", - className: "ResourceMetricCollection", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ResourceMetric" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const PerfMonCounterCollection: msRest.CompositeMapper = { serializedName: "PerfMonCounterCollection", type: { @@ -14509,6 +14860,36 @@ export const WorkerPoolCollection: msRest.CompositeMapper = { } }; +export const ResourceMetricDefinitionCollection: msRest.CompositeMapper = { + serializedName: "ResourceMetricDefinitionCollection", + type: { + name: "Composite", + className: "ResourceMetricDefinitionCollection", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceMetricDefinition" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const SkuInfoCollection: msRest.CompositeMapper = { serializedName: "SkuInfoCollection", type: { diff --git a/sdk/appservice/arm-appservice/src/models/parameters.ts b/sdk/appservice/arm-appservice/src/models/parameters.ts index 3fb453654c0d..97f9a39db7df 100644 --- a/sdk/appservice/arm-appservice/src/models/parameters.ts +++ b/sdk/appservice/arm-appservice/src/models/parameters.ts @@ -30,25 +30,21 @@ export const analysisName: msRest.OperationURLParameter = { } } }; -export const apiVersion0: msRest.OperationQueryParameter = { +export const apiVersion: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, - isConstant: true, serializedName: "api-version", - defaultValue: '2018-02-01', type: { name: "String" } } }; -export const apiVersion1: msRest.OperationQueryParameter = { - parameterPath: "apiVersion", +export const appSettingKey: msRest.OperationURLParameter = { + parameterPath: "appSettingKey", mapper: { required: true, - isConstant: true, - serializedName: "api-version", - defaultValue: '2018-11-01', + serializedName: "appSettingKey", type: { name: "String" } @@ -142,18 +138,6 @@ export const detailed: msRest.OperationQueryParameter = { } } }; -export const details: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "details" - ], - mapper: { - serializedName: "details", - type: { - name: "Boolean" - } - } -}; export const detectorName: msRest.OperationURLParameter = { parameterPath: "detectorName", mapper: { @@ -229,7 +213,7 @@ export const durationInSeconds: msRest.OperationQueryParameter = { } } }; -export const endTime0: msRest.OperationQueryParameter = { +export const endTime: msRest.OperationQueryParameter = { parameterPath: [ "options", "endTime" @@ -241,18 +225,6 @@ export const endTime0: msRest.OperationQueryParameter = { } } }; -export const endTime1: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "endTime" - ], - mapper: { - serializedName: "endTime", - type: { - name: "String" - } - } -}; export const entityName: msRest.OperationURLParameter = { parameterPath: "entityName", mapper: { @@ -428,6 +400,26 @@ export const instanceId: msRest.OperationURLParameter = { } } }; +export const keyName: msRest.OperationURLParameter = { + parameterPath: "keyName", + mapper: { + required: true, + serializedName: "keyName", + type: { + name: "String" + } + } +}; +export const keyType: msRest.OperationURLParameter = { + parameterPath: "keyType", + mapper: { + required: true, + serializedName: "keyType", + type: { + name: "String" + } + } +}; export const linuxDynamicWorkersEnabled: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -726,7 +718,7 @@ export const sourceControlType: msRest.OperationURLParameter = { } } }; -export const startTime0: msRest.OperationQueryParameter = { +export const startTime: msRest.OperationQueryParameter = { parameterPath: [ "options", "startTime" @@ -738,18 +730,6 @@ export const startTime0: msRest.OperationQueryParameter = { } } }; -export const startTime1: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "startTime" - ], - mapper: { - serializedName: "startTime", - type: { - name: "String" - } - } -}; export const subscriptionId: msRest.OperationURLParameter = { parameterPath: "subscriptionId", mapper: { @@ -782,17 +762,7 @@ export const synchronous: msRest.OperationQueryParameter = { } } }; -export const threadId: msRest.OperationURLParameter = { - parameterPath: "threadId", - mapper: { - required: true, - serializedName: "threadId", - type: { - name: "String" - } - } -}; -export const timeGrain0: msRest.OperationQueryParameter = { +export const timeGrain: msRest.OperationQueryParameter = { parameterPath: [ "options", "timeGrain" @@ -807,18 +777,6 @@ export const timeGrain0: msRest.OperationQueryParameter = { } } }; -export const timeGrain1: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "timeGrain" - ], - mapper: { - serializedName: "timeGrain", - type: { - name: "String" - } - } -}; export const top: msRest.OperationQueryParameter = { parameterPath: [ "options", diff --git a/sdk/appservice/arm-appservice/src/models/providerMappers.ts b/sdk/appservice/arm-appservice/src/models/providerMappers.ts index df3c3c5e4191..522d7c7f84f3 100644 --- a/sdk/appservice/arm-appservice/src/models/providerMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/providerMappers.ts @@ -7,20 +7,202 @@ */ export { + AbnormalTimePeriod, + Address, + AddressResponse, + AnalysisData, + AnalysisDefinition, + ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, + ApplicationLogsConfig, ApplicationStack, ApplicationStackCollection, + ApplicationStackResource, + AppServiceCertificate, + AppServiceCertificateOrder, + AppServiceCertificateOrderPatchResource, + AppServiceCertificatePatchResource, + AppServiceCertificateResource, + AppServiceEnvironmentPatchResource, + AppServiceEnvironmentResource, + AppServicePlan, + AppServicePlanPatchResource, + AutoHealActions, + AutoHealCustomAction, + AutoHealRules, + AutoHealTriggers, + AzureBlobStorageApplicationLogsConfig, + AzureBlobStorageHttpLogsConfig, + AzureStorageInfoValue, + AzureStoragePropertyDictionaryResource, + AzureTableStorageApplicationLogsConfig, + BackupItem, + BackupRequest, + BackupSchedule, + BaseResource, + BillingMeter, + Capability, + Certificate, + CertificateDetails, + CertificateEmail, + CertificateOrderAction, + CertificatePatchResource, + CloningInfo, + ConnectionStringDictionary, + ConnStringInfo, + ConnStringValueTypePair, + Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, + ContinuousWebJob, + CorsSettings, CsmOperationCollection, CsmOperationDescription, CsmOperationDescriptionProperties, CsmOperationDisplay, + CustomHostnameAnalysisResult, + DatabaseBackupSetting, + DataSource, + DataTableResponseColumn, + DataTableResponseObject, DefaultErrorResponse, DefaultErrorResponseError, DefaultErrorResponseErrorDetailsItem, + DeletedAppRestoreRequest, + DeletedSite, + Deployment, + DetectorAbnormalTimePeriod, + DetectorDefinition, + DetectorInfo, + DetectorResponse, + DiagnosticAnalysis, + DiagnosticCategory, + DiagnosticData, + DiagnosticDetectorResponse, + DiagnosticMetricSample, + DiagnosticMetricSet, Dimension, + Domain, + DomainOwnershipIdentifier, + DomainPatchResource, + DomainPurchaseConsent, + EnabledConfig, + ErrorEntity, + Experiments, + FileSystemApplicationLogsConfig, + FileSystemHttpLogsConfig, + FunctionEnvelope, + FunctionSecrets, + GeoRegion, + HandlerMapping, + HostingEnvironmentProfile, + HostName, + HostNameBinding, + HostNameSslState, + HttpLogsConfig, + HybridConnection, + HybridConnectionKey, + HybridConnectionLimits, + Identifier, + IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, LogSpecification, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, MetricAvailability, MetricSpecification, + MigrateMySqlRequest, + MigrateMySqlStatus, + MSDeploy, + MSDeployLog, + MSDeployLogEntry, + MSDeployStatus, + NameValuePair, + NetworkAccessControlEntry, + NetworkFeatures, + PremierAddOn, + PremierAddOnOffer, + PremierAddOnPatchResource, + PrivateAccess, + PrivateAccessSubnet, + PrivateAccessVirtualNetwork, + ProcessInfo, + ProcessModuleInfo, + ProcessThreadInfo, + ProxyOnlyResource, + PublicCertificate, + PushSettings, + RampUpRule, + Recommendation, + RecommendationRule, + ReissueCertificateOrderRequest, + RelayServiceConnectionEntity, + Rendering, + RenewCertificateOrderRequest, + RequestsBasedTrigger, + Resource, + ResourceHealthMetadata, + ResourceMetricAvailability, + ResourceMetricDefinition, + ResponseMetaData, + RestoreRequest, ServiceSpecification, + Site, + SiteAuthSettings, + SiteConfig, + SiteConfigResource, + SiteConfigurationSnapshotInfo, + SiteExtensionInfo, + SiteInstance, + SiteLimits, + SiteLogsConfig, + SiteMachineKey, + SitePatchResource, + SitePhpErrorLogFlag, + SiteSourceControl, + SkuCapacity, + SkuDescription, + SlotConfigNamesResource, + SlotDifference, + SlotSwapStatus, + SlowRequestsBasedTrigger, + Snapshot, + SnapshotRecoverySource, + SnapshotRestoreRequest, + Solution, + SourceControl, StackMajorVersion, - StackMinorVersion + StackMinorVersion, + StampCapacity, + StatusCodesBasedTrigger, + StorageMigrationOptions, + StorageMigrationResponse, + StringDictionary, + SwiftVirtualNetwork, + TopLevelDomain, + TriggeredJobHistory, + TriggeredJobRun, + TriggeredWebJob, + Usage, + User, + VirtualApplication, + VirtualDirectory, + VirtualIPMapping, + VirtualNetworkProfile, + VnetGateway, + VnetInfo, + VnetParameters, + VnetRoute, + VnetValidationFailureDetails, + VnetValidationTestFailure, + WebJob, + WebSiteInstanceStatus, + WorkerPool, + WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts index 49e7f6629f6e..f3ea9806bc8a 100644 --- a/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/recommendationsMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -43,11 +48,16 @@ export { CertificateOrderAction, CertificatePatchResource, CloningInfo, - CloudError, ConnectionStringDictionary, ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -82,7 +92,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -95,10 +104,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -159,6 +168,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -182,6 +193,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts index b532d5c57eee..625849bc4857 100644 --- a/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/resourceHealthMetadataOperationsMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -47,6 +52,12 @@ export { ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -81,7 +92,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -94,10 +104,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -158,6 +168,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -181,6 +193,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts index a61da031afe3..a27dbcde702c 100644 --- a/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/topLevelDomainsMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -47,6 +52,12 @@ export { ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, CorsSettings, CustomHostnameAnalysisResult, @@ -81,7 +92,6 @@ export { FileSystemHttpLogsConfig, FunctionEnvelope, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, @@ -94,10 +104,10 @@ export { HybridConnectionLimits, Identifier, IpSecurityRestriction, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -157,6 +167,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -184,6 +196,7 @@ export { VnetValidationFailureDetails, VnetValidationTestFailure, WebJob, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts index 591aa103580f..58adf7e271eb 100644 --- a/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts +++ b/sdk/appservice/arm-appservice/src/models/webAppsMappers.ts @@ -9,10 +9,15 @@ export { AbnormalTimePeriod, Address, + AddressResponse, AnalysisData, AnalysisDefinition, ApiDefinitionInfo, + ApiKVReference, + ApiManagementConfig, ApplicationLogsConfig, + ApplicationStack, + ApplicationStackResource, AppServiceCertificate, AppServiceCertificateOrder, AppServiceCertificateOrderPatchResource, @@ -49,9 +54,16 @@ export { ConnStringInfo, ConnStringValueTypePair, Contact, + ContainerCpuStatistics, + ContainerCpuUsage, + ContainerInfo, + ContainerMemoryStatistics, + ContainerNetworkInterfaceStatistics, + ContainerThrottlingData, ContinuousWebJob, ContinuousWebJobCollection, CorsSettings, + CsmCopySlotEntity, CsmPublishingProfileOptions, CsmSlotEntity, CsmUsageQuota, @@ -90,10 +102,10 @@ export { FunctionEnvelope, FunctionEnvelopeCollection, FunctionSecrets, - GeoDistribution, GeoRegion, HandlerMapping, HostingEnvironmentProfile, + HostKeys, HostName, HostNameBinding, HostNameBindingCollection, @@ -105,11 +117,12 @@ export { Identifier, IdentifierCollection, IpSecurityRestriction, + KeyInfo, + KeyVaultReferenceCollection, + KeyVaultReferenceResource, LocalizableString, ManagedServiceIdentity, ManagedServiceIdentityUserAssignedIdentitiesValue, - MetricAvailabilily, - MetricDefinition, MigrateMySqlRequest, MigrateMySqlStatus, MSDeploy, @@ -151,14 +164,8 @@ export { RequestsBasedTrigger, Resource, ResourceHealthMetadata, - ResourceMetric, ResourceMetricAvailability, - ResourceMetricCollection, ResourceMetricDefinition, - ResourceMetricDefinitionCollection, - ResourceMetricName, - ResourceMetricProperty, - ResourceMetricValue, ResponseMetaData, RestoreRequest, Site, @@ -192,6 +199,8 @@ export { SnapshotRestoreRequest, Solution, SourceControl, + StackMajorVersion, + StackMinorVersion, StampCapacity, StatusCodesBasedTrigger, StorageMigrationOptions, @@ -220,6 +229,7 @@ export { WebAppInstanceCollection, WebJob, WebJobCollection, + WebSiteInstanceStatus, WorkerPool, WorkerPoolResource } from "../models/mappers"; diff --git a/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts b/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts index e9a7367da772..9544dba615d9 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServiceCertificateOrders.ts @@ -28,7 +28,7 @@ export class AppServiceCertificateOrders { } /** - * List all certificate orders in a subscription. + * Description for List all certificate orders in a subscription. * @summary List all certificate orders in a subscription. * @param [options] The optional parameters * @returns Promise @@ -53,7 +53,7 @@ export class AppServiceCertificateOrders { } /** - * Validate information for a certificate order. + * Description for Validate information for a certificate order. * @summary Validate information for a certificate order. * @param appServiceCertificateOrder Information for a certificate order. * @param [options] The optional parameters @@ -82,7 +82,7 @@ export class AppServiceCertificateOrders { } /** - * Get certificate orders in a resource group. + * Description for Get certificate orders in a resource group. * @summary Get certificate orders in a resource group. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param [options] The optional parameters @@ -111,7 +111,7 @@ export class AppServiceCertificateOrders { } /** - * Get a certificate order. + * Description for Get a certificate order. * @summary Get a certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order.. @@ -144,7 +144,7 @@ export class AppServiceCertificateOrders { } /** - * Create or update a certificate purchase order. + * Description for Create or update a certificate purchase order. * @summary Create or update a certificate purchase order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -158,7 +158,7 @@ export class AppServiceCertificateOrders { } /** - * Delete an existing certificate order. + * Description for Delete an existing certificate order. * @summary Delete an existing certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -191,7 +191,7 @@ export class AppServiceCertificateOrders { } /** - * Create or update a certificate purchase order. + * Description for Create or update a certificate purchase order. * @summary Create or update a certificate purchase order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -228,7 +228,7 @@ export class AppServiceCertificateOrders { } /** - * List all certificates associated with a certificate order. + * Description for List all certificates associated with a certificate order. * @summary List all certificates associated with a certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -261,7 +261,7 @@ export class AppServiceCertificateOrders { } /** - * Get the certificate associated with a certificate order. + * Description for Get the certificate associated with a certificate order. * @summary Get the certificate associated with a certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -298,7 +298,7 @@ export class AppServiceCertificateOrders { } /** - * Creates or updates a certificate and associates with key vault secret. + * Description for Creates or updates a certificate and associates with key vault secret. * @summary Creates or updates a certificate and associates with key vault secret. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -313,7 +313,7 @@ export class AppServiceCertificateOrders { } /** - * Delete the certificate associated with a certificate order. + * Description for Delete the certificate associated with a certificate order. * @summary Delete the certificate associated with a certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -350,7 +350,7 @@ export class AppServiceCertificateOrders { } /** - * Creates or updates a certificate and associates with key vault secret. + * Description for Creates or updates a certificate and associates with key vault secret. * @summary Creates or updates a certificate and associates with key vault secret. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -391,7 +391,7 @@ export class AppServiceCertificateOrders { } /** - * Reissue an existing certificate order. + * Description for Reissue an existing certificate order. * @summary Reissue an existing certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -428,7 +428,7 @@ export class AppServiceCertificateOrders { } /** - * Renew an existing certificate order. + * Description for Renew an existing certificate order. * @summary Renew an existing certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -465,7 +465,7 @@ export class AppServiceCertificateOrders { } /** - * Resend certificate email. + * Description for Resend certificate email. * @summary Resend certificate email. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -498,7 +498,7 @@ export class AppServiceCertificateOrders { } /** - * Verify domain ownership for this certificate order. + * Description for Verify domain ownership for this certificate order. * @summary Verify domain ownership for this certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -531,7 +531,7 @@ export class AppServiceCertificateOrders { } /** - * Verify domain ownership for this certificate order. + * Description for Verify domain ownership for this certificate order. * @summary Verify domain ownership for this certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -568,7 +568,7 @@ export class AppServiceCertificateOrders { } /** - * Verify domain ownership for this certificate order. + * Description for Verify domain ownership for this certificate order. * @summary Verify domain ownership for this certificate order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -601,7 +601,7 @@ export class AppServiceCertificateOrders { } /** - * Retrieve the list of certificate actions. + * Description for Retrieve the list of certificate actions. * @summary Retrieve the list of certificate actions. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the certificate order. @@ -634,7 +634,7 @@ export class AppServiceCertificateOrders { } /** - * Retrieve email history. + * Description for Retrieve email history. * @summary Retrieve email history. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the certificate order. @@ -667,7 +667,7 @@ export class AppServiceCertificateOrders { } /** - * Create or update a certificate purchase order. + * Description for Create or update a certificate purchase order. * @summary Create or update a certificate purchase order. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -688,7 +688,7 @@ export class AppServiceCertificateOrders { } /** - * Creates or updates a certificate and associates with key vault secret. + * Description for Creates or updates a certificate and associates with key vault secret. * @summary Creates or updates a certificate and associates with key vault secret. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. @@ -711,7 +711,7 @@ export class AppServiceCertificateOrders { } /** - * List all certificate orders in a subscription. + * Description for List all certificate orders in a subscription. * @summary List all certificate orders in a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -740,7 +740,7 @@ export class AppServiceCertificateOrders { } /** - * Get certificate orders in a resource group. + * Description for Get certificate orders in a resource group. * @summary Get certificate orders in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -769,7 +769,7 @@ export class AppServiceCertificateOrders { } /** - * List all certificates associated with a certificate order. + * Description for List all certificates associated with a certificate order. * @summary List all certificates associated with a certificate order. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -807,7 +807,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -830,7 +830,7 @@ const validatePurchaseInformationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -845,7 +845,7 @@ const validatePurchaseInformationOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -859,7 +859,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -884,7 +884,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -909,7 +909,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -918,7 +918,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -933,7 +933,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -968,7 +968,7 @@ const listCertificatesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -994,7 +994,7 @@ const getCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1020,7 +1020,7 @@ const deleteCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1029,7 +1029,7 @@ const deleteCertificateOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1045,7 +1045,7 @@ const updateCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1080,7 +1080,7 @@ const reissueOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1095,7 +1095,7 @@ const reissueOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1110,7 +1110,7 @@ const renewOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1125,7 +1125,7 @@ const renewOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1140,7 +1140,7 @@ const resendEmailOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1148,7 +1148,7 @@ const resendEmailOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1163,7 +1163,7 @@ const resendRequestEmailsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1183,7 +1183,7 @@ const resendRequestEmailsOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1198,7 +1198,7 @@ const retrieveSiteSealOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1230,7 +1230,7 @@ const verifyDomainOwnershipOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1238,7 +1238,7 @@ const verifyDomainOwnershipOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1253,7 +1253,7 @@ const retrieveCertificateActionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1289,7 +1289,7 @@ const retrieveCertificateEmailHistoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1325,7 +1325,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1361,7 +1361,7 @@ const beginCreateOrUpdateCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts b/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts index 2eb2f7a4d07e..bf4038613e49 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServiceEnvironments.ts @@ -28,7 +28,7 @@ export class AppServiceEnvironments { } /** - * Get all App Service Environments for a subscription. + * Description for Get all App Service Environments for a subscription. * @summary Get all App Service Environments for a subscription. * @param [options] The optional parameters * @returns Promise @@ -53,7 +53,7 @@ export class AppServiceEnvironments { } /** - * Get all App Service Environments in a resource group. + * Description for Get all App Service Environments in a resource group. * @summary Get all App Service Environments in a resource group. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param [options] The optional parameters @@ -82,7 +82,7 @@ export class AppServiceEnvironments { } /** - * Get the properties of an App Service Environment. + * Description for Get the properties of an App Service Environment. * @summary Get the properties of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -115,7 +115,7 @@ export class AppServiceEnvironments { } /** - * Create or update an App Service Environment. + * Description for Create or update an App Service Environment. * @summary Create or update an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -129,7 +129,7 @@ export class AppServiceEnvironments { } /** - * Delete an App Service Environment. + * Description for Delete an App Service Environment. * @summary Delete an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -142,7 +142,7 @@ export class AppServiceEnvironments { } /** - * Create or update an App Service Environment. + * Description for Create or update an App Service Environment. * @summary Create or update an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -179,7 +179,7 @@ export class AppServiceEnvironments { } /** - * Get the used, available, and total worker capacity an App Service Environment. + * Description for Get the used, available, and total worker capacity an App Service Environment. * @summary Get the used, available, and total worker capacity an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -212,40 +212,40 @@ export class AppServiceEnvironments { } /** - * Get IP addresses assigned to an App Service Environment. + * Description for Get IP addresses assigned to an App Service Environment. * @summary Get IP addresses assigned to an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listVips(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + getVipInfo(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param callback The callback */ - listVips(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + getVipInfo(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param options The optional parameters * @param callback The callback */ - listVips(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listVips(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getVipInfo(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getVipInfo(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listVipsOperationSpec, - callback) as Promise; + getVipInfoOperationSpec, + callback) as Promise; } /** - * Move an App Service Environment to a different VNET. + * Description for Move an App Service Environment to a different VNET. * @summary Move an App Service Environment to a different VNET. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -259,7 +259,7 @@ export class AppServiceEnvironments { } /** - * Get diagnostic information for an App Service Environment. + * Description for Get diagnostic information for an App Service Environment. * @summary Get diagnostic information for an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -292,7 +292,7 @@ export class AppServiceEnvironments { } /** - * Get a diagnostics item for an App Service Environment. + * Description for Get a diagnostics item for an App Service Environment. * @summary Get a diagnostics item for an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -329,7 +329,8 @@ export class AppServiceEnvironments { } /** - * Get the network endpoints of all inbound dependencies of an App Service Environment. + * Description for Get the network endpoints of all inbound dependencies of an App Service + * Environment. * @summary Get the network endpoints of all inbound dependencies of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -362,73 +363,7 @@ export class AppServiceEnvironments { } /** - * Get global metric definitions of an App Service Environment. - * @summary Get global metric definitions of an App Service Environment. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param [options] The optional parameters - * @returns Promise - */ - listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param callback The callback - */ - listMetricDefinitions(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param options The optional parameters - * @param callback The callback - */ - listMetricDefinitions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listMetricDefinitionsOperationSpec, - callback) as Promise; - } - - /** - * Get global metrics of an App Service Environment. - * @summary Get global metrics of an App Service Environment. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param [options] The optional parameters - * @returns Promise - */ - listMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMetricsOptionalParams): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param callback The callback - */ - listMetrics(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param options The optional parameters - * @param callback The callback - */ - listMetrics(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listMetricsOperationSpec, - callback) as Promise; - } - - /** - * Get all multi-role pools. + * Description for Get all multi-role pools. * @summary Get all multi-role pools. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -461,7 +396,7 @@ export class AppServiceEnvironments { } /** - * Get properties of a multi-role pool. + * Description for Get properties of a multi-role pool. * @summary Get properties of a multi-role pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -494,7 +429,7 @@ export class AppServiceEnvironments { } /** - * Create or update a multi-role pool. + * Description for Create or update a multi-role pool. * @summary Create or update a multi-role pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -508,7 +443,7 @@ export class AppServiceEnvironments { } /** - * Create or update a multi-role pool. + * Description for Create or update a multi-role pool. * @summary Create or update a multi-role pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -545,8 +480,8 @@ export class AppServiceEnvironments { } /** - * Get metric definitions for a specific instance of a multi-role pool of an App Service - * Environment. + * Description for Get metric definitions for a specific instance of a multi-role pool of an App + * Service Environment. * @summary Get metric definitions for a specific instance of a multi-role pool of an App Service * Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -585,44 +520,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a specific instance of a multi-role pool of an App Service Environment. - * @summary Get metrics for a specific instance of a multi-role pool of an App Service Environment. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param instance Name of the instance in the multi-role pool. - * @param [options] The optional parameters - * @returns Promise - */ - listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options?: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param instance Name of the instance in the multi-role pool. - * @param callback The callback - */ - listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param instance Name of the instance in the multi-role pool. - * @param options The optional parameters - * @param callback The callback - */ - listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMultiRolePoolInstanceMetrics(resourceGroupName: string, name: string, instance: string, options?: Models.AppServiceEnvironmentsListMultiRolePoolInstanceMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - instance, - options - }, - listMultiRolePoolInstanceMetricsOperationSpec, - callback) as Promise; - } - - /** - * Get metric definitions for a multi-role pool of an App Service Environment. + * Description for Get metric definitions for a multi-role pool of an App Service Environment. * @summary Get metric definitions for a multi-role pool of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -655,40 +553,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a multi-role pool of an App Service Environment. - * @summary Get metrics for a multi-role pool of an App Service Environment. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param [options] The optional parameters - * @returns Promise - */ - listMultiRoleMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param callback The callback - */ - listMultiRoleMetrics(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param options The optional parameters - * @param callback The callback - */ - listMultiRoleMetrics(resourceGroupName: string, name: string, options: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMultiRoleMetrics(resourceGroupName: string, name: string, options?: Models.AppServiceEnvironmentsListMultiRoleMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listMultiRoleMetricsOperationSpec, - callback) as Promise; - } - - /** - * Get available SKUs for scaling a multi-role pool. + * Description for Get available SKUs for scaling a multi-role pool. * @summary Get available SKUs for scaling a multi-role pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -721,7 +586,7 @@ export class AppServiceEnvironments { } /** - * Get usage metrics for a multi-role pool of an App Service Environment. + * Description for Get usage metrics for a multi-role pool of an App Service Environment. * @summary Get usage metrics for a multi-role pool of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -754,7 +619,7 @@ export class AppServiceEnvironments { } /** - * List all currently running operations on the App Service Environment. + * Description for List all currently running operations on the App Service Environment. * @summary List all currently running operations on the App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -787,7 +652,8 @@ export class AppServiceEnvironments { } /** - * Get the network endpoints of all outbound dependencies of an App Service Environment. + * Description for Get the network endpoints of all outbound dependencies of an App Service + * Environment. * @summary Get the network endpoints of all outbound dependencies of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -820,7 +686,7 @@ export class AppServiceEnvironments { } /** - * Reboot all machines in an App Service Environment. + * Description for Reboot all machines in an App Service Environment. * @summary Reboot all machines in an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -853,7 +719,7 @@ export class AppServiceEnvironments { } /** - * Resume an App Service Environment. + * Description for Resume an App Service Environment. * @summary Resume an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -866,7 +732,7 @@ export class AppServiceEnvironments { } /** - * Get all App Service plans in an App Service Environment. + * Description for Get all App Service plans in an App Service Environment. * @summary Get all App Service plans in an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -899,7 +765,7 @@ export class AppServiceEnvironments { } /** - * Get all apps in an App Service Environment. + * Description for Get all apps in an App Service Environment. * @summary Get all apps in an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -932,7 +798,7 @@ export class AppServiceEnvironments { } /** - * Suspend an App Service Environment. + * Description for Suspend an App Service Environment. * @summary Suspend an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -945,7 +811,7 @@ export class AppServiceEnvironments { } /** - * Get global usage metrics of an App Service Environment. + * Description for Get global usage metrics of an App Service Environment. * @summary Get global usage metrics of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -978,7 +844,7 @@ export class AppServiceEnvironments { } /** - * Get all worker pools of an App Service Environment. + * Description for Get all worker pools of an App Service Environment. * @summary Get all worker pools of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1011,7 +877,7 @@ export class AppServiceEnvironments { } /** - * Get properties of a worker pool. + * Description for Get properties of a worker pool. * @summary Get properties of a worker pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1048,7 +914,7 @@ export class AppServiceEnvironments { } /** - * Create or update a worker pool. + * Description for Create or update a worker pool. * @summary Create or update a worker pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1063,7 +929,7 @@ export class AppServiceEnvironments { } /** - * Create or update a worker pool. + * Description for Create or update a worker pool. * @summary Create or update a worker pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1104,7 +970,8 @@ export class AppServiceEnvironments { } /** - * Get metric definitions for a specific instance of a worker pool of an App Service Environment. + * Description for Get metric definitions for a specific instance of a worker pool of an App + * Service Environment. * @summary Get metric definitions for a specific instance of a worker pool of an App Service * Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1146,48 +1013,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a specific instance of a worker pool of an App Service Environment. - * @summary Get metrics for a specific instance of a worker pool of an App Service Environment. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param workerPoolName Name of the worker pool. - * @param instance Name of the instance in the worker pool. - * @param [options] The optional parameters - * @returns Promise - */ - listWorkerPoolInstanceMetrics(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options?: Models.AppServiceEnvironmentsListWorkerPoolInstanceMetricsOptionalParams): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param workerPoolName Name of the worker pool. - * @param instance Name of the instance in the worker pool. - * @param callback The callback - */ - listWorkerPoolInstanceMetrics(resourceGroupName: string, name: string, workerPoolName: string, instance: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param workerPoolName Name of the worker pool. - * @param instance Name of the instance in the worker pool. - * @param options The optional parameters - * @param callback The callback - */ - listWorkerPoolInstanceMetrics(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options: Models.AppServiceEnvironmentsListWorkerPoolInstanceMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listWorkerPoolInstanceMetrics(resourceGroupName: string, name: string, workerPoolName: string, instance: string, options?: Models.AppServiceEnvironmentsListWorkerPoolInstanceMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - workerPoolName, - instance, - options - }, - listWorkerPoolInstanceMetricsOperationSpec, - callback) as Promise; - } - - /** - * Get metric definitions for a worker pool of an App Service Environment. + * Description for Get metric definitions for a worker pool of an App Service Environment. * @summary Get metric definitions for a worker pool of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1224,44 +1050,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment). - * @summary Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment). - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param workerPoolName Name of worker pool - * @param [options] The optional parameters - * @returns Promise - */ - listWebWorkerMetrics(resourceGroupName: string, name: string, workerPoolName: string, options?: Models.AppServiceEnvironmentsListWebWorkerMetricsOptionalParams): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param workerPoolName Name of worker pool - * @param callback The callback - */ - listWebWorkerMetrics(resourceGroupName: string, name: string, workerPoolName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @param workerPoolName Name of worker pool - * @param options The optional parameters - * @param callback The callback - */ - listWebWorkerMetrics(resourceGroupName: string, name: string, workerPoolName: string, options: Models.AppServiceEnvironmentsListWebWorkerMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listWebWorkerMetrics(resourceGroupName: string, name: string, workerPoolName: string, options?: Models.AppServiceEnvironmentsListWebWorkerMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - workerPoolName, - options - }, - listWebWorkerMetricsOperationSpec, - callback) as Promise; - } - - /** - * Get available SKUs for scaling a worker pool. + * Description for Get available SKUs for scaling a worker pool. * @summary Get available SKUs for scaling a worker pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1298,7 +1087,7 @@ export class AppServiceEnvironments { } /** - * Get usage metrics for a worker pool of an App Service Environment. + * Description for Get usage metrics for a worker pool of an App Service Environment. * @summary Get usage metrics for a worker pool of an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1335,7 +1124,7 @@ export class AppServiceEnvironments { } /** - * Create or update an App Service Environment. + * Description for Create or update an App Service Environment. * @summary Create or update an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1356,7 +1145,7 @@ export class AppServiceEnvironments { } /** - * Delete an App Service Environment. + * Description for Delete an App Service Environment. * @summary Delete an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1375,7 +1164,7 @@ export class AppServiceEnvironments { } /** - * Move an App Service Environment to a different VNET. + * Description for Move an App Service Environment to a different VNET. * @summary Move an App Service Environment to a different VNET. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1396,7 +1185,7 @@ export class AppServiceEnvironments { } /** - * Create or update a multi-role pool. + * Description for Create or update a multi-role pool. * @summary Create or update a multi-role pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1417,7 +1206,7 @@ export class AppServiceEnvironments { } /** - * Resume an App Service Environment. + * Description for Resume an App Service Environment. * @summary Resume an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1436,7 +1225,7 @@ export class AppServiceEnvironments { } /** - * Suspend an App Service Environment. + * Description for Suspend an App Service Environment. * @summary Suspend an App Service Environment. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1455,7 +1244,7 @@ export class AppServiceEnvironments { } /** - * Create or update a worker pool. + * Description for Create or update a worker pool. * @summary Create or update a worker pool. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. @@ -1478,7 +1267,7 @@ export class AppServiceEnvironments { } /** - * Get all App Service Environments for a subscription. + * Description for Get all App Service Environments for a subscription. * @summary Get all App Service Environments for a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1507,7 +1296,7 @@ export class AppServiceEnvironments { } /** - * Get all App Service Environments in a resource group. + * Description for Get all App Service Environments in a resource group. * @summary Get all App Service Environments in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1536,7 +1325,7 @@ export class AppServiceEnvironments { } /** - * Get the used, available, and total worker capacity an App Service Environment. + * Description for Get the used, available, and total worker capacity an App Service Environment. * @summary Get the used, available, and total worker capacity an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1565,7 +1354,7 @@ export class AppServiceEnvironments { } /** - * Move an App Service Environment to a different VNET. + * Description for Move an App Service Environment to a different VNET. * @summary Move an App Service Environment to a different VNET. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1577,7 +1366,8 @@ export class AppServiceEnvironments { } /** - * Get the network endpoints of all inbound dependencies of an App Service Environment. + * Description for Get the network endpoints of all inbound dependencies of an App Service + * Environment. * @summary Get the network endpoints of all inbound dependencies of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1607,36 +1397,7 @@ export class AppServiceEnvironments { } /** - * Get global metrics of an App Service Environment. - * @summary Get global metrics of an App Service Environment. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listMetricsNext(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 - */ - listMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listMetricsNextOperationSpec, - callback) as Promise; - } - - /** - * Get all multi-role pools. + * Description for Get all multi-role pools. * @summary Get all multi-role pools. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1665,8 +1426,8 @@ export class AppServiceEnvironments { } /** - * Get metric definitions for a specific instance of a multi-role pool of an App Service - * Environment. + * Description for Get metric definitions for a specific instance of a multi-role pool of an App + * Service Environment. * @summary Get metric definitions for a specific instance of a multi-role pool of an App Service * Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -1697,36 +1458,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a specific instance of a multi-role pool of an App Service Environment. - * @summary Get metrics for a specific instance of a multi-role pool of an App Service Environment. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listMultiRolePoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listMultiRolePoolInstanceMetricsNext(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 - */ - listMultiRolePoolInstanceMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRolePoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listMultiRolePoolInstanceMetricsNextOperationSpec, - callback) as Promise; - } - - /** - * Get metric definitions for a multi-role pool of an App Service Environment. + * Description for Get metric definitions for a multi-role pool of an App Service Environment. * @summary Get metric definitions for a multi-role pool of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1755,36 +1487,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a multi-role pool of an App Service Environment. - * @summary Get metrics for a multi-role pool of an App Service Environment. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listMultiRoleMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listMultiRoleMetricsNext(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 - */ - listMultiRoleMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMultiRoleMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listMultiRoleMetricsNextOperationSpec, - callback) as Promise; - } - - /** - * Get available SKUs for scaling a multi-role pool. + * Description for Get available SKUs for scaling a multi-role pool. * @summary Get available SKUs for scaling a multi-role pool. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1813,7 +1516,7 @@ export class AppServiceEnvironments { } /** - * Get usage metrics for a multi-role pool of an App Service Environment. + * Description for Get usage metrics for a multi-role pool of an App Service Environment. * @summary Get usage metrics for a multi-role pool of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1842,7 +1545,8 @@ export class AppServiceEnvironments { } /** - * Get the network endpoints of all outbound dependencies of an App Service Environment. + * Description for Get the network endpoints of all outbound dependencies of an App Service + * Environment. * @summary Get the network endpoints of all outbound dependencies of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1872,7 +1576,7 @@ export class AppServiceEnvironments { } /** - * Resume an App Service Environment. + * Description for Resume an App Service Environment. * @summary Resume an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1884,7 +1588,7 @@ export class AppServiceEnvironments { } /** - * Get all App Service plans in an App Service Environment. + * Description for Get all App Service plans in an App Service Environment. * @summary Get all App Service plans in an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1913,7 +1617,7 @@ export class AppServiceEnvironments { } /** - * Get all apps in an App Service Environment. + * Description for Get all apps in an App Service Environment. * @summary Get all apps in an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1942,7 +1646,7 @@ export class AppServiceEnvironments { } /** - * Suspend an App Service Environment. + * Description for Suspend an App Service Environment. * @summary Suspend an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1954,7 +1658,7 @@ export class AppServiceEnvironments { } /** - * Get global usage metrics of an App Service Environment. + * Description for Get global usage metrics of an App Service Environment. * @summary Get global usage metrics of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1983,7 +1687,7 @@ export class AppServiceEnvironments { } /** - * Get all worker pools of an App Service Environment. + * Description for Get all worker pools of an App Service Environment. * @summary Get all worker pools of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -2012,7 +1716,8 @@ export class AppServiceEnvironments { } /** - * Get metric definitions for a specific instance of a worker pool of an App Service Environment. + * Description for Get metric definitions for a specific instance of a worker pool of an App + * Service Environment. * @summary Get metric definitions for a specific instance of a worker pool of an App Service * Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -2043,36 +1748,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a specific instance of a worker pool of an App Service Environment. - * @summary Get metrics for a specific instance of a worker pool of an App Service Environment. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listWorkerPoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listWorkerPoolInstanceMetricsNext(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 - */ - listWorkerPoolInstanceMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWorkerPoolInstanceMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listWorkerPoolInstanceMetricsNextOperationSpec, - callback) as Promise; - } - - /** - * Get metric definitions for a worker pool of an App Service Environment. + * Description for Get metric definitions for a worker pool of an App Service Environment. * @summary Get metric definitions for a worker pool of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -2101,36 +1777,7 @@ export class AppServiceEnvironments { } /** - * Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment). - * @summary Get metrics for a worker pool of a AppServiceEnvironment (App Service Environment). - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listWebWorkerMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listWebWorkerMetricsNext(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 - */ - listWebWorkerMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listWebWorkerMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listWebWorkerMetricsNextOperationSpec, - callback) as Promise; - } - - /** - * Get available SKUs for scaling a worker pool. + * Description for Get available SKUs for scaling a worker pool. * @summary Get available SKUs for scaling a worker pool. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -2159,7 +1806,7 @@ export class AppServiceEnvironments { } /** - * Get usage metrics for a worker pool of an App Service Environment. + * Description for Get usage metrics for a worker pool of an App Service Environment. * @summary Get usage metrics for a worker pool of an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -2188,7 +1835,7 @@ export class AppServiceEnvironments { } /** - * Move an App Service Environment to a different VNET. + * Description for Move an App Service Environment to a different VNET. * @summary Move an App Service Environment to a different VNET. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -2205,7 +1852,7 @@ export class AppServiceEnvironments { } /** - * Resume an App Service Environment. + * Description for Resume an App Service Environment. * @summary Resume an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -2222,7 +1869,7 @@ export class AppServiceEnvironments { } /** - * Suspend an App Service Environment. + * Description for Suspend an App Service Environment. * @summary Suspend an App Service Environment. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -2248,7 +1895,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2272,7 +1919,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2297,7 +1944,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2322,7 +1969,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2338,14 +1985,14 @@ const updateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.AppServiceEnvironmentResource }, + 201: { + bodyMapper: Mappers.AppServiceEnvironmentResource + }, 202: { bodyMapper: Mappers.AppServiceEnvironmentResource }, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2360,7 +2007,7 @@ const listCapacitiesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2376,7 +2023,7 @@ const listCapacitiesOperationSpec: msRest.OperationSpec = { serializer }; -const listVipsOperationSpec: msRest.OperationSpec = { +const getVipInfoOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip", urlParameters: [ @@ -2385,7 +2032,7 @@ const listVipsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2410,7 +2057,7 @@ const listDiagnosticsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2447,7 +2094,7 @@ const getDiagnosticsItemOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2472,7 +2119,7 @@ const getInboundNetworkDependenciesEndpointsOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2488,58 +2135,6 @@ const getInboundNetworkDependenciesEndpointsOperationSpec: msRest.OperationSpec serializer }; -const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.MetricDefinition - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const listMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metrics", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.details, - Parameters.filter, - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listMultiRolePoolsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools", @@ -2549,7 +2144,7 @@ const listMultiRolePoolsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2574,7 +2169,7 @@ const getMultiRolePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2599,7 +2194,7 @@ const updateMultiRolePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2618,11 +2213,8 @@ const updateMultiRolePoolOperationSpec: msRest.OperationSpec = { 202: { bodyMapper: Mappers.WorkerPoolResource }, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2638,7 +2230,7 @@ const listMultiRolePoolInstanceMetricDefinitionsOperationSpec: msRest.OperationS Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2654,33 +2246,6 @@ const listMultiRolePoolInstanceMetricDefinitionsOperationSpec: msRest.OperationS serializer }; -const listMultiRolePoolInstanceMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.instance, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.details, - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listMultiRoleMetricDefinitionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions", @@ -2690,7 +2255,7 @@ const listMultiRoleMetricDefinitionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2706,36 +2271,6 @@ const listMultiRoleMetricDefinitionsOperationSpec: msRest.OperationSpec = { serializer }; -const listMultiRoleMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metrics", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.startTime1, - Parameters.endTime1, - Parameters.timeGrain1, - Parameters.details, - Parameters.filter, - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listMultiRolePoolSkusOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus", @@ -2745,7 +2280,7 @@ const listMultiRolePoolSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2770,7 +2305,7 @@ const listMultiRoleUsagesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2795,7 +2330,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2831,7 +2366,7 @@ const getOutboundNetworkDependenciesEndpointsOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2856,18 +2391,15 @@ const rebootOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 202: {}, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2882,7 +2414,7 @@ const listAppServicePlansOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2908,7 +2440,7 @@ const listWebAppsOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.propertiesToInclude, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2934,7 +2466,7 @@ const listUsagesOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2959,7 +2491,7 @@ const listWorkerPoolsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2985,7 +2517,7 @@ const getWorkerPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3011,7 +2543,7 @@ const updateWorkerPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3030,11 +2562,8 @@ const updateWorkerPoolOperationSpec: msRest.OperationSpec = { 202: { bodyMapper: Mappers.WorkerPoolResource }, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -3051,7 +2580,7 @@ const listWorkerPoolInstanceMetricDefinitionsOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3067,35 +2596,6 @@ const listWorkerPoolInstanceMetricDefinitionsOperationSpec: msRest.OperationSpec serializer }; -const listWorkerPoolInstanceMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metrics", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.workerPoolName, - Parameters.instance, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.details, - Parameters.filter, - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listWebWorkerMetricDefinitionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions", @@ -3106,7 +2606,7 @@ const listWebWorkerMetricDefinitionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3122,34 +2622,6 @@ const listWebWorkerMetricDefinitionsOperationSpec: msRest.OperationSpec = { serializer }; -const listWebWorkerMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metrics", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.workerPoolName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.details, - Parameters.filter, - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listWorkerPoolSkusOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/skus", @@ -3160,7 +2632,7 @@ const listWorkerPoolSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3186,7 +2658,7 @@ const listWebWorkerUsagesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3211,7 +2683,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3227,14 +2699,14 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.AppServiceEnvironmentResource }, + 201: { + bodyMapper: Mappers.AppServiceEnvironmentResource + }, 202: { bodyMapper: Mappers.AppServiceEnvironmentResource }, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -3250,7 +2722,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.forceDelete, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3258,11 +2730,8 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { responses: { 202: {}, 204: {}, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -3277,7 +2746,7 @@ const beginChangeVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3312,7 +2781,7 @@ const beginCreateOrUpdateMultiRolePoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3331,11 +2800,8 @@ const beginCreateOrUpdateMultiRolePoolOperationSpec: msRest.OperationSpec = { 202: { bodyMapper: Mappers.WorkerPoolResource }, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -3350,7 +2816,7 @@ const beginResumeOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3378,7 +2844,7 @@ const beginSuspendOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3407,7 +2873,7 @@ const beginCreateOrUpdateWorkerPoolOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -3426,11 +2892,8 @@ const beginCreateOrUpdateWorkerPoolOperationSpec: msRest.OperationSpec = { 202: { bodyMapper: Mappers.WorkerPoolResource }, - 400: {}, - 404: {}, - 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -3520,27 +2983,6 @@ const getInboundNetworkDependenciesEndpointsNextOperationSpec: msRest.OperationS serializer }; -const listMetricsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listMultiRolePoolsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -3583,27 +3025,6 @@ const listMultiRolePoolInstanceMetricDefinitionsNextOperationSpec: msRest.Operat serializer }; -const listMultiRolePoolInstanceMetricsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listMultiRoleMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -3625,27 +3046,6 @@ const listMultiRoleMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { serializer }; -const listMultiRoleMetricsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listMultiRolePoolSkusNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -3814,27 +3214,6 @@ const listWorkerPoolInstanceMetricDefinitionsNextOperationSpec: msRest.Operation serializer }; -const listWorkerPoolInstanceMetricsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listWebWorkerMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -3856,27 +3235,6 @@ const listWebWorkerMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { serializer }; -const listWebWorkerMetricsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listWorkerPoolSkusNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts b/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts index d0f96fbc2a56..d03fe31b9e97 100644 --- a/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts +++ b/sdk/appservice/arm-appservice/src/operations/appServicePlans.ts @@ -28,7 +28,7 @@ export class AppServicePlans { } /** - * Get all App Service plans for a subscription. + * Description for Get all App Service plans for a subscription. * @summary Get all App Service plans for a subscription. * @param [options] The optional parameters * @returns Promise @@ -53,7 +53,7 @@ export class AppServicePlans { } /** - * Get all App Service plans in a resource group. + * Description for Get all App Service plans in a resource group. * @summary Get all App Service plans in a resource group. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param [options] The optional parameters @@ -82,7 +82,7 @@ export class AppServicePlans { } /** - * Get an App Service plan. + * Description for Get an App Service plan. * @summary Get an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -115,7 +115,7 @@ export class AppServicePlans { } /** - * Creates or updates an App Service Plan. + * Description for Creates or updates an App Service Plan. * @summary Creates or updates an App Service Plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -129,7 +129,7 @@ export class AppServicePlans { } /** - * Delete an App Service plan. + * Description for Delete an App Service plan. * @summary Delete an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -162,7 +162,7 @@ export class AppServicePlans { } /** - * Creates or updates an App Service Plan. + * Description for Creates or updates an App Service Plan. * @summary Creates or updates an App Service Plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -199,7 +199,7 @@ export class AppServicePlans { } /** - * List all capabilities of an App Service plan. + * Description for List all capabilities of an App Service plan. * @summary List all capabilities of an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -232,7 +232,7 @@ export class AppServicePlans { } /** - * Retrieve a Hybrid Connection in use in an App Service plan. + * Description for Retrieve a Hybrid Connection in use in an App Service plan. * @summary Retrieve a Hybrid Connection in use in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -273,7 +273,7 @@ export class AppServicePlans { } /** - * Delete a Hybrid Connection in use in an App Service plan. + * Description for Delete a Hybrid Connection in use in an App Service plan. * @summary Delete a Hybrid Connection in use in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -314,7 +314,7 @@ export class AppServicePlans { } /** - * Get the send key name and value of a Hybrid Connection. + * Description for Get the send key name and value of a Hybrid Connection. * @summary Get the send key name and value of a Hybrid Connection. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -355,7 +355,7 @@ export class AppServicePlans { } /** - * Get all apps that use a Hybrid Connection in an App Service Plan. + * Description for Get all apps that use a Hybrid Connection in an App Service Plan. * @summary Get all apps that use a Hybrid Connection in an App Service Plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -396,7 +396,7 @@ export class AppServicePlans { } /** - * Get the maximum number of Hybrid Connections allowed in an App Service plan. + * Description for Get the maximum number of Hybrid Connections allowed in an App Service plan. * @summary Get the maximum number of Hybrid Connections allowed in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -429,7 +429,7 @@ export class AppServicePlans { } /** - * Retrieve all Hybrid Connections in use in an App Service plan. + * Description for Retrieve all Hybrid Connections in use in an App Service plan. * @summary Retrieve all Hybrid Connections in use in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -462,73 +462,7 @@ export class AppServicePlans { } /** - * Get metrics that can be queried for an App Service plan, and their definitions. - * @summary Get metrics that can be queried for an App Service plan, and their definitions. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service plan. - * @param [options] The optional parameters - * @returns Promise - */ - listMetricDefintions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service plan. - * @param callback The callback - */ - listMetricDefintions(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service plan. - * @param options The optional parameters - * @param callback The callback - */ - listMetricDefintions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefintions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listMetricDefintionsOperationSpec, - callback) as Promise; - } - - /** - * Get metrics for an App Service plan. - * @summary Get metrics for an App Service plan. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service plan. - * @param [options] The optional parameters - * @returns Promise - */ - listMetrics(resourceGroupName: string, name: string, options?: Models.AppServicePlansListMetricsOptionalParams): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service plan. - * @param callback The callback - */ - listMetrics(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service plan. - * @param options The optional parameters - * @param callback The callback - */ - listMetrics(resourceGroupName: string, name: string, options: Models.AppServicePlansListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, name: string, options?: Models.AppServicePlansListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listMetricsOperationSpec, - callback) as Promise; - } - - /** - * Restart all apps in an App Service plan. + * Description for Restart all apps in an App Service plan. * @summary Restart all apps in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -561,7 +495,7 @@ export class AppServicePlans { } /** - * Get all apps associated with an App Service plan. + * Description for Get all apps associated with an App Service plan. * @summary Get all apps associated with an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -594,7 +528,7 @@ export class AppServicePlans { } /** - * Gets all selectable SKUs for a given App Service Plan + * Description for Gets all selectable SKUs for a given App Service Plan * @summary Gets all selectable SKUs for a given App Service Plan * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -627,7 +561,7 @@ export class AppServicePlans { } /** - * Gets server farm usage information + * Description for Gets server farm usage information * @summary Gets server farm usage information * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -660,7 +594,7 @@ export class AppServicePlans { } /** - * Get all Virtual Networks associated with an App Service plan. + * Description for Get all Virtual Networks associated with an App Service plan. * @summary Get all Virtual Networks associated with an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -693,7 +627,7 @@ export class AppServicePlans { } /** - * Get a Virtual Network associated with an App Service plan. + * Description for Get a Virtual Network associated with an App Service plan. * @summary Get a Virtual Network associated with an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -730,7 +664,7 @@ export class AppServicePlans { } /** - * Get a Virtual Network gateway. + * Description for Get a Virtual Network gateway. * @summary Get a Virtual Network gateway. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -771,7 +705,7 @@ export class AppServicePlans { } /** - * Update a Virtual Network gateway. + * Description for Update a Virtual Network gateway. * @summary Update a Virtual Network gateway. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -816,7 +750,8 @@ export class AppServicePlans { } /** - * Get all routes that are associated with a Virtual Network in an App Service plan. + * Description for Get all routes that are associated with a Virtual Network in an App Service + * plan. * @summary Get all routes that are associated with a Virtual Network in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -853,7 +788,7 @@ export class AppServicePlans { } /** - * Get a Virtual Network route in an App Service plan. + * Description for Get a Virtual Network route in an App Service plan. * @summary Get a Virtual Network route in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -894,7 +829,7 @@ export class AppServicePlans { } /** - * Create or update a Virtual Network route in an App Service plan. + * Description for Create or update a Virtual Network route in an App Service plan. * @summary Create or update a Virtual Network route in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -939,7 +874,7 @@ export class AppServicePlans { } /** - * Delete a Virtual Network route in an App Service plan. + * Description for Delete a Virtual Network route in an App Service plan. * @summary Delete a Virtual Network route in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -980,7 +915,7 @@ export class AppServicePlans { } /** - * Create or update a Virtual Network route in an App Service plan. + * Description for Create or update a Virtual Network route in an App Service plan. * @summary Create or update a Virtual Network route in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1025,7 +960,7 @@ export class AppServicePlans { } /** - * Reboot a worker machine in an App Service plan. + * Description for Reboot a worker machine in an App Service plan. * @summary Reboot a worker machine in an App Service plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1062,7 +997,7 @@ export class AppServicePlans { } /** - * Creates or updates an App Service Plan. + * Description for Creates or updates an App Service Plan. * @summary Creates or updates an App Service Plan. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1083,7 +1018,7 @@ export class AppServicePlans { } /** - * Get all App Service plans for a subscription. + * Description for Get all App Service plans for a subscription. * @summary Get all App Service plans for a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1112,7 +1047,7 @@ export class AppServicePlans { } /** - * Get all App Service plans in a resource group. + * Description for Get all App Service plans in a resource group. * @summary Get all App Service plans in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1141,7 +1076,7 @@ export class AppServicePlans { } /** - * Get all apps that use a Hybrid Connection in an App Service Plan. + * Description for Get all apps that use a Hybrid Connection in an App Service Plan. * @summary Get all apps that use a Hybrid Connection in an App Service Plan. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1170,7 +1105,7 @@ export class AppServicePlans { } /** - * Retrieve all Hybrid Connections in use in an App Service plan. + * Description for Retrieve all Hybrid Connections in use in an App Service plan. * @summary Retrieve all Hybrid Connections in use in an App Service plan. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1199,65 +1134,7 @@ export class AppServicePlans { } /** - * Get metrics that can be queried for an App Service plan, and their definitions. - * @summary Get metrics that can be queried for an App Service plan, and their definitions. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listMetricDefintionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listMetricDefintionsNext(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 - */ - listMetricDefintionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefintionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listMetricDefintionsNextOperationSpec, - callback) as Promise; - } - - /** - * Get metrics for an App Service plan. - * @summary Get metrics for an App Service plan. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listMetricsNext(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 - */ - listMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listMetricsNextOperationSpec, - callback) as Promise; - } - - /** - * Get all apps associated with an App Service plan. + * Description for Get all apps associated with an App Service plan. * @summary Get all apps associated with an App Service plan. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1286,7 +1163,7 @@ export class AppServicePlans { } /** - * Gets server farm usage information + * Description for Gets server farm usage information * @summary Gets server farm usage information * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1325,7 +1202,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.detailed, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1349,7 +1226,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1374,7 +1251,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1385,7 +1262,7 @@ const getOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1400,7 +1277,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1409,7 +1286,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1424,7 +1301,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1459,7 +1336,7 @@ const listCapabilitiesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1497,7 +1374,7 @@ const getHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1524,7 +1401,7 @@ const deleteHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1533,7 +1410,7 @@ const deleteHybridConnectionOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1550,7 +1427,7 @@ const listHybridConnectionKeysOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1577,7 +1454,7 @@ const listWebAppsByHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1602,7 +1479,7 @@ const getHybridConnectionPlanLimitOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1627,7 +1504,7 @@ const listHybridConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1643,58 +1520,6 @@ const listHybridConnectionsOperationSpec: msRest.OperationSpec = { serializer }; -const listMetricDefintionsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metricdefinitions", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const listMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/metrics", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.details, - Parameters.filter, - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const restartWebAppsOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites", @@ -1705,7 +1530,7 @@ const restartWebAppsOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.softRestart, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1713,7 +1538,7 @@ const restartWebAppsOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1731,7 +1556,7 @@ const listWebAppsOperationSpec: msRest.OperationSpec = { Parameters.skipToken, Parameters.filter, Parameters.top, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1756,7 +1581,7 @@ const getServerFarmSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1787,7 +1612,7 @@ const listUsagesOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1812,7 +1637,7 @@ const listVnetsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1849,7 +1674,7 @@ const getVnetFromServerFarmOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1860,7 +1685,7 @@ const getVnetFromServerFarmOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1877,7 +1702,7 @@ const getVnetGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1904,7 +1729,7 @@ const updateVnetGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1937,7 +1762,7 @@ const listRoutesForVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1975,7 +1800,7 @@ const getRouteForVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1997,7 +1822,7 @@ const getRouteForVnetOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2014,7 +1839,7 @@ const createOrUpdateVnetRouteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2033,7 +1858,7 @@ const createOrUpdateVnetRouteOperationSpec: msRest.OperationSpec = { 400: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2050,7 +1875,7 @@ const deleteVnetRouteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2059,7 +1884,7 @@ const deleteVnetRouteOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2076,7 +1901,7 @@ const updateVnetRouteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2095,7 +1920,7 @@ const updateVnetRouteOperationSpec: msRest.OperationSpec = { 400: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2111,7 +1936,7 @@ const rebootWorkerOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2119,7 +1944,7 @@ const rebootWorkerOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -2134,7 +1959,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -2150,9 +1975,6 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.AppServicePlan }, - 201: { - bodyMapper: Mappers.AppServicePlan - }, 202: { bodyMapper: Mappers.AppServicePlan }, @@ -2247,48 +2069,6 @@ const listHybridConnectionsNextOperationSpec: msRest.OperationSpec = { serializer }; -const listMetricDefintionsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const listMetricsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listWebAppsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts index 28ca85e9cd8f..5e377c648586 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificateRegistrationProvider.ts @@ -27,8 +27,8 @@ export class CertificateRegistrationProvider { } /** - * Implements Csm operations Api to exposes the list of available Csm Apis under the resource - * provider + * Description for Implements Csm operations Api to exposes the list of available Csm Apis under + * the resource provider * @summary Implements Csm operations Api to exposes the list of available Csm Apis under the * resource provider * @param [options] The optional parameters @@ -54,8 +54,8 @@ export class CertificateRegistrationProvider { } /** - * Implements Csm operations Api to exposes the list of available Csm Apis under the resource - * provider + * Description for Implements Csm operations Api to exposes the list of available Csm Apis under + * the resource provider * @summary Implements Csm operations Api to exposes the list of available Csm Apis under the * resource provider * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -91,7 +91,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.CertificateRegistration/operations", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/certificates.ts b/sdk/appservice/arm-appservice/src/operations/certificates.ts index 3d0775ead591..11711d1ccdb4 100644 --- a/sdk/appservice/arm-appservice/src/operations/certificates.ts +++ b/sdk/appservice/arm-appservice/src/operations/certificates.ts @@ -27,7 +27,7 @@ export class Certificates { } /** - * Get all certificates for a subscription. + * Description for Get all certificates for a subscription. * @summary Get all certificates for a subscription. * @param [options] The optional parameters * @returns Promise @@ -52,7 +52,7 @@ export class Certificates { } /** - * Get all certificates in a resource group. + * Description for Get all certificates in a resource group. * @summary Get all certificates in a resource group. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param [options] The optional parameters @@ -81,7 +81,7 @@ export class Certificates { } /** - * Get a certificate. + * Description for Get a certificate. * @summary Get a certificate. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the certificate. @@ -114,7 +114,7 @@ export class Certificates { } /** - * Create or update a certificate. + * Description for Create or update a certificate. * @summary Create or update a certificate. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the certificate. @@ -151,7 +151,7 @@ export class Certificates { } /** - * Delete a certificate. + * Description for Delete a certificate. * @summary Delete a certificate. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the certificate. @@ -184,7 +184,7 @@ export class Certificates { } /** - * Create or update a certificate. + * Description for Create or update a certificate. * @summary Create or update a certificate. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the certificate. @@ -221,7 +221,7 @@ export class Certificates { } /** - * Get all certificates for a subscription. + * Description for Get all certificates for a subscription. * @summary Get all certificates for a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -250,7 +250,7 @@ export class Certificates { } /** - * Get all certificates in a resource group. + * Description for Get all certificates in a resource group. * @summary Get all certificates in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -288,7 +288,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -312,7 +312,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -337,7 +337,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -362,7 +362,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -394,7 +394,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -403,7 +403,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -418,7 +418,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts b/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts index 54b67b2bce77..7c017e4cf87c 100644 --- a/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/deletedWebApps.ts @@ -27,7 +27,7 @@ export class DeletedWebApps { } /** - * Get all deleted apps for a subscription. + * Description for Get all deleted apps for a subscription. * @summary Get all deleted apps for a subscription. * @param [options] The optional parameters * @returns Promise @@ -52,7 +52,7 @@ export class DeletedWebApps { } /** - * Get all deleted apps for a subscription at location + * Description for Get all deleted apps for a subscription at location * @summary Get all deleted apps for a subscription at location * @param location * @param [options] The optional parameters @@ -81,7 +81,7 @@ export class DeletedWebApps { } /** - * Get deleted app for a subscription at location. + * Description for Get deleted app for a subscription at location. * @summary Get deleted app for a subscription at location. * @param location * @param deletedSiteId The numeric ID of the deleted app, e.g. 12345 @@ -114,7 +114,7 @@ export class DeletedWebApps { } /** - * Get all deleted apps for a subscription. + * Description for Get all deleted apps for a subscription. * @summary Get all deleted apps for a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -143,7 +143,7 @@ export class DeletedWebApps { } /** - * Get all deleted apps for a subscription at location + * Description for Get all deleted apps for a subscription at location * @summary Get all deleted apps for a subscription at location * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -181,7 +181,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -205,7 +205,7 @@ const listByLocationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -230,7 +230,7 @@ const getDeletedWebAppByLocationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/diagnostics.ts b/sdk/appservice/arm-appservice/src/operations/diagnostics.ts index ee77c5b57f9a..9ad4f35ee00b 100644 --- a/sdk/appservice/arm-appservice/src/operations/diagnostics.ts +++ b/sdk/appservice/arm-appservice/src/operations/diagnostics.ts @@ -27,7 +27,7 @@ export class Diagnostics { } /** - * List Hosting Environment Detector Responses + * Description for List Hosting Environment Detector Responses * @summary List Hosting Environment Detector Responses * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site Name @@ -60,7 +60,7 @@ export class Diagnostics { } /** - * Get Hosting Environment Detector Response + * Description for Get Hosting Environment Detector Response * @summary Get Hosting Environment Detector Response * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name App Service Environment Name @@ -97,7 +97,7 @@ export class Diagnostics { } /** - * List Site Detector Responses + * Description for List Site Detector Responses * @summary List Site Detector Responses * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -130,7 +130,7 @@ export class Diagnostics { } /** - * Get site detector response + * Description for Get site detector response * @summary Get site detector response * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -167,7 +167,7 @@ export class Diagnostics { } /** - * Get Diagnostics Categories + * Description for Get Diagnostics Categories * @summary Get Diagnostics Categories * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -200,7 +200,7 @@ export class Diagnostics { } /** - * Get Diagnostics Category + * Description for Get Diagnostics Category * @summary Get Diagnostics Category * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -237,7 +237,7 @@ export class Diagnostics { } /** - * Get Site Analyses + * Description for Get Site Analyses * @summary Get Site Analyses * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -274,7 +274,7 @@ export class Diagnostics { } /** - * Get Site Analysis + * Description for Get Site Analysis * @summary Get Site Analysis * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -291,7 +291,7 @@ export class Diagnostics { * @param analysisName Analysis Name * @param callback The callback */ - getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, callback: msRest.ServiceCallback): void; + getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -300,8 +300,8 @@ export class Diagnostics { * @param options The optional parameters * @param callback The callback */ - getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSiteAnalysis(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -315,7 +315,7 @@ export class Diagnostics { } /** - * Execute Analysis + * Description for Execute Analysis * @summary Execute Analysis * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -356,7 +356,7 @@ export class Diagnostics { } /** - * Get Detectors + * Description for Get Detectors * @summary Get Detectors * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -393,7 +393,7 @@ export class Diagnostics { } /** - * Get Detector + * Description for Get Detector * @summary Get Detector * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -410,7 +410,7 @@ export class Diagnostics { * @param detectorName Detector Name * @param callback The callback */ - getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, callback: msRest.ServiceCallback): void; + getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -419,8 +419,8 @@ export class Diagnostics { * @param options The optional parameters * @param callback The callback */ - getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSiteDetector(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -434,7 +434,7 @@ export class Diagnostics { } /** - * Execute Detector + * Description for Execute Detector * @summary Execute Detector * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -475,7 +475,7 @@ export class Diagnostics { } /** - * List Site Detector Responses + * Description for List Site Detector Responses * @summary List Site Detector Responses * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -512,7 +512,7 @@ export class Diagnostics { } /** - * Get site detector response + * Description for Get site detector response * @summary Get site detector response * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -553,7 +553,7 @@ export class Diagnostics { } /** - * Get Diagnostics Categories + * Description for Get Diagnostics Categories * @summary Get Diagnostics Categories * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -590,7 +590,7 @@ export class Diagnostics { } /** - * Get Diagnostics Category + * Description for Get Diagnostics Category * @summary Get Diagnostics Category * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -631,7 +631,7 @@ export class Diagnostics { } /** - * Get Site Analyses + * Description for Get Site Analyses * @summary Get Site Analyses * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -672,7 +672,7 @@ export class Diagnostics { } /** - * Get Site Analysis + * Description for Get Site Analysis * @summary Get Site Analysis * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -691,7 +691,7 @@ export class Diagnostics { * @param slot Slot - optional * @param callback The callback */ - getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, callback: msRest.ServiceCallback): void; + getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -701,8 +701,8 @@ export class Diagnostics { * @param options The optional parameters * @param callback The callback */ - getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSiteAnalysisSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, analysisName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -717,7 +717,7 @@ export class Diagnostics { } /** - * Execute Analysis + * Description for Execute Analysis * @summary Execute Analysis * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -762,7 +762,7 @@ export class Diagnostics { } /** - * Get Detectors + * Description for Get Detectors * @summary Get Detectors * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -803,7 +803,7 @@ export class Diagnostics { } /** - * Get Detector + * Description for Get Detector * @summary Get Detector * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -822,7 +822,7 @@ export class Diagnostics { * @param slot Slot Name * @param callback The callback */ - getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, callback: msRest.ServiceCallback): void; + getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -832,8 +832,8 @@ export class Diagnostics { * @param options The optional parameters * @param callback The callback */ - getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSiteDetectorSlot(resourceGroupName: string, siteName: string, diagnosticCategory: string, detectorName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -848,7 +848,7 @@ export class Diagnostics { } /** - * Execute Detector + * Description for Execute Detector * @summary Execute Detector * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name @@ -893,7 +893,7 @@ export class Diagnostics { } /** - * List Hosting Environment Detector Responses + * Description for List Hosting Environment Detector Responses * @summary List Hosting Environment Detector Responses * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -922,7 +922,7 @@ export class Diagnostics { } /** - * List Site Detector Responses + * Description for List Site Detector Responses * @summary List Site Detector Responses * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -951,7 +951,7 @@ export class Diagnostics { } /** - * Get Diagnostics Categories + * Description for Get Diagnostics Categories * @summary Get Diagnostics Categories * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -980,7 +980,7 @@ export class Diagnostics { } /** - * Get Site Analyses + * Description for Get Site Analyses * @summary Get Site Analyses * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1009,7 +1009,7 @@ export class Diagnostics { } /** - * Get Detectors + * Description for Get Detectors * @summary Get Detectors * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1038,36 +1038,7 @@ export class Diagnostics { } /** - * Get Detector - * @summary Get Detector - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - getSiteDetectorNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - getSiteDetectorNext(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 - */ - getSiteDetectorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetectorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - getSiteDetectorNextOperationSpec, - callback) as Promise; - } - - /** - * List Site Detector Responses + * Description for List Site Detector Responses * @summary List Site Detector Responses * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1096,7 +1067,7 @@ export class Diagnostics { } /** - * Get Diagnostics Categories + * Description for Get Diagnostics Categories * @summary Get Diagnostics Categories * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1125,7 +1096,7 @@ export class Diagnostics { } /** - * Get Site Analyses + * Description for Get Site Analyses * @summary Get Site Analyses * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1154,7 +1125,7 @@ export class Diagnostics { } /** - * Get Detectors + * Description for Get Detectors * @summary Get Detectors * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -1181,35 +1152,6 @@ export class Diagnostics { listSiteDetectorsSlotNextOperationSpec, callback) as Promise; } - - /** - * Get Detector - * @summary Get Detector - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - getSiteDetectorSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - getSiteDetectorSlotNext(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 - */ - getSiteDetectorSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSiteDetectorSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - getSiteDetectorSlotNextOperationSpec, - callback) as Promise; - } } // Operation Specifications @@ -1223,7 +1165,7 @@ const listHostingEnvironmentDetectorResponsesOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1249,10 +1191,10 @@ const getHostingEnvironmentDetectorResponseOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime0, - Parameters.endTime0, - Parameters.timeGrain0, - Parameters.apiVersion0 + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1277,7 +1219,7 @@ const listSiteDetectorResponsesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1303,10 +1245,10 @@ const getSiteDetectorResponseOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime0, - Parameters.endTime0, - Parameters.timeGrain0, - Parameters.apiVersion0 + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1331,7 +1273,7 @@ const listSiteDiagnosticCategoriesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1357,7 +1299,7 @@ const getSiteDiagnosticCategoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1383,7 +1325,7 @@ const listSiteAnalysesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1410,14 +1352,14 @@ const getSiteAnalysisOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysis + bodyMapper: Mappers.AnalysisDefinition }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -1437,10 +1379,10 @@ const executeSiteAnalysisOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime0, - Parameters.endTime0, - Parameters.timeGrain0, - Parameters.apiVersion0 + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1466,7 +1408,7 @@ const listSiteDetectorsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1493,14 +1435,14 @@ const getSiteDetectorOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection + bodyMapper: Mappers.DetectorDefinition }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -1520,10 +1462,10 @@ const executeSiteDetectorOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime0, - Parameters.endTime0, - Parameters.timeGrain0, - Parameters.apiVersion0 + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1549,7 +1491,7 @@ const listSiteDetectorResponsesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1576,10 +1518,10 @@ const getSiteDetectorResponseSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime0, - Parameters.endTime0, - Parameters.timeGrain0, - Parameters.apiVersion0 + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1605,7 +1547,7 @@ const listSiteDiagnosticCategoriesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1632,7 +1574,7 @@ const getSiteDiagnosticCategorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1659,7 +1601,7 @@ const listSiteAnalysesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1687,14 +1629,14 @@ const getSiteAnalysisSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.DiagnosticAnalysis + bodyMapper: Mappers.AnalysisDefinition }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -1715,10 +1657,10 @@ const executeSiteAnalysisSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime0, - Parameters.endTime0, - Parameters.timeGrain0, - Parameters.apiVersion0 + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1745,7 +1687,7 @@ const listSiteDetectorsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1773,14 +1715,14 @@ const getSiteDetectorSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection + bodyMapper: Mappers.DetectorDefinition }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -1801,10 +1743,10 @@ const executeSiteDetectorSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.startTime0, - Parameters.endTime0, - Parameters.timeGrain0, - Parameters.apiVersion0 + Parameters.startTime, + Parameters.endTime, + Parameters.timeGrain, + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1925,27 +1867,6 @@ const listSiteDetectorsNextOperationSpec: msRest.OperationSpec = { serializer }; -const getSiteDetectorNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listSiteDetectorResponsesSlotNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -2029,24 +1950,3 @@ const listSiteDetectorsSlotNextOperationSpec: msRest.OperationSpec = { }, serializer }; - -const getSiteDetectorSlotNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.DiagnosticDetectorCollection - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; diff --git a/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts b/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts index fc1b5433983c..a2fe2cd44239 100644 --- a/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts +++ b/sdk/appservice/arm-appservice/src/operations/domainRegistrationProvider.ts @@ -27,8 +27,8 @@ export class DomainRegistrationProvider { } /** - * Implements Csm operations Api to exposes the list of available Csm Apis under the resource - * provider + * Description for Implements Csm operations Api to exposes the list of available Csm Apis under + * the resource provider * @summary Implements Csm operations Api to exposes the list of available Csm Apis under the * resource provider * @param [options] The optional parameters @@ -54,8 +54,8 @@ export class DomainRegistrationProvider { } /** - * Implements Csm operations Api to exposes the list of available Csm Apis under the resource - * provider + * Description for Implements Csm operations Api to exposes the list of available Csm Apis under + * the resource provider * @summary Implements Csm operations Api to exposes the list of available Csm Apis under the * resource provider * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -91,7 +91,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.DomainRegistration/operations", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/domains.ts b/sdk/appservice/arm-appservice/src/operations/domains.ts index 77b03f13b655..f39efdd4650f 100644 --- a/sdk/appservice/arm-appservice/src/operations/domains.ts +++ b/sdk/appservice/arm-appservice/src/operations/domains.ts @@ -28,7 +28,7 @@ export class Domains { } /** - * Check if a domain is available for registration. + * Description for Check if a domain is available for registration. * @summary Check if a domain is available for registration. * @param [options] The optional parameters * @returns Promise @@ -37,13 +37,13 @@ export class Domains { /** * @param callback The callback */ - checkAvailability(callback: msRest.ServiceCallback): void; + checkAvailability(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ - checkAvailability(options: Models.DomainsCheckAvailabilityOptionalParams, callback: msRest.ServiceCallback): void; - checkAvailability(options?: Models.DomainsCheckAvailabilityOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + checkAvailability(options: Models.DomainsCheckAvailabilityOptionalParams, callback: msRest.ServiceCallback): void; + checkAvailability(options?: Models.DomainsCheckAvailabilityOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -53,7 +53,7 @@ export class Domains { } /** - * Get all domains in a subscription. + * Description for Get all domains in a subscription. * @summary Get all domains in a subscription. * @param [options] The optional parameters * @returns Promise @@ -78,7 +78,7 @@ export class Domains { } /** - * Generate a single sign-on request for the domain management portal. + * Description for Generate a single sign-on request for the domain management portal. * @summary Generate a single sign-on request for the domain management portal. * @param [options] The optional parameters * @returns Promise @@ -103,7 +103,7 @@ export class Domains { } /** - * Get domain name recommendations based on keywords. + * Description for Get domain name recommendations based on keywords. * @summary Get domain name recommendations based on keywords. * @param parameters Search parameters for domain name recommendations. * @param [options] The optional parameters @@ -132,7 +132,7 @@ export class Domains { } /** - * Get all domains in a resource group. + * Description for Get all domains in a resource group. * @summary Get all domains in a resource group. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param [options] The optional parameters @@ -161,7 +161,7 @@ export class Domains { } /** - * Get a domain. + * Description for Get a domain. * @summary Get a domain. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of the domain. @@ -194,7 +194,7 @@ export class Domains { } /** - * Creates or updates a domain. + * Description for Creates or updates a domain. * @summary Creates or updates a domain. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of the domain. @@ -208,7 +208,7 @@ export class Domains { } /** - * Delete a domain. + * Description for Delete a domain. * @summary Delete a domain. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of the domain. @@ -241,7 +241,7 @@ export class Domains { } /** - * Creates or updates a domain. + * Description for Creates or updates a domain. * @summary Creates or updates a domain. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of the domain. @@ -278,7 +278,7 @@ export class Domains { } /** - * Lists domain ownership identifiers. + * Description for Lists domain ownership identifiers. * @summary Lists domain ownership identifiers. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of domain. @@ -311,7 +311,7 @@ export class Domains { } /** - * Get ownership identifier for domain + * Description for Get ownership identifier for domain * @summary Get ownership identifier for domain * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of domain. @@ -348,8 +348,8 @@ export class Domains { } /** - * Creates an ownership identifier for a domain or updates identifier details for an existing - * identifer + * Description for Creates an ownership identifier for a domain or updates identifier details for + * an existing identifer * @summary Creates an ownership identifier for a domain or updates identifier details for an * existing identifer * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -391,7 +391,7 @@ export class Domains { } /** - * Delete ownership identifier for domain + * Description for Delete ownership identifier for domain * @summary Delete ownership identifier for domain * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of domain. @@ -428,8 +428,8 @@ export class Domains { } /** - * Creates an ownership identifier for a domain or updates identifier details for an existing - * identifer + * Description for Creates an ownership identifier for a domain or updates identifier details for + * an existing identifer * @summary Creates an ownership identifier for a domain or updates identifier details for an * existing identifer * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -471,7 +471,7 @@ export class Domains { } /** - * Renew a domain. + * Description for Renew a domain. * @summary Renew a domain. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of the domain. @@ -504,7 +504,7 @@ export class Domains { } /** - * Creates or updates a domain. + * Description for Creates or updates a domain. * @summary Creates or updates a domain. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param domainName Name of the domain. @@ -525,7 +525,7 @@ export class Domains { } /** - * Get all domains in a subscription. + * Description for Get all domains in a subscription. * @summary Get all domains in a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -554,7 +554,7 @@ export class Domains { } /** - * Get domain name recommendations based on keywords. + * Description for Get domain name recommendations based on keywords. * @summary Get domain name recommendations based on keywords. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -583,7 +583,7 @@ export class Domains { } /** - * Get all domains in a resource group. + * Description for Get all domains in a resource group. * @summary Get all domains in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -612,7 +612,7 @@ export class Domains { } /** - * Lists domain ownership identifiers. + * Description for Lists domain ownership identifiers. * @summary Lists domain ownership identifiers. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -650,7 +650,7 @@ const checkAvailabilityOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -669,7 +669,7 @@ const checkAvailabilityOperationSpec: msRest.OperationSpec = { }, responses: { 200: { - bodyMapper: Mappers.DomainAvailablilityCheckResult + bodyMapper: Mappers.DomainAvailabilityCheckResult }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -685,7 +685,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -708,7 +708,7 @@ const getControlCenterSsoRequestOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -731,7 +731,7 @@ const listRecommendationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -762,7 +762,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -787,7 +787,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -813,7 +813,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.forceHardDeleteDomain, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -822,7 +822,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -837,7 +837,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -872,7 +872,7 @@ const listOwnershipIdentifiersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -898,7 +898,7 @@ const getOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -924,7 +924,7 @@ const createOrUpdateOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -957,7 +957,7 @@ const deleteOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -966,7 +966,7 @@ const deleteOwnershipIdentifierOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -982,7 +982,7 @@ const updateOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1014,7 +1014,7 @@ const renewOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1023,10 +1023,8 @@ const renewOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, 204: {}, - 400: {}, - 500: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1041,7 +1039,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/provider.ts b/sdk/appservice/arm-appservice/src/operations/provider.ts index 267de5aeb2c5..a6908fdcedf5 100644 --- a/sdk/appservice/arm-appservice/src/operations/provider.ts +++ b/sdk/appservice/arm-appservice/src/operations/provider.ts @@ -27,7 +27,7 @@ export class Provider { } /** - * Get available application frameworks and their versions + * Description for Get available application frameworks and their versions * @summary Get available application frameworks and their versions * @param [options] The optional parameters * @returns Promise @@ -52,8 +52,8 @@ export class Provider { } /** - * Gets all available operations for the Microsoft.Web resource provider. Also exposes resource - * metric definitions + * Description for Gets all available operations for the Microsoft.Web resource provider. Also + * exposes resource metric definitions * @summary Gets all available operations for the Microsoft.Web resource provider. Also exposes * resource metric definitions * @param [options] The optional parameters @@ -79,7 +79,7 @@ export class Provider { } /** - * Get available application frameworks and their versions + * Description for Get available application frameworks and their versions * @summary Get available application frameworks and their versions * @param [options] The optional parameters * @returns Promise @@ -104,7 +104,7 @@ export class Provider { } /** - * Get available application frameworks and their versions + * Description for Get available application frameworks and their versions * @summary Get available application frameworks and their versions * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -133,8 +133,8 @@ export class Provider { } /** - * Gets all available operations for the Microsoft.Web resource provider. Also exposes resource - * metric definitions + * Description for Gets all available operations for the Microsoft.Web resource provider. Also + * exposes resource metric definitions * @summary Gets all available operations for the Microsoft.Web resource provider. Also exposes * resource metric definitions * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -164,7 +164,7 @@ export class Provider { } /** - * Get available application frameworks and their versions + * Description for Get available application frameworks and their versions * @summary Get available application frameworks and their versions * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -200,7 +200,7 @@ const getAvailableStacksOperationSpec: msRest.OperationSpec = { path: "providers/Microsoft.Web/availableStacks", queryParameters: [ Parameters.osTypeSelected, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -220,7 +220,7 @@ const listOperationsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/operations", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -244,7 +244,7 @@ const getAvailableStacksOnPremOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.osTypeSelected, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/recommendations.ts b/sdk/appservice/arm-appservice/src/operations/recommendations.ts index 7279c96d263e..e91ea6f09d17 100644 --- a/sdk/appservice/arm-appservice/src/operations/recommendations.ts +++ b/sdk/appservice/arm-appservice/src/operations/recommendations.ts @@ -27,7 +27,7 @@ export class Recommendations { } /** - * List all recommendations for a subscription. + * Description for List all recommendations for a subscription. * @summary List all recommendations for a subscription. * @param [options] The optional parameters * @returns Promise @@ -52,7 +52,7 @@ export class Recommendations { } /** - * Reset all recommendation opt-out settings for a subscription. + * Description for Reset all recommendation opt-out settings for a subscription. * @summary Reset all recommendation opt-out settings for a subscription. * @param [options] The optional parameters * @returns Promise @@ -77,7 +77,8 @@ export class Recommendations { } /** - * Disables the specified rule so it will not apply to a subscription in the future. + * Description for Disables the specified rule so it will not apply to a subscription in the + * future. * @summary Disables the specified rule so it will not apply to a subscription in the future. * @param name Rule name * @param [options] The optional parameters @@ -106,7 +107,7 @@ export class Recommendations { } /** - * Get past recommendations for an app, optionally specified by the time range. + * Description for Get past recommendations for an app, optionally specified by the time range. * @summary Get past recommendations for an app, optionally specified by the time range. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param hostingEnvironmentName Name of the hosting environment. @@ -139,7 +140,7 @@ export class Recommendations { } /** - * Get all recommendations for an app. + * Description for Get all recommendations for an app. * @summary Get all recommendations for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param hostingEnvironmentName Name of the app. @@ -172,7 +173,7 @@ export class Recommendations { } /** - * Disable all recommendations for an app. + * Description for Disable all recommendations for an app. * @summary Disable all recommendations for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param environmentName Name of the app. @@ -209,7 +210,7 @@ export class Recommendations { } /** - * Reset all recommendation opt-out settings for an app. + * Description for Reset all recommendation opt-out settings for an app. * @summary Reset all recommendation opt-out settings for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param environmentName Name of the app. @@ -246,7 +247,7 @@ export class Recommendations { } /** - * Get a recommendation rule for an app. + * Description for Get a recommendation rule for an app. * @summary Get a recommendation rule for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param hostingEnvironmentName Name of the hosting environment. @@ -283,7 +284,7 @@ export class Recommendations { } /** - * Disables the specific rule for a web site permanently. + * Description for Disables the specific rule for a web site permanently. * @summary Disables the specific rule for a web site permanently. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param environmentName Site name @@ -324,7 +325,7 @@ export class Recommendations { } /** - * Get past recommendations for an app, optionally specified by the time range. + * Description for Get past recommendations for an app, optionally specified by the time range. * @summary Get past recommendations for an app, optionally specified by the time range. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. @@ -357,7 +358,7 @@ export class Recommendations { } /** - * Get all recommendations for an app. + * Description for Get all recommendations for an app. * @summary Get all recommendations for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. @@ -390,7 +391,7 @@ export class Recommendations { } /** - * Disable all recommendations for an app. + * Description for Disable all recommendations for an app. * @summary Disable all recommendations for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. @@ -423,7 +424,7 @@ export class Recommendations { } /** - * Reset all recommendation opt-out settings for an app. + * Description for Reset all recommendation opt-out settings for an app. * @summary Reset all recommendation opt-out settings for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. @@ -456,7 +457,7 @@ export class Recommendations { } /** - * Get a recommendation rule for an app. + * Description for Get a recommendation rule for an app. * @summary Get a recommendation rule for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. @@ -493,7 +494,7 @@ export class Recommendations { } /** - * Disables the specific rule for a web site permanently. + * Description for Disables the specific rule for a web site permanently. * @summary Disables the specific rule for a web site permanently. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site name @@ -530,7 +531,7 @@ export class Recommendations { } /** - * List all recommendations for a subscription. + * Description for List all recommendations for a subscription. * @summary List all recommendations for a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -559,7 +560,7 @@ export class Recommendations { } /** - * Get past recommendations for an app, optionally specified by the time range. + * Description for Get past recommendations for an app, optionally specified by the time range. * @summary Get past recommendations for an app, optionally specified by the time range. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -588,7 +589,7 @@ export class Recommendations { } /** - * Get all recommendations for an app. + * Description for Get all recommendations for an app. * @summary Get all recommendations for an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -617,7 +618,7 @@ export class Recommendations { } /** - * Get past recommendations for an app, optionally specified by the time range. + * Description for Get past recommendations for an app, optionally specified by the time range. * @summary Get past recommendations for an app, optionally specified by the time range. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -646,7 +647,7 @@ export class Recommendations { } /** - * Get all recommendations for an app. + * Description for Get all recommendations for an app. * @summary Get all recommendations for an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -686,7 +687,7 @@ const listOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.featured, Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -709,7 +710,7 @@ const resetAllFiltersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -717,7 +718,7 @@ const resetAllFiltersOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -731,7 +732,7 @@ const disableRecommendationForSubscriptionOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -739,7 +740,7 @@ const disableRecommendationForSubscriptionOperationSpec: msRest.OperationSpec = responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -756,7 +757,7 @@ const listHistoryForHostingEnvironmentOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.expiredOnly, Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -783,7 +784,7 @@ const listRecommendedRulesForHostingEnvironmentOperationSpec: msRest.OperationSp queryParameters: [ Parameters.featured, Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -809,7 +810,7 @@ const disableAllForHostingEnvironmentOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.environmentName, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -817,7 +818,7 @@ const disableAllForHostingEnvironmentOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -833,7 +834,7 @@ const resetAllFiltersForHostingEnvironmentOperationSpec: msRest.OperationSpec = ], queryParameters: [ Parameters.environmentName, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -841,7 +842,7 @@ const resetAllFiltersForHostingEnvironmentOperationSpec: msRest.OperationSpec = responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -859,7 +860,7 @@ const getRuleDetailsByHostingEnvironmentOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.updateSeen, Parameters.recommendationId, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -886,7 +887,7 @@ const disableRecommendationForHostingEnvironmentOperationSpec: msRest.OperationS ], queryParameters: [ Parameters.environmentName, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -894,7 +895,7 @@ const disableRecommendationForHostingEnvironmentOperationSpec: msRest.OperationS responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -911,7 +912,7 @@ const listHistoryForWebAppOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.expiredOnly, Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -938,7 +939,7 @@ const listRecommendedRulesForWebAppOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.featured, Parameters.filter, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -963,7 +964,7 @@ const disableAllForWebAppOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -971,7 +972,7 @@ const disableAllForWebAppOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -986,7 +987,7 @@ const resetAllFiltersForWebAppOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -994,7 +995,7 @@ const resetAllFiltersForWebAppOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1012,7 +1013,7 @@ const getRuleDetailsByWebAppOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.updateSeen, Parameters.recommendationId, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1038,7 +1039,7 @@ const disableRecommendationForSiteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1046,7 +1047,7 @@ const disableRecommendationForSiteOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer diff --git a/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts b/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts index 71895368464a..df81c2786c1b 100644 --- a/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts +++ b/sdk/appservice/arm-appservice/src/operations/resourceHealthMetadataOperations.ts @@ -27,7 +27,7 @@ export class ResourceHealthMetadataOperations { } /** - * List all ResourceHealthMetadata for all sites in the subscription. + * Description for List all ResourceHealthMetadata for all sites in the subscription. * @summary List all ResourceHealthMetadata for all sites in the subscription. * @param [options] The optional parameters * @returns Promise @@ -52,7 +52,8 @@ export class ResourceHealthMetadataOperations { } /** - * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * Description for List all ResourceHealthMetadata for all sites in the resource group in the + * subscription. * @summary List all ResourceHealthMetadata for all sites in the resource group in the * subscription. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -82,7 +83,8 @@ export class ResourceHealthMetadataOperations { } /** - * Gets the category of ResourceHealthMetadata to use for the given site as a collection + * Description for Gets the category of ResourceHealthMetadata to use for the given site as a + * collection * @summary Gets the category of ResourceHealthMetadata to use for the given site as a collection * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -115,7 +117,7 @@ export class ResourceHealthMetadataOperations { } /** - * Gets the category of ResourceHealthMetadata to use for the given site + * Description for Gets the category of ResourceHealthMetadata to use for the given site * @summary Gets the category of ResourceHealthMetadata to use for the given site * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app @@ -148,7 +150,8 @@ export class ResourceHealthMetadataOperations { } /** - * Gets the category of ResourceHealthMetadata to use for the given site as a collection + * Description for Gets the category of ResourceHealthMetadata to use for the given site as a + * collection * @summary Gets the category of ResourceHealthMetadata to use for the given site as a collection * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -185,7 +188,7 @@ export class ResourceHealthMetadataOperations { } /** - * Gets the category of ResourceHealthMetadata to use for the given site + * Description for Gets the category of ResourceHealthMetadata to use for the given site * @summary Gets the category of ResourceHealthMetadata to use for the given site * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app @@ -222,7 +225,7 @@ export class ResourceHealthMetadataOperations { } /** - * List all ResourceHealthMetadata for all sites in the subscription. + * Description for List all ResourceHealthMetadata for all sites in the subscription. * @summary List all ResourceHealthMetadata for all sites in the subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -251,7 +254,8 @@ export class ResourceHealthMetadataOperations { } /** - * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * Description for List all ResourceHealthMetadata for all sites in the resource group in the + * subscription. * @summary List all ResourceHealthMetadata for all sites in the resource group in the * subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -281,7 +285,8 @@ export class ResourceHealthMetadataOperations { } /** - * Gets the category of ResourceHealthMetadata to use for the given site as a collection + * Description for Gets the category of ResourceHealthMetadata to use for the given site as a + * collection * @summary Gets the category of ResourceHealthMetadata to use for the given site as a collection * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -310,7 +315,8 @@ export class ResourceHealthMetadataOperations { } /** - * Gets the category of ResourceHealthMetadata to use for the given site as a collection + * Description for Gets the category of ResourceHealthMetadata to use for the given site as a + * collection * @summary Gets the category of ResourceHealthMetadata to use for the given site as a collection * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -348,7 +354,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -372,7 +378,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -397,7 +403,7 @@ const listBySiteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -422,7 +428,7 @@ const getBySiteOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -448,7 +454,7 @@ const listBySiteSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -474,7 +480,7 @@ const getBySiteSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts b/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts index 06d4a3432f88..f63e5b342057 100644 --- a/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts +++ b/sdk/appservice/arm-appservice/src/operations/topLevelDomains.ts @@ -27,7 +27,7 @@ export class TopLevelDomains { } /** - * Get all top-level domains supported for registration. + * Description for Get all top-level domains supported for registration. * @summary Get all top-level domains supported for registration. * @param [options] The optional parameters * @returns Promise @@ -52,7 +52,7 @@ export class TopLevelDomains { } /** - * Get details of a top-level domain. + * Description for Get details of a top-level domain. * @summary Get details of a top-level domain. * @param name Name of the top-level domain. * @param [options] The optional parameters @@ -81,7 +81,7 @@ export class TopLevelDomains { } /** - * Gets all legal agreements that user needs to accept before purchasing a domain. + * Description for Gets all legal agreements that user needs to accept before purchasing a domain. * @summary Gets all legal agreements that user needs to accept before purchasing a domain. * @param name Name of the top-level domain. * @param agreementOption Domain agreement options. @@ -114,7 +114,7 @@ export class TopLevelDomains { } /** - * Get all top-level domains supported for registration. + * Description for Get all top-level domains supported for registration. * @summary Get all top-level domains supported for registration. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -143,7 +143,7 @@ export class TopLevelDomains { } /** - * Gets all legal agreements that user needs to accept before purchasing a domain. + * Description for Gets all legal agreements that user needs to accept before purchasing a domain. * @summary Gets all legal agreements that user needs to accept before purchasing a domain. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -181,7 +181,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -205,7 +205,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const listAgreementsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/appservice/arm-appservice/src/operations/webApps.ts b/sdk/appservice/arm-appservice/src/operations/webApps.ts index d10a68dfca7f..9d25a9d5e632 100644 --- a/sdk/appservice/arm-appservice/src/operations/webApps.ts +++ b/sdk/appservice/arm-appservice/src/operations/webApps.ts @@ -28,7 +28,7 @@ export class WebApps { } /** - * Get all apps for a subscription. + * Description for Get all apps for a subscription. * @summary Get all apps for a subscription. * @param [options] The optional parameters * @returns Promise @@ -53,7 +53,7 @@ export class WebApps { } /** - * Gets all web, mobile, and API apps in the specified resource group. + * Description for Gets all web, mobile, and API apps in the specified resource group. * @summary Gets all web, mobile, and API apps in the specified resource group. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param [options] The optional parameters @@ -82,7 +82,7 @@ export class WebApps { } /** - * Gets the details of a web, mobile, or API app. + * Description for Gets the details of a web, mobile, or API app. * @summary Gets the details of a web, mobile, or API app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -115,7 +115,8 @@ export class WebApps { } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates + * an existing app. * @summary Creates a new web, mobile, or API app in an existing resource group, or updates an * existing app. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -131,7 +132,7 @@ export class WebApps { } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Description for Deletes a web, mobile, or API app, or one of the deployment slots. * @summary Deletes a web, mobile, or API app, or one of the deployment slots. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app to delete. @@ -164,7 +165,8 @@ export class WebApps { } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates + * an existing app. * @summary Creates a new web, mobile, or API app in an existing resource group, or updates an * existing app. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -205,7 +207,7 @@ export class WebApps { } /** - * Analyze a custom hostname. + * Description for Analyze a custom hostname. * @summary Analyze a custom hostname. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -238,7 +240,7 @@ export class WebApps { } /** - * Applies the configuration settings from the target slot onto the current slot. + * Description for Applies the configuration settings from the target slot onto the current slot. * @summary Applies the configuration settings from the target slot onto the current slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -275,7 +277,7 @@ export class WebApps { } /** - * Creates a backup of an app. + * Description for Creates a backup of an app. * @summary Creates a backup of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -315,7 +317,7 @@ export class WebApps { } /** - * Gets existing backups of an app. + * Description for Gets existing backups of an app. * @summary Gets existing backups of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -348,7 +350,7 @@ export class WebApps { } /** - * Gets a backup of an app by its ID. + * Description for Gets a backup of an app by its ID. * @summary Gets a backup of an app by its ID. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -385,7 +387,7 @@ export class WebApps { } /** - * Deletes a backup of an app by its ID. + * Description for Deletes a backup of an app by its ID. * @summary Deletes a backup of an app by its ID. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -422,9 +424,9 @@ export class WebApps { } /** - * Gets status of a web app backup that may be in progress, including secrets associated with the - * backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup - * if a new URL is passed in the request body. + * Description for Gets status of a web app backup that may be in progress, including secrets + * associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the + * SAS URL for the backup if a new URL is passed in the request body. * @summary Gets status of a web app backup that may be in progress, including secrets associated * with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for * the backup if a new URL is passed in the request body. @@ -467,7 +469,7 @@ export class WebApps { } /** - * Restores a specific backup to another app (or deployment slot, if specified). + * Description for Restores a specific backup to another app (or deployment slot, if specified). * @summary Restores a specific backup to another app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -482,7 +484,7 @@ export class WebApps { } /** - * List the configurations of an app + * Description for List the configurations of an app * @summary List the configurations of an app * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -515,7 +517,7 @@ export class WebApps { } /** - * Replaces the application settings of an app. + * Description for Replaces the application settings of an app. * @summary Replaces the application settings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -552,7 +554,7 @@ export class WebApps { } /** - * Gets the application settings of an app. + * Description for Gets the application settings of an app. * @summary Gets the application settings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -585,7 +587,7 @@ export class WebApps { } /** - * Updates the Authentication / Authorization settings associated with web app. + * Description for Updates the Authentication / Authorization settings associated with web app. * @summary Updates the Authentication / Authorization settings associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -622,7 +624,7 @@ export class WebApps { } /** - * Gets the Authentication/Authorization settings of an app. + * Description for Gets the Authentication/Authorization settings of an app. * @summary Gets the Authentication/Authorization settings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -655,7 +657,7 @@ export class WebApps { } /** - * Updates the Azure storage account configurations of an app. + * Description for Updates the Azure storage account configurations of an app. * @summary Updates the Azure storage account configurations of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -692,7 +694,7 @@ export class WebApps { } /** - * Gets the Azure storage account configurations of an app. + * Description for Gets the Azure storage account configurations of an app. * @summary Gets the Azure storage account configurations of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -725,7 +727,7 @@ export class WebApps { } /** - * Updates the backup configuration of an app. + * Description for Updates the backup configuration of an app. * @summary Updates the backup configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -762,7 +764,7 @@ export class WebApps { } /** - * Deletes the backup configuration of an app. + * Description for Deletes the backup configuration of an app. * @summary Deletes the backup configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -795,7 +797,7 @@ export class WebApps { } /** - * Gets the backup configuration of an app. + * Description for Gets the backup configuration of an app. * @summary Gets the backup configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -828,7 +830,77 @@ export class WebApps { } /** - * Replaces the connection strings of an app. + * Description for Gets the config reference app settings and status of an app + * @summary Gets the config reference app settings and status of an app + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param [options] The optional parameters + * @returns Promise + */ + getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param callback The callback + */ + getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The optional parameters + * @param callback The callback + */ + getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getAppSettingsKeyVaultReferences(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + getAppSettingsKeyVaultReferencesOperationSpec, + callback) as Promise; + } + + /** + * Description for Gets the config reference and status of an app + * @summary Gets the config reference and status of an app + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param appSettingKey App Setting key name. + * @param [options] The optional parameters + * @returns Promise + */ + getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param appSettingKey App Setting key name. + * @param callback The callback + */ + getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param appSettingKey App Setting key name. + * @param options The optional parameters + * @param callback The callback + */ + getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getAppSettingKeyVaultReference(resourceGroupName: string, name: string, appSettingKey: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + appSettingKey, + options + }, + getAppSettingKeyVaultReferenceOperationSpec, + callback) as Promise; + } + + /** + * Description for Replaces the connection strings of an app. * @summary Replaces the connection strings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -865,7 +937,7 @@ export class WebApps { } /** - * Gets the connection strings of an app. + * Description for Gets the connection strings of an app. * @summary Gets the connection strings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -898,7 +970,7 @@ export class WebApps { } /** - * Gets the logging configuration of an app. + * Description for Gets the logging configuration of an app. * @summary Gets the logging configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -931,7 +1003,7 @@ export class WebApps { } /** - * Updates the logging configuration of an app. + * Description for Updates the logging configuration of an app. * @summary Updates the logging configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -971,7 +1043,7 @@ export class WebApps { } /** - * Replaces the metadata of an app. + * Description for Replaces the metadata of an app. * @summary Replaces the metadata of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1008,7 +1080,7 @@ export class WebApps { } /** - * Gets the metadata of an app. + * Description for Gets the metadata of an app. * @summary Gets the metadata of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1041,7 +1113,7 @@ export class WebApps { } /** - * Gets the Git/FTP publishing credentials of an app. + * Description for Gets the Git/FTP publishing credentials of an app. * @summary Gets the Git/FTP publishing credentials of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1054,7 +1126,7 @@ export class WebApps { } /** - * Updates the Push settings associated with web app. + * Description for Updates the Push settings associated with web app. * @summary Updates the Push settings associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -1091,7 +1163,7 @@ export class WebApps { } /** - * Gets the Push settings associated with web app. + * Description for Gets the Push settings associated with web app. * @summary Gets the Push settings associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -1124,7 +1196,8 @@ export class WebApps { } /** - * Gets the names of app settings and connection strings that stick to the slot (not swapped). + * Description for Gets the names of app settings and connection strings that stick to the slot + * (not swapped). * @summary Gets the names of app settings and connection strings that stick to the slot (not * swapped). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1158,8 +1231,8 @@ export class WebApps { } /** - * Updates the names of application settings and connection string that remain with the slot during - * swap operation. + * Description for Updates the names of application settings and connection string that remain with + * the slot during swap operation. * @summary Updates the names of application settings and connection string that remain with the * slot during swap operation. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1197,8 +1270,8 @@ export class WebApps { } /** - * Gets the configuration of an app, such as platform version and bitness, default documents, - * virtual applications, Always On, etc. + * Description for Gets the configuration of an app, such as platform version and bitness, default + * documents, virtual applications, Always On, etc. * @summary Gets the configuration of an app, such as platform version and bitness, default * documents, virtual applications, Always On, etc. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1232,7 +1305,7 @@ export class WebApps { } /** - * Updates the configuration of an app. + * Description for Updates the configuration of an app. * @summary Updates the configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1269,7 +1342,7 @@ export class WebApps { } /** - * Updates the configuration of an app. + * Description for Updates the configuration of an app. * @summary Updates the configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1306,8 +1379,8 @@ export class WebApps { } /** - * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a - * timestamp and the ID of the snapshot. + * Description for Gets a list of web app configuration snapshots identifiers. Each element of the + * list contains a timestamp and the ID of the snapshot. * @summary Gets a list of web app configuration snapshots identifiers. Each element of the list * contains a timestamp and the ID of the snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1341,7 +1414,7 @@ export class WebApps { } /** - * Gets a snapshot of the configuration of an app at a previous point in time. + * Description for Gets a snapshot of the configuration of an app at a previous point in time. * @summary Gets a snapshot of the configuration of an app at a previous point in time. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1378,7 +1451,7 @@ export class WebApps { } /** - * Reverts the configuration of an app to a previous snapshot. + * Description for Reverts the configuration of an app to a previous snapshot. * @summary Reverts the configuration of an app to a previous snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1415,7 +1488,7 @@ export class WebApps { } /** - * Gets the last lines of docker logs for the given site + * Description for Gets the last lines of docker logs for the given site * @summary Gets the last lines of docker logs for the given site * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -1448,7 +1521,7 @@ export class WebApps { } /** - * Gets the ZIP archived docker log files for the given site + * Description for Gets the ZIP archived docker log files for the given site * @summary Gets the ZIP archived docker log files for the given site * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -1481,7 +1554,7 @@ export class WebApps { } /** - * List continuous web jobs for an app, or a deployment slot. + * Description for List continuous web jobs for an app, or a deployment slot. * @summary List continuous web jobs for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -1514,7 +1587,7 @@ export class WebApps { } /** - * Gets a continuous web job by its ID for an app, or a deployment slot. + * Description for Gets a continuous web job by its ID for an app, or a deployment slot. * @summary Gets a continuous web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -1551,7 +1624,7 @@ export class WebApps { } /** - * Delete a continuous web job by its ID for an app, or a deployment slot. + * Description for Delete a continuous web job by its ID for an app, or a deployment slot. * @summary Delete a continuous web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -1588,7 +1661,7 @@ export class WebApps { } /** - * Start a continuous web job for an app, or a deployment slot. + * Description for Start a continuous web job for an app, or a deployment slot. * @summary Start a continuous web job for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -1625,7 +1698,7 @@ export class WebApps { } /** - * Stop a continuous web job for an app, or a deployment slot. + * Description for Stop a continuous web job for an app, or a deployment slot. * @summary Stop a continuous web job for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -1662,7 +1735,7 @@ export class WebApps { } /** - * List deployments for an app, or a deployment slot. + * Description for List deployments for an app, or a deployment slot. * @summary List deployments for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1695,7 +1768,7 @@ export class WebApps { } /** - * Get a deployment by its ID for an app, or a deployment slot. + * Description for Get a deployment by its ID for an app, or a deployment slot. * @summary Get a deployment by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1732,7 +1805,7 @@ export class WebApps { } /** - * Create a deployment for an app, or a deployment slot. + * Description for Create a deployment for an app, or a deployment slot. * @summary Create a deployment for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1773,7 +1846,7 @@ export class WebApps { } /** - * Delete a deployment by its ID for an app, or a deployment slot. + * Description for Delete a deployment by its ID for an app, or a deployment slot. * @summary Delete a deployment by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1810,7 +1883,7 @@ export class WebApps { } /** - * List deployment log for specific deployment for an app, or a deployment slot. + * Description for List deployment log for specific deployment for an app, or a deployment slot. * @summary List deployment log for specific deployment for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1850,8 +1923,8 @@ export class WebApps { } /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to - * get information about the databases stored in a backup. + * Description for Discovers an existing app backup that can be restored from a blob in Azure + * storage. Use this to get information about the databases stored in a backup. * @summary Discovers an existing app backup that can be restored from a blob in Azure storage. Use * this to get information about the databases stored in a backup. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -1892,7 +1965,7 @@ export class WebApps { } /** - * Lists ownership identifiers for domain associated with web app. + * Description for Lists ownership identifiers for domain associated with web app. * @summary Lists ownership identifiers for domain associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1925,7 +1998,7 @@ export class WebApps { } /** - * Get domain ownership identifier for web app. + * Description for Get domain ownership identifier for web app. * @summary Get domain ownership identifier for web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1962,7 +2035,8 @@ export class WebApps { } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Description for Creates a domain ownership identifier for web app, or updates an existing + * ownership identifier. * @summary Creates a domain ownership identifier for web app, or updates an existing ownership * identifier. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -2004,7 +2078,7 @@ export class WebApps { } /** - * Deletes a domain ownership identifier for a web app. + * Description for Deletes a domain ownership identifier for a web app. * @summary Deletes a domain ownership identifier for a web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2041,7 +2115,8 @@ export class WebApps { } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Description for Creates a domain ownership identifier for web app, or updates an existing + * ownership identifier. * @summary Creates a domain ownership identifier for web app, or updates an existing ownership * identifier. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -2083,7 +2158,7 @@ export class WebApps { } /** - * Get the status of the last MSDeploy operation. + * Description for Get the status of the last MSDeploy operation. * @summary Get the status of the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -2116,7 +2191,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -2130,7 +2205,7 @@ export class WebApps { } /** - * Get the MSDeploy Log for the last MSDeploy operation. + * Description for Get the MSDeploy Log for the last MSDeploy operation. * @summary Get the MSDeploy Log for the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -2163,7 +2238,7 @@ export class WebApps { } /** - * List the functions for a web site, or a deployment slot. + * Description for List the functions for a web site, or a deployment slot. * @summary List the functions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -2196,7 +2271,7 @@ export class WebApps { } /** - * Fetch a short lived token that can be exchanged for a master key. + * Description for Fetch a short lived token that can be exchanged for a master key. * @summary Fetch a short lived token that can be exchanged for a master key. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -2229,7 +2304,7 @@ export class WebApps { } /** - * Get function information by its ID for web site, or a deployment slot. + * Description for Get function information by its ID for web site, or a deployment slot. * @summary Get function information by its ID for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -2266,7 +2341,7 @@ export class WebApps { } /** - * Create function for web site, or a deployment slot. + * Description for Create function for web site, or a deployment slot. * @summary Create function for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -2281,7 +2356,7 @@ export class WebApps { } /** - * Delete a function for web site, or a deployment slot. + * Description for Delete a function for web site, or a deployment slot. * @summary Delete a function for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -2318,7 +2393,130 @@ export class WebApps { } /** - * Get function secrets for a function in a web site, or a deployment slot. + * Description for Add or update a function secret. + * @summary Add or update a function secret. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param key The key to create or update + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdateFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param key The key to create or update + * @param callback The callback + */ + createOrUpdateFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, key: Models.KeyInfo, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param key The key to create or update + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdateFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, key: Models.KeyInfo, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdateFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + functionName, + keyName, + key, + options + }, + createOrUpdateFunctionSecretOperationSpec, + callback) as Promise; + } + + /** + * Description for Delete a function secret. + * @summary Delete a function secret. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param [options] The optional parameters + * @returns Promise + */ + deleteFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param callback The callback + */ + deleteFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param options The optional parameters + * @param callback The callback + */ + deleteFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteFunctionSecret(resourceGroupName: string, name: string, functionName: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + functionName, + keyName, + options + }, + deleteFunctionSecretOperationSpec, + callback); + } + + /** + * Description for Get function keys for a function in a web site, or a deployment slot. + * @summary Get function keys for a function in a web site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param [options] The optional parameters + * @returns Promise + */ + listFunctionKeys(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param callback The callback + */ + listFunctionKeys(resourceGroupName: string, name: string, functionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param options The optional parameters + * @param callback The callback + */ + listFunctionKeys(resourceGroupName: string, name: string, functionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listFunctionKeys(resourceGroupName: string, name: string, functionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + functionName, + options + }, + listFunctionKeysOperationSpec, + callback) as Promise; + } + + /** + * Description for Get function secrets for a function in a web site, or a deployment slot. * @summary Get function secrets for a function in a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -2355,7 +2553,192 @@ export class WebApps { } /** - * Get hostname bindings for an app or a deployment slot. + * Description for Get host secrets for a function app. + * @summary Get host secrets for a function app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param [options] The optional parameters + * @returns Promise + */ + listHostKeys(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param callback The callback + */ + listHostKeys(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param options The optional parameters + * @param callback The callback + */ + listHostKeys(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listHostKeys(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + listHostKeysOperationSpec, + callback) as Promise; + } + + /** + * Description for This is to allow calling via powershell and ARM template. + * @summary This is to allow calling via powershell and ARM template. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param [options] The optional parameters + * @returns Promise + */ + listSyncStatus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param callback The callback + */ + listSyncStatus(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The optional parameters + * @param callback The callback + */ + listSyncStatus(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSyncStatus(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + listSyncStatusOperationSpec, + callback); + } + + /** + * Description for Syncs function trigger metadata to the management database + * @summary Syncs function trigger metadata to the management database + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param [options] The optional parameters + * @returns Promise + */ + syncFunctions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param callback The callback + */ + syncFunctions(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param options The optional parameters + * @param callback The callback + */ + syncFunctions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + syncFunctions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + options + }, + syncFunctionsOperationSpec, + callback); + } + + /** + * Description for Add or update a host level secret. + * @summary Add or update a host level secret. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdateHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @param callback The callback + */ + createOrUpdateHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, key: Models.KeyInfo, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdateHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, key: Models.KeyInfo, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdateHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + keyType, + keyName, + key, + options + }, + createOrUpdateHostSecretOperationSpec, + callback) as Promise; + } + + /** + * Description for Delete a host level secret. + * @summary Delete a host level secret. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param [options] The optional parameters + * @returns Promise + */ + deleteHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param callback The callback + */ + deleteHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param options The optional parameters + * @param callback The callback + */ + deleteHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteHostSecret(resourceGroupName: string, name: string, keyType: string, keyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + keyType, + keyName, + options + }, + deleteHostSecretOperationSpec, + callback); + } + + /** + * Description for Get hostname bindings for an app or a deployment slot. * @summary Get hostname bindings for an app or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2388,7 +2771,7 @@ export class WebApps { } /** - * Get the named hostname binding for an app (or deployment slot, if specified). + * Description for Get the named hostname binding for an app (or deployment slot, if specified). * @summary Get the named hostname binding for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2425,7 +2808,7 @@ export class WebApps { } /** - * Creates a hostname binding for an app. + * Description for Creates a hostname binding for an app. * @summary Creates a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2469,7 +2852,7 @@ export class WebApps { } /** - * Deletes a hostname binding for an app. + * Description for Deletes a hostname binding for an app. * @summary Deletes a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2506,7 +2889,7 @@ export class WebApps { } /** - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. * @summary Retrieves a specific Service Bus Hybrid Connection used by this Web App. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -2547,7 +2930,7 @@ export class WebApps { } /** - * Creates a new Hybrid Connection using a Service Bus relay. + * Description for Creates a new Hybrid Connection using a Service Bus relay. * @summary Creates a new Hybrid Connection using a Service Bus relay. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -2592,7 +2975,7 @@ export class WebApps { } /** - * Removes a Hybrid Connection from this site. + * Description for Removes a Hybrid Connection from this site. * @summary Removes a Hybrid Connection from this site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -2633,7 +3016,7 @@ export class WebApps { } /** - * Creates a new Hybrid Connection using a Service Bus relay. + * Description for Creates a new Hybrid Connection using a Service Bus relay. * @summary Creates a new Hybrid Connection using a Service Bus relay. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -2678,48 +3061,7 @@ export class WebApps { } /** - * Gets the send key name and value for a Hybrid Connection. - * @summary Gets the send key name and value for a Hybrid Connection. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param [options] The optional parameters - * @returns Promise - */ - listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param callback The callback - */ - listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param options The optional parameters - * @param callback The callback - */ - listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnectionKeys(resourceGroupName: string, name: string, namespaceName: string, relayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - namespaceName, - relayName, - options - }, - listHybridConnectionKeysOperationSpec, - callback) as Promise; - } - - /** - * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Description for Retrieves all Service Bus Hybrid Connections used by this Web App. * @summary Retrieves all Service Bus Hybrid Connections used by this Web App. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -2752,7 +3094,8 @@ export class WebApps { } /** - * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Description for Gets hybrid connections configured for an app (or deployment slot, if + * specified). * @summary Gets hybrid connections configured for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2785,7 +3128,7 @@ export class WebApps { } /** - * Gets a hybrid connection configuration by its name. + * Description for Gets a hybrid connection configuration by its name. * @summary Gets a hybrid connection configuration by its name. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2822,7 +3165,8 @@ export class WebApps { } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one + * (PATCH). * @summary Creates a new hybrid connection configuration (PUT), or updates an existing one * (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -2864,7 +3208,7 @@ export class WebApps { } /** - * Deletes a relay service connection by its name. + * Description for Deletes a relay service connection by its name. * @summary Deletes a relay service connection by its name. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2901,7 +3245,8 @@ export class WebApps { } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one + * (PATCH). * @summary Creates a new hybrid connection configuration (PUT), or updates an existing one * (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -2943,7 +3288,7 @@ export class WebApps { } /** - * Gets all scale-out instances of an app. + * Description for Gets all scale-out instances of an app. * @summary Gets all scale-out instances of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -2976,7 +3321,44 @@ export class WebApps { } /** - * Get the status of the last MSDeploy operation. + * Description for Gets all scale-out instances of an app. + * @summary Gets all scale-out instances of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param instanceId + * @param [options] The optional parameters + * @returns Promise + */ + getInstanceInfo(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param instanceId + * @param callback The callback + */ + getInstanceInfo(resourceGroupName: string, name: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param instanceId + * @param options The optional parameters + * @param callback The callback + */ + getInstanceInfo(resourceGroupName: string, name: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInstanceInfo(resourceGroupName: string, name: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + instanceId, + options + }, + getInstanceInfoOperationSpec, + callback) as Promise; + } + + /** + * Description for Get the status of the last MSDeploy operation. * @summary Get the status of the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -3013,7 +3395,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -3028,7 +3410,7 @@ export class WebApps { } /** - * Get the MSDeploy Log for the last MSDeploy operation. + * Description for Get the MSDeploy Log for the last MSDeploy operation. * @summary Get the MSDeploy Log for the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -3065,8 +3447,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3107,7 +3489,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -3151,8 +3534,8 @@ export class WebApps { } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out - * instance in a web site. + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific + * scaled-out instance in a web site. * @summary Terminate a process by its ID for a web site, or a deployment slot, or specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3197,7 +3580,8 @@ export class WebApps { } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a + * web site. * @summary Get a memory dump of a process by its ID for a specific scaled-out instance in a web * site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3242,8 +3626,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3288,7 +3672,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -3336,7 +3721,8 @@ export class WebApps { } /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. * @summary List the threads in a process by its ID for a specific scaled-out instance in a web * site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3381,57 +3767,7 @@ export class WebApps { } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in - * a web site. - * @summary Get thread information by Thread ID for a specific process, in a specific scaled-out - * instance in a web site. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param instanceId ID of a specific scaled-out instance. This is the value of the name property - * in the JSON response from "GET api/sites/{siteName}/instances". - * @param [options] The optional parameters - * @returns Promise - */ - getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param instanceId ID of a specific scaled-out instance. This is the value of the name property - * in the JSON response from "GET api/sites/{siteName}/instances". - * @param callback The callback - */ - getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param instanceId ID of a specific scaled-out instance. This is the value of the name property - * in the JSON response from "GET api/sites/{siteName}/instances". - * @param options The optional parameters - * @param callback The callback - */ - getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - processId, - threadId, - instanceId, - options - }, - getInstanceProcessThreadOperationSpec, - callback) as Promise; - } - - /** - * Shows whether an app can be cloned to another resource group or subscription. + * Description for Shows whether an app can be cloned to another resource group or subscription. * @summary Shows whether an app can be cloned to another resource group or subscription. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -3464,106 +3800,73 @@ export class WebApps { } /** - * This is to allow calling via powershell and ARM template. - * @summary This is to allow calling via powershell and ARM template. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param [options] The optional parameters - * @returns Promise - */ - listSyncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param callback The callback - */ - listSyncFunctionTriggers(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param options The optional parameters - * @param callback The callback - */ - listSyncFunctionTriggers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSyncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - options - }, - listSyncFunctionTriggersOperationSpec, - callback) as Promise; - } - - /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * @summary Gets all metric definitions of an app (or deployment slot, if specified). + * Description for Gets existing backups of an app. + * @summary Gets existing backups of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; + listSiteBackups(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param callback The callback */ - listMetricDefinitions(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + listSiteBackups(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param options The optional parameters * @param callback The callback */ - listMetricDefinitions(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitions(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSiteBackups(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSiteBackups(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listMetricDefinitionsOperationSpec, - callback) as Promise; + listSiteBackupsOperationSpec, + callback) as Promise; } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * @summary Gets performance metrics of an app (or deployment slot, if specified). + * Description for This is to allow calling via powershell and ARM template. + * @summary This is to allow calling via powershell and ARM template. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listMetrics(resourceGroupName: string, name: string, options?: Models.WebAppsListMetricsOptionalParams): Promise; + listSyncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param callback The callback */ - listMetrics(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; + listSyncFunctionTriggers(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param options The optional parameters * @param callback The callback */ - listMetrics(resourceGroupName: string, name: string, options: Models.WebAppsListMetricsOptionalParams, callback: msRest.ServiceCallback): void; - listMetrics(resourceGroupName: string, name: string, options?: Models.WebAppsListMetricsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSyncFunctionTriggers(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSyncFunctionTriggers(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, options }, - listMetricsOperationSpec, - callback) as Promise; + listSyncFunctionTriggersOperationSpec, + callback) as Promise; } /** - * Restores a web app. + * Description for Restores a web app. * @summary Restores a web app. * @param subscriptionName Azure subscription. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3578,7 +3881,7 @@ export class WebApps { } /** - * Migrates a local (in-app) MySql database to a remote MySql database. + * Description for Migrates a local (in-app) MySql database to a remote MySql database. * @summary Migrates a local (in-app) MySql database to a remote MySql database. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -3592,8 +3895,8 @@ export class WebApps { } /** - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app - * is enabled + * Description for Returns the status of MySql in app migration, if one is active, and whether or + * not MySql in app is enabled * @summary Returns the status of MySql in app migration, if one is active, and whether or not * MySql in app is enabled * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3627,7 +3930,7 @@ export class WebApps { } /** - * Gets a Swift Virtual Network connection. + * Description for Gets a Swift Virtual Network connection. * @summary Gets a Swift Virtual Network connection. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -3660,9 +3963,9 @@ export class WebApps { } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not + * Description for Integrates this Web App with a Virtual Network. This requires that 1) + * "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet + * has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" * is true when doing a GET against this resource, and 2) that the target Subnet has already been @@ -3703,7 +4006,7 @@ export class WebApps { } /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). * @summary Deletes a Swift Virtual Network connection from an app (or deployment slot). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -3736,9 +4039,9 @@ export class WebApps { } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not + * Description for Integrates this Web App with a Virtual Network. This requires that 1) + * "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet + * has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" * is true when doing a GET against this resource, and 2) that the target Subnet has already been @@ -3779,7 +4082,7 @@ export class WebApps { } /** - * Gets all network features used by the app (or deployment slot, if specified). + * Description for Gets all network features used by the app (or deployment slot, if specified). * @summary Gets all network features used by the app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -3816,7 +4119,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3854,7 +4158,7 @@ export class WebApps { } /** - * Start capturing network packets for the site (To be deprecated). + * Description for Start capturing network packets for the site (To be deprecated). * @summary Start capturing network packets for the site (To be deprecated). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -3887,7 +4191,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -3900,7 +4204,7 @@ export class WebApps { } /** - * Stop ongoing capturing network packets for the site. + * Description for Stop ongoing capturing network packets for the site. * @summary Stop ongoing capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -3933,7 +4237,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -3971,7 +4276,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4009,7 +4315,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4047,7 +4354,8 @@ export class WebApps { } /** - * Generates a new publishing password for an app (or deployment slot, if specified). + * Description for Generates a new publishing password for an app (or deployment slot, if + * specified). * @summary Generates a new publishing password for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4080,7 +4388,7 @@ export class WebApps { } /** - * Gets perfmon counters for web app. + * Description for Gets perfmon counters for web app. * @summary Gets perfmon counters for web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -4113,7 +4421,7 @@ export class WebApps { } /** - * Gets web app's event logs. + * Description for Gets web app's event logs. * @summary Gets web app's event logs. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -4146,7 +4454,7 @@ export class WebApps { } /** - * Gets the premier add-ons of an app. + * Description for Gets the premier add-ons of an app. * @summary Gets the premier add-ons of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4179,7 +4487,7 @@ export class WebApps { } /** - * Gets a named add-on of an app. + * Description for Gets a named add-on of an app. * @summary Gets a named add-on of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4216,7 +4524,7 @@ export class WebApps { } /** - * Updates a named add-on of an app. + * Description for Updates a named add-on of an app. * @summary Updates a named add-on of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4257,7 +4565,7 @@ export class WebApps { } /** - * Delete a premier add-on from an app. + * Description for Delete a premier add-on from an app. * @summary Delete a premier add-on from an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4294,7 +4602,7 @@ export class WebApps { } /** - * Updates a named add-on of an app. + * Description for Updates a named add-on of an app. * @summary Updates a named add-on of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4335,8 +4643,8 @@ export class WebApps { } /** - * Gets data around private site access enablement and authorized Virtual Networks that can access - * the site. + * Description for Gets data around private site access enablement and authorized Virtual Networks + * that can access the site. * @summary Gets data around private site access enablement and authorized Virtual Networks that * can access the site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4370,8 +4678,8 @@ export class WebApps { } /** - * Sets data around private site access enablement and authorized Virtual Networks that can access - * the site. + * Description for Sets data around private site access enablement and authorized Virtual Networks + * that can access the site. * @summary Sets data around private site access enablement and authorized Virtual Networks that * can access the site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4409,8 +4717,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4444,7 +4752,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -4481,8 +4790,8 @@ export class WebApps { } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out - * instance in a web site. + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific + * scaled-out instance in a web site. * @summary Terminate a process by its ID for a web site, or a deployment slot, or specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4520,7 +4829,8 @@ export class WebApps { } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a + * web site. * @summary Get a memory dump of a process by its ID for a specific scaled-out instance in a web * site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4558,8 +4868,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4597,7 +4907,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -4638,7 +4949,8 @@ export class WebApps { } /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. * @summary List the threads in a process by its ID for a specific scaled-out instance in a web * site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4676,50 +4988,7 @@ export class WebApps { } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in - * a web site. - * @summary Get thread information by Thread ID for a specific process, in a specific scaled-out - * instance in a web site. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param [options] The optional parameters - * @returns Promise - */ - getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param callback The callback - */ - getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param options The optional parameters - * @param callback The callback - */ - getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessThread(resourceGroupName: string, name: string, processId: string, threadId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - processId, - threadId, - options - }, - getProcessThreadOperationSpec, - callback) as Promise; - } - - /** - * Get public certificates for an app or a deployment slot. + * Description for Get public certificates for an app or a deployment slot. * @summary Get public certificates for an app or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4752,7 +5021,7 @@ export class WebApps { } /** - * Get the named public certificate for an app (or deployment slot, if specified). + * Description for Get the named public certificate for an app (or deployment slot, if specified). * @summary Get the named public certificate for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4789,7 +5058,7 @@ export class WebApps { } /** - * Creates a hostname binding for an app. + * Description for Creates a hostname binding for an app. * @summary Creates a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4833,7 +5102,7 @@ export class WebApps { } /** - * Deletes a hostname binding for an app. + * Description for Deletes a hostname binding for an app. * @summary Deletes a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4870,7 +5139,7 @@ export class WebApps { } /** - * Gets the publishing profile for an app (or deployment slot, if specified). + * Description for Gets the publishing profile for an app (or deployment slot, if specified). * @summary Gets the publishing profile for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4910,8 +5179,8 @@ export class WebApps { } /** - * Resets the configuration settings of the current slot if they were previously modified by - * calling the API with POST. + * Description for Resets the configuration settings of the current slot if they were previously + * modified by calling the API with POST. * @summary Resets the configuration settings of the current slot if they were previously modified * by calling the API with POST. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -4945,7 +5214,7 @@ export class WebApps { } /** - * Restarts an app (or deployment slot, if specified). + * Description for Restarts an app (or deployment slot, if specified). * @summary Restarts an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4978,7 +5247,7 @@ export class WebApps { } /** - * Restores an app from a backup blob in Azure Storage. + * Description for Restores an app from a backup blob in Azure Storage. * @summary Restores an app from a backup blob in Azure Storage. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -4992,7 +5261,7 @@ export class WebApps { } /** - * Restores a deleted web app to this web app. + * Description for Restores a deleted web app to this web app. * @summary Restores a deleted web app to this web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -5006,7 +5275,7 @@ export class WebApps { } /** - * Restores a web app from a snapshot. + * Description for Restores a web app from a snapshot. * @summary Restores a web app from a snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -5021,7 +5290,7 @@ export class WebApps { } /** - * Get list of siteextensions for a web site, or a deployment slot. + * Description for Get list of siteextensions for a web site, or a deployment slot. * @summary Get list of siteextensions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -5054,7 +5323,7 @@ export class WebApps { } /** - * Get site extension information by its ID for a web site, or a deployment slot. + * Description for Get site extension information by its ID for a web site, or a deployment slot. * @summary Get site extension information by its ID for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -5091,7 +5360,7 @@ export class WebApps { } /** - * Install site extension on a web site, or a deployment slot. + * Description for Install site extension on a web site, or a deployment slot. * @summary Install site extension on a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -5105,7 +5374,7 @@ export class WebApps { } /** - * Remove a site extension from a web site, or a deployment slot. + * Description for Remove a site extension from a web site, or a deployment slot. * @summary Remove a site extension from a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -5142,7 +5411,22 @@ export class WebApps { } /** - * Gets an app's deployment slots. + * Description for Copies a deployment slot to another deployment slot of an app. + * @summary Copies a deployment slot to another deployment slot of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param copySlotEntity JSON object that contains the target slot name and site config properties + * to override the source slot config. See example. + * @param [options] The optional parameters + * @returns Promise + */ + copyProductionSlot(resourceGroupName: string, name: string, copySlotEntity: Models.CsmCopySlotEntity, options?: msRest.RequestOptionsBase): Promise { + return this.beginCopyProductionSlot(resourceGroupName,name,copySlotEntity,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Description for Gets an app's deployment slots. * @summary Gets an app's deployment slots. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5175,7 +5459,7 @@ export class WebApps { } /** - * Gets the details of a web, mobile, or API app. + * Description for Gets the details of a web, mobile, or API app. * @summary Gets the details of a web, mobile, or API app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5212,7 +5496,8 @@ export class WebApps { } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates + * an existing app. * @summary Creates a new web, mobile, or API app in an existing resource group, or updates an * existing app. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -5230,7 +5515,7 @@ export class WebApps { } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Description for Deletes a web, mobile, or API app, or one of the deployment slots. * @summary Deletes a web, mobile, or API app, or one of the deployment slots. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app to delete. @@ -5270,7 +5555,8 @@ export class WebApps { } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates + * an existing app. * @summary Creates a new web, mobile, or API app in an existing resource group, or updates an * existing app. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -5318,7 +5604,7 @@ export class WebApps { } /** - * Analyze a custom hostname. + * Description for Analyze a custom hostname. * @summary Analyze a custom hostname. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -5355,7 +5641,7 @@ export class WebApps { } /** - * Applies the configuration settings from the target slot onto the current slot. + * Description for Applies the configuration settings from the target slot onto the current slot. * @summary Applies the configuration settings from the target slot onto the current slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5399,7 +5685,7 @@ export class WebApps { } /** - * Creates a backup of an app. + * Description for Creates a backup of an app. * @summary Creates a backup of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5446,7 +5732,7 @@ export class WebApps { } /** - * Gets existing backups of an app. + * Description for Gets existing backups of an app. * @summary Gets existing backups of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5486,7 +5772,7 @@ export class WebApps { } /** - * Gets a backup of an app by its ID. + * Description for Gets a backup of an app by its ID. * @summary Gets a backup of an app by its ID. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5530,7 +5816,7 @@ export class WebApps { } /** - * Deletes a backup of an app by its ID. + * Description for Deletes a backup of an app by its ID. * @summary Deletes a backup of an app by its ID. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5574,9 +5860,9 @@ export class WebApps { } /** - * Gets status of a web app backup that may be in progress, including secrets associated with the - * backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup - * if a new URL is passed in the request body. + * Description for Gets status of a web app backup that may be in progress, including secrets + * associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the + * SAS URL for the backup if a new URL is passed in the request body. * @summary Gets status of a web app backup that may be in progress, including secrets associated * with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for * the backup if a new URL is passed in the request body. @@ -5623,7 +5909,7 @@ export class WebApps { } /** - * Restores a specific backup to another app (or deployment slot, if specified). + * Description for Restores a specific backup to another app (or deployment slot, if specified). * @summary Restores a specific backup to another app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5640,7 +5926,7 @@ export class WebApps { } /** - * List the configurations of an app + * Description for List the configurations of an app * @summary List the configurations of an app * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5680,7 +5966,7 @@ export class WebApps { } /** - * Replaces the application settings of an app. + * Description for Replaces the application settings of an app. * @summary Replaces the application settings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5724,7 +6010,7 @@ export class WebApps { } /** - * Gets the application settings of an app. + * Description for Gets the application settings of an app. * @summary Gets the application settings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5764,7 +6050,7 @@ export class WebApps { } /** - * Updates the Authentication / Authorization settings associated with web app. + * Description for Updates the Authentication / Authorization settings associated with web app. * @summary Updates the Authentication / Authorization settings associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -5805,7 +6091,7 @@ export class WebApps { } /** - * Gets the Authentication/Authorization settings of an app. + * Description for Gets the Authentication/Authorization settings of an app. * @summary Gets the Authentication/Authorization settings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5845,7 +6131,7 @@ export class WebApps { } /** - * Updates the Azure storage account configurations of an app. + * Description for Updates the Azure storage account configurations of an app. * @summary Updates the Azure storage account configurations of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5889,7 +6175,7 @@ export class WebApps { } /** - * Gets the Azure storage account configurations of an app. + * Description for Gets the Azure storage account configurations of an app. * @summary Gets the Azure storage account configurations of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5929,7 +6215,7 @@ export class WebApps { } /** - * Updates the backup configuration of an app. + * Description for Updates the backup configuration of an app. * @summary Updates the backup configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -5973,7 +6259,7 @@ export class WebApps { } /** - * Deletes the backup configuration of an app. + * Description for Deletes the backup configuration of an app. * @summary Deletes the backup configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6013,7 +6299,7 @@ export class WebApps { } /** - * Gets the backup configuration of an app. + * Description for Gets the backup configuration of an app. * @summary Gets the backup configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6053,7 +6339,7 @@ export class WebApps { } /** - * Replaces the connection strings of an app. + * Description for Replaces the connection strings of an app. * @summary Replaces the connection strings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6097,7 +6383,7 @@ export class WebApps { } /** - * Gets the connection strings of an app. + * Description for Gets the connection strings of an app. * @summary Gets the connection strings of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6137,7 +6423,7 @@ export class WebApps { } /** - * Gets the logging configuration of an app. + * Description for Gets the logging configuration of an app. * @summary Gets the logging configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6177,7 +6463,7 @@ export class WebApps { } /** - * Updates the logging configuration of an app. + * Description for Updates the logging configuration of an app. * @summary Updates the logging configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6224,7 +6510,7 @@ export class WebApps { } /** - * Replaces the metadata of an app. + * Description for Replaces the metadata of an app. * @summary Replaces the metadata of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6268,7 +6554,7 @@ export class WebApps { } /** - * Gets the metadata of an app. + * Description for Gets the metadata of an app. * @summary Gets the metadata of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6308,7 +6594,7 @@ export class WebApps { } /** - * Gets the Git/FTP publishing credentials of an app. + * Description for Gets the Git/FTP publishing credentials of an app. * @summary Gets the Git/FTP publishing credentials of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6323,7 +6609,7 @@ export class WebApps { } /** - * Updates the Push settings associated with web app. + * Description for Updates the Push settings associated with web app. * @summary Updates the Push settings associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -6364,7 +6650,7 @@ export class WebApps { } /** - * Gets the Push settings associated with web app. + * Description for Gets the Push settings associated with web app. * @summary Gets the Push settings associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -6401,8 +6687,8 @@ export class WebApps { } /** - * Gets the configuration of an app, such as platform version and bitness, default documents, - * virtual applications, Always On, etc. + * Description for Gets the configuration of an app, such as platform version and bitness, default + * documents, virtual applications, Always On, etc. * @summary Gets the configuration of an app, such as platform version and bitness, default * documents, virtual applications, Always On, etc. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -6443,7 +6729,7 @@ export class WebApps { } /** - * Updates the configuration of an app. + * Description for Updates the configuration of an app. * @summary Updates the configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6487,7 +6773,7 @@ export class WebApps { } /** - * Updates the configuration of an app. + * Description for Updates the configuration of an app. * @summary Updates the configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6531,8 +6817,8 @@ export class WebApps { } /** - * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a - * timestamp and the ID of the snapshot. + * Description for Gets a list of web app configuration snapshots identifiers. Each element of the + * list contains a timestamp and the ID of the snapshot. * @summary Gets a list of web app configuration snapshots identifiers. Each element of the list * contains a timestamp and the ID of the snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -6573,7 +6859,7 @@ export class WebApps { } /** - * Gets a snapshot of the configuration of an app at a previous point in time. + * Description for Gets a snapshot of the configuration of an app at a previous point in time. * @summary Gets a snapshot of the configuration of an app at a previous point in time. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6617,7 +6903,7 @@ export class WebApps { } /** - * Reverts the configuration of an app to a previous snapshot. + * Description for Reverts the configuration of an app to a previous snapshot. * @summary Reverts the configuration of an app to a previous snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6661,7 +6947,7 @@ export class WebApps { } /** - * Gets the last lines of docker logs for the given site + * Description for Gets the last lines of docker logs for the given site * @summary Gets the last lines of docker logs for the given site * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -6698,7 +6984,7 @@ export class WebApps { } /** - * Gets the ZIP archived docker log files for the given site + * Description for Gets the ZIP archived docker log files for the given site * @summary Gets the ZIP archived docker log files for the given site * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -6735,7 +7021,7 @@ export class WebApps { } /** - * List continuous web jobs for an app, or a deployment slot. + * Description for List continuous web jobs for an app, or a deployment slot. * @summary List continuous web jobs for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -6775,7 +7061,7 @@ export class WebApps { } /** - * Gets a continuous web job by its ID for an app, or a deployment slot. + * Description for Gets a continuous web job by its ID for an app, or a deployment slot. * @summary Gets a continuous web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -6819,7 +7105,7 @@ export class WebApps { } /** - * Delete a continuous web job by its ID for an app, or a deployment slot. + * Description for Delete a continuous web job by its ID for an app, or a deployment slot. * @summary Delete a continuous web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -6863,7 +7149,7 @@ export class WebApps { } /** - * Start a continuous web job for an app, or a deployment slot. + * Description for Start a continuous web job for an app, or a deployment slot. * @summary Start a continuous web job for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -6907,7 +7193,7 @@ export class WebApps { } /** - * Stop a continuous web job for an app, or a deployment slot. + * Description for Stop a continuous web job for an app, or a deployment slot. * @summary Stop a continuous web job for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -6951,7 +7237,7 @@ export class WebApps { } /** - * List deployments for an app, or a deployment slot. + * Description for List deployments for an app, or a deployment slot. * @summary List deployments for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -6991,7 +7277,7 @@ export class WebApps { } /** - * Get a deployment by its ID for an app, or a deployment slot. + * Description for Get a deployment by its ID for an app, or a deployment slot. * @summary Get a deployment by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7035,7 +7321,7 @@ export class WebApps { } /** - * Create a deployment for an app, or a deployment slot. + * Description for Create a deployment for an app, or a deployment slot. * @summary Create a deployment for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7083,7 +7369,7 @@ export class WebApps { } /** - * Delete a deployment by its ID for an app, or a deployment slot. + * Description for Delete a deployment by its ID for an app, or a deployment slot. * @summary Delete a deployment by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7127,7 +7413,7 @@ export class WebApps { } /** - * List deployment log for specific deployment for an app, or a deployment slot. + * Description for List deployment log for specific deployment for an app, or a deployment slot. * @summary List deployment log for specific deployment for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7174,8 +7460,8 @@ export class WebApps { } /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to - * get information about the databases stored in a backup. + * Description for Discovers an existing app backup that can be restored from a blob in Azure + * storage. Use this to get information about the databases stored in a backup. * @summary Discovers an existing app backup that can be restored from a blob in Azure storage. Use * this to get information about the databases stored in a backup. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -7223,7 +7509,7 @@ export class WebApps { } /** - * Lists ownership identifiers for domain associated with web app. + * Description for Lists ownership identifiers for domain associated with web app. * @summary Lists ownership identifiers for domain associated with web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7263,7 +7549,7 @@ export class WebApps { } /** - * Get domain ownership identifier for web app. + * Description for Get domain ownership identifier for web app. * @summary Get domain ownership identifier for web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7307,7 +7593,8 @@ export class WebApps { } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Description for Creates a domain ownership identifier for web app, or updates an existing + * ownership identifier. * @summary Creates a domain ownership identifier for web app, or updates an existing ownership * identifier. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -7356,7 +7643,7 @@ export class WebApps { } /** - * Deletes a domain ownership identifier for a web app. + * Description for Deletes a domain ownership identifier for a web app. * @summary Deletes a domain ownership identifier for a web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7400,7 +7687,8 @@ export class WebApps { } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Description for Creates a domain ownership identifier for web app, or updates an existing + * ownership identifier. * @summary Creates a domain ownership identifier for web app, or updates an existing ownership * identifier. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -7449,7 +7737,7 @@ export class WebApps { } /** - * Get the status of the last MSDeploy operation. + * Description for Get the status of the last MSDeploy operation. * @summary Get the status of the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -7486,7 +7774,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -7501,7 +7789,7 @@ export class WebApps { } /** - * Get the MSDeploy Log for the last MSDeploy operation. + * Description for Get the MSDeploy Log for the last MSDeploy operation. * @summary Get the MSDeploy Log for the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -7538,12 +7826,11 @@ export class WebApps { } /** - * List the functions for a web site, or a deployment slot. + * Description for List the functions for a web site, or a deployment slot. * @summary List the functions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param [options] The optional parameters * @returns Promise */ @@ -7551,16 +7838,14 @@ export class WebApps { /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param callback The callback */ listInstanceFunctionsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param options The optional parameters * @param callback The callback */ @@ -7578,7 +7863,7 @@ export class WebApps { } /** - * Fetch a short lived token that can be exchanged for a master key. + * Description for Fetch a short lived token that can be exchanged for a master key. * @summary Fetch a short lived token that can be exchanged for a master key. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -7615,13 +7900,12 @@ export class WebApps { } /** - * Get function information by its ID for web site, or a deployment slot. + * Description for Get function information by its ID for web site, or a deployment slot. * @summary Get function information by its ID for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param [options] The optional parameters * @returns Promise */ @@ -7630,8 +7914,7 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param callback The callback */ getInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, callback: msRest.ServiceCallback): void; @@ -7639,8 +7922,7 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param options The optional parameters * @param callback The callback */ @@ -7659,13 +7941,12 @@ export class WebApps { } /** - * Create function for web site, or a deployment slot. + * Description for Create function for web site, or a deployment slot. * @summary Create function for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @param [options] The optional parameters * @returns Promise @@ -7676,13 +7957,12 @@ export class WebApps { } /** - * Delete a function for web site, or a deployment slot. + * Description for Delete a function for web site, or a deployment slot. * @summary Delete a function for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param [options] The optional parameters * @returns Promise */ @@ -7691,8 +7971,7 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param callback The callback */ deleteInstanceFunctionSlot(resourceGroupName: string, name: string, functionName: string, slot: string, callback: msRest.ServiceCallback): void; @@ -7700,8 +7979,7 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param options The optional parameters * @param callback The callback */ @@ -7720,54 +7998,391 @@ export class WebApps { } /** - * Get function secrets for a function in a web site, or a deployment slot. - * @summary Get function secrets for a function in a web site, or a deployment slot. + * Description for Add or update a function secret. + * @summary Add or update a function secret. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + createOrUpdateFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update * @param callback The callback */ - listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, callback: msRest.ServiceCallback): void; + createOrUpdateFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, key: Models.KeyInfo, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update * @param options The optional parameters * @param callback The callback */ - listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdateFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, key: Models.KeyInfo, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdateFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, functionName, + keyName, slot, + key, options }, - listFunctionSecretsSlotOperationSpec, - callback) as Promise; + createOrUpdateFunctionSecretSlotOperationSpec, + callback) as Promise; } /** - * Get hostname bindings for an app or a deployment slot. - * @summary Get hostname bindings for an app or a deployment slot. + * Description for Delete a function secret. + * @summary Delete a function secret. * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + deleteFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + deleteFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + deleteFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteFunctionSecretSlot(resourceGroupName: string, name: string, functionName: string, keyName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + functionName, + keyName, + slot, + options + }, + deleteFunctionSecretSlotOperationSpec, + callback); + } + + /** + * Description for Get function keys for a function in a web site, or a deployment slot. + * @summary Get function keys for a function in a web site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + listFunctionKeysSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + listFunctionKeysSlot(resourceGroupName: string, name: string, functionName: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + listFunctionKeysSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listFunctionKeysSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + functionName, + slot, + options + }, + listFunctionKeysSlotOperationSpec, + callback) as Promise; + } + + /** + * Description for Get function secrets for a function in a web site, or a deployment slot. + * @summary Get function secrets for a function in a web site, or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listFunctionSecretsSlot(resourceGroupName: string, name: string, functionName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + functionName, + slot, + options + }, + listFunctionSecretsSlotOperationSpec, + callback) as Promise; + } + + /** + * Description for Get host secrets for a function app. + * @summary Get host secrets for a function app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + listHostKeysSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + listHostKeysSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + listHostKeysSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listHostKeysSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + listHostKeysSlotOperationSpec, + callback) as Promise; + } + + /** + * Description for This is to allow calling via powershell and ARM template. + * @summary This is to allow calling via powershell and ARM template. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + listSyncStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + listSyncStatusSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + listSyncStatusSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSyncStatusSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + listSyncStatusSlotOperationSpec, + callback); + } + + /** + * Description for Syncs function trigger metadata to the management database + * @summary Syncs function trigger metadata to the management database + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + syncFunctionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + syncFunctionsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + syncFunctionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + syncFunctionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + slot, + options + }, + syncFunctionsSlotOperationSpec, + callback); + } + + /** + * Description for Add or update a host level secret. + * @summary Add or update a host level secret. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdateHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @param callback The callback + */ + createOrUpdateHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, key: Models.KeyInfo, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdateHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, key: Models.KeyInfo, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdateHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, key: Models.KeyInfo, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + keyType, + keyName, + slot, + key, + options + }, + createOrUpdateHostSecretSlotOperationSpec, + callback) as Promise; + } + + /** + * Description for Delete a host level secret. + * @summary Delete a host level secret. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param [options] The optional parameters + * @returns Promise + */ + deleteHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param callback The callback + */ + deleteHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param options The optional parameters + * @param callback The callback + */ + deleteHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteHostSecretSlot(resourceGroupName: string, name: string, keyType: string, keyName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + keyType, + keyName, + slot, + options + }, + deleteHostSecretSlotOperationSpec, + callback); + } + + /** + * Description for Get hostname bindings for an app or a deployment slot. + * @summary Get hostname bindings for an app or a deployment slot. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. * @param slot Name of the deployment slot. If a slot is not specified, the API gets hostname * bindings for the production slot. * @param [options] The optional parameters @@ -7804,7 +8419,7 @@ export class WebApps { } /** - * Get the named hostname binding for an app (or deployment slot, if specified). + * Description for Get the named hostname binding for an app (or deployment slot, if specified). * @summary Get the named hostname binding for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7848,7 +8463,7 @@ export class WebApps { } /** - * Creates a hostname binding for an app. + * Description for Creates a hostname binding for an app. * @summary Creates a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7899,7 +8514,7 @@ export class WebApps { } /** - * Deletes a hostname binding for an app. + * Description for Deletes a hostname binding for an app. * @summary Deletes a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -7943,7 +8558,7 @@ export class WebApps { } /** - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. * @summary Retrieves a specific Service Bus Hybrid Connection used by this Web App. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -7988,7 +8603,7 @@ export class WebApps { } /** - * Creates a new Hybrid Connection using a Service Bus relay. + * Description for Creates a new Hybrid Connection using a Service Bus relay. * @summary Creates a new Hybrid Connection using a Service Bus relay. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -8037,7 +8652,7 @@ export class WebApps { } /** - * Removes a Hybrid Connection from this site. + * Description for Removes a Hybrid Connection from this site. * @summary Removes a Hybrid Connection from this site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -8082,7 +8697,7 @@ export class WebApps { } /** - * Creates a new Hybrid Connection using a Service Bus relay. + * Description for Creates a new Hybrid Connection using a Service Bus relay. * @summary Creates a new Hybrid Connection using a Service Bus relay. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -8131,52 +8746,7 @@ export class WebApps { } /** - * Gets the send key name and value for a Hybrid Connection. - * @summary Gets the send key name and value for a Hybrid Connection. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param [options] The optional parameters - * @returns Promise - */ - listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param callback The callback - */ - listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param options The optional parameters - * @param callback The callback - */ - listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listHybridConnectionKeysSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - namespaceName, - relayName, - slot, - options - }, - listHybridConnectionKeysSlotOperationSpec, - callback) as Promise; - } - - /** - * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Description for Retrieves all Service Bus Hybrid Connections used by this Web App. * @summary Retrieves all Service Bus Hybrid Connections used by this Web App. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -8213,7 +8783,8 @@ export class WebApps { } /** - * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Description for Gets hybrid connections configured for an app (or deployment slot, if + * specified). * @summary Gets hybrid connections configured for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -8253,7 +8824,7 @@ export class WebApps { } /** - * Gets a hybrid connection configuration by its name. + * Description for Gets a hybrid connection configuration by its name. * @summary Gets a hybrid connection configuration by its name. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -8297,7 +8868,8 @@ export class WebApps { } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one + * (PATCH). * @summary Creates a new hybrid connection configuration (PUT), or updates an existing one * (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -8346,7 +8918,7 @@ export class WebApps { } /** - * Deletes a relay service connection by its name. + * Description for Deletes a relay service connection by its name. * @summary Deletes a relay service connection by its name. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -8390,7 +8962,8 @@ export class WebApps { } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Description for Creates a new hybrid connection configuration (PUT), or updates an existing one + * (PATCH). * @summary Creates a new hybrid connection configuration (PUT), or updates an existing one * (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -8439,7 +9012,7 @@ export class WebApps { } /** - * Gets all scale-out instances of an app. + * Description for Gets all scale-out instances of an app. * @summary Gets all scale-out instances of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -8479,7 +9052,51 @@ export class WebApps { } /** - * Get the status of the last MSDeploy operation. + * Description for Gets all scale-out instances of an app. + * @summary Gets all scale-out instances of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param instanceId + * @param slot Name of the deployment slot. If a slot is not specified, the API gets the production + * slot instances. + * @param [options] The optional parameters + * @returns Promise + */ + getInstanceInfoSlot(resourceGroupName: string, name: string, instanceId: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param instanceId + * @param slot Name of the deployment slot. If a slot is not specified, the API gets the production + * slot instances. + * @param callback The callback + */ + getInstanceInfoSlot(resourceGroupName: string, name: string, instanceId: string, slot: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param instanceId + * @param slot Name of the deployment slot. If a slot is not specified, the API gets the production + * slot instances. + * @param options The optional parameters + * @param callback The callback + */ + getInstanceInfoSlot(resourceGroupName: string, name: string, instanceId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getInstanceInfoSlot(resourceGroupName: string, name: string, instanceId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + name, + instanceId, + slot, + options + }, + getInstanceInfoSlotOperationSpec, + callback) as Promise; + } + + /** + * Description for Get the status of the last MSDeploy operation. * @summary Get the status of the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -8520,7 +9137,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -8536,7 +9153,7 @@ export class WebApps { } /** - * Get the MSDeploy Log for the last MSDeploy operation. + * Description for Get the MSDeploy Log for the last MSDeploy operation. * @summary Get the MSDeploy Log for the last MSDeploy operation. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -8577,8 +9194,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -8626,7 +9243,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -8677,8 +9295,8 @@ export class WebApps { } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out - * instance in a web site. + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific + * scaled-out instance in a web site. * @summary Terminate a process by its ID for a web site, or a deployment slot, or specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -8730,7 +9348,8 @@ export class WebApps { } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a + * web site. * @summary Get a memory dump of a process by its ID for a specific scaled-out instance in a web * site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -8782,8 +9401,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -8835,7 +9454,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -8890,7 +9510,8 @@ export class WebApps { } /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. * @summary List the threads in a process by its ID for a specific scaled-out instance in a web * site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -8942,64 +9563,7 @@ export class WebApps { } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in - * a web site. - * @summary Get thread information by Thread ID for a specific process, in a specific scaled-out - * instance in a web site. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments - * for the production slot. - * @param instanceId ID of a specific scaled-out instance. This is the value of the name property - * in the JSON response from "GET api/sites/{siteName}/instances". - * @param [options] The optional parameters - * @returns Promise - */ - getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments - * for the production slot. - * @param instanceId ID of a specific scaled-out instance. This is the value of the name property - * in the JSON response from "GET api/sites/{siteName}/instances". - * @param callback The callback - */ - getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments - * for the production slot. - * @param instanceId ID of a specific scaled-out instance. This is the value of the name property - * in the JSON response from "GET api/sites/{siteName}/instances". - * @param options The optional parameters - * @param callback The callback - */ - getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getInstanceProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - processId, - threadId, - slot, - instanceId, - options - }, - getInstanceProcessThreadSlotOperationSpec, - callback) as Promise; - } - - /** - * Shows whether an app can be cloned to another resource group or subscription. + * Description for Shows whether an app can be cloned to another resource group or subscription. * @summary Shows whether an app can be cloned to another resource group or subscription. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9039,74 +9603,34 @@ export class WebApps { } /** - * This is to allow calling via powershell and ARM template. - * @summary This is to allow calling via powershell and ARM template. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a - * backup of the production slot. - * @param [options] The optional parameters - * @returns Promise - */ - listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a - * backup of the production slot. - * @param callback The callback - */ - listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a - * backup of the production slot. - * @param options The optional parameters - * @param callback The callback - */ - listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - slot, - options - }, - listSyncFunctionTriggersSlotOperationSpec, - callback) as Promise; - } - - /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * @summary Gets all metric definitions of an app (or deployment slot, if specified). + * Description for Gets existing backups of an app. + * @summary Gets existing backups of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get metric - * definitions of the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get backups of + * the production slot. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + listSiteBackupsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get metric - * definitions of the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get backups of + * the production slot. * @param callback The callback */ - listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + listSiteBackupsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get metric - * definitions of the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get backups of + * the production slot. * @param options The optional parameters * @param callback The callback */ - listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitionsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSiteBackupsSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSiteBackupsSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9114,39 +9638,36 @@ export class WebApps { slot, options }, - listMetricDefinitionsSlotOperationSpec, - callback) as Promise; + listSiteBackupsSlotOperationSpec, + callback) as Promise; } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * @summary Gets performance metrics of an app (or deployment slot, if specified). + * Description for This is to allow calling via powershell and ARM template. + * @summary This is to allow calling via powershell and ARM template. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of - * the production slot. + * @param slot Name of the deployment slot. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listMetricsSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListMetricsSlotOptionalParams): Promise; + listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of - * the production slot. + * @param slot Name of the deployment slot. * @param callback The callback */ - listMetricsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; + listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of - * the production slot. + * @param slot Name of the deployment slot. * @param options The optional parameters * @param callback The callback */ - listMetricsSlot(resourceGroupName: string, name: string, slot: string, options: Models.WebAppsListMetricsSlotOptionalParams, callback: msRest.ServiceCallback): void; - listMetricsSlot(resourceGroupName: string, name: string, slot: string, options?: Models.WebAppsListMetricsSlotOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSyncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -9154,13 +9675,13 @@ export class WebApps { slot, options }, - listMetricsSlotOperationSpec, - callback) as Promise; + listSyncFunctionTriggersSlotOperationSpec, + callback) as Promise; } /** - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app - * is enabled + * Description for Returns the status of MySql in app migration, if one is active, and whether or + * not MySql in app is enabled * @summary Returns the status of MySql in app migration, if one is active, and whether or not * MySql in app is enabled * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -9198,7 +9719,7 @@ export class WebApps { } /** - * Gets a Swift Virtual Network connection. + * Description for Gets a Swift Virtual Network connection. * @summary Gets a Swift Virtual Network connection. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9238,9 +9759,9 @@ export class WebApps { } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not + * Description for Integrates this Web App with a Virtual Network. This requires that 1) + * "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet + * has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" * is true when doing a GET against this resource, and 2) that the target Subnet has already been @@ -9288,7 +9809,7 @@ export class WebApps { } /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). * @summary Deletes a Swift Virtual Network connection from an app (or deployment slot). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9328,9 +9849,9 @@ export class WebApps { } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true - * when doing a GET against this resource, and 2) that the target Subnet has already been - * delegated, and is not + * Description for Integrates this Web App with a Virtual Network. This requires that 1) + * "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet + * has already been delegated, and is not * in use by another App Service Plan other than the one this App is in. * @summary Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" * is true when doing a GET against this resource, and 2) that the target Subnet has already been @@ -9378,7 +9899,7 @@ export class WebApps { } /** - * Gets all network features used by the app (or deployment slot, if specified). + * Description for Gets all network features used by the app (or deployment slot, if specified). * @summary Gets all network features used by the app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9422,7 +9943,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -9467,7 +9989,7 @@ export class WebApps { } /** - * Start capturing network packets for the site (To be deprecated). + * Description for Start capturing network packets for the site (To be deprecated). * @summary Start capturing network packets for the site (To be deprecated). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -9504,7 +10026,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -9518,7 +10040,7 @@ export class WebApps { } /** - * Stop ongoing capturing network packets for the site. + * Description for Stop ongoing capturing network packets for the site. * @summary Stop ongoing capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -9555,7 +10077,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -9600,7 +10123,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -9645,7 +10169,8 @@ export class WebApps { } /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Description for Gets a named operation for a network trace capturing (or deployment slot, if + * specified). * @summary Gets a named operation for a network trace capturing (or deployment slot, if * specified). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -9690,7 +10215,8 @@ export class WebApps { } /** - * Generates a new publishing password for an app (or deployment slot, if specified). + * Description for Generates a new publishing password for an app (or deployment slot, if + * specified). * @summary Generates a new publishing password for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9730,7 +10256,7 @@ export class WebApps { } /** - * Gets perfmon counters for web app. + * Description for Gets perfmon counters for web app. * @summary Gets perfmon counters for web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -9767,7 +10293,7 @@ export class WebApps { } /** - * Gets web app's event logs. + * Description for Gets web app's event logs. * @summary Gets web app's event logs. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -9804,7 +10330,7 @@ export class WebApps { } /** - * Gets the premier add-ons of an app. + * Description for Gets the premier add-ons of an app. * @summary Gets the premier add-ons of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9844,7 +10370,7 @@ export class WebApps { } /** - * Gets a named add-on of an app. + * Description for Gets a named add-on of an app. * @summary Gets a named add-on of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9888,7 +10414,7 @@ export class WebApps { } /** - * Updates a named add-on of an app. + * Description for Updates a named add-on of an app. * @summary Updates a named add-on of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9936,7 +10462,7 @@ export class WebApps { } /** - * Delete a premier add-on from an app. + * Description for Delete a premier add-on from an app. * @summary Delete a premier add-on from an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -9980,7 +10506,7 @@ export class WebApps { } /** - * Updates a named add-on of an app. + * Description for Updates a named add-on of an app. * @summary Updates a named add-on of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10028,8 +10554,8 @@ export class WebApps { } /** - * Gets data around private site access enablement and authorized Virtual Networks that can access - * the site. + * Description for Gets data around private site access enablement and authorized Virtual Networks + * that can access the site. * @summary Gets data around private site access enablement and authorized Virtual Networks that * can access the site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -10067,8 +10593,8 @@ export class WebApps { } /** - * Sets data around private site access enablement and authorized Virtual Networks that can access - * the site. + * Description for Sets data around private site access enablement and authorized Virtual Networks + * that can access the site. * @summary Sets data around private site access enablement and authorized Virtual Networks that * can access the site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -10110,8 +10636,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -10152,7 +10678,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -10196,8 +10723,8 @@ export class WebApps { } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out - * instance in a web site. + * Description for Terminate a process by its ID for a web site, or a deployment slot, or specific + * scaled-out instance in a web site. * @summary Terminate a process by its ID for a web site, or a deployment slot, or specific * scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -10242,7 +10769,8 @@ export class WebApps { } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a + * web site. * @summary Get a memory dump of a process by its ID for a specific scaled-out instance in a web * site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -10287,8 +10815,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -10333,7 +10861,8 @@ export class WebApps { } /** - * Get process information by its ID for a specific scaled-out instance in a web site. + * Description for Get process information by its ID for a specific scaled-out instance in a web + * site. * @summary Get process information by its ID for a specific scaled-out instance in a web site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -10376,107 +10905,58 @@ export class WebApps { slot, options }, - getProcessModuleSlotOperationSpec, - callback) as Promise; - } - - /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. - * @summary List the threads in a process by its ID for a specific scaled-out instance in a web - * site. - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments - * for the production slot. - * @param [options] The optional parameters - * @returns Promise - */ - listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments - * for the production slot. - * @param callback The callback - */ - listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments - * for the production slot. - * @param options The optional parameters - * @param callback The callback - */ - listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - name, - processId, - slot, - options - }, - listProcessThreadsSlotOperationSpec, - callback) as Promise; + getProcessModuleSlotOperationSpec, + callback) as Promise; } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in - * a web site. - * @summary Get thread information by Thread ID for a specific process, in a specific scaled-out - * instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. + * @summary List the threads in a process by its ID for a specific scaled-out instance in a web + * site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param threadId TID. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments * for the production slot. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, options?: msRest.RequestOptionsBase): Promise; + listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param threadId TID. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments * for the production slot. * @param callback The callback */ - getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, callback: msRest.ServiceCallback): void; + listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param threadId TID. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments * for the production slot. * @param options The optional parameters * @param callback The callback */ - getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getProcessThreadSlot(resourceGroupName: string, name: string, processId: string, threadId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listProcessThreadsSlot(resourceGroupName: string, name: string, processId: string, slot: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, name, processId, - threadId, slot, options }, - getProcessThreadSlotOperationSpec, - callback) as Promise; + listProcessThreadsSlotOperationSpec, + callback) as Promise; } /** - * Get public certificates for an app or a deployment slot. + * Description for Get public certificates for an app or a deployment slot. * @summary Get public certificates for an app or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10516,7 +10996,7 @@ export class WebApps { } /** - * Get the named public certificate for an app (or deployment slot, if specified). + * Description for Get the named public certificate for an app (or deployment slot, if specified). * @summary Get the named public certificate for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10560,7 +11040,7 @@ export class WebApps { } /** - * Creates a hostname binding for an app. + * Description for Creates a hostname binding for an app. * @summary Creates a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10611,7 +11091,7 @@ export class WebApps { } /** - * Deletes a hostname binding for an app. + * Description for Deletes a hostname binding for an app. * @summary Deletes a hostname binding for an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10655,7 +11135,7 @@ export class WebApps { } /** - * Gets the publishing profile for an app (or deployment slot, if specified). + * Description for Gets the publishing profile for an app (or deployment slot, if specified). * @summary Gets the publishing profile for an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10702,8 +11182,8 @@ export class WebApps { } /** - * Resets the configuration settings of the current slot if they were previously modified by - * calling the API with POST. + * Description for Resets the configuration settings of the current slot if they were previously + * modified by calling the API with POST. * @summary Resets the configuration settings of the current slot if they were previously modified * by calling the API with POST. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -10744,7 +11224,7 @@ export class WebApps { } /** - * Restarts an app (or deployment slot, if specified). + * Description for Restarts an app (or deployment slot, if specified). * @summary Restarts an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10784,7 +11264,7 @@ export class WebApps { } /** - * Restores an app from a backup blob in Azure Storage. + * Description for Restores an app from a backup blob in Azure Storage. * @summary Restores an app from a backup blob in Azure Storage. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -10800,7 +11280,7 @@ export class WebApps { } /** - * Restores a deleted web app to this web app. + * Description for Restores a deleted web app to this web app. * @summary Restores a deleted web app to this web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -10815,7 +11295,7 @@ export class WebApps { } /** - * Restores a web app from a snapshot. + * Description for Restores a web app from a snapshot. * @summary Restores a web app from a snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -10831,12 +11311,12 @@ export class WebApps { } /** - * Get list of siteextensions for a web site, or a deployment slot. + * Description for Get list of siteextensions for a web site, or a deployment slot. * @summary Get list of siteextensions for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -10844,16 +11324,16 @@ export class WebApps { /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param callback The callback */ listSiteExtensionsSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param options The optional parameters * @param callback The callback */ @@ -10871,13 +11351,13 @@ export class WebApps { } /** - * Get site extension information by its ID for a web site, or a deployment slot. + * Description for Get site extension information by its ID for a web site, or a deployment slot. * @summary Get site extension information by its ID for a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param siteExtensionId Site extension name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -10886,8 +11366,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param siteExtensionId Site extension name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param callback The callback */ getSiteExtensionSlot(resourceGroupName: string, name: string, siteExtensionId: string, slot: string, callback: msRest.ServiceCallback): void; @@ -10895,8 +11375,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param siteExtensionId Site extension name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param options The optional parameters * @param callback The callback */ @@ -10915,13 +11395,13 @@ export class WebApps { } /** - * Install site extension on a web site, or a deployment slot. + * Description for Install site extension on a web site, or a deployment slot. * @summary Install site extension on a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param siteExtensionId Site extension name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -10931,7 +11411,7 @@ export class WebApps { } /** - * Remove a site extension from a web site, or a deployment slot. + * Description for Remove a site extension from a web site, or a deployment slot. * @summary Remove a site extension from a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -10975,7 +11455,24 @@ export class WebApps { } /** - * Get the difference in configuration settings between two web app slots. + * Description for Copies a deployment slot to another deployment slot of an app. + * @summary Copies a deployment slot to another deployment slot of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param copySlotEntity JSON object that contains the target slot name and site config properties + * to override the source slot config. See example. + * @param slot Name of the source slot. If a slot is not specified, the production slot is used as + * the source slot. + * @param [options] The optional parameters + * @returns Promise + */ + copySlotSlot(resourceGroupName: string, name: string, copySlotEntity: Models.CsmCopySlotEntity, slot: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginCopySlotSlot(resourceGroupName,name,copySlotEntity,slot,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Description for Get the difference in configuration settings between two web app slots. * @summary Get the difference in configuration settings between two web app slots. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11019,7 +11516,7 @@ export class WebApps { } /** - * Swaps two deployment slots of an app. + * Description for Swaps two deployment slots of an app. * @summary Swaps two deployment slots of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11035,7 +11532,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user. + * Description for Returns all Snapshots to the user. * @summary Returns all Snapshots to the user. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Website Name. @@ -11072,7 +11569,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user from DRSecondary endpoint. + * Description for Returns all Snapshots to the user from DRSecondary endpoint. * @summary Returns all Snapshots to the user from DRSecondary endpoint. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Website Name. @@ -11109,7 +11606,7 @@ export class WebApps { } /** - * Gets the source control configuration of an app. + * Description for Gets the source control configuration of an app. * @summary Gets the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11149,7 +11646,7 @@ export class WebApps { } /** - * Updates the source control configuration of an app. + * Description for Updates the source control configuration of an app. * @summary Updates the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11165,7 +11662,7 @@ export class WebApps { } /** - * Deletes the source control configuration of an app. + * Description for Deletes the source control configuration of an app. * @summary Deletes the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11205,7 +11702,7 @@ export class WebApps { } /** - * Updates the source control configuration of an app. + * Description for Updates the source control configuration of an app. * @summary Updates the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11249,7 +11746,7 @@ export class WebApps { } /** - * Starts an app (or deployment slot, if specified). + * Description for Starts an app (or deployment slot, if specified). * @summary Starts an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11289,7 +11786,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -11303,7 +11800,7 @@ export class WebApps { } /** - * Stops an app (or deployment slot, if specified). + * Description for Stops an app (or deployment slot, if specified). * @summary Stops an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11343,7 +11840,7 @@ export class WebApps { } /** - * Stop ongoing capturing network packets for the site. + * Description for Stop ongoing capturing network packets for the site. * @summary Stop ongoing capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -11380,7 +11877,7 @@ export class WebApps { } /** - * Sync web app repository. + * Description for Sync web app repository. * @summary Sync web app repository. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -11417,12 +11914,11 @@ export class WebApps { } /** - * Syncs function trigger metadata to the scale controller - * @summary Syncs function trigger metadata to the scale controller + * Description for Syncs function trigger metadata to the management database + * @summary Syncs function trigger metadata to the management database * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a - * backup of the production slot. + * @param slot Name of the deployment slot. * @param [options] The optional parameters * @returns Promise */ @@ -11430,16 +11926,14 @@ export class WebApps { /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a - * backup of the production slot. + * @param slot Name of the deployment slot. * @param callback The callback */ syncFunctionTriggersSlot(resourceGroupName: string, name: string, slot: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a - * backup of the production slot. + * @param slot Name of the deployment slot. * @param options The optional parameters * @param callback The callback */ @@ -11457,7 +11951,7 @@ export class WebApps { } /** - * List triggered web jobs for an app, or a deployment slot. + * Description for List triggered web jobs for an app, or a deployment slot. * @summary List triggered web jobs for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -11497,13 +11991,13 @@ export class WebApps { } /** - * Gets a triggered web job by its ID for an app, or a deployment slot. + * Description for Gets a triggered web job by its ID for an app, or a deployment slot. * @summary Gets a triggered web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -11512,8 +12006,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param callback The callback */ getTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, callback: msRest.ServiceCallback): void; @@ -11521,8 +12015,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param options The optional parameters * @param callback The callback */ @@ -11541,13 +12035,13 @@ export class WebApps { } /** - * Delete a triggered web job by its ID for an app, or a deployment slot. + * Description for Delete a triggered web job by its ID for an app, or a deployment slot. * @summary Delete a triggered web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API deletes web job for + * the production slot. * @param [options] The optional parameters * @returns Promise */ @@ -11556,8 +12050,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API deletes web job for + * the production slot. * @param callback The callback */ deleteTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, callback: msRest.ServiceCallback): void; @@ -11565,8 +12059,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API deletes web job for + * the production slot. * @param options The optional parameters * @param callback The callback */ @@ -11585,13 +12079,13 @@ export class WebApps { } /** - * List a triggered web job's history for an app, or a deployment slot. + * Description for List a triggered web job's history for an app, or a deployment slot. * @summary List a triggered web job's history for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -11600,8 +12094,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param callback The callback */ listTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, slot: string, callback: msRest.ServiceCallback): void; @@ -11609,8 +12103,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param options The optional parameters * @param callback The callback */ @@ -11629,14 +12123,14 @@ export class WebApps { } /** - * Gets a triggered web job's history by its ID for an app, , or a deployment slot. + * Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. * @summary Gets a triggered web job's history by its ID for an app, , or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. * @param id History ID. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -11646,8 +12140,8 @@ export class WebApps { * @param name Site name. * @param webJobName Name of Web Job. * @param id History ID. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param callback The callback */ getTriggeredWebJobHistorySlot(resourceGroupName: string, name: string, webJobName: string, id: string, slot: string, callback: msRest.ServiceCallback): void; @@ -11656,8 +12150,8 @@ export class WebApps { * @param name Site name. * @param webJobName Name of Web Job. * @param id History ID. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param options The optional parameters * @param callback The callback */ @@ -11677,13 +12171,13 @@ export class WebApps { } /** - * Run a triggered web job for an app, or a deployment slot. + * Description for Run a triggered web job for an app, or a deployment slot. * @summary Run a triggered web job for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -11692,8 +12186,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param callback The callback */ runTriggeredWebJobSlot(resourceGroupName: string, name: string, webJobName: string, slot: string, callback: msRest.ServiceCallback): void; @@ -11701,8 +12195,8 @@ export class WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param options The optional parameters * @param callback The callback */ @@ -11721,7 +12215,7 @@ export class WebApps { } /** - * Gets the quota usage information of an app (or deployment slot, if specified). + * Description for Gets the quota usage information of an app (or deployment slot, if specified). * @summary Gets the quota usage information of an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11761,7 +12255,7 @@ export class WebApps { } /** - * Gets the virtual networks the app (or deployment slot) is connected to. + * Description for Gets the virtual networks the app (or deployment slot) is connected to. * @summary Gets the virtual networks the app (or deployment slot) is connected to. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11801,7 +12295,7 @@ export class WebApps { } /** - * Gets a virtual network the app (or deployment slot) is connected to by name. + * Description for Gets a virtual network the app (or deployment slot) is connected to by name. * @summary Gets a virtual network the app (or deployment slot) is connected to by name. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11845,8 +12339,8 @@ export class WebApps { } /** - * Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties - * (PATCH). + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the + * connection properties (PATCH). * @summary Adds a Virtual Network connection to an app or slot (PUT) or updates the connection * properties (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -11895,7 +12389,7 @@ export class WebApps { } /** - * Deletes a connection from an app (or deployment slot to a named virtual network. + * Description for Deletes a connection from an app (or deployment slot to a named virtual network. * @summary Deletes a connection from an app (or deployment slot to a named virtual network. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -11939,8 +12433,8 @@ export class WebApps { } /** - * Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties - * (PATCH). + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the + * connection properties (PATCH). * @summary Adds a Virtual Network connection to an app or slot (PUT) or updates the connection * properties (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -11989,7 +12483,7 @@ export class WebApps { } /** - * Gets an app's Virtual Network gateway. + * Description for Gets an app's Virtual Network gateway. * @summary Gets an app's Virtual Network gateway. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12037,7 +12531,7 @@ export class WebApps { } /** - * Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @summary Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12089,7 +12583,7 @@ export class WebApps { } /** - * Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @summary Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12141,7 +12635,7 @@ export class WebApps { } /** - * List webjobs for an app, or a deployment slot. + * Description for List webjobs for an app, or a deployment slot. * @summary List webjobs for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12181,7 +12675,7 @@ export class WebApps { } /** - * Get webjob information for an app, or a deployment slot. + * Description for Get webjob information for an app, or a deployment slot. * @summary Get webjob information for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12225,7 +12719,7 @@ export class WebApps { } /** - * Get the difference in configuration settings between two web app slots. + * Description for Get the difference in configuration settings between two web app slots. * @summary Get the difference in configuration settings between two web app slots. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12262,7 +12756,7 @@ export class WebApps { } /** - * Swaps two deployment slots of an app. + * Description for Swaps two deployment slots of an app. * @summary Swaps two deployment slots of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12276,7 +12770,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user. + * Description for Returns all Snapshots to the user. * @summary Returns all Snapshots to the user. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Website Name. @@ -12309,7 +12803,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user from DRSecondary endpoint. + * Description for Returns all Snapshots to the user from DRSecondary endpoint. * @summary Returns all Snapshots to the user from DRSecondary endpoint. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Website Name. @@ -12342,7 +12836,7 @@ export class WebApps { } /** - * Gets the source control configuration of an app. + * Description for Gets the source control configuration of an app. * @summary Gets the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12375,7 +12869,7 @@ export class WebApps { } /** - * Updates the source control configuration of an app. + * Description for Updates the source control configuration of an app. * @summary Updates the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12389,7 +12883,7 @@ export class WebApps { } /** - * Deletes the source control configuration of an app. + * Description for Deletes the source control configuration of an app. * @summary Deletes the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12422,7 +12916,7 @@ export class WebApps { } /** - * Updates the source control configuration of an app. + * Description for Updates the source control configuration of an app. * @summary Updates the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12459,7 +12953,7 @@ export class WebApps { } /** - * Starts an app (or deployment slot, if specified). + * Description for Starts an app (or deployment slot, if specified). * @summary Starts an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12492,7 +12986,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -12505,7 +12999,7 @@ export class WebApps { } /** - * Stops an app (or deployment slot, if specified). + * Description for Stops an app (or deployment slot, if specified). * @summary Stops an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12538,7 +13032,7 @@ export class WebApps { } /** - * Stop ongoing capturing network packets for the site. + * Description for Stop ongoing capturing network packets for the site. * @summary Stop ongoing capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -12571,7 +13065,7 @@ export class WebApps { } /** - * Sync web app repository. + * Description for Sync web app repository. * @summary Sync web app repository. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -12604,8 +13098,8 @@ export class WebApps { } /** - * Syncs function trigger metadata to the scale controller - * @summary Syncs function trigger metadata to the scale controller + * Description for Syncs function trigger metadata to the management database + * @summary Syncs function trigger metadata to the management database * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param [options] The optional parameters @@ -12637,7 +13131,7 @@ export class WebApps { } /** - * List triggered web jobs for an app, or a deployment slot. + * Description for List triggered web jobs for an app, or a deployment slot. * @summary List triggered web jobs for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12670,7 +13164,7 @@ export class WebApps { } /** - * Gets a triggered web job by its ID for an app, or a deployment slot. + * Description for Gets a triggered web job by its ID for an app, or a deployment slot. * @summary Gets a triggered web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12707,7 +13201,7 @@ export class WebApps { } /** - * Delete a triggered web job by its ID for an app, or a deployment slot. + * Description for Delete a triggered web job by its ID for an app, or a deployment slot. * @summary Delete a triggered web job by its ID for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12744,7 +13238,7 @@ export class WebApps { } /** - * List a triggered web job's history for an app, or a deployment slot. + * Description for List a triggered web job's history for an app, or a deployment slot. * @summary List a triggered web job's history for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12781,7 +13275,7 @@ export class WebApps { } /** - * Gets a triggered web job's history by its ID for an app, , or a deployment slot. + * Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. * @summary Gets a triggered web job's history by its ID for an app, , or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12822,7 +13316,7 @@ export class WebApps { } /** - * Run a triggered web job for an app, or a deployment slot. + * Description for Run a triggered web job for an app, or a deployment slot. * @summary Run a triggered web job for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -12859,7 +13353,7 @@ export class WebApps { } /** - * Gets the quota usage information of an app (or deployment slot, if specified). + * Description for Gets the quota usage information of an app (or deployment slot, if specified). * @summary Gets the quota usage information of an app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12892,7 +13386,7 @@ export class WebApps { } /** - * Gets the virtual networks the app (or deployment slot) is connected to. + * Description for Gets the virtual networks the app (or deployment slot) is connected to. * @summary Gets the virtual networks the app (or deployment slot) is connected to. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12925,7 +13419,7 @@ export class WebApps { } /** - * Gets a virtual network the app (or deployment slot) is connected to by name. + * Description for Gets a virtual network the app (or deployment slot) is connected to by name. * @summary Gets a virtual network the app (or deployment slot) is connected to by name. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -12962,8 +13456,8 @@ export class WebApps { } /** - * Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties - * (PATCH). + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the + * connection properties (PATCH). * @summary Adds a Virtual Network connection to an app or slot (PUT) or updates the connection * properties (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -13005,7 +13499,7 @@ export class WebApps { } /** - * Deletes a connection from an app (or deployment slot to a named virtual network. + * Description for Deletes a connection from an app (or deployment slot to a named virtual network. * @summary Deletes a connection from an app (or deployment slot to a named virtual network. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13042,8 +13536,8 @@ export class WebApps { } /** - * Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties - * (PATCH). + * Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the + * connection properties (PATCH). * @summary Adds a Virtual Network connection to an app or slot (PUT) or updates the connection * properties (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -13085,7 +13579,7 @@ export class WebApps { } /** - * Gets an app's Virtual Network gateway. + * Description for Gets an app's Virtual Network gateway. * @summary Gets an app's Virtual Network gateway. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13126,7 +13620,7 @@ export class WebApps { } /** - * Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @summary Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13171,7 +13665,7 @@ export class WebApps { } /** - * Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). + * Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @summary Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13216,7 +13710,7 @@ export class WebApps { } /** - * List webjobs for an app, or a deployment slot. + * Description for List webjobs for an app, or a deployment slot. * @summary List webjobs for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -13249,7 +13743,7 @@ export class WebApps { } /** - * Get webjob information for an app, or a deployment slot. + * Description for Get webjob information for an app, or a deployment slot. * @summary Get webjob information for an app, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -13286,7 +13780,8 @@ export class WebApps { } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates + * an existing app. * @summary Creates a new web, mobile, or API app in an existing resource group, or updates an * existing app. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -13309,7 +13804,7 @@ export class WebApps { } /** - * Restores a specific backup to another app (or deployment slot, if specified). + * Description for Restores a specific backup to another app (or deployment slot, if specified). * @summary Restores a specific backup to another app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13332,7 +13827,7 @@ export class WebApps { } /** - * Gets the Git/FTP publishing credentials of an app. + * Description for Gets the Git/FTP publishing credentials of an app. * @summary Gets the Git/FTP publishing credentials of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13351,7 +13846,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13372,7 +13867,7 @@ export class WebApps { } /** - * Create function for web site, or a deployment slot. + * Description for Create function for web site, or a deployment slot. * @summary Create function for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -13395,7 +13890,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13418,7 +13913,7 @@ export class WebApps { } /** - * Restores a web app. + * Description for Restores a web app. * @summary Restores a web app. * @param subscriptionName Azure subscription. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -13441,7 +13936,7 @@ export class WebApps { } /** - * Migrates a local (in-app) MySql database to a remote MySql database. + * Description for Migrates a local (in-app) MySql database to a remote MySql database. * @summary Migrates a local (in-app) MySql database to a remote MySql database. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13462,7 +13957,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13481,7 +13976,7 @@ export class WebApps { } /** - * Restores an app from a backup blob in Azure Storage. + * Description for Restores an app from a backup blob in Azure Storage. * @summary Restores an app from a backup blob in Azure Storage. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13502,7 +13997,7 @@ export class WebApps { } /** - * Restores a deleted web app to this web app. + * Description for Restores a deleted web app to this web app. * @summary Restores a deleted web app to this web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13523,7 +14018,7 @@ export class WebApps { } /** - * Restores a web app from a snapshot. + * Description for Restores a web app from a snapshot. * @summary Restores a web app from a snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13545,7 +14040,7 @@ export class WebApps { } /** - * Install site extension on a web site, or a deployment slot. + * Description for Install site extension on a web site, or a deployment slot. * @summary Install site extension on a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -13566,7 +14061,30 @@ export class WebApps { } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Description for Copies a deployment slot to another deployment slot of an app. + * @summary Copies a deployment slot to another deployment slot of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param copySlotEntity JSON object that contains the target slot name and site config properties + * to override the source slot config. See example. + * @param [options] The optional parameters + * @returns Promise + */ + beginCopyProductionSlot(resourceGroupName: string, name: string, copySlotEntity: Models.CsmCopySlotEntity, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + copySlotEntity, + options + }, + beginCopyProductionSlotOperationSpec, + options); + } + + /** + * Description for Creates a new web, mobile, or API app in an existing resource group, or updates + * an existing app. * @summary Creates a new web, mobile, or API app in an existing resource group, or updates an * existing app. * @param resourceGroupName Name of the resource group to which the resource belongs. @@ -13592,7 +14110,7 @@ export class WebApps { } /** - * Restores a specific backup to another app (or deployment slot, if specified). + * Description for Restores a specific backup to another app (or deployment slot, if specified). * @summary Restores a specific backup to another app (or deployment slot, if specified). * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13618,7 +14136,7 @@ export class WebApps { } /** - * Gets the Git/FTP publishing credentials of an app. + * Description for Gets the Git/FTP publishing credentials of an app. * @summary Gets the Git/FTP publishing credentials of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13640,7 +14158,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13663,13 +14181,12 @@ export class WebApps { } /** - * Create function for web site, or a deployment slot. + * Description for Create function for web site, or a deployment slot. * @summary Create function for web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @param [options] The optional parameters * @returns Promise @@ -13689,7 +14206,7 @@ export class WebApps { } /** - * Invoke the MSDeploy web app extension. + * Description for Invoke the MSDeploy web app extension. * @summary Invoke the MSDeploy web app extension. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13714,7 +14231,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13735,7 +14252,7 @@ export class WebApps { } /** - * Restores an app from a backup blob in Azure Storage. + * Description for Restores an app from a backup blob in Azure Storage. * @summary Restores an app from a backup blob in Azure Storage. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13759,7 +14276,7 @@ export class WebApps { } /** - * Restores a deleted web app to this web app. + * Description for Restores a deleted web app to this web app. * @summary Restores a deleted web app to this web app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13782,7 +14299,7 @@ export class WebApps { } /** - * Restores a web app from a snapshot. + * Description for Restores a web app from a snapshot. * @summary Restores a web app from a snapshot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -13806,13 +14323,13 @@ export class WebApps { } /** - * Install site extension on a web site, or a deployment slot. + * Description for Install site extension on a web site, or a deployment slot. * @summary Install site extension on a web site, or a deployment slot. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param siteExtensionId Site extension name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a - * deployment for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API uses the production + * slot. * @param [options] The optional parameters * @returns Promise */ @@ -13830,7 +14347,32 @@ export class WebApps { } /** - * Swaps two deployment slots of an app. + * Description for Copies a deployment slot to another deployment slot of an app. + * @summary Copies a deployment slot to another deployment slot of an app. + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param copySlotEntity JSON object that contains the target slot name and site config properties + * to override the source slot config. See example. + * @param slot Name of the source slot. If a slot is not specified, the production slot is used as + * the source slot. + * @param [options] The optional parameters + * @returns Promise + */ + beginCopySlotSlot(resourceGroupName: string, name: string, copySlotEntity: Models.CsmCopySlotEntity, slot: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + name, + copySlotEntity, + slot, + options + }, + beginCopySlotSlotOperationSpec, + options); + } + + /** + * Description for Swaps two deployment slots of an app. * @summary Swaps two deployment slots of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13854,7 +14396,7 @@ export class WebApps { } /** - * Updates the source control configuration of an app. + * Description for Updates the source control configuration of an app. * @summary Updates the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13878,7 +14420,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13899,7 +14441,7 @@ export class WebApps { } /** - * Swaps two deployment slots of an app. + * Description for Swaps two deployment slots of an app. * @summary Swaps two deployment slots of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13920,7 +14462,7 @@ export class WebApps { } /** - * Updates the source control configuration of an app. + * Description for Updates the source control configuration of an app. * @summary Updates the source control configuration of an app. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -13941,7 +14483,7 @@ export class WebApps { } /** - * Start capturing network packets for the site. + * Description for Start capturing network packets for the site. * @summary Start capturing network packets for the site. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13960,7 +14502,7 @@ export class WebApps { } /** - * Get all apps for a subscription. + * Description for Get all apps for a subscription. * @summary Get all apps for a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -13989,7 +14531,7 @@ export class WebApps { } /** - * Gets all web, mobile, and API apps in the specified resource group. + * Description for Gets all web, mobile, and API apps in the specified resource group. * @summary Gets all web, mobile, and API apps in the specified resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14018,7 +14560,7 @@ export class WebApps { } /** - * Gets existing backups of an app. + * Description for Gets existing backups of an app. * @summary Gets existing backups of an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14047,7 +14589,7 @@ export class WebApps { } /** - * List the configurations of an app + * Description for List the configurations of an app * @summary List the configurations of an app * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14076,8 +14618,8 @@ export class WebApps { } /** - * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a - * timestamp and the ID of the snapshot. + * Description for Gets a list of web app configuration snapshots identifiers. Each element of the + * list contains a timestamp and the ID of the snapshot. * @summary Gets a list of web app configuration snapshots identifiers. Each element of the list * contains a timestamp and the ID of the snapshot. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14107,7 +14649,7 @@ export class WebApps { } /** - * List continuous web jobs for an app, or a deployment slot. + * Description for List continuous web jobs for an app, or a deployment slot. * @summary List continuous web jobs for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14136,7 +14678,7 @@ export class WebApps { } /** - * List deployments for an app, or a deployment slot. + * Description for List deployments for an app, or a deployment slot. * @summary List deployments for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14165,7 +14707,7 @@ export class WebApps { } /** - * Lists ownership identifiers for domain associated with web app. + * Description for Lists ownership identifiers for domain associated with web app. * @summary Lists ownership identifiers for domain associated with web app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14194,7 +14736,7 @@ export class WebApps { } /** - * List the functions for a web site, or a deployment slot. + * Description for List the functions for a web site, or a deployment slot. * @summary List the functions for a web site, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14223,7 +14765,7 @@ export class WebApps { } /** - * Get hostname bindings for an app or a deployment slot. + * Description for Get hostname bindings for an app or a deployment slot. * @summary Get hostname bindings for an app or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14252,7 +14794,7 @@ export class WebApps { } /** - * Gets all scale-out instances of an app. + * Description for Gets all scale-out instances of an app. * @summary Gets all scale-out instances of an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14281,8 +14823,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14312,8 +14854,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14343,7 +14885,8 @@ export class WebApps { } /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. * @summary List the threads in a process by its ID for a specific scaled-out instance in a web * site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14373,65 +14916,36 @@ export class WebApps { } /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * @summary Gets all metric definitions of an app (or deployment slot, if specified). - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listMetricDefinitionsNext(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 - */ - listMetricDefinitionsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitionsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listMetricDefinitionsNextOperationSpec, - callback) as Promise; - } - - /** - * Gets performance metrics of an app (or deployment slot, if specified). - * @summary Gets performance metrics of an app (or deployment slot, if specified). + * Description for Gets existing backups of an app. + * @summary Gets existing backups of an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listSiteBackupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listMetricsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listSiteBackupsNext(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 */ - listMetricsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSiteBackupsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSiteBackupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listMetricsNextOperationSpec, - callback) as Promise; + listSiteBackupsNextOperationSpec, + callback) as Promise; } /** - * Gets perfmon counters for web app. + * Description for Gets perfmon counters for web app. * @summary Gets perfmon counters for web app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14460,8 +14974,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14491,8 +15005,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14522,7 +15036,8 @@ export class WebApps { } /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. * @summary List the threads in a process by its ID for a specific scaled-out instance in a web * site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14552,7 +15067,7 @@ export class WebApps { } /** - * Get public certificates for an app or a deployment slot. + * Description for Get public certificates for an app or a deployment slot. * @summary Get public certificates for an app or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14581,7 +15096,7 @@ export class WebApps { } /** - * Get list of siteextensions for a web site, or a deployment slot. + * Description for Get list of siteextensions for a web site, or a deployment slot. * @summary Get list of siteextensions for a web site, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14610,7 +15125,7 @@ export class WebApps { } /** - * Gets an app's deployment slots. + * Description for Gets an app's deployment slots. * @summary Gets an app's deployment slots. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14639,7 +15154,7 @@ export class WebApps { } /** - * Gets existing backups of an app. + * Description for Gets existing backups of an app. * @summary Gets existing backups of an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14668,7 +15183,7 @@ export class WebApps { } /** - * List the configurations of an app + * Description for List the configurations of an app * @summary List the configurations of an app * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14697,8 +15212,8 @@ export class WebApps { } /** - * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a - * timestamp and the ID of the snapshot. + * Description for Gets a list of web app configuration snapshots identifiers. Each element of the + * list contains a timestamp and the ID of the snapshot. * @summary Gets a list of web app configuration snapshots identifiers. Each element of the list * contains a timestamp and the ID of the snapshot. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14728,7 +15243,7 @@ export class WebApps { } /** - * List continuous web jobs for an app, or a deployment slot. + * Description for List continuous web jobs for an app, or a deployment slot. * @summary List continuous web jobs for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14757,7 +15272,7 @@ export class WebApps { } /** - * List deployments for an app, or a deployment slot. + * Description for List deployments for an app, or a deployment slot. * @summary List deployments for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14786,7 +15301,7 @@ export class WebApps { } /** - * Lists ownership identifiers for domain associated with web app. + * Description for Lists ownership identifiers for domain associated with web app. * @summary Lists ownership identifiers for domain associated with web app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14815,7 +15330,7 @@ export class WebApps { } /** - * List the functions for a web site, or a deployment slot. + * Description for List the functions for a web site, or a deployment slot. * @summary List the functions for a web site, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14844,7 +15359,7 @@ export class WebApps { } /** - * Get hostname bindings for an app or a deployment slot. + * Description for Get hostname bindings for an app or a deployment slot. * @summary Get hostname bindings for an app or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14873,7 +15388,7 @@ export class WebApps { } /** - * Gets all scale-out instances of an app. + * Description for Gets all scale-out instances of an app. * @summary Gets all scale-out instances of an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -14902,8 +15417,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14933,8 +15448,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14964,7 +15479,8 @@ export class WebApps { } /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. * @summary List the threads in a process by its ID for a specific scaled-out instance in a web * site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -14994,65 +15510,36 @@ export class WebApps { } /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * @summary Gets all metric definitions of an app (or deployment slot, if specified). - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listMetricDefinitionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listMetricDefinitionsSlotNext(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 - */ - listMetricDefinitionsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricDefinitionsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listMetricDefinitionsSlotNextOperationSpec, - callback) as Promise; - } - - /** - * Gets performance metrics of an app (or deployment slot, if specified). - * @summary Gets performance metrics of an app (or deployment slot, if specified). + * Description for Gets existing backups of an app. + * @summary Gets existing backups of an app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listMetricsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listSiteBackupsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listMetricsSlotNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listSiteBackupsSlotNext(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 */ - listMetricsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listMetricsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSiteBackupsSlotNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSiteBackupsSlotNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listMetricsSlotNextOperationSpec, - callback) as Promise; + listSiteBackupsSlotNextOperationSpec, + callback) as Promise; } /** - * Gets perfmon counters for web app. + * Description for Gets perfmon counters for web app. * @summary Gets perfmon counters for web app. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15081,8 +15568,8 @@ export class WebApps { } /** - * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out - * instance in a web site. + * Description for Get list of processes for a web site, or a deployment slot, or for a specific + * scaled-out instance in a web site. * @summary Get list of processes for a web site, or a deployment slot, or for a specific * scaled-out instance in a web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -15112,8 +15599,8 @@ export class WebApps { } /** - * List module information for a process by its ID for a specific scaled-out instance in a web - * site. + * Description for List module information for a process by its ID for a specific scaled-out + * instance in a web site. * @summary List module information for a process by its ID for a specific scaled-out instance in a * web site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -15143,7 +15630,8 @@ export class WebApps { } /** - * List the threads in a process by its ID for a specific scaled-out instance in a web site. + * Description for List the threads in a process by its ID for a specific scaled-out instance in a + * web site. * @summary List the threads in a process by its ID for a specific scaled-out instance in a web * site. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -15173,7 +15661,7 @@ export class WebApps { } /** - * Get public certificates for an app or a deployment slot. + * Description for Get public certificates for an app or a deployment slot. * @summary Get public certificates for an app or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15202,7 +15690,7 @@ export class WebApps { } /** - * Get list of siteextensions for a web site, or a deployment slot. + * Description for Get list of siteextensions for a web site, or a deployment slot. * @summary Get list of siteextensions for a web site, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15231,7 +15719,7 @@ export class WebApps { } /** - * Get the difference in configuration settings between two web app slots. + * Description for Get the difference in configuration settings between two web app slots. * @summary Get the difference in configuration settings between two web app slots. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15260,7 +15748,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user. + * Description for Returns all Snapshots to the user. * @summary Returns all Snapshots to the user. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15289,7 +15777,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user from DRSecondary endpoint. + * Description for Returns all Snapshots to the user from DRSecondary endpoint. * @summary Returns all Snapshots to the user from DRSecondary endpoint. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15318,7 +15806,7 @@ export class WebApps { } /** - * List triggered web jobs for an app, or a deployment slot. + * Description for List triggered web jobs for an app, or a deployment slot. * @summary List triggered web jobs for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15347,7 +15835,7 @@ export class WebApps { } /** - * List a triggered web job's history for an app, or a deployment slot. + * Description for List a triggered web job's history for an app, or a deployment slot. * @summary List a triggered web job's history for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15376,7 +15864,7 @@ export class WebApps { } /** - * Gets the quota usage information of an app (or deployment slot, if specified). + * Description for Gets the quota usage information of an app (or deployment slot, if specified). * @summary Gets the quota usage information of an app (or deployment slot, if specified). * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15405,7 +15893,7 @@ export class WebApps { } /** - * List webjobs for an app, or a deployment slot. + * Description for List webjobs for an app, or a deployment slot. * @summary List webjobs for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15434,7 +15922,7 @@ export class WebApps { } /** - * Get the difference in configuration settings between two web app slots. + * Description for Get the difference in configuration settings between two web app slots. * @summary Get the difference in configuration settings between two web app slots. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15463,7 +15951,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user. + * Description for Returns all Snapshots to the user. * @summary Returns all Snapshots to the user. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15492,7 +15980,7 @@ export class WebApps { } /** - * Returns all Snapshots to the user from DRSecondary endpoint. + * Description for Returns all Snapshots to the user from DRSecondary endpoint. * @summary Returns all Snapshots to the user from DRSecondary endpoint. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15521,7 +16009,7 @@ export class WebApps { } /** - * List triggered web jobs for an app, or a deployment slot. + * Description for List triggered web jobs for an app, or a deployment slot. * @summary List triggered web jobs for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15550,7 +16038,7 @@ export class WebApps { } /** - * List a triggered web job's history for an app, or a deployment slot. + * Description for List a triggered web job's history for an app, or a deployment slot. * @summary List a triggered web job's history for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15579,7 +16067,7 @@ export class WebApps { } /** - * Gets the quota usage information of an app (or deployment slot, if specified). + * Description for Gets the quota usage information of an app (or deployment slot, if specified). * @summary Gets the quota usage information of an app (or deployment slot, if specified). * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15608,7 +16096,7 @@ export class WebApps { } /** - * List webjobs for an app, or a deployment slot. + * Description for List webjobs for an app, or a deployment slot. * @summary List webjobs for an app, or a deployment slot. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -15646,7 +16134,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15671,7 +16159,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.includeSlots, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15696,7 +16184,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15707,7 +16195,7 @@ const getOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -15724,7 +16212,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.deleteMetrics, Parameters.deleteEmptyServerFarm, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15734,7 +16222,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -15749,7 +16237,7 @@ const updateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15785,7 +16273,7 @@ const analyzeCustomHostnameOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.hostName0, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15810,7 +16298,7 @@ const applySlotConfigToProductionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15825,7 +16313,7 @@ const applySlotConfigToProductionOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -15840,7 +16328,7 @@ const backupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15872,7 +16360,7 @@ const listBackupsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15898,7 +16386,7 @@ const getBackupStatusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15924,7 +16412,7 @@ const deleteBackupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15933,7 +16421,7 @@ const deleteBackupOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -15949,7 +16437,7 @@ const listBackupStatusSecretsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -15981,7 +16469,7 @@ const listConfigurationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16006,7 +16494,7 @@ const updateApplicationSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16038,7 +16526,7 @@ const listApplicationSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16063,7 +16551,7 @@ const updateAuthSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16095,7 +16583,7 @@ const getAuthSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16120,7 +16608,7 @@ const updateAzureStorageAccountsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16152,7 +16640,7 @@ const listAzureStorageAccountsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16177,7 +16665,7 @@ const updateBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16209,7 +16697,7 @@ const deleteBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16217,7 +16705,7 @@ const deleteBackupConfigurationOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -16232,14 +16720,65 @@ const getBackupConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.BackupRequest + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getAppSettingsKeyVaultReferencesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.KeyVaultReferenceCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getAppSettingKeyVaultReferenceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.appSettingKey, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.BackupRequest + bodyMapper: Mappers.KeyVaultReferenceResource }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -16257,7 +16796,7 @@ const updateConnectionStringsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16289,7 +16828,7 @@ const listConnectionStringsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16314,7 +16853,7 @@ const getDiagnosticLogsConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16339,7 +16878,7 @@ const updateDiagnosticLogsConfigOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16371,7 +16910,7 @@ const updateMetadataOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16403,7 +16942,7 @@ const listMetadataOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16428,7 +16967,7 @@ const updateSitePushSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16460,7 +16999,7 @@ const listSitePushSettingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16485,7 +17024,7 @@ const listSlotConfigurationNamesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16510,7 +17049,7 @@ const updateSlotConfigurationNamesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16542,7 +17081,7 @@ const getConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16567,7 +17106,7 @@ const createOrUpdateConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16599,7 +17138,7 @@ const updateConfigurationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16631,7 +17170,7 @@ const listConfigurationSnapshotInfoOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16657,7 +17196,7 @@ const getConfigurationSnapshotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16683,7 +17222,7 @@ const recoverSiteConfigurationSnapshotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16691,7 +17230,7 @@ const recoverSiteConfigurationSnapshotOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -16706,7 +17245,7 @@ const getWebSiteContainerLogsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16737,7 +17276,7 @@ const getContainerLogsZipOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16768,7 +17307,7 @@ const listContinuousWebJobsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16794,7 +17333,7 @@ const getContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16805,7 +17344,7 @@ const getContinuousWebJobOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -16821,7 +17360,7 @@ const deleteContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16830,7 +17369,7 @@ const deleteContinuousWebJobOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -16846,7 +17385,7 @@ const startContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16855,7 +17394,7 @@ const startContinuousWebJobOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -16871,7 +17410,7 @@ const stopContinuousWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16880,7 +17419,7 @@ const stopContinuousWebJobOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -16895,7 +17434,7 @@ const listDeploymentsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16921,7 +17460,7 @@ const getDeploymentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16947,7 +17486,7 @@ const createDeploymentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16980,7 +17519,7 @@ const deleteDeploymentOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -16989,7 +17528,7 @@ const deleteDeploymentOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17005,7 +17544,7 @@ const listDeploymentLogOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17030,7 +17569,7 @@ const discoverBackupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17062,7 +17601,7 @@ const listDomainOwnershipIdentifiersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17088,11 +17627,102 @@ const getDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Identifier + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const createOrUpdateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainOwnershipIdentifierName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "domainOwnershipIdentifier", + mapper: { + ...Mappers.Identifier, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Identifier + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const deleteDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainOwnershipIdentifierName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const updateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainOwnershipIdentifierName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "domainOwnershipIdentifier", + mapper: { + ...Mappers.Identifier, + required: true + } + }, responses: { 200: { bodyMapper: Mappers.Identifier @@ -17104,31 +17734,194 @@ const getDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { serializer }; -const createOrUpdateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { +const getMSDeployStatusOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MSDeployStatus + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getMSDeployLogOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MSDeployLog + }, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listFunctionsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionEnvelopeCollection + }, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getFunctionsAdminTokenOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "String" + } + } + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getFunctionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.functionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionEnvelope + }, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const deleteFunctionOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.functionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 204: {}, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const createOrUpdateFunctionSecretOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.domainOwnershipIdentifierName, + Parameters.functionName, + Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], requestBody: { - parameterPath: "domainOwnershipIdentifier", + parameterPath: "key", mapper: { - ...Mappers.Identifier, + ...Mappers.KeyInfo, required: true } }, responses: { 200: { - bodyMapper: Mappers.Identifier + bodyMapper: Mappers.KeyInfo + }, + 201: { + bodyMapper: Mappers.KeyInfo }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -17137,56 +17930,50 @@ const createOrUpdateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec serializer }; -const deleteDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { +const deleteFunctionSecretOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.domainOwnershipIdentifierName, + Parameters.functionName, + Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: {}, 204: {}, + 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const updateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", +const listFunctionKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.domainOwnershipIdentifierName, + Parameters.functionName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "domainOwnershipIdentifier", - mapper: { - ...Mappers.Identifier, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.Identifier + bodyMapper: Mappers.StringDictionary }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -17195,23 +17982,24 @@ const updateDomainOwnershipIdentifierOperationSpec: msRest.OperationSpec = { serializer }; -const getMSDeployStatusOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy", +const listFunctionSecretsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets", urlParameters: [ Parameters.resourceGroupName, Parameters.name, + Parameters.functionName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.MSDeployStatus + bodyMapper: Mappers.FunctionSecrets }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -17220,81 +18008,70 @@ const getMSDeployStatusOperationSpec: msRest.OperationSpec = { serializer }; -const getMSDeployLogOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log", +const listHostKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys", urlParameters: [ Parameters.resourceGroupName, Parameters.name, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.MSDeployLog + bodyMapper: Mappers.HostKeys }, - 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const listFunctionsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions", +const listSyncStatusOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus", urlParameters: [ Parameters.resourceGroupName, Parameters.name, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.FunctionEnvelopeCollection - }, - 404: {}, + 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const getFunctionsAdminTokenOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token", +const syncFunctionsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync", urlParameters: [ Parameters.resourceGroupName, Parameters.name, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "String" - } - } - }, + 204: {}, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -17302,44 +18079,55 @@ const getFunctionsAdminTokenOperationSpec: msRest.OperationSpec = { serializer }; -const getFunctionOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", +const createOrUpdateHostSecretOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.functionName, + Parameters.keyType, + Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "key", + mapper: { + ...Mappers.KeyInfo, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.FunctionEnvelope + bodyMapper: Mappers.KeyInfo + }, + 201: { + bodyMapper: Mappers.KeyInfo }, - 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const deleteFunctionOperationSpec: msRest.OperationSpec = { +const deleteHostSecretOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.functionName, + Parameters.keyType, + Parameters.keyName, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17347,32 +18135,6 @@ const deleteFunctionOperationSpec: msRest.OperationSpec = { responses: { 204: {}, 404: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listFunctionSecretsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.functionName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.FunctionSecrets - }, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -17389,7 +18151,7 @@ const listHostNameBindingsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17415,7 +18177,7 @@ const getHostNameBindingOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17441,7 +18203,7 @@ const createOrUpdateHostNameBindingOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17474,7 +18236,7 @@ const deleteHostNameBindingOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17483,7 +18245,7 @@ const deleteHostNameBindingOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17500,7 +18262,7 @@ const getHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17527,7 +18289,7 @@ const createOrUpdateHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17561,7 +18323,7 @@ const deleteHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17570,7 +18332,7 @@ const deleteHybridConnectionOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17587,7 +18349,7 @@ const updateHybridConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17610,33 +18372,6 @@ const updateHybridConnectionOperationSpec: msRest.OperationSpec = { serializer }; -const listHybridConnectionKeysOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.namespaceName, - Parameters.relayName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.HybridConnectionKey - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listHybridConnectionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionRelays", @@ -17646,7 +18381,7 @@ const listHybridConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17671,7 +18406,7 @@ const listRelayServiceConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17697,7 +18432,7 @@ const getRelayServiceConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17723,7 +18458,7 @@ const createOrUpdateRelayServiceConnectionOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17756,7 +18491,7 @@ const deleteRelayServiceConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17765,7 +18500,7 @@ const deleteRelayServiceConnectionOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17781,7 +18516,7 @@ const updateRelayServiceConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17813,7 +18548,7 @@ const listInstanceIdentifiersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17829,6 +18564,32 @@ const listInstanceIdentifiersOperationSpec: msRest.OperationSpec = { serializer }; +const getInstanceInfoOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.instanceId, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebSiteInstanceStatus + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getInstanceMsDeployStatusOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy", @@ -17839,7 +18600,7 @@ const getInstanceMsDeployStatusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17865,7 +18626,7 @@ const getInstanceMSDeployLogOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17876,7 +18637,7 @@ const getInstanceMSDeployLogOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17892,7 +18653,7 @@ const listInstanceProcessesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17903,7 +18664,7 @@ const listInstanceProcessesOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17920,7 +18681,7 @@ const getInstanceProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17931,7 +18692,7 @@ const getInstanceProcessOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17948,7 +18709,7 @@ const deleteInstanceProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17957,7 +18718,7 @@ const deleteInstanceProcessOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -17974,7 +18735,7 @@ const getInstanceProcessDumpOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -17990,7 +18751,7 @@ const getInstanceProcessDumpOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18007,7 +18768,7 @@ const listInstanceProcessModulesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18018,7 +18779,7 @@ const listInstanceProcessModulesOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18036,7 +18797,7 @@ const getInstanceProcessModuleOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18047,7 +18808,7 @@ const getInstanceProcessModuleOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18064,7 +18825,7 @@ const listInstanceProcessThreadsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18075,36 +18836,7 @@ const listInstanceProcessThreadsOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getInstanceProcessThreadOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads/{threadId}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.processId, - Parameters.threadId, - Parameters.instanceId, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ProcessThreadInfo - }, - 404: {}, - default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18119,7 +18851,7 @@ const isCloneableOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18135,48 +18867,23 @@ const isCloneableOperationSpec: msRest.OperationSpec = { serializer }; -const listSyncFunctionTriggersOperationSpec: msRest.OperationSpec = { +const listSiteBackupsOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.FunctionSecrets - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listbackups", urlParameters: [ Parameters.resourceGroupName, Parameters.name, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection + bodyMapper: Mappers.BackupItemCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -18185,25 +18892,23 @@ const listMetricDefinitionsOperationSpec: msRest.OperationSpec = { serializer }; -const listMetricsOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics", +const listSyncFunctionTriggersOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus", urlParameters: [ Parameters.resourceGroupName, Parameters.name, Parameters.subscriptionId ], queryParameters: [ - Parameters.details, - Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ResourceMetricCollection + bodyMapper: Mappers.FunctionSecrets }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -18221,7 +18926,7 @@ const getMigrateMySqlStatusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18246,7 +18951,7 @@ const getSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18271,7 +18976,7 @@ const createOrUpdateSwiftVirtualNetworkConnectionOperationSpec: msRest.Operation Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18303,7 +19008,7 @@ const deleteSwiftVirtualNetworkOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18312,7 +19017,7 @@ const deleteSwiftVirtualNetworkOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18327,7 +19032,7 @@ const updateSwiftVirtualNetworkConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18360,7 +19065,7 @@ const listNetworkFeaturesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18371,7 +19076,7 @@ const listNetworkFeaturesOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18387,7 +19092,7 @@ const getNetworkTraceOperationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18440,7 +19145,7 @@ const startWebSiteNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18470,7 +19175,7 @@ const stopWebSiteNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18479,7 +19184,7 @@ const stopWebSiteNetworkTraceOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18495,7 +19200,7 @@ const getNetworkTracesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18532,7 +19237,7 @@ const getNetworkTraceOperationV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18583,7 +19288,7 @@ const getNetworkTracesV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18619,7 +19324,7 @@ const generateNewSitePublishingPasswordOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18628,7 +19333,7 @@ const generateNewSitePublishingPasswordOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18644,7 +19349,7 @@ const listPerfMonCountersOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18669,7 +19374,7 @@ const getSitePhpErrorLogFlagOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18694,7 +19399,7 @@ const listPremierAddOnsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18720,7 +19425,7 @@ const getPremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18746,7 +19451,7 @@ const addPremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18779,7 +19484,7 @@ const deletePremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18787,7 +19492,7 @@ const deletePremierAddOnOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18803,7 +19508,7 @@ const updatePremierAddOnOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18835,7 +19540,7 @@ const getPrivateAccessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18860,7 +19565,7 @@ const putPrivateAccessVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18892,7 +19597,7 @@ const listProcessesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18903,7 +19608,7 @@ const listProcessesOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18919,7 +19624,7 @@ const getProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18930,7 +19635,7 @@ const getProcessOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18946,7 +19651,7 @@ const deleteProcessOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18955,7 +19660,7 @@ const deleteProcessOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -18971,7 +19676,7 @@ const getProcessDumpOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -18987,7 +19692,7 @@ const getProcessDumpOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19003,7 +19708,7 @@ const listProcessModulesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19014,7 +19719,7 @@ const listProcessModulesOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19031,7 +19736,7 @@ const getProcessModuleOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19042,7 +19747,7 @@ const getProcessModuleOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19058,7 +19763,7 @@ const listProcessThreadsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19069,35 +19774,7 @@ const listProcessThreadsOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getProcessThreadOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads/{threadId}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.processId, - Parameters.threadId, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ProcessThreadInfo - }, - 404: {}, - default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19112,7 +19789,7 @@ const listPublicCertificatesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19138,7 +19815,7 @@ const getPublicCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19164,7 +19841,7 @@ const createOrUpdatePublicCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19197,7 +19874,7 @@ const deletePublicCertificateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19206,7 +19883,7 @@ const deletePublicCertificateOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19221,7 +19898,7 @@ const listPublishingProfileXmlWithSecretsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19258,7 +19935,7 @@ const resetProductionSlotConfigOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19266,7 +19943,7 @@ const resetProductionSlotConfigOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19283,7 +19960,7 @@ const restartOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.softRestart, Parameters.synchronous, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19291,7 +19968,7 @@ const restartOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19306,7 +19983,7 @@ const listSiteExtensionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19317,7 +19994,7 @@ const listSiteExtensionsOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19333,7 +20010,7 @@ const getSiteExtensionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19344,7 +20021,7 @@ const getSiteExtensionOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19360,7 +20037,7 @@ const deleteSiteExtensionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19369,7 +20046,7 @@ const deleteSiteExtensionOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19384,7 +20061,7 @@ const listSlotsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19410,7 +20087,7 @@ const getSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19421,7 +20098,7 @@ const getSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19439,7 +20116,7 @@ const deleteSlotOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.deleteMetrics, Parameters.deleteEmptyServerFarm, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19449,7 +20126,7 @@ const deleteSlotOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19465,7 +20142,7 @@ const updateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19502,7 +20179,7 @@ const analyzeCustomHostnameSlotOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.hostName0, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19528,7 +20205,7 @@ const applySlotConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19543,7 +20220,7 @@ const applySlotConfigurationSlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19559,7 +20236,7 @@ const backupSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19592,7 +20269,7 @@ const listBackupsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19619,7 +20296,7 @@ const getBackupStatusSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19646,7 +20323,7 @@ const deleteBackupSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19655,7 +20332,7 @@ const deleteBackupSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19672,7 +20349,7 @@ const listBackupStatusSecretsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19705,7 +20382,7 @@ const listConfigurationsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19731,7 +20408,7 @@ const updateApplicationSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19764,7 +20441,7 @@ const listApplicationSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19790,7 +20467,7 @@ const updateAuthSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19823,7 +20500,7 @@ const getAuthSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19849,7 +20526,7 @@ const updateAzureStorageAccountsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19882,7 +20559,7 @@ const listAzureStorageAccountsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19908,7 +20585,7 @@ const updateBackupConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19941,7 +20618,7 @@ const deleteBackupConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19949,7 +20626,7 @@ const deleteBackupConfigurationSlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -19965,7 +20642,7 @@ const getBackupConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -19991,7 +20668,7 @@ const updateConnectionStringsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20024,7 +20701,7 @@ const listConnectionStringsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20050,7 +20727,7 @@ const getDiagnosticLogsConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20076,7 +20753,7 @@ const updateDiagnosticLogsConfigSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20109,7 +20786,7 @@ const updateMetadataSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20142,7 +20819,7 @@ const listMetadataSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20168,7 +20845,7 @@ const updateSitePushSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20201,7 +20878,7 @@ const listSitePushSettingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20227,7 +20904,7 @@ const getConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20253,7 +20930,7 @@ const createOrUpdateConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20286,7 +20963,7 @@ const updateConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20319,7 +20996,7 @@ const listConfigurationSnapshotInfoSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20346,7 +21023,7 @@ const getConfigurationSnapshotSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20373,7 +21050,7 @@ const recoverSiteConfigurationSnapshotSlotOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20381,7 +21058,7 @@ const recoverSiteConfigurationSnapshotSlotOperationSpec: msRest.OperationSpec = responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -20397,7 +21074,7 @@ const getWebSiteContainerLogsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20429,7 +21106,7 @@ const getContainerLogsZipSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20461,7 +21138,7 @@ const listContinuousWebJobsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20488,7 +21165,7 @@ const getContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20499,7 +21176,7 @@ const getContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -20516,7 +21193,7 @@ const deleteContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20525,7 +21202,7 @@ const deleteContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -20542,7 +21219,7 @@ const startContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20551,7 +21228,7 @@ const startContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -20568,7 +21245,7 @@ const stopContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20577,7 +21254,7 @@ const stopContinuousWebJobSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -20593,7 +21270,7 @@ const listDeploymentsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20620,7 +21297,7 @@ const getDeploymentSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20647,7 +21324,7 @@ const createDeploymentSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20681,7 +21358,7 @@ const deleteDeploymentSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20690,7 +21367,7 @@ const deleteDeploymentSlotOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -20707,7 +21384,7 @@ const listDeploymentLogSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20733,7 +21410,7 @@ const discoverBackupSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20766,7 +21443,7 @@ const listDomainOwnershipIdentifiersSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20793,7 +21470,7 @@ const getDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20820,7 +21497,7 @@ const createOrUpdateDomainOwnershipIdentifierSlotOperationSpec: msRest.Operation Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -20854,47 +21531,250 @@ const deleteDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const updateDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.domainOwnershipIdentifierName, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "domainOwnershipIdentifier", + mapper: { + ...Mappers.Identifier, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Identifier + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getMSDeployStatusSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MSDeployStatus + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getMSDeployLogSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MSDeployLog + }, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const listInstanceFunctionsSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionEnvelopeCollection + }, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getFunctionsAdminTokenSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "String" + } + } + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const getInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.functionName, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FunctionEnvelope + }, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const deleteInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.functionName, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: {}, 204: {}, + 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const updateDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}", +const createOrUpdateFunctionSecretSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.domainOwnershipIdentifierName, + Parameters.functionName, + Parameters.keyName, Parameters.slot, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], requestBody: { - parameterPath: "domainOwnershipIdentifier", + parameterPath: "key", mapper: { - ...Mappers.Identifier, + ...Mappers.KeyInfo, required: true } }, responses: { 200: { - bodyMapper: Mappers.Identifier + bodyMapper: Mappers.KeyInfo + }, + 201: { + bodyMapper: Mappers.KeyInfo }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -20903,25 +21783,26 @@ const updateDomainOwnershipIdentifierSlotOperationSpec: msRest.OperationSpec = { serializer }; -const getMSDeployStatusSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy", +const deleteFunctionSecretSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}", urlParameters: [ Parameters.resourceGroupName, Parameters.name, + Parameters.functionName, + Parameters.keyName, Parameters.slot, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.MSDeployStatus - }, + 204: {}, + 404: {}, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -20929,63 +21810,63 @@ const getMSDeployStatusSlotOperationSpec: msRest.OperationSpec = { serializer }; -const getMSDeployLogSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log", +const listFunctionKeysSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys", urlParameters: [ Parameters.resourceGroupName, Parameters.name, + Parameters.functionName, Parameters.slot, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.MSDeployLog + bodyMapper: Mappers.StringDictionary }, - 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const listInstanceFunctionsSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions", +const listFunctionSecretsSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets", urlParameters: [ Parameters.resourceGroupName, Parameters.name, + Parameters.functionName, Parameters.slot, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.FunctionEnvelopeCollection + bodyMapper: Mappers.FunctionSecrets }, - 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const getFunctionsAdminTokenSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token", +const listHostKeysSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -20993,19 +21874,14 @@ const getFunctionsAdminTokenSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "String" - } - } + bodyMapper: Mappers.HostKeys }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -21014,79 +21890,84 @@ const getFunctionsAdminTokenSlotOperationSpec: msRest.OperationSpec = { serializer }; -const getInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", +const listSyncStatusSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.functionName, Parameters.slot, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.FunctionEnvelope - }, - 404: {}, + 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const deleteInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", +const syncFunctionsSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.functionName, Parameters.slot, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 204: {}, - 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer }; -const listFunctionSecretsSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets", +const createOrUpdateHostSecretSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}", urlParameters: [ Parameters.resourceGroupName, Parameters.name, - Parameters.functionName, + Parameters.keyType, + Parameters.keyName, Parameters.slot, Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "key", + mapper: { + ...Mappers.KeyInfo, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.FunctionSecrets + bodyMapper: Mappers.KeyInfo + }, + 201: { + bodyMapper: Mappers.KeyInfo }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -21095,6 +21976,33 @@ const listFunctionSecretsSlotOperationSpec: msRest.OperationSpec = { serializer }; +const deleteHostSecretSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.keyType, + Parameters.keyName, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 204: {}, + 404: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const listHostNameBindingsSlotOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings", @@ -21105,7 +22013,7 @@ const listHostNameBindingsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21132,7 +22040,7 @@ const getHostNameBindingSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21159,7 +22067,7 @@ const createOrUpdateHostNameBindingSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21193,7 +22101,7 @@ const deleteHostNameBindingSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21202,7 +22110,7 @@ const deleteHostNameBindingSlotOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21220,7 +22128,7 @@ const getHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21248,7 +22156,7 @@ const createOrUpdateHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21283,7 +22191,7 @@ const deleteHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21292,7 +22200,7 @@ const deleteHybridConnectionSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21310,7 +22218,7 @@ const updateHybridConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21333,34 +22241,6 @@ const updateHybridConnectionSlotOperationSpec: msRest.OperationSpec = { serializer }; -const listHybridConnectionKeysSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.namespaceName, - Parameters.relayName, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.HybridConnectionKey - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const listHybridConnectionsSlotOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays", @@ -21371,7 +22251,7 @@ const listHybridConnectionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21397,7 +22277,7 @@ const listRelayServiceConnectionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21424,7 +22304,7 @@ const getRelayServiceConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21451,7 +22331,7 @@ const createOrUpdateRelayServiceConnectionSlotOperationSpec: msRest.OperationSpe Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21485,7 +22365,7 @@ const deleteRelayServiceConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21494,7 +22374,7 @@ const deleteRelayServiceConnectionSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21511,7 +22391,7 @@ const updateRelayServiceConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21544,7 +22424,7 @@ const listInstanceIdentifiersSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21560,6 +22440,33 @@ const listInstanceIdentifiersSlotOperationSpec: msRest.OperationSpec = { serializer }; +const getInstanceInfoSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.instanceId, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WebSiteInstanceStatus + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + const getInstanceMsDeployStatusSlotOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy", @@ -21571,7 +22478,7 @@ const getInstanceMsDeployStatusSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21598,7 +22505,7 @@ const getInstanceMSDeployLogSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21609,7 +22516,7 @@ const getInstanceMSDeployLogSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21626,7 +22533,7 @@ const listInstanceProcessesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21637,7 +22544,7 @@ const listInstanceProcessesSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21655,7 +22562,7 @@ const getInstanceProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21666,7 +22573,7 @@ const getInstanceProcessSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21684,7 +22591,7 @@ const deleteInstanceProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21693,7 +22600,7 @@ const deleteInstanceProcessSlotOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21711,7 +22618,7 @@ const getInstanceProcessDumpSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21727,7 +22634,7 @@ const getInstanceProcessDumpSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21745,7 +22652,7 @@ const listInstanceProcessModulesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21756,7 +22663,7 @@ const listInstanceProcessModulesSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21775,7 +22682,7 @@ const getInstanceProcessModuleSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21786,7 +22693,7 @@ const getInstanceProcessModuleSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21804,7 +22711,7 @@ const listInstanceProcessThreadsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21815,37 +22722,7 @@ const listInstanceProcessThreadsSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getInstanceProcessThreadSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads/{threadId}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.processId, - Parameters.threadId, - Parameters.slot, - Parameters.instanceId, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ProcessThreadInfo - }, - 404: {}, - default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -21861,7 +22738,7 @@ const isCloneableSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21877,35 +22754,9 @@ const isCloneableSlotOperationSpec: msRest.OperationSpec = { serializer }; -const listSyncFunctionTriggersSlotOperationSpec: msRest.OperationSpec = { +const listSiteBackupsSlotOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.FunctionSecrets - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - -const listMetricDefinitionsSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metricdefinitions", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listbackups", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -21913,14 +22764,14 @@ const listMetricDefinitionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection + bodyMapper: Mappers.BackupItemCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -21929,9 +22780,9 @@ const listMetricDefinitionsSlotOperationSpec: msRest.OperationSpec = { serializer }; -const listMetricsSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics", +const listSyncFunctionTriggersSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus", urlParameters: [ Parameters.resourceGroupName, Parameters.name, @@ -21939,16 +22790,14 @@ const listMetricsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.details, - Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: { - bodyMapper: Mappers.ResourceMetricCollection + bodyMapper: Mappers.FunctionSecrets }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -21967,7 +22816,7 @@ const getMigrateMySqlStatusSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -21993,7 +22842,7 @@ const getSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22019,7 +22868,7 @@ const createOrUpdateSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.Opera Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22052,7 +22901,7 @@ const deleteSwiftVirtualNetworkSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22061,7 +22910,7 @@ const deleteSwiftVirtualNetworkSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22077,7 +22926,7 @@ const updateSwiftVirtualNetworkConnectionSlotOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22111,7 +22960,7 @@ const listNetworkFeaturesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22122,7 +22971,7 @@ const listNetworkFeaturesSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22139,7 +22988,7 @@ const getNetworkTraceOperationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22193,7 +23042,7 @@ const startWebSiteNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22224,7 +23073,7 @@ const stopWebSiteNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22233,7 +23082,7 @@ const stopWebSiteNetworkTraceSlotOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22250,7 +23099,7 @@ const getNetworkTracesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22288,7 +23137,7 @@ const getNetworkTraceOperationSlotV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22340,7 +23189,7 @@ const getNetworkTracesSlotV2OperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22377,7 +23226,7 @@ const generateNewSitePublishingPasswordSlotOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22386,7 +23235,7 @@ const generateNewSitePublishingPasswordSlotOperationSpec: msRest.OperationSpec = 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22403,7 +23252,7 @@ const listPerfMonCountersSlotOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22429,7 +23278,7 @@ const getSitePhpErrorLogFlagSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22455,7 +23304,7 @@ const listPremierAddOnsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22482,7 +23331,7 @@ const getPremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22509,7 +23358,7 @@ const addPremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22543,7 +23392,7 @@ const deletePremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22551,7 +23400,7 @@ const deletePremierAddOnSlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22568,7 +23417,7 @@ const updatePremierAddOnSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22601,7 +23450,7 @@ const getPrivateAccessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22627,7 +23476,7 @@ const putPrivateAccessVnetSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22660,7 +23509,7 @@ const listProcessesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22671,7 +23520,7 @@ const listProcessesSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22688,7 +23537,7 @@ const getProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22699,7 +23548,7 @@ const getProcessSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22716,7 +23565,7 @@ const deleteProcessSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22725,7 +23574,7 @@ const deleteProcessSlotOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22742,7 +23591,7 @@ const getProcessDumpSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22758,7 +23607,7 @@ const getProcessDumpSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22775,7 +23624,7 @@ const listProcessModulesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22786,7 +23635,7 @@ const listProcessModulesSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22804,7 +23653,7 @@ const getProcessModuleSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22815,7 +23664,7 @@ const getProcessModuleSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22832,7 +23681,7 @@ const listProcessThreadsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22843,36 +23692,7 @@ const listProcessThreadsSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const getProcessThreadSlotOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads/{threadId}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.name, - Parameters.processId, - Parameters.threadId, - Parameters.slot, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion1 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ProcessThreadInfo - }, - 404: {}, - default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -22888,7 +23708,7 @@ const listPublicCertificatesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22915,7 +23735,7 @@ const getPublicCertificateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22942,7 +23762,7 @@ const createOrUpdatePublicCertificateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22976,7 +23796,7 @@ const deletePublicCertificateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -22985,7 +23805,7 @@ const deletePublicCertificateSlotOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23001,7 +23821,7 @@ const listPublishingProfileXmlWithSecretsSlotOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23039,7 +23859,7 @@ const resetSlotConfigurationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23047,7 +23867,7 @@ const resetSlotConfigurationSlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23065,7 +23885,7 @@ const restartSlotOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.softRestart, Parameters.synchronous, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23073,7 +23893,7 @@ const restartSlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23089,7 +23909,7 @@ const listSiteExtensionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23100,7 +23920,7 @@ const listSiteExtensionsSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23117,7 +23937,7 @@ const getSiteExtensionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23128,7 +23948,7 @@ const getSiteExtensionSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23145,7 +23965,7 @@ const deleteSiteExtensionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23154,7 +23974,7 @@ const deleteSiteExtensionSlotOperationSpec: msRest.OperationSpec = { 204: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23170,7 +23990,7 @@ const listSlotDifferencesSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23203,7 +24023,7 @@ const listSnapshotsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23229,7 +24049,7 @@ const listSnapshotsFromDRSecondarySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23255,7 +24075,7 @@ const getSourceControlSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23287,7 +24107,7 @@ const deleteSourceControlSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23297,7 +24117,7 @@ const deleteSourceControlSlotOperationSpec: msRest.OperationSpec = { 202: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23313,7 +24133,7 @@ const updateSourceControlSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23352,7 +24172,7 @@ const startSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23360,7 +24180,7 @@ const startSlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23376,7 +24196,7 @@ const stopSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23384,7 +24204,7 @@ const stopSlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23400,7 +24220,7 @@ const stopNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23409,7 +24229,7 @@ const stopNetworkTraceSlotOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23425,7 +24245,7 @@ const syncRepositorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23433,7 +24253,7 @@ const syncRepositorySlotOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23449,7 +24269,7 @@ const syncFunctionTriggersSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23457,7 +24277,7 @@ const syncFunctionTriggersSlotOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23473,7 +24293,7 @@ const listTriggeredWebJobsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23500,7 +24320,7 @@ const getTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23511,7 +24331,7 @@ const getTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23528,7 +24348,7 @@ const deleteTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23537,7 +24357,7 @@ const deleteTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23554,7 +24374,7 @@ const listTriggeredWebJobHistorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23565,7 +24385,7 @@ const listTriggeredWebJobHistorySlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23583,7 +24403,7 @@ const getTriggeredWebJobHistorySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23594,7 +24414,7 @@ const getTriggeredWebJobHistorySlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23611,7 +24431,7 @@ const runTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23620,7 +24440,7 @@ const runTriggeredWebJobSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23637,7 +24457,7 @@ const listUsagesSlotOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23663,7 +24483,7 @@ const listVnetConnectionsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23701,7 +24521,7 @@ const getVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23728,7 +24548,7 @@ const createOrUpdateVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23762,7 +24582,7 @@ const deleteVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23771,7 +24591,7 @@ const deleteVnetConnectionSlotOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23788,7 +24608,7 @@ const updateVnetConnectionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23823,7 +24643,7 @@ const getVnetConnectionGatewaySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23834,7 +24654,7 @@ const getVnetConnectionGatewaySlotOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -23852,7 +24672,7 @@ const createOrUpdateVnetConnectionGatewaySlotOperationSpec: msRest.OperationSpec Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23887,7 +24707,7 @@ const updateVnetConnectionGatewaySlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23920,7 +24740,7 @@ const listWebJobsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23947,7 +24767,7 @@ const getWebJobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -23972,7 +24792,7 @@ const listSlotDifferencesFromProductionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24004,7 +24824,7 @@ const listSnapshotsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24029,7 +24849,7 @@ const listSnapshotsFromDRSecondaryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24054,7 +24874,7 @@ const getSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24085,7 +24905,7 @@ const deleteSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24095,7 +24915,7 @@ const deleteSourceControlOperationSpec: msRest.OperationSpec = { 202: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24110,7 +24930,7 @@ const updateSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24148,7 +24968,7 @@ const startOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24156,7 +24976,7 @@ const startOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24171,7 +24991,7 @@ const stopOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24179,7 +24999,7 @@ const stopOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24194,7 +25014,7 @@ const stopNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24203,7 +25023,7 @@ const stopNetworkTraceOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24218,7 +25038,7 @@ const syncRepositoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24226,7 +25046,7 @@ const syncRepositoryOperationSpec: msRest.OperationSpec = { responses: { 200: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24241,7 +25061,7 @@ const syncFunctionTriggersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24249,7 +25069,7 @@ const syncFunctionTriggersOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24264,7 +25084,7 @@ const listTriggeredWebJobsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24290,7 +25110,7 @@ const getTriggeredWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24301,7 +25121,7 @@ const getTriggeredWebJobOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24317,7 +25137,7 @@ const deleteTriggeredWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24326,7 +25146,7 @@ const deleteTriggeredWebJobOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24342,7 +25162,7 @@ const listTriggeredWebJobHistoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24353,7 +25173,7 @@ const listTriggeredWebJobHistoryOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24370,7 +25190,7 @@ const getTriggeredWebJobHistoryOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24381,7 +25201,7 @@ const getTriggeredWebJobHistoryOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24397,7 +25217,7 @@ const runTriggeredWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24406,7 +25226,7 @@ const runTriggeredWebJobOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24422,7 +25242,7 @@ const listUsagesOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.filter, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24447,7 +25267,7 @@ const listVnetConnectionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24484,7 +25304,7 @@ const getVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24510,7 +25330,7 @@ const createOrUpdateVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24543,7 +25363,7 @@ const deleteVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24552,7 +25372,7 @@ const deleteVnetConnectionOperationSpec: msRest.OperationSpec = { 200: {}, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24568,7 +25388,7 @@ const updateVnetConnectionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24602,7 +25422,7 @@ const getVnetConnectionGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24613,7 +25433,7 @@ const getVnetConnectionGatewayOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24630,7 +25450,7 @@ const createOrUpdateVnetConnectionGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24664,7 +25484,7 @@ const updateVnetConnectionGatewayOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24696,7 +25516,7 @@ const listWebJobsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24722,7 +25542,7 @@ const getWebJobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24747,7 +25567,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24783,7 +25603,7 @@ const beginRestoreOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24799,7 +25619,7 @@ const beginRestoreOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24814,7 +25634,7 @@ const beginListPublishingCredentialsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24839,7 +25659,7 @@ const beginCreateMSDeployOperationOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24857,7 +25677,7 @@ const beginCreateMSDeployOperationOperationSpec: msRest.OperationSpec = { }, 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24873,7 +25693,7 @@ const beginCreateFunctionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24906,7 +25726,7 @@ const beginCreateInstanceMSDeployOperationOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24924,7 +25744,7 @@ const beginCreateInstanceMSDeployOperationOperationSpec: msRest.OperationSpec = }, 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -24940,7 +25760,7 @@ const beginMigrateStorageOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.subscriptionName, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -24972,7 +25792,7 @@ const beginMigrateMySqlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25007,7 +25827,7 @@ const beginStartWebSiteNetworkTraceOperationOperationSpec: msRest.OperationSpec Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25057,7 +25877,7 @@ const beginRestoreFromBackupBlobOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25073,7 +25893,7 @@ const beginRestoreFromBackupBlobOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25088,7 +25908,7 @@ const beginRestoreFromDeletedAppOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25104,7 +25924,7 @@ const beginRestoreFromDeletedAppOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25119,7 +25939,7 @@ const beginRestoreSnapshotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25135,7 +25955,7 @@ const beginRestoreSnapshotOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25151,7 +25971,7 @@ const beginInstallSiteExtensionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25165,7 +25985,38 @@ const beginInstallSiteExtensionOperationSpec: msRest.OperationSpec = { }, 429: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const beginCopyProductionSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotcopy", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "copySlotEntity", + mapper: { + ...Mappers.CsmCopySlotEntity, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25181,7 +26032,7 @@ const beginCreateOrUpdateSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25218,7 +26069,7 @@ const beginRestoreSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25234,7 +26085,7 @@ const beginRestoreSlotOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25250,7 +26101,7 @@ const beginListPublishingCredentialsSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25276,7 +26127,7 @@ const beginCreateMSDeployOperationSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25294,7 +26145,7 @@ const beginCreateMSDeployOperationSlotOperationSpec: msRest.OperationSpec = { }, 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25311,7 +26162,7 @@ const beginCreateInstanceFunctionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25345,7 +26196,7 @@ const beginCreateInstanceMSDeployOperationSlotOperationSpec: msRest.OperationSpe Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25363,7 +26214,7 @@ const beginCreateInstanceMSDeployOperationSlotOperationSpec: msRest.OperationSpe }, 409: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25382,7 +26233,7 @@ const beginStartWebSiteNetworkTraceOperationSlotOperationSpec: msRest.OperationS Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25433,7 +26284,7 @@ const beginRestoreFromBackupBlobSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25449,7 +26300,7 @@ const beginRestoreFromBackupBlobSlotOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25465,7 +26316,7 @@ const beginRestoreFromDeletedAppSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25481,7 +26332,7 @@ const beginRestoreFromDeletedAppSlotOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25497,7 +26348,7 @@ const beginRestoreSnapshotSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25513,7 +26364,7 @@ const beginRestoreSnapshotSlotOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25530,7 +26381,7 @@ const beginInstallSiteExtensionSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25544,7 +26395,39 @@ const beginInstallSiteExtensionSlotOperationSpec: msRest.OperationSpec = { }, 429: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse + } + }, + serializer +}; + +const beginCopySlotSlotOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotcopy", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.name, + Parameters.slot, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "copySlotEntity", + mapper: { + ...Mappers.CsmCopySlotEntity, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25560,7 +26443,7 @@ const beginSwapSlotSlotOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25576,7 +26459,7 @@ const beginSwapSlotSlotOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25592,7 +26475,7 @@ const beginCreateOrUpdateSourceControlSlotOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25634,7 +26517,7 @@ const beginStartNetworkTraceSlotOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25684,7 +26567,7 @@ const beginSwapSlotWithProductionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25700,7 +26583,7 @@ const beginSwapSlotWithProductionOperationSpec: msRest.OperationSpec = { 200: {}, 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -25715,7 +26598,7 @@ const beginCreateOrUpdateSourceControlOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25756,7 +26639,7 @@ const beginStartNetworkTraceOperationSpec: msRest.OperationSpec = { Parameters.durationInSeconds, Parameters.maxFrameLength, Parameters.sasUrl, - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -25981,7 +26864,7 @@ const listFunctionsNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26045,7 +26928,7 @@ const listInstanceProcessesNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26067,7 +26950,7 @@ const listInstanceProcessModulesNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26088,27 +26971,6 @@ const listInstanceProcessThreadsNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ProcessThreadInfoCollection }, 404: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection - }, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -26116,8 +26978,8 @@ const listMetricDefinitionsNextOperationSpec: msRest.OperationSpec = { serializer }; -const listMetricsNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", +const listSiteBackupsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ @@ -26128,7 +26990,7 @@ const listMetricsNextOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ResourceMetricCollection + bodyMapper: Mappers.BackupItemCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -26174,7 +27036,7 @@ const listProcessesNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26196,7 +27058,7 @@ const listProcessModulesNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26218,7 +27080,7 @@ const listProcessThreadsNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26261,7 +27123,7 @@ const listSiteExtensionsNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26430,7 +27292,7 @@ const listInstanceFunctionsSlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26494,7 +27356,7 @@ const listInstanceProcessesSlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26516,7 +27378,7 @@ const listInstanceProcessModulesSlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26537,27 +27399,6 @@ const listInstanceProcessThreadsSlotNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ProcessThreadInfoCollection }, 404: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listMetricDefinitionsSlotNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ResourceMetricDefinitionCollection - }, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -26565,8 +27406,8 @@ const listMetricDefinitionsSlotNextOperationSpec: msRest.OperationSpec = { serializer }; -const listMetricsSlotNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", +const listSiteBackupsSlotNextOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ @@ -26577,7 +27418,7 @@ const listMetricsSlotNextOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.ResourceMetricCollection + bodyMapper: Mappers.BackupItemCollection }, default: { bodyMapper: Mappers.DefaultErrorResponse @@ -26623,7 +27464,7 @@ const listProcessesSlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26645,7 +27486,7 @@ const listProcessModulesSlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26667,7 +27508,7 @@ const listProcessThreadsSlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26710,7 +27551,7 @@ const listSiteExtensionsSlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26816,7 +27657,7 @@ const listTriggeredWebJobHistorySlotNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -26964,7 +27805,7 @@ const listTriggeredWebJobHistoryNextOperationSpec: msRest.OperationSpec = { }, 404: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts index ecf9e302a4a2..8c2af18f8009 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts @@ -59,7 +59,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Gets publishing user + * Description for Gets publishing user * @summary Gets publishing user * @param [options] The optional parameters * @returns Promise @@ -84,7 +84,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Updates publishing user + * Description for Updates publishing user * @summary Updates publishing user * @param userDetails Details of publishing user * @param [options] The optional parameters @@ -113,7 +113,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Gets the source controls available for Azure websites. + * Description for Gets the source controls available for Azure websites. * @summary Gets the source controls available for Azure websites. * @param [options] The optional parameters * @returns Promise @@ -138,7 +138,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Gets source control token + * Description for Gets source control token * @summary Gets source control token * @param sourceControlType Type of source control * @param [options] The optional parameters @@ -167,7 +167,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Updates source control token + * Description for Updates source control token * @summary Updates source control token * @param sourceControlType Type of source control * @param requestMessage Source control token information @@ -200,7 +200,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Gets a list of meters for a given location. + * Description for Gets a list of meters for a given location. * @summary Gets a list of meters for a given location. * @param [options] The optional parameters * @returns Promise @@ -225,7 +225,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Check if a resource name is available. + * Description for Check if a resource name is available. * @summary Check if a resource name is available. * @param name Resource name to verify. * @param type Resource type used for verification. Possible values include: 'Site', 'Slot', @@ -264,7 +264,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Gets list of available geo regions plus ministamps + * Description for Gets list of available geo regions plus ministamps * @summary Gets list of available geo regions plus ministamps * @param [options] The optional parameters * @returns Promise @@ -289,7 +289,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Get a list of available geographical regions. + * Description for Get a list of available geographical regions. * @summary Get a list of available geographical regions. * @param [options] The optional parameters * @returns Promise @@ -314,7 +314,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * List all apps that are assigned to a hostname. + * Description for List all apps that are assigned to a hostname. * @summary List all apps that are assigned to a hostname. * @param [options] The optional parameters * @returns Promise @@ -339,7 +339,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * List all premier add-on offers. + * Description for List all premier add-on offers. * @summary List all premier add-on offers. * @param [options] The optional parameters * @returns Promise @@ -364,7 +364,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * List all SKUs. + * Description for List all SKUs. * @summary List all SKUs. * @param [options] The optional parameters * @returns Promise @@ -389,8 +389,8 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Verifies if this VNET is compatible with an App Service Environment by analyzing the Network - * Security Group rules. + * Description for Verifies if this VNET is compatible with an App Service Environment by analyzing + * the Network Security Group rules. * @summary Verifies if this VNET is compatible with an App Service Environment by analyzing the * Network Security Group rules. * @param parameters VNET information @@ -420,7 +420,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Move resources between resource groups. + * Description for Move resources between resource groups. * @summary Move resources between resource groups. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param moveResourceEnvelope Object that represents the resource to move. @@ -453,7 +453,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Validate if a resource can be created. + * Description for Validate if a resource can be created. * @summary Validate if a resource can be created. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param validateRequest Request with the resources to validate. @@ -486,40 +486,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Validate if the container settings are correct. - * @summary Validate if the container settings are correct. - * @param validateContainerSettingsRequest - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param [options] The optional parameters - * @returns Promise - */ - validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param validateContainerSettingsRequest - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param callback The callback - */ - validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, callback: msRest.ServiceCallback): void; - /** - * @param validateContainerSettingsRequest - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param options The optional parameters - * @param callback The callback - */ - validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - validateContainerSettings(validateContainerSettingsRequest: Models.ValidateContainerSettingsRequest, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.sendOperationRequest( - { - validateContainerSettingsRequest, - resourceGroupName, - options - }, - validateContainerSettingsOperationSpec, - callback) as Promise; - } - - /** - * Validate whether a resource can be moved. + * Description for Validate whether a resource can be moved. * @summary Validate whether a resource can be moved. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param moveResourceEnvelope Object that represents the resource to move. @@ -552,7 +519,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Gets the source controls available for Azure websites. + * Description for Gets the source controls available for Azure websites. * @summary Gets the source controls available for Azure websites. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -581,7 +548,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Gets a list of meters for a given location. + * Description for Gets a list of meters for a given location. * @summary Gets a list of meters for a given location. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -610,7 +577,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * Get a list of available geographical regions. + * Description for Get a list of available geographical regions. * @summary Get a list of available geographical regions. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -639,7 +606,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * List all apps that are assigned to a hostname. + * Description for List all apps that are assigned to a hostname. * @summary List all apps that are assigned to a hostname. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -668,7 +635,7 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { } /** - * List all premier add-on offers. + * Description for List all premier add-on offers. * @summary List all premier add-on offers. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters @@ -703,7 +670,7 @@ const getPublishingUserOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/publishingUsers/web", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -723,7 +690,7 @@ const updatePublishingUserOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "providers/Microsoft.Web/publishingUsers/web", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -750,7 +717,7 @@ const listSourceControlsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Web/sourcecontrols", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -773,7 +740,7 @@ const getSourceControlOperationSpec: msRest.OperationSpec = { Parameters.sourceControlType ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -796,7 +763,7 @@ const updateSourceControlOperationSpec: msRest.OperationSpec = { Parameters.sourceControlType ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -828,7 +795,7 @@ const listBillingMetersOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.billingLocation, Parameters.osType, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -851,7 +818,7 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -888,7 +855,7 @@ const getSubscriptionDeploymentLocationsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -915,7 +882,7 @@ const listGeoRegionsOperationSpec: msRest.OperationSpec = { Parameters.linuxWorkersEnabled, Parameters.xenonWorkersEnabled, Parameters.linuxDynamicWorkersEnabled, - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -938,7 +905,7 @@ const listSiteIdentifiersAssignedToHostNameOperationSpec: msRest.OperationSpec = Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -973,7 +940,7 @@ const listPremierAddOnOffersOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -996,7 +963,7 @@ const listSkusOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1019,7 +986,7 @@ const verifyHostingEnvironmentVnetOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1050,7 +1017,7 @@ const moveOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1065,7 +1032,7 @@ const moveOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer @@ -1079,7 +1046,7 @@ const validateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1102,42 +1069,6 @@ const validateOperationSpec: msRest.OperationSpec = { serializer }; -const validateContainerSettingsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validateContainerSettings", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "validateContainerSettingsRequest", - mapper: { - ...Mappers.ValidateContainerSettingsRequest, - required: true - } - }, - responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Object" - } - } - }, - default: { - bodyMapper: Mappers.DefaultErrorResponse - } - }, - serializer -}; - const validateMoveOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources", @@ -1146,7 +1077,7 @@ const validateMoveOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -1161,7 +1092,7 @@ const validateMoveOperationSpec: msRest.OperationSpec = { responses: { 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.DefaultErrorResponse } }, serializer diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts index 6fb0ab996511..8c256b2a3f60 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClientContext.ts @@ -18,6 +18,7 @@ const packageVersion = "5.8.0"; export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; subscriptionId: string; + apiVersion?: string; /** * Initializes a new instance of the WebSiteManagementClient class. @@ -44,6 +45,7 @@ export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClie super(credentials, options); + this.apiVersion = '2019-08-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";