@azure/arm-servicefabricmanagedclusters 1.0.0-beta.2 → 1.0.0-beta.3

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.
Files changed (84) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +0 -1
  3. package/dist/index.js +93 -8
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/applicationTypeVersionsCreateOrUpdateSample.js +1 -1
  8. package/dist-esm/samples-dev/applicationTypeVersionsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/applicationTypeVersionsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/applicationTypeVersionsListByApplicationTypesSample.js +1 -1
  11. package/dist-esm/samples-dev/applicationTypeVersionsUpdateSample.js +1 -1
  12. package/dist-esm/samples-dev/applicationTypesCreateOrUpdateSample.js +1 -1
  13. package/dist-esm/samples-dev/applicationTypesDeleteSample.js +1 -1
  14. package/dist-esm/samples-dev/applicationTypesGetSample.js +1 -1
  15. package/dist-esm/samples-dev/applicationTypesListSample.js +1 -1
  16. package/dist-esm/samples-dev/applicationTypesUpdateSample.js +1 -1
  17. package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +2 -2
  18. package/dist-esm/samples-dev/applicationsDeleteSample.js +1 -1
  19. package/dist-esm/samples-dev/applicationsGetSample.js +1 -1
  20. package/dist-esm/samples-dev/applicationsListSample.js +1 -1
  21. package/dist-esm/samples-dev/applicationsReadUpgradeSample.js +1 -1
  22. package/dist-esm/samples-dev/applicationsResumeUpgradeSample.js +1 -1
  23. package/dist-esm/samples-dev/applicationsStartRollbackSample.js +1 -1
  24. package/dist-esm/samples-dev/applicationsUpdateSample.js +1 -1
  25. package/dist-esm/samples-dev/managedApplyMaintenanceWindowPostSample.js +1 -1
  26. package/dist-esm/samples-dev/managedAzResiliencyStatusGetSample.js +1 -1
  27. package/dist-esm/samples-dev/managedClusterVersionGetByEnvironmentSample.js +1 -1
  28. package/dist-esm/samples-dev/managedClusterVersionGetSample.js +1 -1
  29. package/dist-esm/samples-dev/managedClusterVersionListByEnvironmentSample.js +1 -1
  30. package/dist-esm/samples-dev/managedClusterVersionListSample.js +1 -1
  31. package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js +3 -2
  32. package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js.map +1 -1
  33. package/dist-esm/samples-dev/managedClustersDeleteSample.js +1 -1
  34. package/dist-esm/samples-dev/managedClustersGetSample.js +1 -1
  35. package/dist-esm/samples-dev/managedClustersListByResourceGroupSample.js +1 -1
  36. package/dist-esm/samples-dev/managedClustersListBySubscriptionSample.js +1 -1
  37. package/dist-esm/samples-dev/managedClustersUpdateSample.js +1 -1
  38. package/dist-esm/samples-dev/managedMaintenanceWindowStatusGetSample.js +1 -1
  39. package/dist-esm/samples-dev/managedUnsupportedVMSizesGetSample.js +1 -1
  40. package/dist-esm/samples-dev/managedUnsupportedVMSizesListSample.js +1 -1
  41. package/dist-esm/samples-dev/nodeTypeSkusListSample.js +1 -1
  42. package/dist-esm/samples-dev/nodeTypesCreateOrUpdateSample.js +8 -8
  43. package/dist-esm/samples-dev/nodeTypesDeleteNodeSample.js +1 -1
  44. package/dist-esm/samples-dev/nodeTypesDeleteSample.js +1 -1
  45. package/dist-esm/samples-dev/nodeTypesGetSample.js +1 -1
  46. package/dist-esm/samples-dev/nodeTypesListByManagedClustersSample.js +1 -1
  47. package/dist-esm/samples-dev/nodeTypesReimageSample.js +2 -2
  48. package/dist-esm/samples-dev/nodeTypesRestartSample.js +1 -1
  49. package/dist-esm/samples-dev/nodeTypesUpdateSample.js +4 -4
  50. package/dist-esm/samples-dev/nodeTypesUpdateSample.js.map +1 -1
  51. package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
  52. package/dist-esm/samples-dev/operationStatusGetSample.js +2 -2
  53. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  54. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +2 -2
  55. package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
  56. package/dist-esm/samples-dev/servicesGetSample.js +1 -1
  57. package/dist-esm/samples-dev/servicesListByApplicationsSample.js +1 -1
  58. package/dist-esm/samples-dev/servicesUpdateSample.js +1 -1
  59. package/dist-esm/src/models/index.d.ts +15 -4
  60. package/dist-esm/src/models/index.d.ts.map +1 -1
  61. package/dist-esm/src/models/index.js.map +1 -1
  62. package/dist-esm/src/models/mappers.d.ts +1 -0
  63. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  64. package/dist-esm/src/models/mappers.js +23 -3
  65. package/dist-esm/src/models/mappers.js.map +1 -1
  66. package/dist-esm/src/models/parameters.js +1 -1
  67. package/dist-esm/src/operations/nodeTypes.d.ts +10 -1
  68. package/dist-esm/src/operations/nodeTypes.d.ts.map +1 -1
  69. package/dist-esm/src/operations/nodeTypes.js +66 -2
  70. package/dist-esm/src/operations/nodeTypes.js.map +1 -1
  71. package/dist-esm/src/operationsInterfaces/nodeTypes.d.ts +10 -1
  72. package/dist-esm/src/operationsInterfaces/nodeTypes.d.ts.map +1 -1
  73. package/dist-esm/src/serviceFabricManagedClustersManagementClient.js +2 -2
  74. package/package.json +7 -8
  75. package/review/arm-servicefabricmanagedclusters.api.md +11 -2
  76. package/src/models/index.ts +18 -5
  77. package/src/models/mappers.ts +24 -3
  78. package/src/models/parameters.ts +1 -1
  79. package/src/operations/nodeTypes.ts +98 -4
  80. package/src/operationsInterfaces/nodeTypes.ts +21 -1
  81. package/src/serviceFabricManagedClustersManagementClient.ts +2 -2
  82. package/tsconfig.json +2 -2
  83. package/types/arm-servicefabricmanagedclusters.d.ts +26 -5
  84. package/types/tsdoc-metadata.json +1 -1
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ServiceFabricManagedClustersManagementClient.",
6
- "version": "1.0.0-beta.2",
6
+ "version": "1.0.0-beta.3",
7
7
  "engines": {
8
8
  "node": ">=18.0.0"
9
9
  },
