Skip to content

Commit 15e95b9

Browse files
author
SDKAuto
committed
CodeGen from PR 25157 in Azure/azure-rest-api-specs
Merge 5ba3db20a06564e147aaad7cd8af34006cac1ca6 into e5d4af19fba93c2f636e0c14095ba0e34d17d00f
1 parent 8a322e5 commit 15e95b9

File tree

15 files changed

+821
-118
lines changed

15 files changed

+821
-118
lines changed

sdk/appservice/arm-appservice/CHANGELOG.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
11
# Release History
2+
3+
## 15.0.0 (2023-08-28)
4+
5+
**Features**
26

3-
## 14.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- Added operation group GetUsagesInLocation
8+
- Added Interface DaprConfig
9+
- Added Interface GetUsagesInLocationListNextOptionalParams
10+
- Added Interface GetUsagesInLocationListOptionalParams
11+
- Added Interface OneDeployRequest
12+
- Added Type Alias DaprConfigLogLevel
13+
- Added Type Alias GetUsagesInLocationListNextResponse
14+
- Added Type Alias GetUsagesInLocationListResponse
15+
- Added Type Alias TlsCipherSuites
16+
- Interface CheckNameAvailabilityOptionalParams has a new optional parameter environmentId
17+
- Interface ResourceNameAvailabilityRequest has a new optional parameter environmentId
18+
- Interface Site has a new optional parameter daprConfig
19+
- Interface SiteConfig has a new optional parameter minTlsCipherSuite
20+
- Interface SiteConfigResource has a new optional parameter minTlsCipherSuite
21+
- Interface WebAppsCreateOneDeployOperationOptionalParams has a new optional parameter request
22+
- Added Enum KnownDaprConfigLogLevel
23+
- Added Enum KnownTlsCipherSuites
24+
- Added Enum KnownWorkflowState
1025

11-
### Other Changes
26+
**Breaking Changes**
1227

28+
- Class WebSiteManagementClient has a new signature
29+
30+
1331
## 14.0.0 (2023-03-10)
1432

1533
**Features**
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "4f4044394791773e6e7e82a9bd90d3935caaca1b",
2+
"commit": "e651b37365076d1bb2d66d2b86a184b03a3f10e4",
33
"readme": "specification/web/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\web\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.9 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/web/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
7-
"use": "@autorest/[email protected].0-rc.9"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.2",
7+
"use": "@autorest/typescript@^6.0.4"
88
}

sdk/appservice/arm-appservice/package.json

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for WebSiteManagementClient.",
6-
"version": "14.0.1",
6+
"version": "15.0.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
1010
"dependencies": {
11-
"@azure/core-lro": "^2.5.0",
11+
"@azure/core-lro": "^2.5.4",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
1414
"@azure/core-client": "^1.7.0",
1515
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.8.0",
16+
"@azure/core-rest-pipeline": "^1.12.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -48,8 +48,8 @@
4848
"chai": "^4.2.0",
4949
"cross-env": "^7.0.2",
5050
"@types/node": "^14.0.0",
51-
"@azure/dev-tool": "^1.0.0",
52-
"ts-node": "^10.0.0"
51+
"ts-node": "^10.0.0",
52+
"@azure/dev-tool": "^1.0.0"
5353
},
5454
"repository": {
5555
"type": "git",
@@ -112,13 +112,5 @@
112112
]
113113
},
114114
"autoPublish": true,
115-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice",
116-
"//sampleConfiguration": {
117-
"productName": "",
118-
"productSlugs": [
119-
"azure"
120-
],
121-
"disableDocsMs": true,
122-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appservice?view=azure-node-preview"
123-
}
124-
}
115+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice"
116+
}

sdk/appservice/arm-appservice/review/arm-appservice.api.md

Lines changed: 100 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,7 @@ export type Channels = "Notification" | "Api" | "Email" | "Webhook" | "All";
18851885

18861886
// @public
18871887
export interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1888+
environmentId?: string;
18881889
isFqdn?: boolean;
18891890
}
18901891

@@ -2449,6 +2450,20 @@ export interface DaprComponent {
24492450
version?: string;
24502451
}
24512452

