Skip to content

Commit 6fbad4f

Browse files
authored
[mgmt] servicenetworking release (#30688)
Azure/sdk-release-request#5346 swagger pr: Azure/azure-rest-api-specs#30294
1 parent 70dbb1b commit 6fbad4f

File tree

98 files changed

+4878
-845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+4878
-845
lines changed
Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,47 @@
11
# Release History
2-
3-
## 1.0.1 (Unreleased)
4-
2+
3+
## 1.1.0-beta.1 (2024-08-22)
4+
Compared with version 1.0.0
5+
56
### Features Added
67

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
8+
- Added operation group SecurityPoliciesInterface
9+
- Added Interface SecurityPoliciesInterfaceCreateOrUpdateHeaders
10+
- Added Interface SecurityPoliciesInterfaceCreateOrUpdateOptionalParams
11+
- Added Interface SecurityPoliciesInterfaceDeleteHeaders
12+
- Added Interface SecurityPoliciesInterfaceDeleteOptionalParams
13+
- Added Interface SecurityPoliciesInterfaceGetOptionalParams
14+
- Added Interface SecurityPoliciesInterfaceListByTrafficControllerNextOptionalParams
15+
- Added Interface SecurityPoliciesInterfaceListByTrafficControllerOptionalParams
16+
- Added Interface SecurityPoliciesInterfaceUpdateOptionalParams
17+
- Added Interface SecurityPolicy
18+
- Added Interface SecurityPolicyConfigurations
19+
- Added Interface SecurityPolicyConfigurationsUpdate
20+
- Added Interface SecurityPolicyListResult
21+
- Added Interface SecurityPolicyProperties
22+
- Added Interface SecurityPolicyUpdate
23+
- Added Interface SecurityPolicyUpdateProperties
24+
- Added Interface TrafficControllerUpdateProperties
25+
- Added Interface WafPolicy
26+
- Added Interface WafPolicyUpdate
27+
- Added Interface WafSecurityPolicy
28+
- Added Interface WafSecurityPolicyUpdate
29+
- Added Type Alias AssociationsInterfaceDeleteResponse
30+
- Added Type Alias FrontendsInterfaceDeleteResponse
31+
- Added Type Alias PolicyType
32+
- Added Type Alias SecurityPoliciesInterfaceCreateOrUpdateResponse
33+
- Added Type Alias SecurityPoliciesInterfaceDeleteResponse
34+
- Added Type Alias SecurityPoliciesInterfaceGetResponse
35+
- Added Type Alias SecurityPoliciesInterfaceListByTrafficControllerNextResponse
36+
- Added Type Alias SecurityPoliciesInterfaceListByTrafficControllerResponse
37+
- Added Type Alias SecurityPoliciesInterfaceUpdateResponse
38+
- Added Type Alias TrafficControllerInterfaceDeleteResponse
39+
- Interface TrafficControllerProperties has a new optional parameter securityPolicies
40+
- Interface TrafficControllerProperties has a new optional parameter securityPolicyConfigurations
41+
- Interface TrafficControllerUpdate has a new optional parameter properties
42+
- Added Enum KnownPolicyType
43+
44+
1345
## 1.0.0 (2023-11-21)
1446

1547
The package of @azure/arm-servicenetworking is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).

sdk/servicenetworking/arm-servicenetworking/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023 Microsoft
3+
Copyright (c) 2024 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/servicenetworking/arm-servicenetworking/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Traffic Controller Provider management API.
66

77
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicenetworking/arm-servicenetworking) |
88
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-servicenetworking) |
9-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-servicenetworking) |
9+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-servicenetworking?view=azure-node-preview) |
1010
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
1111

1212
## Getting started
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "164375e67a1bffb207bcf603772c289dbe42d7b5",
2+
"commit": "ba268c5654f002bc17914e0bc157f19529f1fec1",
33
"readme": "specification/servicenetworking/resource-manager/readme.md",
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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\servicenetworking\\resource-manager\\readme.md --use=@autorest/[email protected].12 --generate-sample=true --modelerfour.flatten-models=false",
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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\servicenetworking\\resource-manager\\readme.md --use=@autorest/[email protected].24 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].4",
7-
"use": "@autorest/[email protected].12"
6+
"release_tool": "@azure-tools/[email protected].11",
7+
"use": "@autorest/[email protected].24"
88
}

