@azure/arm-servicefabricmanagedclusters 1.0.0-alpha.20240726.1 → 1.0.0-beta.2

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 (80) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/index.js +82 -3
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/applicationTypeVersionsCreateOrUpdateSample.js +1 -1
  7. package/dist-esm/samples-dev/applicationTypeVersionsDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/applicationTypeVersionsGetSample.js +1 -1
  9. package/dist-esm/samples-dev/applicationTypeVersionsListByApplicationTypesSample.js +1 -1
  10. package/dist-esm/samples-dev/applicationTypeVersionsUpdateSample.js +1 -1
  11. package/dist-esm/samples-dev/applicationTypesCreateOrUpdateSample.js +1 -1
  12. package/dist-esm/samples-dev/applicationTypesDeleteSample.js +1 -1
  13. package/dist-esm/samples-dev/applicationTypesGetSample.js +1 -1
  14. package/dist-esm/samples-dev/applicationTypesListSample.js +1 -1
  15. package/dist-esm/samples-dev/applicationTypesUpdateSample.js +1 -1
  16. package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +2 -2
  17. package/dist-esm/samples-dev/applicationsDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/applicationsGetSample.js +1 -1
  19. package/dist-esm/samples-dev/applicationsListSample.js +1 -1
  20. package/dist-esm/samples-dev/applicationsReadUpgradeSample.js +1 -1
  21. package/dist-esm/samples-dev/applicationsResumeUpgradeSample.js +1 -1
  22. package/dist-esm/samples-dev/applicationsStartRollbackSample.js +1 -1
  23. package/dist-esm/samples-dev/applicationsUpdateSample.js +1 -1
  24. package/dist-esm/samples-dev/managedApplyMaintenanceWindowPostSample.js +1 -1
  25. package/dist-esm/samples-dev/managedAzResiliencyStatusGetSample.js +1 -1
  26. package/dist-esm/samples-dev/managedClusterVersionGetByEnvironmentSample.js +1 -1
  27. package/dist-esm/samples-dev/managedClusterVersionGetSample.js +1 -1
  28. package/dist-esm/samples-dev/managedClusterVersionListByEnvironmentSample.js +1 -1
  29. package/dist-esm/samples-dev/managedClusterVersionListSample.js +1 -1
  30. package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js +5 -4
  31. package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/managedClustersDeleteSample.js +1 -1
  33. package/dist-esm/samples-dev/managedClustersGetSample.js +1 -1
  34. package/dist-esm/samples-dev/managedClustersListByResourceGroupSample.js +1 -1
  35. package/dist-esm/samples-dev/managedClustersListBySubscriptionSample.js +1 -1
  36. package/dist-esm/samples-dev/managedClustersUpdateSample.js +1 -1
  37. package/dist-esm/samples-dev/managedMaintenanceWindowStatusGetSample.js +1 -1
  38. package/dist-esm/samples-dev/managedUnsupportedVMSizesGetSample.js +1 -1
  39. package/dist-esm/samples-dev/managedUnsupportedVMSizesListSample.js +1 -1
  40. package/dist-esm/samples-dev/nodeTypeSkusListSample.js +1 -1
  41. package/dist-esm/samples-dev/nodeTypesCreateOrUpdateSample.js +18 -8
  42. package/dist-esm/samples-dev/nodeTypesCreateOrUpdateSample.js.map +1 -1
  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 +2 -2
  50. package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
  51. package/dist-esm/samples-dev/operationStatusGetSample.js +2 -2
  52. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  53. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +2 -2
  54. package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
  55. package/dist-esm/samples-dev/servicesGetSample.js +1 -1
  56. package/dist-esm/samples-dev/servicesListByApplicationsSample.js +1 -1
  57. package/dist-esm/samples-dev/servicesUpdateSample.js +1 -1
  58. package/dist-esm/src/index.d.ts +0 -1
  59. package/dist-esm/src/index.d.ts.map +1 -1
  60. package/dist-esm/src/models/index.d.ts +43 -0
  61. package/dist-esm/src/models/index.d.ts.map +1 -1
  62. package/dist-esm/src/models/index.js +12 -0
  63. package/dist-esm/src/models/index.js.map +1 -1
  64. package/dist-esm/src/models/mappers.d.ts +1 -0
  65. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  66. package/dist-esm/src/models/mappers.js +66 -0
  67. package/dist-esm/src/models/mappers.js.map +1 -1
  68. package/dist-esm/src/models/parameters.js +1 -1
  69. package/dist-esm/src/models/parameters.js.map +1 -1
  70. package/dist-esm/src/serviceFabricManagedClustersManagementClient.js +2 -2
  71. package/dist-esm/src/serviceFabricManagedClustersManagementClient.js.map +1 -1
  72. package/package.json +7 -10
  73. package/review/arm-servicefabricmanagedclusters.api.md +24 -0
  74. package/src/lroImpl.ts +1 -1
  75. package/src/models/index.ts +46 -0
  76. package/src/models/mappers.ts +70 -0
  77. package/src/models/parameters.ts +1 -1
  78. package/src/serviceFabricManagedClustersManagementClient.ts +6 -6
  79. package/types/arm-servicefabricmanagedclusters.d.ts +46 -0
  80. package/types/tsdoc-metadata.json +1 -1