2453+
// @public
2454+
export interface DaprConfig {
2455+
appId?: string;
2456+
appPort?: number;
2457+
enableApiLogging?: boolean;
2458+
enabled?: boolean;
2459+
httpMaxRequestSize?: number;
2460+
httpReadBufferSize?: number;
2461+
logLevel?: DaprConfigLogLevel;
2462+
}
2463+
2464+
// @public
2465+
export type DaprConfigLogLevel = string;
2466+
24522467
// @public
24532468
export interface DaprMetadata {
24542469
name?: string;
@@ -3634,6 +3649,25 @@ export interface GetSubscriptionDeploymentLocationsOptionalParams extends coreCl
36343649
// @public
36353650
export type GetSubscriptionDeploymentLocationsResponse = DeploymentLocations;
36363651

3652+
// @public
3653+
export interface GetUsagesInLocation {
3654+
list(location: string, quotaType: string, options?: GetUsagesInLocationListOptionalParams): PagedAsyncIterableIterator<CsmUsageQuota>;
3655+
}
3656+
3657+
// @public
3658+
export interface GetUsagesInLocationListNextOptionalParams extends coreClient.OperationOptions {
3659+
}
3660+
3661+
// @public
3662+
export type GetUsagesInLocationListNextResponse = CsmUsageQuotaCollection;
3663+
3664+
// @public
3665+
export interface GetUsagesInLocationListOptionalParams extends coreClient.OperationOptions {
3666+
}
3667+
3668+
// @public
3669+
export type GetUsagesInLocationListResponse = CsmUsageQuotaCollection;
3670+
36373671
// @public
36383672
export interface GitHub {
36393673
enabled?: boolean;
@@ -4042,6 +4076,14 @@ export enum KnownCustomDomainStatus {
40424076
Validating = "Validating"
40434077
}
40444078

4079+
// @public
4080+
export enum KnownDaprConfigLogLevel {
4081+
Debug = "debug",
4082+
Error = "error",
4083+
Info = "info",
4084+
Warn = "warn"
4085+
}
4086+
40454087
// @public
40464088
export enum KnownDatabaseType {
40474089
LocalMySql = "LocalMySql",
@@ -4261,6 +4303,27 @@ export enum KnownSupportedTlsVersions {
42614303
One2 = "1.2"
42624304
}
42634305

4306+
// @public
4307+
export enum KnownTlsCipherSuites {
4308+
TLSAES128GCMSHA256 = "TLS_AES_128_GCM_SHA256",
4309+
TLSAES256GCMSHA384 = "TLS_AES_256_GCM_SHA384",
4310+
TLSEcdheEcdsaWithAES128CBCSHA256 = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
4311+
TLSEcdheEcdsaWithAES128GCMSHA256 = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
4312+
TLSEcdheEcdsaWithAES256GCMSHA384 = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
4313+
TLSEcdheRSAWithAES128CBCSHA = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
4314+
TLSEcdheRSAWithAES128CBCSHA256 = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
4315+
TLSEcdheRSAWithAES128GCMSHA256 = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
4316+
TLSEcdheRSAWithAES256CBCSHA = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
4317+
TLSEcdheRSAWithAES256CBCSHA384 = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
4318+
TLSEcdheRSAWithAES256GCMSHA384 = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
4319+
TLSRSAWithAES128CBCSHA = "TLS_RSA_WITH_AES_128_CBC_SHA",
4320+
TLSRSAWithAES128CBCSHA256 = "TLS_RSA_WITH_AES_128_CBC_SHA256",
4321+
TLSRSAWithAES128GCMSHA256 = "TLS_RSA_WITH_AES_128_GCM_SHA256",
4322+
TLSRSAWithAES256CBCSHA = "TLS_RSA_WITH_AES_256_CBC_SHA",
4323+
TLSRSAWithAES256CBCSHA256 = "TLS_RSA_WITH_AES_256_CBC_SHA256",
4324+
TLSRSAWithAES256GCMSHA384 = "TLS_RSA_WITH_AES_256_GCM_SHA384"
4325+
}
4326+
42644327
// @public
42654328
export enum KnownTriggerTypes {
42664329
HttpTrigger = "HttpTrigger",
@@ -4324,6 +4387,16 @@ export enum KnownWorkflowSkuName {
43244387
Standard = "Standard"
43254388
}
43264389

4390+
// @public
4391+
export enum KnownWorkflowState {
4392+
Completed = "Completed",
4393+
Deleted = "Deleted",
4394+
Disabled = "Disabled",
4395+
Enabled = "Enabled",
4396+
NotSpecified = "NotSpecified",
4397+
Suspended = "Suspended"
4398+
}
4399+
43274400
// @public
43284401
export enum KnownWorkflowStatus {
43294402
Aborted = "Aborted",
@@ -4811,6 +4884,18 @@ export interface Nonce {
48114884
// @public
48124885
export type NotificationLevel = "Critical" | "Warning" | "Information" | "NonUrgentSuggestion";
48134886

4887+
// @public
4888+
export interface OneDeployRequest extends ProxyOnlyResource {
4889+
async?: boolean;
4890+
clean?: boolean;
4891+
ignoreStack?: boolean;
4892+
packageUri?: string;
4893+
path?: string;
4894+
reset?: boolean;
4895+
restart?: boolean;
4896+
trackDeploymentProgress?: boolean;
4897+
}
4898+
48144899
// @public
48154900
export interface OpenAuthenticationAccessPolicies {
48164901
policies?: {
@@ -5806,6 +5891,7 @@ export interface ResourceNameAvailability {
58065891

58075892
// @public
58085893
export interface ResourceNameAvailabilityRequest {
5894+
environmentId?: string;
58095895
isFqdn?: boolean;
58105896
name: string;
58115897
type: CheckNameResourceTypes;
@@ -5980,6 +6066,7 @@ export interface Site extends Resource {
59806066
containerSize?: number;
59816067
customDomainVerificationId?: string;
59826068
dailyMemoryTimeQuota?: number;
6069+
daprConfig?: DaprConfig;
59836070
readonly defaultHostName?: string;
59846071
enabled?: boolean;
59856072
readonly enabledHostNames?: string[];
@@ -6134,6 +6221,7 @@ export interface SiteConfig {
61346221
managedServiceIdentityId?: number;
61356222
metadata?: NameValuePair[];
61366223
minimumElasticInstanceCount?: number;
6224+
minTlsCipherSuite?: TlsCipherSuites;
61376225
minTlsVersion?: SupportedTlsVersions;
61386226
netFrameworkVersion?: string;
61396227
nodeVersion?: string;
@@ -6219,6 +6307,7 @@ export interface SiteConfigResource extends ProxyOnlyResource {
62196307
managedServiceIdentityId?: number;
62206308
metadata?: NameValuePair[];
62216309
minimumElasticInstanceCount?: number;
6310+
minTlsCipherSuite?: TlsCipherSuites;
62226311
minTlsVersion?: SupportedTlsVersions;
62236312
netFrameworkVersion?: string;
62246313
nodeVersion?: string;
@@ -7672,6 +7761,9 @@ export interface TldLegalAgreementCollection {
76727761
value: TldLegalAgreement[];
76737762
}
76747763

7764+
// @public
7765+
export type TlsCipherSuites = string;
7766+
76757767
// @public
76767768
export interface TokenStore {
76777769
azureBlobStorage?: BlobStorageTokenStore;
@@ -8653,10 +8745,11 @@ export type WebAppsCreateMSDeployOperationSlotResponse = MSDeployStatus;
86538745

86548746
// @public
86558747
export interface WebAppsCreateOneDeployOperationOptionalParams extends coreClient.OperationOptions {
8748+
request?: OneDeployRequest;
86568749
}
86578750

86588751
// @public
8659-
export type WebAppsCreateOneDeployOperationResponse = Record<string, unknown>;
8752+
export type WebAppsCreateOneDeployOperationResponse = Deployment;
86608753

86618754
// @public
86628755
export interface WebAppsCreateOrUpdateConfigurationOptionalParams extends coreClient.OperationOptions {
@@ -9564,7 +9657,7 @@ export interface WebAppsGetOneDeployStatusOptionalParams extends coreClient.Oper
95649657
}
95659658

95669659
// @public
9567-
export type WebAppsGetOneDeployStatusResponse = Record<string, unknown>;
9660+
export type WebAppsGetOneDeployStatusResponse = Deployment;
95689661

95699662
// @public
95709663
export interface WebAppsGetOptionalParams extends coreClient.OperationOptions {
@@ -11777,6 +11870,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
1177711870
// (undocumented)
1177811871
$host: string;
1177911872
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: WebSiteManagementClientOptionalParams);
11873+
constructor(credentials: coreAuth.TokenCredential, options?: WebSiteManagementClientOptionalParams);
1178011874
// (undocumented)
1178111875
apiVersion: string;
1178211876
// (undocumented)
@@ -11808,6 +11902,8 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
1180811902
getSourceControl(sourceControlType: string, options?: GetSourceControlOptionalParams): Promise<GetSourceControlResponse>;
1180911903
getSubscriptionDeploymentLocations(options?: GetSubscriptionDeploymentLocationsOptionalParams): Promise<GetSubscriptionDeploymentLocationsResponse>;
1181011904
// (undocumented)
11905+
getUsagesInLocation: GetUsagesInLocation;
11906+
// (undocumented)
1181111907
global: Global_2;
1181211908
// (undocumented)
1181311909
kubeEnvironments: KubeEnvironments;
@@ -11828,7 +11924,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
1182811924
// (undocumented)
1182911925
staticSites: StaticSites;
1183011926
// (undocumented)
11831-
subscriptionId: string;
11927+
subscriptionId?: string;
1183211928
// (undocumented)
1183311929
topLevelDomains: TopLevelDomains;
1183411930
updatePublishingUser(userDetails: User, options?: UpdatePublishingUserOptionalParams): Promise<UpdatePublishingUserResponse>;
@@ -12301,7 +12397,7 @@ export interface WorkflowsRegenerateAccessKeyOptionalParams extends coreClient.O
1230112397
}
1230212398

1230312399
// @public
12304-
export type WorkflowState = "NotSpecified" | "Completed" | "Enabled" | "Disabled" | "Deleted" | "Suspended";
12400+
export type WorkflowState = string;
1230512401

1230612402
// @public
1230712403
export type WorkflowStatus = string;

0 commit comments

Comments
 (0)