sdk/servicenetworking/arm-servicenetworking/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/servicenetworking/arm-servicenetworking",
5-
"Tag": "js/servicenetworking/arm-servicenetworking_bb0c85674f"
5+
"Tag": "js/servicenetworking/arm-servicenetworking_5065862efa"
66
}

sdk/servicenetworking/arm-servicenetworking/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ServiceNetworkingManagementClient.",
6-
"version": "1.0.1",
6+
"version": "1.1.0-beta.1",
77
"engines": {
88
"node": ">=18.0.0"
99
},
@@ -116,4 +116,4 @@
116116
"disableDocsMs": true,
117117
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-servicenetworking?view=azure-node-preview"
118118
}
119-
}
119+
}

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

Lines changed: 162 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ export interface AssociationProperties {
3535
export interface AssociationsInterface {
3636
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, associationName: string, resource: Association, options?: AssociationsInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AssociationsInterfaceCreateOrUpdateResponse>, AssociationsInterfaceCreateOrUpdateResponse>>;
3737
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, associationName: string, resource: Association, options?: AssociationsInterfaceCreateOrUpdateOptionalParams): Promise<AssociationsInterfaceCreateOrUpdateResponse>;
38-
beginDelete(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
39-
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<void>;
38+
beginDelete(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AssociationsInterfaceDeleteResponse>, AssociationsInterfaceDeleteResponse>>;
39+
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<AssociationsInterfaceDeleteResponse>;
4040
get(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceGetOptionalParams): Promise<AssociationsInterfaceGetResponse>;
4141
listByTrafficController(resourceGroupName: string, trafficControllerName: string, options?: AssociationsInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<Association>;
4242
update(resourceGroupName: string, trafficControllerName: string, associationName: string, properties: AssociationUpdate, options?: AssociationsInterfaceUpdateOptionalParams): Promise<AssociationsInterfaceUpdateResponse>;
@@ -68,6 +68,9 @@ export interface AssociationsInterfaceDeleteOptionalParams extends coreClient.Op
6868
updateIntervalInMs?: number;
6969
}
7070

71+
// @public
72+
export type AssociationsInterfaceDeleteResponse = AssociationsInterfaceDeleteHeaders;
73+
7174
// @public
7275
export interface AssociationsInterfaceGetOptionalParams extends coreClient.OperationOptions {
7376
}
@@ -167,8 +170,8 @@ export interface FrontendProperties {
167170
export interface FrontendsInterface {
168171
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, frontendName: string, resource: Frontend, options?: FrontendsInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FrontendsInterfaceCreateOrUpdateResponse>, FrontendsInterfaceCreateOrUpdateResponse>>;
169172
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, frontendName: string, resource: Frontend, options?: FrontendsInterfaceCreateOrUpdateOptionalParams): Promise<FrontendsInterfaceCreateOrUpdateResponse>;
170-
beginDelete(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
171-
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<void>;
173+
beginDelete(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<FrontendsInterfaceDeleteResponse>, FrontendsInterfaceDeleteResponse>>;
174+
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<FrontendsInterfaceDeleteResponse>;
172175
get(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceGetOptionalParams): Promise<FrontendsInterfaceGetResponse>;
173176
listByTrafficController(resourceGroupName: string, trafficControllerName: string, options?: FrontendsInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<Frontend>;
174177
update(resourceGroupName: string, trafficControllerName: string, frontendName: string, properties: FrontendUpdate, options?: FrontendsInterfaceUpdateOptionalParams): Promise<FrontendsInterfaceUpdateResponse>;
@@ -200,6 +203,9 @@ export interface FrontendsInterfaceDeleteOptionalParams extends coreClient.Opera
200203
updateIntervalInMs?: number;
201204
}
202205

206+
// @public
207+
export type FrontendsInterfaceDeleteResponse = FrontendsInterfaceDeleteHeaders;
208+
203209
// @public
204210
export interface FrontendsInterfaceGetOptionalParams extends coreClient.OperationOptions {
205211
}
@@ -263,6 +269,11 @@ export enum KnownOrigin {
263269
UserSystem = "user,system"
264270
}
265271

272+
// @public
273+
export enum KnownPolicyType {
274+
WAF = "waf"
275+
}
276+
266277
// @public
267278
export enum KnownProvisioningState {
268279
Accepted = "Accepted",
@@ -319,6 +330,9 @@ export type OperationsListResponse = OperationListResult;
319330
// @public
320331
export type Origin = string;
321332

333+
// @public
334+
export type PolicyType = string;
335+
322336
// @public
323337
export type ProvisioningState = string;
324338

@@ -335,6 +349,115 @@ export interface ResourceId {
335349
id: string;
336350
}
337351

352+
// @public
353+
export interface SecurityPoliciesInterface {
354+
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SecurityPoliciesInterfaceCreateOrUpdateResponse>, SecurityPoliciesInterfaceCreateOrUpdateResponse>>;
355+
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): Promise<SecurityPoliciesInterfaceCreateOrUpdateResponse>;
356+
beginDelete(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SecurityPoliciesInterfaceDeleteResponse>, SecurityPoliciesInterfaceDeleteResponse>>;
357+
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): Promise<SecurityPoliciesInterfaceDeleteResponse>;
358+
get(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceGetOptionalParams): Promise<SecurityPoliciesInterfaceGetResponse>;
359+
listByTrafficController(resourceGroupName: string, trafficControllerName: string, options?: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<SecurityPolicy>;
360+
update(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, properties: SecurityPolicyUpdate, options?: SecurityPoliciesInterfaceUpdateOptionalParams): Promise<SecurityPoliciesInterfaceUpdateResponse>;
361+
}
362+
363+
// @public
364+
export interface SecurityPoliciesInterfaceCreateOrUpdateHeaders {
365+
retryAfter?: number;
366+
}
367+
368+
// @public
369+
export interface SecurityPoliciesInterfaceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
370+
resumeFrom?: string;
371+
updateIntervalInMs?: number;
372+
}
373+
374+
// @public
375+
export type SecurityPoliciesInterfaceCreateOrUpdateResponse = SecurityPolicy;
376+
377+
// @public
378+
export interface SecurityPoliciesInterfaceDeleteHeaders {
379+
location?: string;
380+
retryAfter?: number;
381+
}
382+
383+
// @public
384+
export interface SecurityPoliciesInterfaceDeleteOptionalParams extends coreClient.OperationOptions {
385+
resumeFrom?: string;
386+
updateIntervalInMs?: number;
387+
}
388+
389+
// @public
390+
export type SecurityPoliciesInterfaceDeleteResponse = SecurityPoliciesInterfaceDeleteHeaders;
391+
392+
// @public
393+
export interface SecurityPoliciesInterfaceGetOptionalParams extends coreClient.OperationOptions {
394+
}
395+
396+
// @public
397+
export type SecurityPoliciesInterfaceGetResponse = SecurityPolicy;
398+
399+
// @public
400+
export interface SecurityPoliciesInterfaceListByTrafficControllerNextOptionalParams extends coreClient.OperationOptions {
401+
}
402+
403+
// @public
404+
export type SecurityPoliciesInterfaceListByTrafficControllerNextResponse = SecurityPolicyListResult;
405+
406+
// @public
407+
export interface SecurityPoliciesInterfaceListByTrafficControllerOptionalParams extends coreClient.OperationOptions {
408+
}
409+
410+
// @public
411+
export type SecurityPoliciesInterfaceListByTrafficControllerResponse = SecurityPolicyListResult;
412+
413+
// @public
414+
export interface SecurityPoliciesInterfaceUpdateOptionalParams extends coreClient.OperationOptions {
415+
}
416+
417+
// @public
418+
export type SecurityPoliciesInterfaceUpdateResponse = SecurityPolicy;
419+
420+
// @public
421+
export interface SecurityPolicy extends TrackedResource {
422+
properties?: SecurityPolicyProperties;
423+
}
424+
425+
// @public
426+
export interface SecurityPolicyConfigurations {
427+
wafSecurityPolicy?: WafSecurityPolicy;
428+
}
429+
430+
// @public
431+
export interface SecurityPolicyConfigurationsUpdate {
432+
wafSecurityPolicy?: WafSecurityPolicyUpdate;
433+
}
434+
435+
// @public
436+
export interface SecurityPolicyListResult {
437+
nextLink?: string;
438+
value: SecurityPolicy[];
439+
}
440+
441+
// @public
442+
export interface SecurityPolicyProperties {
443+
readonly policyType?: PolicyType;
444+
readonly provisioningState?: ProvisioningState;
445+
wafPolicy?: WafPolicy;
446+
}
447+
448+
// @public
449+
export interface SecurityPolicyUpdate {
450+
properties?: SecurityPolicyUpdateProperties;
451+
tags?: {
452+
[propertyName: string]: string;
453+
};
454+
}
455+
456+
// @public
457+
export interface SecurityPolicyUpdateProperties {
458+
wafPolicy?: WafPolicyUpdate;
459+
}
460+
338461
// @public (undocumented)
339462
export class ServiceNetworkingManagementClient extends coreClient.ServiceClient {
340463
// (undocumented)
@@ -349,6 +472,8 @@ export class ServiceNetworkingManagementClient extends coreClient.ServiceClient
349472
// (undocumented)
350473
operations: Operations;
351474
// (undocumented)
475+
securityPoliciesInterface: SecurityPoliciesInterface;
476+
// (undocumented)
352477
subscriptionId: string;
353478
// (undocumented)
354479
trafficControllerInterface: TrafficControllerInterface;
@@ -388,8 +513,8 @@ export interface TrafficController extends TrackedResource {
388513
export interface TrafficControllerInterface {
389514
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, resource: TrafficController, options?: TrafficControllerInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TrafficControllerInterfaceCreateOrUpdateResponse>, TrafficControllerInterfaceCreateOrUpdateResponse>>;
390515
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, resource: TrafficController, options?: TrafficControllerInterfaceCreateOrUpdateOptionalParams): Promise<TrafficControllerInterfaceCreateOrUpdateResponse>;
391-
beginDelete(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
392-
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<void>;
516+
beginDelete(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<TrafficControllerInterfaceDeleteResponse>, TrafficControllerInterfaceDeleteResponse>>;
517+
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<TrafficControllerInterfaceDeleteResponse>;
393518
get(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceGetOptionalParams): Promise<TrafficControllerInterfaceGetResponse>;
394519
listByResourceGroup(resourceGroupName: string, options?: TrafficControllerInterfaceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<TrafficController>;
395520
listBySubscription(options?: TrafficControllerInterfaceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<TrafficController>;
@@ -422,6 +547,9 @@ export interface TrafficControllerInterfaceDeleteOptionalParams extends coreClie
422547
updateIntervalInMs?: number;
423548
}
424549

550+
// @public
551+
export type TrafficControllerInterfaceDeleteResponse = TrafficControllerInterfaceDeleteHeaders;
552+
425553
// @public
426554
export interface TrafficControllerInterfaceGetOptionalParams extends coreClient.OperationOptions {
427555
}
@@ -476,15 +604,43 @@ export interface TrafficControllerProperties {
476604
readonly configurationEndpoints?: string[];
477605
readonly frontends?: ResourceId[];
478606
readonly provisioningState?: ProvisioningState;
607+
readonly securityPolicies?: ResourceId[];
608+
securityPolicyConfigurations?: SecurityPolicyConfigurations;
479609
}
480610

481611
// @public
482612
export interface TrafficControllerUpdate {
613+
properties?: TrafficControllerUpdateProperties;
483614
tags?: {
484615
[propertyName: string]: string;
485616
};
486617
}
487618

619+
// @public
620+
export interface TrafficControllerUpdateProperties {
621+
securityPolicyConfigurations?: SecurityPolicyConfigurationsUpdate;
622+
}
623+
624+
// @public
625+
export interface WafPolicy {
626+
id: string;
627+
}
628+
629+
// @public
630+
export interface WafPolicyUpdate {
631+
id?: string;
632+
}
633+
634+
// @public
635+
export interface WafSecurityPolicy {
636+
id: string;
637+
}
638+
639+
// @public
640+
export interface WafSecurityPolicyUpdate {
641+
id?: string;
642+
}
643+
488644
// (No @packageDocumentation comment for this package)
489645

490646
```

0 commit comments

Comments
 (0)