@azure/arm-servicefabric 2.0.0-beta.1 → 2.0.1-alpha.20220106.1

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 (67) hide show
  1. package/CHANGELOG.md +17 -10
  2. package/README.md +4 -0
  3. package/dist/index.js +222 -242
  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/src/index.d.ts +0 -1
  8. package/dist-esm/src/index.d.ts.map +1 -1
  9. package/dist-esm/src/index.js +0 -1
  10. package/dist-esm/src/index.js.map +1 -1
  11. package/dist-esm/src/models/index.d.ts +134 -134
  12. package/dist-esm/src/models/index.d.ts.map +1 -1
  13. package/dist-esm/src/models/index.js +30 -30
  14. package/dist-esm/src/models/index.js.map +1 -1
  15. package/dist-esm/src/models/mappers.d.ts +8 -8
  16. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  17. package/dist-esm/src/models/mappers.js +189 -189
  18. package/dist-esm/src/models/mappers.js.map +1 -1
  19. package/dist-esm/src/operations/applicationTypeVersions.d.ts +2 -2
  20. package/dist-esm/src/operations/applicationTypeVersions.d.ts.map +1 -1
  21. package/dist-esm/src/operations/applicationTypeVersions.js.map +1 -1
  22. package/dist-esm/src/operations/applicationTypes.d.ts +2 -2
  23. package/dist-esm/src/operations/applicationTypes.d.ts.map +1 -1
  24. package/dist-esm/src/operations/applicationTypes.js.map +1 -1
  25. package/dist-esm/src/operations/applications.d.ts +2 -2
  26. package/dist-esm/src/operations/applications.d.ts.map +1 -1
  27. package/dist-esm/src/operations/applications.js.map +1 -1
  28. package/dist-esm/src/operations/clusterVersions.d.ts +2 -2
  29. package/dist-esm/src/operations/clusterVersions.d.ts.map +1 -1
  30. package/dist-esm/src/operations/clusterVersions.js.map +1 -1
  31. package/dist-esm/src/operations/clusters.d.ts +2 -2
  32. package/dist-esm/src/operations/clusters.d.ts.map +1 -1
  33. package/dist-esm/src/operations/clusters.js.map +1 -1
  34. package/dist-esm/src/operations/operations.d.ts +2 -2
  35. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  36. package/dist-esm/src/operations/operations.js.map +1 -1
  37. package/dist-esm/src/operations/services.d.ts +2 -2
  38. package/dist-esm/src/operations/services.d.ts.map +1 -1
  39. package/dist-esm/src/operations/services.js.map +1 -1
  40. package/dist-esm/src/serviceFabricManagementClient.d.ts +5 -2
  41. package/dist-esm/src/serviceFabricManagementClient.d.ts.map +1 -1
  42. package/dist-esm/src/serviceFabricManagementClient.js +32 -3
  43. package/dist-esm/src/serviceFabricManagementClient.js.map +1 -1
  44. package/dist-esm/test/servicefabric.d.ts +3 -1
  45. package/dist-esm/test/servicefabric.d.ts.map +1 -1
  46. package/dist-esm/test/servicefabric.js +10 -4
  47. package/dist-esm/test/servicefabric.js.map +1 -1
  48. package/package.json +18 -7
  49. package/review/arm-servicefabric.api.md +5 -10
  50. package/src/index.ts +0 -1
  51. package/src/models/index.ts +143 -143
  52. package/src/models/mappers.ts +205 -205
  53. package/src/operations/applicationTypeVersions.ts +3 -3
  54. package/src/operations/applicationTypes.ts +3 -3
  55. package/src/operations/applications.ts +3 -3
  56. package/src/operations/clusterVersions.ts +3 -3
  57. package/src/operations/clusters.ts +3 -3
  58. package/src/operations/operations.ts +3 -3
  59. package/src/operations/services.ts +3 -3
  60. package/src/serviceFabricManagementClient.ts +46 -3
  61. package/types/arm-servicefabric.d.ts +4 -14
  62. package/types/tsdoc-metadata.json +1 -1
  63. package/dist-esm/src/serviceFabricManagementClientContext.d.ts +0 -16
  64. package/dist-esm/src/serviceFabricManagementClientContext.d.ts.map +0 -1
  65. package/dist-esm/src/serviceFabricManagementClientContext.js +0 -49
  66. package/dist-esm/src/serviceFabricManagementClientContext.js.map +0 -1
  67. package/src/serviceFabricManagementClientContext.ts +0 -70