@@ -28,8 +28,7 @@
28
28
  "module": "./dist-esm/src/index.js",
29
29
  "types": "./types/arm-servicefabricmanagedclusters.d.ts",
30
30
  "devDependencies": {
31
- "typescript": "~5.5.3",
32
- "uglify-js": "^3.4.9",
31
+ "typescript": "~5.7.2",
33
32
  "dotenv": "^16.0.0",
34
33
  "@azure/dev-tool": "^1.0.0",
35
34
  "@azure/identity": "^4.2.1",
@@ -40,7 +39,6 @@
40
39
  "tsx": "^4.7.1",
41
40
  "@types/chai": "^4.2.8",
42
41
  "chai": "^4.2.0",
43
- "cross-env": "^7.0.2",
44
42
  "@types/node": "^18.0.0",
45
43
  "ts-node": "^10.0.0"
46
44
  },
@@ -70,7 +68,7 @@
70
68
  ],
71
69
  "scripts": {
72
70
  "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api",
73
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
71
+ "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
74
72
  "prepack": "npm run build",
75
73
  "pack": "npm pack 2>&1",
76
74
  "extract-api": "dev-tool run extract-api",
@@ -87,11 +85,12 @@
87
85
  "test:node": "echo skipped",
88
86
  "test:browser": "echo skipped",
89
87
  "unit-test": "npm run unit-test:node && npm run unit-test:browser",
90
- "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
88
+ "unit-test:node": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node",
91
89
  "unit-test:browser": "echo skipped",
92
90
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
93
91
  "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
94
- "integration-test:browser": "echo skipped"
92
+ "integration-test:browser": "echo skipped",
93
+ "update-snippets": "echo skipped"
95
94
  },