@@ -988,6 +988,22 @@ export interface IpConfigurationPublicIPAddressConfiguration {
988
988
  publicIPAddressVersion?: PublicIPAddressVersion;
989
989
  }
990
990
 
991
+ /** Specifies the gallery application that should be made available to the underlying VMSS. */
992
+ export interface VmApplication {
993
+ /** Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided. */
994
+ configurationReference?: string;
995
+ /** If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the underlying VMSS. */
996
+ enableAutomaticUpgrade?: boolean;
997
+ /** Optional, Specifies the order in which the packages have to be installed. */
998
+ order?: number;
999
+ /** Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}. */
1000
+ packageReferenceId: string;
1001
+ /** Optional, Specifies a passthrough value for more generic context. Accepts a JSON-formatted string e.g. '{"Tag1":"Value1","Tag2":"Value2"}'. */
1002
+ vmGalleryTags?: string;
1003
+ /** Optional, If true, any failure for any operation in the VmApplication will fail the deployment. */
1004
+ treatFailureAsDeploymentFailure?: boolean;
1005
+ }
1006
+
991
1007
  /** Describes a node type sku. */
992
1008
  export interface NodeTypeSku {
993
1009
  /** The sku name. <br /><br />Name is internally generated and is used in auto-scale scenarios.<br /> Property does not allow to be changed to other values than generated.<br /> To avoid deployment errors please omit the property. */
@@ -1446,6 +1462,10 @@ export interface ManagedCluster extends Resource {
1446
1462
  httpGatewayTokenAuthConnectionPort?: number;
1447
1463
  /** If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthConnectionPort must be defined. */
1448
1464
  enableHttpGatewayExclusiveAuthMode?: boolean;
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
+ 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;
1449
1469
  }
1450
1470
 
1451
1471
  /** Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. */
@@ -1553,6 +1573,8 @@ export interface NodeType extends ManagedProxyResource {
1553
1573
  additionalNetworkInterfaceConfigurations?: AdditionalNetworkInterfaceConfiguration[];
1554
1574
  /** Specifies the computer name prefix. Limited to 9 characters. If specified, allows for a longer name to be specified for the node type name. */
1555
1575
  computerNamePrefix?: string;
1576
+ /** Specifies the gallery applications that should be made available to the underlying VMSS. */
1577
+ vmApplications?: VmApplication[];
1556
1578
  }
1557
1579
 
1558
1580
  /** The properties of a stateful service resource. */
@@ -2237,6 +2259,30 @@ export enum KnownZonalUpdateMode {
2237
2259
  */
2238
2260
  export type ZonalUpdateMode = string;
2239
2261
 
2262
+ /** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
2263
+ export enum KnownAutoGeneratedDomainNameLabelScope {
2264
+ /** TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name. */
2265
+ TenantReuse = "TenantReuse",
2266
+ /** SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name. */
2267
+ SubscriptionReuse = "SubscriptionReuse",
2268
+ /** ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name. */
2269
+ ResourceGroupReuse = "ResourceGroupReuse",
2270
+ /** NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name. */
2271
+ NoReuse = "NoReuse",
2272
+ }
2273
+
2274
+ /**
2275
+ * Defines values for AutoGeneratedDomainNameLabelScope. \
2276
+ * {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,
2277
+ * this enum contains the known values that the service supports.
2278
+ * ### Known values supported by the service
2279
+ * **TenantReuse**: TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name. \
2280
+ * **SubscriptionReuse**: SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name. \
2281
+ * **ResourceGroupReuse**: ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name. \
2282
+ * **NoReuse**: NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name.
2283
+ */
2284
+ export type AutoGeneratedDomainNameLabelScope = string;
2285
+
2240
2286
  /** Known values of {@link SkuName} that the service accepts. */
2241
2287
  export enum KnownSkuName {
2242
2288
  /** Basic requires a minimum of 3 nodes and allows only 1 node type. */
@@ -2469,6 +2469,52 @@ export const IpConfigurationPublicIPAddressConfiguration: coreClient.CompositeMa
2469
2469
  },
2470
2470
  };