package/package.json CHANGED
@@ -3,8 +3,10 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ServiceFabricManagementClient.",
6
- "version": "2.0.0-beta.1",
7
- "engines": { "node": ">=12.0.0" },
6
+ "version": "2.0.1-alpha.20220106.1",
7
+ "engines": {
8
+ "node": ">=12.0.0"
9
+ },
8
10
  "dependencies": {
9
11
  "@azure/core-lro": "^2.2.0",
10
12
  "@azure/abort-controller": "^1.0.0",
@@ -14,7 +16,13 @@
14
16
  "@azure/core-rest-pipeline": "^1.1.0",
15
17
  "tslib": "^2.2.0"
16
18
  },
17
- "keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
19
+ "keywords": [
20
+ "node",
21
+ "azure",
22
+ "typescript",
23
+ "browser",
24
+ "isomorphic"
25
+ ],
18
26
  "license": "MIT",
19
27
  "main": "./dist/index.js",
20
28
  "module": "./dist-esm/src/index.js",
@@ -30,7 +38,8 @@
30
38
  "rollup-plugin-sourcemaps": "^0.4.2",
31
39
  "typescript": "~4.2.0",
32
40
  "uglify-js": "^3.4.9",
33
- "@azure/identity": "2.0.0-beta.6",
41
+ "rimraf": "^3.0.0",
42
+ "@azure/identity": "^2.0.1",
34
43
  "@azure-tools/test-recorder": "^1.0.0",
35
44
  "mocha": "^7.1.1",
36
45
  "cross-env": "^7.0.2"
@@ -40,7 +49,9 @@
40
49
  "type": "git",
41
50
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
42
51
  },
43
- "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
52
+ "bugs": {
53
+ "url": "https://github.com/Azure/azure-sdk-for-js/issues"
54
+ },
44
55
  "files": [
45
56
  "dist/**/*.js",
46
57
  "dist/**/*.js.map",
@@ -67,7 +78,7 @@
67
78
  "extract-api": "api-extractor run --local",
68
79
  "lint": "echo skipped",
69
80
  "audit": "echo skipped",
70
- "clean": "echo skipped",
81
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
71
82
  "build:node": "echo skipped",
72
83
  "build:browser": "echo skipped",
73
84
  "build:test": "echo skipped",
@@ -82,7 +93,7 @@
82
93
  "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
83
94
  "unit-test:browser": "echo skipped",
84
95
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
85
- "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts",
96
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
86
97
  "integration-test:browser": "echo skipped",
87
98
  "docs": "echo skipped"
88
99
  },
@@ -996,9 +996,13 @@ export interface ServiceCorrelationDescription {
996
996
  export type ServiceCorrelationScheme = string;
997
997
 
998
998
  // @public (undocumented)
999
- export class ServiceFabricManagementClient extends ServiceFabricManagementClientContext {
999
+ export class ServiceFabricManagementClient extends coreClient.ServiceClient {
1000
+ // (undocumented)
1001
+ $host: string;
1000
1002
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ServiceFabricManagementClientOptionalParams);
1001
1003
  // (undocumented)
1004
+ apiVersion: string;
1005
+ // (undocumented)
1002
1006
  applications: Applications;
1003
1007
  // (undocumented)
1004
1008
  applicationTypes: ApplicationTypes;
@@ -1012,15 +1016,6 @@ export class ServiceFabricManagementClient extends ServiceFabricManagementClient
1012
1016
  operations: Operations;
1013
1017
  // (undocumented)
1014
1018
  services: Services;
1015
- }
1016
-
1017
- // @public (undocumented)
1018
- export class ServiceFabricManagementClientContext extends coreClient.ServiceClient {
1019
- // (undocumented)
1020
- $host: string;
1021
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ServiceFabricManagementClientOptionalParams);
1022
- // (undocumented)
1023
- apiVersion: string;
1024
1019
  // (undocumented)
1025
1020
  subscriptionId: string;
1026
1021
  }