96
95
  "sideEffects": false,
97
96
  "//metadata": {
@@ -112,4 +111,4 @@
112
111
  "disableDocsMs": true,
113
112
  "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-servicefabricmanagedclusters?view=azure-node-preview"
114
113
  }
115
- }
114
+ }
@@ -829,6 +829,7 @@ export interface ManagedCluster extends Resource {
829
829
  addonFeatures?: ManagedClusterAddOnFeature[];
830
830
  adminPassword?: string;
831
831
  adminUserName?: string;
832
+ allocatedOutboundPorts?: number;
832
833
  allowRdpAccess?: boolean;
833
834
  applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicy;
834
835
  autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
@@ -842,7 +843,6 @@ export interface ManagedCluster extends Resource {
842
843
  readonly clusterState?: ClusterState;
843
844
  clusterUpgradeCadence?: ClusterUpgradeCadence;
844
845
  clusterUpgradeMode?: ClusterUpgradeMode;
845
- customFqdn?: string;
846
846
  ddosProtectionPlanId?: string;
847
847
  dnsName?: string;
848
848
  enableAutoOSUpgrade?: boolean;
@@ -1239,9 +1239,10 @@ export interface NodeTypes {
1239
1239
  beginReimageAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeActionParameters, options?: NodeTypesReimageOptionalParams): Promise<void>;
1240
1240
  beginRestart(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeActionParameters, options?: NodeTypesRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1241
1241
  beginRestartAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeActionParameters, options?: NodeTypesRestartOptionalParams): Promise<void>;
1242
+ beginUpdate(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NodeTypesUpdateResponse>, NodeTypesUpdateResponse>>;
1243
+ beginUpdateAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<NodeTypesUpdateResponse>;
1242
1244
  get(resourceGroupName: string, clusterName: string, nodeTypeName: string, options?: NodeTypesGetOptionalParams): Promise<NodeTypesGetResponse>;
1243
1245
  listByManagedClusters(resourceGroupName: string, clusterName: string, options?: NodeTypesListByManagedClustersOptionalParams): PagedAsyncIterableIterator<NodeType>;
1244
- update(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<NodeTypesUpdateResponse>;
1245
1246
  }
1246
1247
 
1247
1248
  // @public
@@ -1365,8 +1366,16 @@ export interface NodeTypesRestartOptionalParams extends coreClient.OperationOpti
1365
1366
  updateIntervalInMs?: number;
1366
1367
  }
1367
1368
 
1369
+ // @public
1370
+ export interface NodeTypesUpdateHeaders {
1371
+ azureAsyncOperation?: string;
1372
+ location?: string;
1373
+ }
1374
+
1368
1375
  // @public
1369
1376
  export interface NodeTypesUpdateOptionalParams extends coreClient.OperationOptions {
1377
+ resumeFrom?: string;
1378
+ updateIntervalInMs?: number;
1370
1379
  }
1371
1380
 
1372
1381
  // @public
@@ -859,7 +859,7 @@ export interface SubResource {
859
859
 
860
860
  /** Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. */
861
861
  export interface VaultCertificate {
862
- /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> "password":"<pfx-file-password>"<br>} */
862
+ /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). */
863
863
  certificateUrl: string;
864
864
  /** For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. */
865
865
  certificateStore: string;
@@ -1423,7 +1423,7 @@ export interface ManagedCluster extends Resource {
1423
1423
  clusterUpgradeCadence?: ClusterUpgradeCadence;
1424
1424
  /** List of add-on features to enable on the cluster. */
1425
1425
  addonFeatures?: ManagedClusterAddOnFeature[];
1426
- /** Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false. */
1426
+ /** Enables automatic OS upgrade for node types created using OS images with version 'latest'. The default value for this setting is false. */
1427
1427
  enableAutoOSUpgrade?: boolean;
1428
1428
  /** Indicates if the cluster has zone resiliency. */
1429
1429
  zonalResiliency?: boolean;
@@ -1464,8 +1464,8 @@ export interface ManagedCluster extends Resource {
1464
1464
  enableHttpGatewayExclusiveAuthMode?: boolean;
1465
1465
  /** This property is the entry point to using a public CA cert for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject of the public CA cert. */
1466
1466
  autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
1467
- /** If using autoGeneratedDomainNameLabelScope, this is the fully qualified domain name using SFMC's domain, pointing to the public load balancer of the cluster. */
1468
- customFqdn?: string;
1467
+ /** The number of outbound ports allocated for SNAT for each node in the backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on pool size. */
1468
+ allocatedOutboundPorts?: number;
1469
1469
  }
1470
1470
 
1471
1471
  /** Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. */
@@ -1735,6 +1735,14 @@ export interface NodeTypesCreateOrUpdateHeaders {
1735
1735
  location?: string;
1736
1736
  }
1737
1737
 
1738
+ /** Defines headers for NodeTypes_update operation. */
1739
+ export interface NodeTypesUpdateHeaders {
1740
+ /** The URL to get the status of an ongoing long-running operation. */
1741
+ azureAsyncOperation?: string;
1742
+ /** The URL to get the status of a completed long-running operation. */
1743
+ location?: string;
1744
+ }
1745
+
1738
1746
  /** Defines headers for NodeTypes_delete operation. */
1739
1747
  export interface NodeTypesDeleteHeaders {
1740
1748
  /** The URL to get the status of an ongoing long-running operation. */
@@ -2995,7 +3003,12 @@ export type NodeTypesCreateOrUpdateResponse = NodeType;
2995
3003
 
2996
3004
  /** Optional parameters. */
2997
3005
  export interface NodeTypesUpdateOptionalParams
2998
- extends coreClient.OperationOptions {}
3006
+ extends coreClient.OperationOptions {
3007
+ /** Delay to wait until next poll, in milliseconds. */
3008
+ updateIntervalInMs?: number;
3009
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3010
+ resumeFrom?: string;
3011
+ }
2999
3012
 
3000
3013
  /** Contains response data for the update operation. */
3001
3014
  export type NodeTypesUpdateResponse = NodeType;
@@ -3585,10 +3585,10 @@ export const ManagedCluster: coreClient.CompositeMapper = {
3585
3585
  name: "String",
3586
3586
  },
3587
3587
  },
3588
- customFqdn: {
3589
- serializedName: "properties.customFqdn",
3588
+ allocatedOutboundPorts: {
3589
+ serializedName: "properties.allocatedOutboundPorts",
3590
3590
  type: {
3591
- name: "String",
3591
+ name: "Number",
3592
3592
  },
3593
3593
  },
3594
3594
  },
@@ -4419,6 +4419,27 @@ export const NodeTypesCreateOrUpdateHeaders: coreClient.CompositeMapper = {
4419
4419
  },
4420
4420
  };
4421
4421
 
4422
+ export const NodeTypesUpdateHeaders: coreClient.CompositeMapper = {
4423
+ type: {
4424
+ name: "Composite",
4425
+ className: "NodeTypesUpdateHeaders",
4426
+ modelProperties: {
4427
+ azureAsyncOperation: {
4428
+ serializedName: "azure-asyncoperation",
4429
+ type: {
4430
+ name: "String",
4431
+ },
4432
+ },
4433
+ location: {
4434
+ serializedName: "location",
4435
+ type: {
4436
+ name: "String",
4437
+ },
4438
+ },
4439
+ },
4440
+ },
4441
+ };
4442
+
4422
4443
  export const NodeTypesDeleteHeaders: coreClient.CompositeMapper = {
4423
4444
  type: {
4424
4445
  name: "Composite",
@@ -99,7 +99,7 @@ export const applicationTypeName: OperationURLParameter = {
99
99
  export const apiVersion: OperationQueryParameter = {
100
100
  parameterPath: "apiVersion",
101
101
  mapper: {
102
- defaultValue: "2024-06-01-preview",
102
+ defaultValue: "2024-09-01-preview",
103
103
  isConstant: true,
104
104
  serializedName: "api-version",
105
105
  type: {
@@ -586,17 +586,102 @@ export class NodeTypesImpl implements NodeTypes {
586
586
  * @param parameters The parameters to update the node type configuration.
587
587
  * @param options The options parameters.
588
588
  */
589
- update(
589
+ async beginUpdate(
590
+ resourceGroupName: string,
591
+ clusterName: string,
592
+ nodeTypeName: string,
593
+ parameters: NodeTypeUpdateParameters,
594
+ options?: NodeTypesUpdateOptionalParams,
595
+ ): Promise<
596
+ SimplePollerLike<
597
+ OperationState<NodeTypesUpdateResponse>,
598
+ NodeTypesUpdateResponse
599
+ >
600
+ > {
601
+ const directSendOperation = async (
602
+ args: coreClient.OperationArguments,
603
+ spec: coreClient.OperationSpec,
604
+ ): Promise<NodeTypesUpdateResponse> => {
605
+ return this.client.sendOperationRequest(args, spec);
606
+ };
607
+ const sendOperationFn = async (
608
+ args: coreClient.OperationArguments,
609
+ spec: coreClient.OperationSpec,
610
+ ) => {
611
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
612
+ undefined;
613
+ const providedCallback = args.options?.onResponse;
614
+ const callback: coreClient.RawResponseCallback = (
615
+ rawResponse: coreClient.FullOperationResponse,
616
+ flatResponse: unknown,
617
+ ) => {
618
+ currentRawResponse = rawResponse;
619
+ providedCallback?.(rawResponse, flatResponse);
620
+ };
621
+ const updatedArgs = {
622
+ ...args,
623
+ options: {
624
+ ...args.options,
625
+ onResponse: callback,
626
+ },
627
+ };
628
+ const flatResponse = await directSendOperation(updatedArgs, spec);
629
+ return {
630
+ flatResponse,
631
+ rawResponse: {
632
+ statusCode: currentRawResponse!.status,
633
+ body: currentRawResponse!.parsedBody,
634
+ headers: currentRawResponse!.headers.toJSON(),
635
+ },
636
+ };
637
+ };
638
+
639
+ const lro = createLroSpec({
640
+ sendOperationFn,
641
+ args: {
642
+ resourceGroupName,
643
+ clusterName,
644
+ nodeTypeName,
645
+ parameters,
646
+ options,
647
+ },
648
+ spec: updateOperationSpec,
649
+ });
650
+ const poller = await createHttpPoller<
651
+ NodeTypesUpdateResponse,
652
+ OperationState<NodeTypesUpdateResponse>
653
+ >(lro, {
654
+ restoreFrom: options?.resumeFrom,
655
+ intervalInMs: options?.updateIntervalInMs,
656
+ resourceLocationConfig: "location",
657
+ });
658
+ await poller.poll();
659
+ return poller;
660
+ }
661
+
662
+ /**
663
+ * Update the configuration of a node type of a given managed cluster, only updating tags.
664
+ * @param resourceGroupName The name of the resource group.
665
+ * @param clusterName The name of the cluster resource.
666
+ * @param nodeTypeName The name of the node type.
667
+ * @param parameters The parameters to update the node type configuration.
668
+ * @param options The options parameters.
669
+ */
670
+ async beginUpdateAndWait(
590
671
  resourceGroupName: string,
591
672
  clusterName: string,
592
673
  nodeTypeName: string,
593
674
  parameters: NodeTypeUpdateParameters,
594
675
  options?: NodeTypesUpdateOptionalParams,
595
676
  ): Promise<NodeTypesUpdateResponse> {
596
- return this.client.sendOperationRequest(
597
- { resourceGroupName, clusterName, nodeTypeName, parameters, options },
598
- updateOperationSpec,
677
+ const poller = await this.beginUpdate(
678
+ resourceGroupName,
679
+ clusterName,
680
+ nodeTypeName,
681
+ parameters,
682
+ options,
599
683
  );
684
+ return poller.pollUntilDone();
600
685
  }
601
686
 
602
687
  /**
@@ -866,6 +951,15 @@ const updateOperationSpec: coreClient.OperationSpec = {
866
951
  200: {
867
952
  bodyMapper: Mappers.NodeType,
868
953
  },
954
+ 201: {
955
+ bodyMapper: Mappers.NodeType,
956
+ },
957
+ 202: {
958
+ bodyMapper: Mappers.NodeType,
959
+ },
960
+ 204: {
961
+ bodyMapper: Mappers.NodeType,
962
+ },
869
963
  default: {
870
964
  bodyMapper: Mappers.ErrorModel,
871
965
  },
@@ -191,7 +191,27 @@ export interface NodeTypes {
191
191
  * @param parameters The parameters to update the node type configuration.
192
192
  * @param options The options parameters.
193
193
  */
194
- update(
194
+ beginUpdate(
195
+ resourceGroupName: string,
196
+ clusterName: string,
197
+ nodeTypeName: string,
198
+ parameters: NodeTypeUpdateParameters,
199
+ options?: NodeTypesUpdateOptionalParams,
200
+ ): Promise<
201
+ SimplePollerLike<
202
+ OperationState<NodeTypesUpdateResponse>,
203
+ NodeTypesUpdateResponse
204
+ >
205
+ >;
206
+ /**
207
+ * Update the configuration of a node type of a given managed cluster, only updating tags.
208
+ * @param resourceGroupName The name of the resource group.
209
+ * @param clusterName The name of the cluster resource.
210
+ * @param nodeTypeName The name of the node type.
211
+ * @param parameters The parameters to update the node type configuration.
212
+ * @param options The options parameters.
213
+ */
214
+ beginUpdateAndWait(
195
215
  resourceGroupName: string,
196
216
  clusterName: string,
197
217
  nodeTypeName: string,
@@ -83,7 +83,7 @@ export class ServiceFabricManagedClustersManagementClient extends coreClient.Ser
83
83
  credential: credentials,
84
84
  };
85
85
 
86
- const packageDetails = `azsdk-js-arm-servicefabricmanagedclusters/1.0.0-beta.2`;
86
+ const packageDetails = `azsdk-js-arm-servicefabricmanagedclusters/1.0.0-beta.3`;
87
87
  const userAgentPrefix =
88
88
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
89
89
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -137,7 +137,7 @@ export class ServiceFabricManagedClustersManagementClient extends coreClient.Ser
137
137
 
138
138
  // Assigning values to Constant parameters
139
139
  this.$host = options.$host || "https://management.azure.com";
140
- this.apiVersion = options.apiVersion || "2024-06-01-preview";
140
+ this.apiVersion = options.apiVersion || "2024-09-01-preview";
141
141
  this.applicationTypes = new ApplicationTypesImpl(this);
142
142
  this.applicationTypeVersions = new ApplicationTypeVersionsImpl(this);
143
143
  this.applications = new ApplicationsImpl(this);
package/tsconfig.json CHANGED
@@ -23,8 +23,8 @@
23
23
  }
24
24
  },
25
25
  "include": [
26
- "./src/**/*.ts",
27
- "./test/**/*.ts",
26
+ "src/**/*.ts",
27
+ "test/**/*.ts",
28
28
  "samples-dev/**/*.ts"
29
29
  ],
30
30
  "exclude": [
@@ -1521,7 +1521,7 @@ export declare interface ManagedCluster extends Resource {
1521
1521
  clusterUpgradeCadence?: ClusterUpgradeCadence;
1522
1522
  /** List of add-on features to enable on the cluster. */
1523
1523
  addonFeatures?: ManagedClusterAddOnFeature[];
1524
- /** Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false. */
1524
+ /** Enables automatic OS upgrade for node types created using OS images with version 'latest'. The default value for this setting is false. */
1525
1525
  enableAutoOSUpgrade?: boolean;
1526
1526
  /** Indicates if the cluster has zone resiliency. */
1527
1527
  zonalResiliency?: boolean;
@@ -1562,8 +1562,8 @@ export declare interface ManagedCluster extends Resource {
1562
1562
  enableHttpGatewayExclusiveAuthMode?: boolean;
1563
1563
  /** This property is the entry point to using a public CA cert for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject of the public CA cert. */
1564
1564
  autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
1565
- /** If using autoGeneratedDomainNameLabelScope, this is the fully qualified domain name using SFMC's domain, pointing to the public load balancer of the cluster. */
1566
- customFqdn?: string;
1565
+ /** The number of outbound ports allocated for SNAT for each node in the backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on pool size. */
1566
+ allocatedOutboundPorts?: number;
1567
1567
  }
1568
1568
 
1569
1569
  /**
@@ -2343,7 +2343,16 @@ export declare interface NodeTypes {
2343
2343
  * @param parameters The parameters to update the node type configuration.
2344
2344
  * @param options The options parameters.
2345
2345
  */
2346
- update(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<NodeTypesUpdateResponse>;
2346
+ beginUpdate(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NodeTypesUpdateResponse>, NodeTypesUpdateResponse>>;
2347
+ /**
2348
+ * Update the configuration of a node type of a given managed cluster, only updating tags.
2349
+ * @param resourceGroupName The name of the resource group.
2350
+ * @param clusterName The name of the cluster resource.
2351
+ * @param nodeTypeName The name of the node type.
2352
+ * @param parameters The parameters to update the node type configuration.
2353
+ * @param options The options parameters.
2354
+ */
2355
+ beginUpdateAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<NodeTypesUpdateResponse>;
2347
2356
  /**
2348
2357
  * Delete a Service Fabric node type of a given managed cluster.
2349
2358
  * @param resourceGroupName The name of the resource group.
@@ -2537,8 +2546,20 @@ export declare interface NodeTypesRestartOptionalParams extends coreClient.Opera
2537
2546
  resumeFrom?: string;
2538
2547
  }
2539
2548
 
2549
+ /** Defines headers for NodeTypes_update operation. */
2550
+ export declare interface NodeTypesUpdateHeaders {
2551
+ /** The URL to get the status of an ongoing long-running operation. */
2552
+ azureAsyncOperation?: string;
2553
+ /** The URL to get the status of a completed long-running operation. */
2554
+ location?: string;
2555
+ }
2556
+
2540
2557
  /** Optional parameters. */
2541
2558
  export declare interface NodeTypesUpdateOptionalParams extends coreClient.OperationOptions {
2559
+ /** Delay to wait until next poll, in milliseconds. */
2560
+ updateIntervalInMs?: number;
2561
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2562
+ resumeFrom?: string;
2542
2563
  }
2543
2564
 
2544
2565
  /** Contains response data for the update operation. */
@@ -3546,7 +3567,7 @@ export declare interface UserAssignedIdentity {
3546
3567
 
3547
3568
  /** Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. */
3548
3569
  export declare interface VaultCertificate {
3549
- /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> "password":"<pfx-file-password>"<br>} */
3570
+ /** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). */
3550
3571
  certificateUrl: string;
3551
3572
  /** For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. */
3552
3573
  certificateStore: string;
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.11"
8
+ "packageVersion": "7.48.0"
9
9
  }
10
10
  ]
11
11
  }