2471
2471
 
2472
+ export const VmApplication: coreClient.CompositeMapper = {
2473
+ type: {
2474
+ name: "Composite",
2475
+ className: "VmApplication",
2476
+ modelProperties: {
2477
+ configurationReference: {
2478
+ serializedName: "configurationReference",
2479
+ type: {
2480
+ name: "String",
2481
+ },
2482
+ },
2483
+ enableAutomaticUpgrade: {
2484
+ serializedName: "enableAutomaticUpgrade",
2485
+ type: {
2486
+ name: "Boolean",
2487
+ },
2488
+ },
2489
+ order: {
2490
+ serializedName: "order",
2491
+ type: {
2492
+ name: "Number",
2493
+ },
2494
+ },
2495
+ packageReferenceId: {
2496
+ serializedName: "packageReferenceId",
2497
+ required: true,
2498
+ type: {
2499
+ name: "String",
2500
+ },
2501
+ },
2502
+ vmGalleryTags: {
2503
+ serializedName: "vmGalleryTags",
2504
+ type: {
2505
+ name: "String",
2506
+ },
2507
+ },
2508
+ treatFailureAsDeploymentFailure: {
2509
+ serializedName: "treatFailureAsDeploymentFailure",
2510
+ type: {
2511
+ name: "Boolean",
2512
+ },
2513
+ },
2514
+ },
2515
+ },
2516
+ };
2517
+
2472
2518
  export const NodeTypeSku: coreClient.CompositeMapper = {
2473
2519
  type: {
2474
2520
  name: "Composite",
@@ -3533,6 +3579,18 @@ export const ManagedCluster: coreClient.CompositeMapper = {
3533
3579
  name: "Boolean",
3534
3580
  },
3535
3581
  },
3582
+ autoGeneratedDomainNameLabelScope: {
3583
+ serializedName: "properties.autoGeneratedDomainNameLabelScope",
3584
+ type: {
3585
+ name: "String",
3586
+ },
3587
+ },
3588
+ customFqdn: {
3589
+ serializedName: "properties.customFqdn",
3590
+ type: {
3591
+ name: "String",
3592
+ },
3593
+ },
3536
3594
  },
3537
3595
  },
3538
3596
  };
@@ -3914,6 +3972,18 @@ export const NodeType: coreClient.CompositeMapper = {
3914
3972
  name: "String",
3915
3973
  },
3916
3974
  },
3975
+ vmApplications: {
3976
+ serializedName: "properties.vmApplications",
3977
+ type: {
3978
+ name: "Sequence",
3979
+ element: {
3980
+ type: {
3981
+ name: "Composite",
3982
+ className: "VmApplication",
3983
+ },
3984
+ },
3985
+ },
3986
+ },
3917
3987
  },
3918
3988
  },
3919
3989
  };