package/src/index.ts CHANGED
@@ -9,5 +9,4 @@
9
9
  /// <reference lib="esnext.asynciterable" />
10
10
  export * from "./models";
11
11
  export { ServiceFabricManagementClient } from "./serviceFabricManagementClient";
12
- export { ServiceFabricManagementClientContext } from "./serviceFabricManagementClientContext";
13
12
  export * from "./operationsInterfaces";
@@ -22,55 +22,6 @@ export type ServiceResourceUpdatePropertiesUnion =
22
22
  | StatefulServiceUpdateProperties
23
23
  | StatelessServiceUpdateProperties;
24
24
 
25
- /** The resource model definition. */
26
- export interface Resource {
27
- /**
28
- * Azure resource identifier.
29
- * NOTE: This property will not be serialized. It can only be populated by the server.
30
- */
31
- readonly id?: string;
32
- /**
33
- * Azure resource name.
34
- * NOTE: This property will not be serialized. It can only be populated by the server.
35
- */
36
- readonly name?: string;
37
- /**
38
- * Azure resource type.
39
- * NOTE: This property will not be serialized. It can only be populated by the server.
40
- */
41
- readonly type?: string;
42
- /** Azure resource location. */
43
- location: string;
44
- /** Azure resource tags. */
45
- tags?: { [propertyName: string]: string };
46
- /**
47
- * Azure resource etag.
48
- * NOTE: This property will not be serialized. It can only be populated by the server.
49
- */
50
- readonly etag?: string;
51
- /**
52
- * Metadata pertaining to creation and last modification of the resource.
53
- * NOTE: This property will not be serialized. It can only be populated by the server.
54
- */
55
- readonly systemData?: SystemData;
56
- }
57
-
58
- /** Metadata pertaining to creation and last modification of the resource. */
59
- export interface SystemData {
60
- /** The identity that created the resource. */
61
- createdBy?: string;
62
- /** The type of identity that created the resource. */
63
- createdByType?: string;
64
- /** The timestamp of resource creation (UTC). */
65
- createdAt?: Date;
66
- /** The identity that last modified the resource. */
67
- lastModifiedBy?: string;
68
- /** The type of identity that last modified the resource. */
69
- lastModifiedByType?: string;
70
- /** The timestamp of resource last modification (UTC). */
71
- lastModifiedAt?: Date;
72
- }
73
-
74
25
  /** The detail of the Service Fabric runtime version result */
