@azure/arm-servicenetworking 1.0.0-beta.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -27
- package/README.md +1 -1
- package/dist/index.js +185 -140
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/associationsInterfaceCreateOrUpdateSample.js +6 -4
- package/dist-esm/samples-dev/associationsInterfaceCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/associationsInterfaceDeleteSample.js +1 -1
- package/dist-esm/samples-dev/associationsInterfaceGetSample.js +1 -1
- package/dist-esm/samples-dev/associationsInterfaceListByTrafficControllerSample.js +4 -9
- package/dist-esm/samples-dev/associationsInterfaceListByTrafficControllerSample.js.map +1 -1
- package/dist-esm/samples-dev/associationsInterfaceUpdateSample.js +6 -4
- package/dist-esm/samples-dev/associationsInterfaceUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/frontendsInterfaceCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/frontendsInterfaceCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/frontendsInterfaceDeleteSample.js +1 -1
- package/dist-esm/samples-dev/frontendsInterfaceGetSample.js +1 -1
- package/dist-esm/samples-dev/frontendsInterfaceListByTrafficControllerSample.js +4 -9
- package/dist-esm/samples-dev/frontendsInterfaceListByTrafficControllerSample.js.map +1 -1
- package/dist-esm/samples-dev/frontendsInterfaceUpdateSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +4 -9
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/trafficControllerInterfaceCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/trafficControllerInterfaceDeleteSample.js +1 -1
- package/dist-esm/samples-dev/trafficControllerInterfaceGetSample.js +1 -1
- package/dist-esm/samples-dev/trafficControllerInterfaceListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/trafficControllerInterfaceListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/trafficControllerInterfaceListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/trafficControllerInterfaceListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/trafficControllerInterfaceUpdateSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +61 -41
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +138 -71
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +4 -4
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/associationsInterface.js +3 -8
- package/dist-esm/src/operations/associationsInterface.js.map +1 -1
- package/dist-esm/src/operations/frontendsInterface.js +3 -8
- package/dist-esm/src/operations/frontendsInterface.js.map +1 -1
- package/dist-esm/src/operations/operations.js +3 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/trafficControllerInterface.js +6 -16
- package/dist-esm/src/operations/trafficControllerInterface.js.map +1 -1
- package/dist-esm/src/serviceNetworkingManagementClient.js +2 -2
- package/dist-esm/src/serviceNetworkingManagementClient.js.map +1 -1
- package/dist-esm/test/servicenetworking_operations_test.spec.js +9 -17
- package/dist-esm/test/servicenetworking_operations_test.spec.js.map +1 -1
- package/package.json +15 -19
- package/review/arm-servicenetworking.api.md +31 -11
- package/src/models/index.ts +65 -41
- package/src/models/mappers.ts +142 -77
- package/src/models/parameters.ts +4 -4
- package/src/serviceNetworkingManagementClient.ts +2 -2
- package/types/arm-servicenetworking.d.ts +63 -39
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
package/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,5 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 1.0.0
|
|
4
|
-
|
|
5
|
-
**Features**
|
|
6
|
-
|
|
7
|
-
- Added Interface AssociationSubnetUpdate
|
|
8
|
-
- Added Interface ResourceId
|
|
9
|
-
- Added Type Alias AssociationType
|
|
10
|
-
- Interface AssociationUpdate has a new optional parameter associationType
|
|
11
|
-
- Interface AssociationUpdate has a new optional parameter subnet
|
|
12
|
-
- Interface Frontend has a new optional parameter fqdn
|
|
13
|
-
- Added Enum KnownAssociationType
|
|
14
|
-
|
|
15
|
-
**Breaking Changes**
|
|
16
|
-
|
|
17
|
-
- Interface AssociationUpdate no longer has parameter properties
|
|
18
|
-
- Interface Frontend no longer has parameter ipAddressVersion
|
|
19
|
-
- Interface Frontend no longer has parameter mode
|
|
20
|
-
- Interface Frontend no longer has parameter publicIPAddress
|
|
21
|
-
- Interface FrontendUpdate no longer has parameter properties
|
|
22
|
-
- Interface TrafficControllerUpdate no longer has parameter properties
|
|
23
|
-
- Type of parameter associationType of interface Association is changed from "subnets" to AssociationType
|
|
24
|
-
- Type of parameter associations of interface TrafficController is changed from ResourceID[] to ResourceId[]
|
|
25
|
-
- Type of parameter frontends of interface TrafficController is changed from ResourceID[] to ResourceId[]
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## 1.0.0-beta.1 (2022-12-23)
|
|
3
|
+
## 1.0.0 (2023-11-21)
|
|
29
4
|
|
|
30
|
-
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/js
|
|
5
|
+
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 ).
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Traffic Controller Provider management API.
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicenetworking/arm-servicenetworking) |
|
|
8
8
|
[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) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
package/dist/index.js
CHANGED
|
@@ -7,8 +7,7 @@ var coreClient = require('@azure/core-client');
|
|
|
7
7
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
8
|
var coreLro = require('@azure/core-lro');
|
|
9
9
|
|
|
10
|
-
function
|
|
11
|
-
if (e && e.__esModule) return e;
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
12
11
|
var n = Object.create(null);
|
|
13
12
|
if (e) {
|
|
14
13
|
Object.keys(e).forEach(function (k) {
|
|
@@ -21,12 +20,12 @@ function _interopNamespace(e) {
|
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
22
|
}
|
|
24
|
-
n
|
|
23
|
+
n.default = e;
|
|
25
24
|
return Object.freeze(n);
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
var coreClient__namespace = /*#__PURE__*/
|
|
29
|
-
var coreRestPipeline__namespace = /*#__PURE__*/
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
30
29
|
|
|
31
30
|
/*
|
|
32
31
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -354,6 +353,59 @@ const TrafficControllerListResult = {
|
|
|
354
353
|
}
|
|
355
354
|
}
|
|
356
355
|
};
|
|
356
|
+
const TrafficControllerProperties = {
|
|
357
|
+
type: {
|
|
358
|
+
name: "Composite",
|
|
359
|
+
className: "TrafficControllerProperties",
|
|
360
|
+
modelProperties: {
|
|
361
|
+
configurationEndpoints: {
|
|
362
|
+
serializedName: "configurationEndpoints",
|
|
363
|
+
readOnly: true,
|
|
364
|
+
type: {
|
|
365
|
+
name: "Sequence",
|
|
366
|
+
element: {
|
|
367
|
+
type: {
|
|
368
|
+
name: "String"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
frontends: {
|
|
374
|
+
serializedName: "frontends",
|
|
375
|
+
readOnly: true,
|
|
376
|
+
type: {
|
|
377
|
+
name: "Sequence",
|
|
378
|
+
element: {
|
|
379
|
+
type: {
|
|
380
|
+
name: "Composite",
|
|
381
|
+
className: "ResourceId"
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
associations: {
|
|
387
|
+
serializedName: "associations",
|
|
388
|
+
readOnly: true,
|
|
389
|
+
type: {
|
|
390
|
+
name: "Sequence",
|
|
391
|
+
element: {
|
|
392
|
+
type: {
|
|
393
|
+
name: "Composite",
|
|
394
|
+
className: "ResourceId"
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
provisioningState: {
|
|
400
|
+
serializedName: "provisioningState",
|
|
401
|
+
readOnly: true,
|
|
402
|
+
type: {
|
|
403
|
+
name: "String"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
};
|
|
357
409
|
const ResourceId = {
|
|
358
410
|
type: {
|
|
359
411
|
name: "Composite",
|
|
@@ -491,6 +543,35 @@ const AssociationListResult = {
|
|
|
491
543
|
}
|
|
492
544
|
}
|
|
493
545
|
};
|
|
546
|
+
const AssociationProperties = {
|
|
547
|
+
type: {
|
|
548
|
+
name: "Composite",
|
|
549
|
+
className: "AssociationProperties",
|
|
550
|
+
modelProperties: {
|
|
551
|
+
associationType: {
|
|
552
|
+
serializedName: "associationType",
|
|
553
|
+
required: true,
|
|
554
|
+
type: {
|
|
555
|
+
name: "String"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
subnet: {
|
|
559
|
+
serializedName: "subnet",
|
|
560
|
+
type: {
|
|
561
|
+
name: "Composite",
|
|
562
|
+
className: "AssociationSubnet"
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
provisioningState: {
|
|
566
|
+
serializedName: "provisioningState",
|
|
567
|
+
readOnly: true,
|
|
568
|
+
type: {
|
|
569
|
+
name: "String"
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
};
|
|
494
575
|
const AssociationSubnet = {
|
|
495
576
|
type: {
|
|
496
577
|
name: "Composite",
|
|
@@ -518,14 +599,29 @@ const AssociationUpdate = {
|
|
|
518
599
|
value: { type: { name: "String" } }
|
|
519
600
|
}
|
|
520
601
|
},
|
|
602
|
+
properties: {
|
|
603
|
+
serializedName: "properties",
|
|
604
|
+
type: {
|
|
605
|
+
name: "Composite",
|
|
606
|
+
className: "AssociationUpdateProperties"
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
const AssociationUpdateProperties = {
|
|
613
|
+
type: {
|
|
614
|
+
name: "Composite",
|
|
615
|
+
className: "AssociationUpdateProperties",
|
|
616
|
+
modelProperties: {
|
|
521
617
|
associationType: {
|
|
522
|
-
serializedName: "
|
|
618
|
+
serializedName: "associationType",
|
|
523
619
|
type: {
|
|
524
620
|
name: "String"
|
|
525
621
|
}
|
|
526
622
|
},
|
|
527
623
|
subnet: {
|
|
528
|
-
serializedName: "
|
|
624
|
+
serializedName: "subnet",
|
|
529
625
|
type: {
|
|
530
626
|
name: "Composite",
|
|
531
627
|
className: "AssociationSubnetUpdate"
|
|
@@ -575,6 +671,28 @@ const FrontendListResult = {
|
|
|
575
671
|
}
|
|
576
672
|
}
|
|
577
673
|
};
|
|
674
|
+
const FrontendProperties = {
|
|
675
|
+
type: {
|
|
676
|
+
name: "Composite",
|
|
677
|
+
className: "FrontendProperties",
|
|
678
|
+
modelProperties: {
|
|
679
|
+
fqdn: {
|
|
680
|
+
serializedName: "fqdn",
|
|
681
|
+
readOnly: true,
|
|
682
|
+
type: {
|
|
683
|
+
name: "String"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
provisioningState: {
|
|
687
|
+
serializedName: "provisioningState",
|
|
688
|
+
readOnly: true,
|
|
689
|
+
type: {
|
|
690
|
+
name: "String"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
};
|
|
578
696
|
const FrontendUpdate = {
|
|
579
697
|
type: {
|
|
580
698
|
name: "Composite",
|
|
@@ -613,46 +731,11 @@ const TrafficController = {
|
|
|
613
731
|
type: {
|
|
614
732
|
name: "Composite",
|
|
615
733
|
className: "TrafficController",
|
|
616
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), {
|
|
617
|
-
serializedName: "properties
|
|
618
|
-
readOnly: true,
|
|
734
|
+
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { properties: {
|
|
735
|
+
serializedName: "properties",
|
|
619
736
|
type: {
|
|
620
|
-
name: "
|
|
621
|
-
|
|
622
|
-
type: {
|
|
623
|
-
name: "String"
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}, frontends: {
|
|
628
|
-
serializedName: "properties.frontends",
|
|
629
|
-
readOnly: true,
|
|
630
|
-
type: {
|
|
631
|
-
name: "Sequence",
|
|
632
|
-
element: {
|
|
633
|
-
type: {
|
|
634
|
-
name: "Composite",
|
|
635
|
-
className: "ResourceId"
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
}, associations: {
|
|
640
|
-
serializedName: "properties.associations",
|
|
641
|
-
readOnly: true,
|
|
642
|
-
type: {
|
|
643
|
-
name: "Sequence",
|
|
644
|
-
element: {
|
|
645
|
-
type: {
|
|
646
|
-
name: "Composite",
|
|
647
|
-
className: "ResourceId"
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}, provisioningState: {
|
|
652
|
-
serializedName: "properties.provisioningState",
|
|
653
|
-
readOnly: true,
|
|
654
|
-
type: {
|
|
655
|
-
name: "String"
|
|
737
|
+
name: "Composite",
|
|
738
|
+
className: "TrafficControllerProperties"
|
|
656
739
|
}
|
|
657
740
|
} })
|
|
658
741
|
}
|
|
@@ -661,22 +744,11 @@ const Association = {
|
|
|
661
744
|
type: {
|
|
662
745
|
name: "Composite",
|
|
663
746
|
className: "Association",
|
|
664
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), {
|
|
665
|
-
serializedName: "properties
|
|
666
|
-
type: {
|
|
667
|
-
name: "String"
|
|
668
|
-
}
|
|
669
|
-
}, subnet: {
|
|
670
|
-
serializedName: "properties.subnet",
|
|
747
|
+
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { properties: {
|
|
748
|
+
serializedName: "properties",
|
|
671
749
|
type: {
|
|
672
750
|
name: "Composite",
|
|
673
|
-
className: "
|
|
674
|
-
}
|
|
675
|
-
}, provisioningState: {
|
|
676
|
-
serializedName: "properties.provisioningState",
|
|
677
|
-
readOnly: true,
|
|
678
|
-
type: {
|
|
679
|
-
name: "String"
|
|
751
|
+
className: "AssociationProperties"
|
|
680
752
|
}
|
|
681
753
|
} })
|
|
682
754
|
}
|
|
@@ -685,17 +757,11 @@ const Frontend = {
|
|
|
685
757
|
type: {
|
|
686
758
|
name: "Composite",
|
|
687
759
|
className: "Frontend",
|
|
688
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), {
|
|
689
|
-
serializedName: "properties
|
|
690
|
-
readOnly: true,
|
|
760
|
+
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { properties: {
|
|
761
|
+
serializedName: "properties",
|
|
691
762
|
type: {
|
|
692
|
-
name: "
|
|
693
|
-
|
|
694
|
-
}, provisioningState: {
|
|
695
|
-
serializedName: "properties.provisioningState",
|
|
696
|
-
readOnly: true,
|
|
697
|
-
type: {
|
|
698
|
-
name: "String"
|
|
763
|
+
name: "Composite",
|
|
764
|
+
className: "FrontendProperties"
|
|
699
765
|
}
|
|
700
766
|
} })
|
|
701
767
|
}
|
|
@@ -719,17 +785,17 @@ const TrafficControllerInterfaceDeleteHeaders = {
|
|
|
719
785
|
name: "Composite",
|
|
720
786
|
className: "TrafficControllerInterfaceDeleteHeaders",
|
|
721
787
|
modelProperties: {
|
|
722
|
-
location: {
|
|
723
|
-
serializedName: "location",
|
|
724
|
-
type: {
|
|
725
|
-
name: "String"
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
788
|
retryAfter: {
|
|
729
789
|
serializedName: "retry-after",
|
|
730
790
|
type: {
|
|
731
791
|
name: "Number"
|
|
732
792
|
}
|
|
793
|
+
},
|
|
794
|
+
location: {
|
|
795
|
+
serializedName: "location",
|
|
796
|
+
type: {
|
|
797
|
+
name: "String"
|
|
798
|
+
}
|
|
733
799
|
}
|
|
734
800
|
}
|
|
735
801
|
}
|
|
@@ -805,33 +871,37 @@ const FrontendsInterfaceDeleteHeaders = {
|
|
|
805
871
|
|
|
806
872
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
807
873
|
__proto__: null,
|
|
808
|
-
|
|
809
|
-
Operation: Operation,
|
|
810
|
-
OperationDisplay: OperationDisplay,
|
|
811
|
-
ErrorResponse: ErrorResponse,
|
|
812
|
-
ErrorDetail: ErrorDetail,
|
|
813
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
814
|
-
TrafficControllerListResult: TrafficControllerListResult,
|
|
815
|
-
ResourceId: ResourceId,
|
|
816
|
-
Resource: Resource,
|
|
817
|
-
SystemData: SystemData,
|
|
818
|
-
TrafficControllerUpdate: TrafficControllerUpdate,
|
|
874
|
+
Association: Association,
|
|
819
875
|
AssociationListResult: AssociationListResult,
|
|
876
|
+
AssociationProperties: AssociationProperties,
|
|
820
877
|
AssociationSubnet: AssociationSubnet,
|
|
821
|
-
AssociationUpdate: AssociationUpdate,
|
|
822
878
|
AssociationSubnetUpdate: AssociationSubnetUpdate,
|
|
879
|
+
AssociationUpdate: AssociationUpdate,
|
|
880
|
+
AssociationUpdateProperties: AssociationUpdateProperties,
|
|
881
|
+
AssociationsInterfaceCreateOrUpdateHeaders: AssociationsInterfaceCreateOrUpdateHeaders,
|
|
882
|
+
AssociationsInterfaceDeleteHeaders: AssociationsInterfaceDeleteHeaders,
|
|
883
|
+
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
884
|
+
ErrorDetail: ErrorDetail,
|
|
885
|
+
ErrorResponse: ErrorResponse,
|
|
886
|
+
Frontend: Frontend,
|
|
823
887
|
FrontendListResult: FrontendListResult,
|
|
888
|
+
FrontendProperties: FrontendProperties,
|
|
824
889
|
FrontendUpdate: FrontendUpdate,
|
|
890
|
+
FrontendsInterfaceCreateOrUpdateHeaders: FrontendsInterfaceCreateOrUpdateHeaders,
|
|
891
|
+
FrontendsInterfaceDeleteHeaders: FrontendsInterfaceDeleteHeaders,
|
|
892
|
+
Operation: Operation,
|
|
893
|
+
OperationDisplay: OperationDisplay,
|
|
894
|
+
OperationListResult: OperationListResult,
|
|
895
|
+
Resource: Resource,
|
|
896
|
+
ResourceId: ResourceId,
|
|
897
|
+
SystemData: SystemData,
|
|
825
898
|
TrackedResource: TrackedResource,
|
|
826
899
|
TrafficController: TrafficController,
|
|
827
|
-
Association: Association,
|
|
828
|
-
Frontend: Frontend,
|
|
829
900
|
TrafficControllerInterfaceCreateOrUpdateHeaders: TrafficControllerInterfaceCreateOrUpdateHeaders,
|
|
830
901
|
TrafficControllerInterfaceDeleteHeaders: TrafficControllerInterfaceDeleteHeaders,
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
FrontendsInterfaceDeleteHeaders: FrontendsInterfaceDeleteHeaders
|
|
902
|
+
TrafficControllerListResult: TrafficControllerListResult,
|
|
903
|
+
TrafficControllerProperties: TrafficControllerProperties,
|
|
904
|
+
TrafficControllerUpdate: TrafficControllerUpdate
|
|
835
905
|
});
|
|
836
906
|
|
|
837
907
|
/*
|
|
@@ -866,7 +936,7 @@ const $host = {
|
|
|
866
936
|
const apiVersion = {
|
|
867
937
|
parameterPath: "apiVersion",
|
|
868
938
|
mapper: {
|
|
869
|
-
defaultValue: "2023-
|
|
939
|
+
defaultValue: "2023-11-01",
|
|
870
940
|
isConstant: true,
|
|
871
941
|
serializedName: "api-version",
|
|
872
942
|
type: {
|
|
@@ -916,7 +986,7 @@ const trafficControllerName = {
|
|
|
916
986
|
parameterPath: "trafficControllerName",
|
|
917
987
|
mapper: {
|
|
918
988
|
constraints: {
|
|
919
|
-
Pattern: new RegExp("[A-Za-z0-9]
|
|
989
|
+
Pattern: new RegExp("^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$")
|
|
920
990
|
},
|
|
921
991
|
serializedName: "trafficControllerName",
|
|
922
992
|
required: true,
|
|
@@ -948,7 +1018,7 @@ const associationName = {
|
|
|
948
1018
|
parameterPath: "associationName",
|
|
949
1019
|
mapper: {
|
|
950
1020
|
constraints: {
|
|
951
|
-
Pattern: new RegExp("[A-Za-z0-9]
|
|
1021
|
+
Pattern: new RegExp("^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$")
|
|
952
1022
|
},
|
|
953
1023
|
serializedName: "associationName",
|
|
954
1024
|
required: true,
|
|
@@ -969,7 +1039,7 @@ const frontendName = {
|
|
|
969
1039
|
parameterPath: "frontendName",
|
|
970
1040
|
mapper: {
|
|
971
1041
|
constraints: {
|
|
972
|
-
Pattern: new RegExp("[A-Za-z0-9]
|
|
1042
|
+
Pattern: new RegExp("^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$")
|
|
973
1043
|
},
|
|
974
1044
|
serializedName: "frontendName",
|
|
975
1045
|
required: true,
|
|
@@ -1049,16 +1119,11 @@ class OperationsImpl {
|
|
|
1049
1119
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1050
1120
|
var _a, e_1, _b, _c;
|
|
1051
1121
|
try {
|
|
1052
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1122
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1053
1123
|
_c = _f.value;
|
|
1054
1124
|
_d = false;
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1058
|
-
}
|
|
1059
|
-
finally {
|
|
1060
|
-
_d = true;
|
|
1061
|
-
}
|
|
1125
|
+
const page = _c;
|
|
1126
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1062
1127
|
}
|
|
1063
1128
|
}
|
|
1064
1129
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1202,16 +1267,11 @@ class TrafficControllerInterfaceImpl {
|
|
|
1202
1267
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
1203
1268
|
var _a, e_1, _b, _c;
|
|
1204
1269
|
try {
|
|
1205
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1270
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1206
1271
|
_c = _f.value;
|
|
1207
1272
|
_d = false;
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1211
|
-
}
|
|
1212
|
-
finally {
|
|
1213
|
-
_d = true;
|
|
1214
|
-
}
|
|
1273
|
+
const page = _c;
|
|
1274
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1215
1275
|
}
|
|
1216
1276
|
}
|
|
1217
1277
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1269,16 +1329,11 @@ class TrafficControllerInterfaceImpl {
|
|
|
1269
1329
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1270
1330
|
var _a, e_2, _b, _c;
|
|
1271
1331
|
try {
|
|
1272
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1332
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1273
1333
|
_c = _f.value;
|
|
1274
1334
|
_d = false;
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1278
|
-
}
|
|
1279
|
-
finally {
|
|
1280
|
-
_d = true;
|
|
1281
|
-
}
|
|
1335
|
+
const page = _c;
|
|
1336
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1282
1337
|
}
|
|
1283
1338
|
}
|
|
1284
1339
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -1696,16 +1751,11 @@ class AssociationsInterfaceImpl {
|
|
|
1696
1751
|
return tslib.__asyncGenerator(this, arguments, function* listByTrafficControllerPagingAll_1() {
|
|
1697
1752
|
var _a, e_1, _b, _c;
|
|
1698
1753
|
try {
|
|
1699
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByTrafficControllerPagingPage(resourceGroupName, trafficControllerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1754
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByTrafficControllerPagingPage(resourceGroupName, trafficControllerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1700
1755
|
_c = _f.value;
|
|
1701
1756
|
_d = false;
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1705
|
-
}
|
|
1706
|
-
finally {
|
|
1707
|
-
_d = true;
|
|
1708
|
-
}
|
|
1757
|
+
const page = _c;
|
|
1758
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1709
1759
|
}
|
|
1710
1760
|
}
|
|
1711
1761
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -2105,16 +2155,11 @@ class FrontendsInterfaceImpl {
|
|
|
2105
2155
|
return tslib.__asyncGenerator(this, arguments, function* listByTrafficControllerPagingAll_1() {
|
|
2106
2156
|
var _a, e_1, _b, _c;
|
|
2107
2157
|
try {
|
|
2108
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByTrafficControllerPagingPage(resourceGroupName, trafficControllerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
2158
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByTrafficControllerPagingPage(resourceGroupName, trafficControllerName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2109
2159
|
_c = _f.value;
|
|
2110
2160
|
_d = false;
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2114
|
-
}
|
|
2115
|
-
finally {
|
|
2116
|
-
_d = true;
|
|
2117
|
-
}
|
|
2161
|
+
const page = _c;
|
|
2162
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2118
2163
|
}
|
|
2119
2164
|
}
|
|
2120
2165
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -2475,7 +2520,7 @@ class ServiceNetworkingManagementClient extends coreClient__namespace.ServiceCli
|
|
|
2475
2520
|
requestContentType: "application/json; charset=utf-8",
|
|
2476
2521
|
credential: credentials
|
|
2477
2522
|
};
|
|
2478
|
-
const packageDetails = `azsdk-js-arm-servicenetworking/1.0.0
|
|
2523
|
+
const packageDetails = `azsdk-js-arm-servicenetworking/1.0.0`;
|
|
2479
2524
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
2480
2525
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
2481
2526
|
: `${packageDetails}`;
|
|
@@ -2508,7 +2553,7 @@ class ServiceNetworkingManagementClient extends coreClient__namespace.ServiceCli
|
|
|
2508
2553
|
this.subscriptionId = subscriptionId;
|
|
2509
2554
|
// Assigning values to Constant parameters
|
|
2510
2555
|
this.$host = options.$host || "https://management.azure.com";
|
|
2511
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
2556
|
+
this.apiVersion = options.apiVersion || "2023-11-01";
|
|
2512
2557
|
this.operations = new OperationsImpl(this);
|
|
2513
2558
|
this.trafficControllerInterface = new TrafficControllerInterfaceImpl(this);
|
|
2514
2559
|
this.associationsInterface = new AssociationsInterfaceImpl(this);
|