@@ -99,7 +99,7 @@ export const applicationTypeName: OperationURLParameter = {
99
99
  export const apiVersion: OperationQueryParameter = {
100
100
  parameterPath: "apiVersion",
101
101
  mapper: {
102
- defaultValue: "2024-04-01",
102
+ defaultValue: "2024-06-01-preview",
103
103
  isConstant: true,
104
104
  serializedName: "api-version",
105
105
  type: {
@@ -78,12 +78,12 @@ export class ServiceFabricManagedClustersManagementClient extends coreClient.Ser
78
78
  options = {};
79
79
  }
80
80
  const defaults: ServiceFabricManagedClustersManagementClientOptionalParams =
81
- {
82
- requestContentType: "application/json; charset=utf-8",
83
- credential: credentials,
84
- };
81
+ {
82
+ requestContentType: "application/json; charset=utf-8",
83
+ credential: credentials,
84
+ };
85
85
 
86
- const packageDetails = `azsdk-js-arm-servicefabricmanagedclusters/1.0.0-beta.1`;
86
+ const packageDetails = `azsdk-js-arm-servicefabricmanagedclusters/1.0.0-beta.2`;
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-04-01";
140
+ this.apiVersion = options.apiVersion || "2024-06-01-preview";
141
141
  this.applicationTypes = new ApplicationTypesImpl(this);
142
142
  this.applicationTypeVersions = new ApplicationTypeVersionsImpl(this);
143
143
  this.applications = new ApplicationsImpl(this);
@@ -666,6 +666,18 @@ export declare interface ApplicationUserAssignedIdentity {
666
666
  principalId: string;
667
667
  }
668
668
 
669
+ /**
670
+ * Defines values for AutoGeneratedDomainNameLabelScope. \
671
+ * {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,
672
+ * this enum contains the known values that the service supports.
673
+ * ### Known values supported by the service
674
+ * **TenantReuse**: TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name. \
675
+ * **SubscriptionReuse**: SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name. \
676
+ * **ResourceGroupReuse**: ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name. \
677
+ * **NoReuse**: NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name.
678
+ */
679
+ export declare type AutoGeneratedDomainNameLabelScope = string;
680
+
669
681
  /** Operation supported by the Service Fabric resource provider */
670
682
  export declare interface AvailableOperationDisplay {
671
683
  /** The name of the provider. */
@@ -992,6 +1004,18 @@ export declare enum KnownAccess {
992
1004
  Deny = "deny"
993
1005
  }
994
1006
 
1007
+ /** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
1008
+ export declare enum KnownAutoGeneratedDomainNameLabelScope {
1009
+ /** TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name. */
1010
+ TenantReuse = "TenantReuse",
1011
+ /** SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name. */
1012
+ SubscriptionReuse = "SubscriptionReuse",
1013
+ /** ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name. */
1014
+ ResourceGroupReuse = "ResourceGroupReuse",
1015
+ /** NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name. */
1016
+ NoReuse = "NoReuse"
1017
+ }
1018
+
995
1019
  /** Known values of {@link ClusterState} that the service accepts. */
996
1020
  export declare enum KnownClusterState {
997
1021
  /** Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. */
@@ -1536,6 +1560,10 @@ export declare interface ManagedCluster extends Resource {
1536
1560
  httpGatewayTokenAuthConnectionPort?: number;
1537
1561
  /** If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthConnectionPort must be defined. */
1538
1562
  enableHttpGatewayExclusiveAuthMode?: boolean;
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
+ 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;
1539
1567
  }
1540
1568
 
1541
1569
  /**
@@ -2153,6 +2181,8 @@ export declare interface NodeType extends ManagedProxyResource {
2153
2181
  additionalNetworkInterfaceConfigurations?: AdditionalNetworkInterfaceConfiguration[];
2154
2182
  /** Specifies the computer name prefix. Limited to 9 characters. If specified, allows for a longer name to be specified for the node type name. */
2155
2183
  computerNamePrefix?: string;
2184
+ /** Specifies the gallery applications that should be made available to the underlying VMSS. */
2185
+ vmApplications?: VmApplication[];
2156
2186
  }
2157
2187
 
2158
2188
  /** Parameters for Node type action. If nodes are not specified on the parameters, the operation will be performed in all nodes of the node type one upgrade domain at a time. */
@@ -3530,6 +3560,22 @@ export declare interface VaultSecretGroup {
3530
3560
  vaultCertificates: VaultCertificate[];
3531
3561
  }
3532
3562
 
3563
+ /** Specifies the gallery application that should be made available to the underlying VMSS. */
3564
+ export declare interface VmApplication {
3565
+ /** Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided. */
3566
+ configurationReference?: string;
3567
+ /** If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the underlying VMSS. */
3568
+ enableAutomaticUpgrade?: boolean;
3569
+ /** Optional, Specifies the order in which the packages have to be installed. */
3570
+ order?: number;
3571
+ /** Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}. */
3572
+ packageReferenceId: string;
3573
+ /** Optional, Specifies a passthrough value for more generic context. Accepts a JSON-formatted string e.g. '{"Tag1":"Value1","Tag2":"Value2"}'. */
3574
+ vmGalleryTags?: string;
3575
+ /** Optional, If true, any failure for any operation in the VmApplication will fail the deployment. */
3576
+ treatFailureAsDeploymentFailure?: boolean;
3577
+ }
3578
+
3533
3579
  /** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save. */
3534
3580
  export declare interface VmImagePlan {
3535
3581
  /** The plan ID. */
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.1"
8
+ "packageVersion": "7.47.11"
9
9
  }
10
10
  ]
11
11
  }