75
26
  export interface ClusterVersionDetails {
76
27
  /** The Service Fabric runtime version of the cluster. */
@@ -373,6 +324,55 @@ export interface NotificationTarget {
373
324
  receivers: string[];
374
325
  }
375
326
 
327
+ /** The resource model definition. */
328
+ export interface Resource {
329
+ /**
330
+ * Azure resource identifier.
331
+ * NOTE: This property will not be serialized. It can only be populated by the server.
332
+ */
333
+ readonly id?: string;
334
+ /**
335
+ * Azure resource name.
336
+ * NOTE: This property will not be serialized. It can only be populated by the server.
337
+ */
338
+ readonly name?: string;
339
+ /**
340
+ * Azure resource type.
341
+ * NOTE: This property will not be serialized. It can only be populated by the server.
342
+ */
343
+ readonly type?: string;
344
+ /** Azure resource location. */
345
+ location: string;
346
+ /** Azure resource tags. */
347
+ tags?: { [propertyName: string]: string };
348
+ /**
349
+ * Azure resource etag.
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly etag?: string;
353
+ /**
354
+ * Metadata pertaining to creation and last modification of the resource.
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly systemData?: SystemData;
358
+ }
359
+
360
+ /** Metadata pertaining to creation and last modification of the resource. */
361
+ export interface SystemData {
362
+ /** The identity that created the resource. */
363
+ createdBy?: string;
364
+ /** The type of identity that created the resource. */
365
+ createdByType?: string;
366
+ /** The timestamp of resource creation (UTC). */
367
+ createdAt?: Date;
368
+ /** The identity that last modified the resource. */
369
+ lastModifiedBy?: string;
370
+ /** The type of identity that last modified the resource. */
371
+ lastModifiedByType?: string;
372
+ /** The timestamp of resource last modification (UTC). */
373
+ lastModifiedAt?: Date;
374
+ }
375
+
376
376
  /** The structure of the error. */
377
377
  export interface ErrorModel {
378
378
  /** The error details. */
@@ -762,6 +762,12 @@ export interface ApplicationResourceList {
762
762
  readonly nextLink?: string;
763
763
  }
764
764
 
765
+ /** Describes how the service is partitioned. */
766
+ export interface PartitionSchemeDescription {
767
+ /** Polymorphic discriminator, which specifies the different types this object can be */
768
+ partitionScheme: "Named" | "Singleton" | "UniformInt64Range";
769
+ }
770
+
765
771
  /** The common service resource properties. */
766
772
  export interface ServiceResourcePropertiesBase {
767
773
  /** The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". */
@@ -804,12 +810,6 @@ export interface ServicePlacementPolicyDescription {
804
810
  type: "undefined";
805
811
  }
806
812
 
807
- /** Describes how the service is partitioned. */
808
- export interface PartitionSchemeDescription {
809
- /** Polymorphic discriminator, which specifies the different types this object can be */
810
- partitionScheme: "Named" | "Singleton" | "UniformInt64Range";
811
- }
812
-
813
813
  /** The list of service resources. */
814
814
  export interface ServiceResourceList {
815
815
  value?: ServiceResource[];
@@ -1057,31 +1057,6 @@ export type ApplicationResourceProperties = ApplicationResourceUpdateProperties
1057
1057
  typeName?: string;
1058
1058
  };
1059
1059
 
1060
- /** The service resource properties. */
1061
- export type ServiceResourceProperties = ServiceResourcePropertiesBase & {
1062
- /**
1063
- * The current deployment or provisioning state, which only appears in the response
1064
- * NOTE: This property will not be serialized. It can only be populated by the server.
1065
- */
1066
- readonly provisioningState?: string;
1067
- /** The kind of service (Stateless or Stateful). */
1068
- serviceKind: ServiceKind;
1069
- /** The name of the service type */
1070
- serviceTypeName?: string;
1071
- /** Describes how the service is partitioned. */
1072
- partitionDescription?: PartitionSchemeDescriptionUnion;
1073
- /** The activation Mode of the service package */
1074
- servicePackageActivationMode?: ArmServicePackageActivationMode;
1075
- /** Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name. */
1076
- serviceDnsName?: string;
1077
- };
1078
-
1079
- /** The service resource properties for patch operations. */
1080
- export type ServiceResourceUpdateProperties = ServiceResourcePropertiesBase & {
1081
- /** The kind of service (Stateless or Stateful). */
1082
- serviceKind: ServiceKind;
1083
- };
1084
-
1085
1060
  /** Describes the named partition scheme of the service. */
1086
1061
  export type NamedPartitionSchemeDescription = PartitionSchemeDescription & {
1087
1062
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -1118,6 +1093,31 @@ export type UniformInt64RangePartitionSchemeDescription = PartitionSchemeDescrip
1118
1093
  highKey: string;
1119
1094
  };
1120
1095
 
1096
+ /** The service resource properties. */
1097
+ export type ServiceResourceProperties = ServiceResourcePropertiesBase & {
1098
+ /**
1099
+ * The current deployment or provisioning state, which only appears in the response
1100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1101
+ */
1102
+ readonly provisioningState?: string;
1103
+ /** The kind of service (Stateless or Stateful). */
1104
+ serviceKind: ServiceKind;
1105
+ /** The name of the service type */
1106
+ serviceTypeName?: string;
1107
+ /** Describes how the service is partitioned. */
1108
+ partitionDescription?: PartitionSchemeDescriptionUnion;
1109
+ /** The activation Mode of the service package */
1110
+ servicePackageActivationMode?: ArmServicePackageActivationMode;
1111
+ /** Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name. */
1112
+ serviceDnsName?: string;
1113
+ };
1114
+
1115
+ /** The service resource properties for patch operations. */
1116
+ export type ServiceResourceUpdateProperties = ServiceResourcePropertiesBase & {
1117
+ /** The kind of service (Stateless or Stateful). */
1118
+ serviceKind: ServiceKind;
1119
+ };
1120
+
1121
1121
  /** The properties of a stateful service resource. */
1122
1122
  export type StatefulServiceProperties = ServiceResourceProperties & {
1123
1123
  /** A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. */
@@ -1504,6 +1504,69 @@ export enum KnownRollingUpgradeMode {
1504
1504
  */
1505
1505
  export type RollingUpgradeMode = string;
1506
1506
 
1507
+ /** Known values of {@link ServiceKind} that the service accepts. */
1508
+ export enum KnownServiceKind {
1509
+ /** Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
1510
+ Invalid = "Invalid",
1511
+ /** Does not use Service Fabric to make its state highly available or reliable. The value is 1. */
1512
+ Stateless = "Stateless",
1513
+ /** Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2. */
1514
+ Stateful = "Stateful"
1515
+ }
1516
+
1517
+ /**
1518
+ * Defines values for ServiceKind. \
1519
+ * {@link KnownServiceKind} can be used interchangeably with ServiceKind,
1520
+ * this enum contains the known values that the service supports.
1521
+ * ### Known values supported by the service
1522
+ * **Invalid**: Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. \
1523
+ * **Stateless**: Does not use Service Fabric to make its state highly available or reliable. The value is 1. \
1524
+ * **Stateful**: Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.
1525
+ */
1526
+ export type ServiceKind = string;
1527
+
1528
+ /** Known values of {@link PartitionScheme} that the service accepts. */
1529
+ export enum KnownPartitionScheme {
1530
+ /** Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
1531
+ Invalid = "Invalid",
1532
+ /** Indicates that the partition is based on string names, and is a SingletonPartitionSchemeDescription object, The value is 1. */
1533
+ Singleton = "Singleton",
1534
+ /** Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionSchemeDescription object. The value is 2. */
1535
+ UniformInt64Range = "UniformInt64Range",
1536
+ /** Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3 */
1537
+ Named = "Named"
1538
+ }
1539
+
1540
+ /**
1541
+ * Defines values for PartitionScheme. \
1542
+ * {@link KnownPartitionScheme} can be used interchangeably with PartitionScheme,
1543
+ * this enum contains the known values that the service supports.
1544
+ * ### Known values supported by the service
1545
+ * **Invalid**: Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. \
1546
+ * **Singleton**: Indicates that the partition is based on string names, and is a SingletonPartitionSchemeDescription object, The value is 1. \
1547
+ * **UniformInt64Range**: Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionSchemeDescription object. The value is 2. \
1548
+ * **Named**: Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3
1549
+ */
1550
+ export type PartitionScheme = string;
1551
+
1552
+ /** Known values of {@link ArmServicePackageActivationMode} that the service accepts. */
1553
+ export enum KnownArmServicePackageActivationMode {
1554
+ /** Indicates the application package activation mode will use shared process. */
1555
+ SharedProcess = "SharedProcess",
1556
+ /** Indicates the application package activation mode will use exclusive process. */
1557
+ ExclusiveProcess = "ExclusiveProcess"
1558
+ }
1559
+
1560
+ /**
1561
+ * Defines values for ArmServicePackageActivationMode. \
1562
+ * {@link KnownArmServicePackageActivationMode} can be used interchangeably with ArmServicePackageActivationMode,
1563
+ * this enum contains the known values that the service supports.
1564
+ * ### Known values supported by the service
1565
+ * **SharedProcess**: Indicates the application package activation mode will use shared process. \
1566
+ * **ExclusiveProcess**: Indicates the application package activation mode will use exclusive process.
1567
+ */
1568
+ export type ArmServicePackageActivationMode = string;
1569
+
1507
1570
  /** Known values of {@link ServiceCorrelationScheme} that the service accepts. */
1508
1571
  export enum KnownServiceCorrelationScheme {
1509
1572
  /** An invalid correlation scheme. Cannot be used. The value is zero. */
@@ -1605,69 +1668,6 @@ export enum KnownMoveCost {
1605
1668
  * **High**: Specifies the move cost of the service as High. The value is 3.
1606
1669
  */
1607
1670
  export type MoveCost = string;
1608
-
1609
- /** Known values of {@link ServiceKind} that the service accepts. */
1610
- export enum KnownServiceKind {
1611
- /** Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
1612
- Invalid = "Invalid",
1613
- /** Does not use Service Fabric to make its state highly available or reliable. The value is 1. */
1614
- Stateless = "Stateless",
1615
- /** Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2. */
1616
- Stateful = "Stateful"
1617
- }
1618
-
1619
- /**
1620
- * Defines values for ServiceKind. \
1621
- * {@link KnownServiceKind} can be used interchangeably with ServiceKind,
1622
- * this enum contains the known values that the service supports.
1623
- * ### Known values supported by the service
1624
- * **Invalid**: Indicates the service kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. \
1625
- * **Stateless**: Does not use Service Fabric to make its state highly available or reliable. The value is 1. \
1626
- * **Stateful**: Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2.
1627
- */
1628
- export type ServiceKind = string;
1629
-
1630
- /** Known values of {@link PartitionScheme} that the service accepts. */
1631
- export enum KnownPartitionScheme {
1632
- /** Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. */
1633
- Invalid = "Invalid",
1634
- /** Indicates that the partition is based on string names, and is a SingletonPartitionSchemeDescription object, The value is 1. */
1635
- Singleton = "Singleton",
1636
- /** Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionSchemeDescription object. The value is 2. */
1637
- UniformInt64Range = "UniformInt64Range",
1638
- /** Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3 */
1639
- Named = "Named"
1640
- }
1641
-
1642
- /**
1643
- * Defines values for PartitionScheme. \
1644
- * {@link KnownPartitionScheme} can be used interchangeably with PartitionScheme,
1645
- * this enum contains the known values that the service supports.
1646
- * ### Known values supported by the service
1647
- * **Invalid**: Indicates the partition kind is invalid. All Service Fabric enumerations have the invalid type. The value is zero. \
1648
- * **Singleton**: Indicates that the partition is based on string names, and is a SingletonPartitionSchemeDescription object, The value is 1. \
1649
- * **UniformInt64Range**: Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionSchemeDescription object. The value is 2. \
1650
- * **Named**: Indicates that the partition is based on string names, and is a NamedPartitionSchemeDescription object. The value is 3
1651
- */
1652
- export type PartitionScheme = string;
1653
-
1654
- /** Known values of {@link ArmServicePackageActivationMode} that the service accepts. */
1655
- export enum KnownArmServicePackageActivationMode {
1656
- /** Indicates the application package activation mode will use shared process. */
1657
- SharedProcess = "SharedProcess",
1658
- /** Indicates the application package activation mode will use exclusive process. */
1659
- ExclusiveProcess = "ExclusiveProcess"
1660
- }
1661
-
1662
- /**
1663
- * Defines values for ArmServicePackageActivationMode. \
1664
- * {@link KnownArmServicePackageActivationMode} can be used interchangeably with ArmServicePackageActivationMode,
1665
- * this enum contains the known values that the service supports.
1666
- * ### Known values supported by the service
1667
- * **SharedProcess**: Indicates the application package activation mode will use shared process. \
1668
- * **ExclusiveProcess**: Indicates the application package activation mode will use exclusive process.
1669
- */
1670
- export type ArmServicePackageActivationMode = string;
1671
1671
  /** Defines values for ManagedIdentityType. */
1672
1672
  export type ManagedIdentityType =
1673
1673
  | "SystemAssigned"