@azure/arm-servicefabric 2.0.2-alpha.20221214.2 → 2.1.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 +22 -10
- package/dist/index.js +152 -38
- 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/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +83 -37
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +38 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +5 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +14 -11
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/serviceFabricManagementClient.d.ts +2 -0
- package/dist-esm/src/serviceFabricManagementClient.d.ts.map +1 -1
- package/dist-esm/src/serviceFabricManagementClient.js +49 -18
- package/dist-esm/src/serviceFabricManagementClient.js.map +1 -1
- package/dist-esm/test/{servicefabric.d.ts → servicefabric_examples.spec.d.ts} +1 -1
- package/dist-esm/test/servicefabric_examples.spec.d.ts.map +1 -0
- package/dist-esm/test/{servicefabric.js → servicefabric_examples.spec.js} +17 -19
- package/dist-esm/test/servicefabric_examples.spec.js.map +1 -0
- package/package.json +13 -9
- package/review/arm-servicefabric.api.md +84 -115
- package/src/index.ts +1 -0
- package/src/models/index.ts +91 -37
- package/src/models/mappers.ts +14 -11
- package/src/operations/operations.ts +21 -9
- package/src/pagingHelper.ts +39 -0
- package/src/serviceFabricManagementClient.ts +60 -20
- package/types/arm-servicefabric.d.ts +94 -37
- package/dist-esm/test/servicefabric.d.ts.map +0 -1
- package/dist-esm/test/servicefabric.js.map +0 -1
|
@@ -77,7 +77,7 @@ export declare interface ApplicationMetricDescription {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/** The application resource. */
|
|
80
|
-
export declare
|
|
80
|
+
export declare interface ApplicationResource extends ProxyResource {
|
|
81
81
|
/** Describes the managed identities for an Azure resource. */
|
|
82
82
|
identity?: ManagedIdentity;
|
|
83
83
|
/** The version of the application type as defined in the application manifest. */
|
|
@@ -105,7 +105,7 @@ export declare type ApplicationResource = ProxyResource & {
|
|
|
105
105
|
readonly provisioningState?: string;
|
|
106
106
|
/** The application type name as defined in the application manifest. */
|
|
107
107
|
typeName?: string;
|
|
108
|
-
}
|
|
108
|
+
}
|
|
109
109
|
|
|
110
110
|
/** The list of application resources. */
|
|
111
111
|
export declare interface ApplicationResourceList {
|
|
@@ -118,7 +118,7 @@ export declare interface ApplicationResourceList {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/** The application resource properties. */
|
|
121
|
-
export declare
|
|
121
|
+
export declare interface ApplicationResourceProperties extends ApplicationResourceUpdateProperties {
|
|
122
122
|
/**
|
|
123
123
|
* The current deployment or provisioning state, which only appears in the response
|
|
124
124
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -126,10 +126,10 @@ export declare type ApplicationResourceProperties = ApplicationResourceUpdatePro
|
|
|
126
126
|
readonly provisioningState?: string;
|
|
127
127
|
/** The application type name as defined in the application manifest. */
|
|
128
128
|
typeName?: string;
|
|
129
|
-
}
|
|
129
|
+
}
|
|
130
130
|
|
|
131
131
|
/** The application resource for patch operations. */
|
|
132
|
-
export declare
|
|
132
|
+
export declare interface ApplicationResourceUpdate extends ProxyResource {
|
|
133
133
|
/** The version of the application type as defined in the application manifest. */
|
|
134
134
|
typeVersion?: string;
|
|
135
135
|
/** List of application parameters with overridden values from their default values specified in the application manifest. */
|
|
@@ -148,7 +148,7 @@ export declare type ApplicationResourceUpdate = ProxyResource & {
|
|
|
148
148
|
metrics?: ApplicationMetricDescription[];
|
|
149
149
|
/** List of user assigned identities for the application, each mapped to a friendly name. */
|
|
150
150
|
managedIdentities?: ApplicationUserAssignedIdentity[];
|
|
151
|
-
}
|
|
151
|
+
}
|
|
152
152
|
|
|
153
153
|
/** The application resource properties for patch operations. */
|
|
154
154
|
export declare interface ApplicationResourceUpdateProperties {
|
|
@@ -290,13 +290,13 @@ export declare interface ApplicationsUpdateOptionalParams extends coreClient.Ope
|
|
|
290
290
|
export declare type ApplicationsUpdateResponse = ApplicationResource;
|
|
291
291
|
|
|
292
292
|
/** The application type name resource */
|
|
293
|
-
export declare
|
|
293
|
+
export declare interface ApplicationTypeResource extends ProxyResource {
|
|
294
294
|
/**
|
|
295
295
|
* The current deployment or provisioning state, which only appears in the response.
|
|
296
296
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
297
297
|
*/
|
|
298
298
|
readonly provisioningState?: string;
|
|
299
|
-
}
|
|
299
|
+
}
|
|
300
300
|
|
|
301
301
|
/** The list of application type names. */
|
|
302
302
|
export declare interface ApplicationTypeResourceList {
|
|
@@ -384,7 +384,7 @@ export declare interface ApplicationTypesListOptionalParams extends coreClient.O
|
|
|
384
384
|
export declare type ApplicationTypesListResponse = ApplicationTypeResourceList;
|
|
385
385
|
|
|
386
386
|
/** An application type version resource for the specified application type name resource. */
|
|
387
|
-
export declare
|
|
387
|
+
export declare interface ApplicationTypeVersionResource extends ProxyResource {
|
|
388
388
|
/**
|
|
389
389
|
* The current deployment or provisioning state, which only appears in the response
|
|
390
390
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -399,7 +399,7 @@ export declare type ApplicationTypeVersionResource = ProxyResource & {
|
|
|
399
399
|
readonly defaultParameterList?: {
|
|
400
400
|
[propertyName: string]: string;
|
|
401
401
|
};
|
|
402
|
-
}
|
|
402
|
+
}
|
|
403
403
|
|
|
404
404
|
/** The list of application type version resources for the specified application type name resource. */
|
|
405
405
|
export declare interface ApplicationTypeVersionResourceList {
|
|
@@ -671,7 +671,7 @@ export declare interface ClientCertificateThumbprint {
|
|
|
671
671
|
* The cluster resource
|
|
672
672
|
*
|
|
673
673
|
*/
|
|
674
|
-
export declare
|
|
674
|
+
export declare interface Cluster extends Resource {
|
|
675
675
|
/** The list of add-on features to enable in the cluster. */
|
|
676
676
|
addOnFeatures?: AddOnFeatures[];
|
|
677
677
|
/**
|
|
@@ -772,7 +772,7 @@ export declare type Cluster = Resource & {
|
|
|
772
772
|
waveUpgradePaused?: boolean;
|
|
773
773
|
/** Indicates a list of notification channels for cluster events. */
|
|
774
774
|
notifications?: Notification_2[];
|
|
775
|
-
}
|
|
775
|
+
}
|
|
776
776
|
|
|
777
777
|
/** The list results of the Service Fabric runtime versions. */
|
|
778
778
|
export declare interface ClusterCodeVersionsListResult {
|
|
@@ -1248,11 +1248,24 @@ export declare interface ErrorModelError {
|
|
|
1248
1248
|
message?: string;
|
|
1249
1249
|
}
|
|
1250
1250
|
|
|
1251
|
+
/**
|
|
1252
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
1253
|
+
* returns a continuation token that can be used to begin paging from
|
|
1254
|
+
* that point later.
|
|
1255
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
1256
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
1257
|
+
*/
|
|
1258
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
1259
|
+
|
|
1251
1260
|
/** Known values of {@link AddOnFeatures} that the service accepts. */
|
|
1252
1261
|
export declare enum KnownAddOnFeatures {
|
|
1262
|
+
/** RepairManager */
|
|
1253
1263
|
RepairManager = "RepairManager",
|
|
1264
|
+
/** DnsService */
|
|
1254
1265
|
DnsService = "DnsService",
|
|
1266
|
+
/** BackupRestoreService */
|
|
1255
1267
|
BackupRestoreService = "BackupRestoreService",
|
|
1268
|
+
/** ResourceMonitorService */
|
|
1256
1269
|
ResourceMonitorService = "ResourceMonitorService"
|
|
1257
1270
|
}
|
|
1258
1271
|
|
|
@@ -1274,21 +1287,33 @@ export declare enum KnownArmUpgradeFailureAction {
|
|
|
1274
1287
|
|
|
1275
1288
|
/** Known values of {@link ClusterEnvironment} that the service accepts. */
|
|
1276
1289
|
export declare enum KnownClusterEnvironment {
|
|
1290
|
+
/** Windows */
|
|
1277
1291
|
Windows = "Windows",
|
|
1292
|
+
/** Linux */
|
|
1278
1293
|
Linux = "Linux"
|
|
1279
1294
|
}
|
|
1280
1295
|
|
|
1281
1296
|
/** Known values of {@link ClusterState} that the service accepts. */
|
|
1282
1297
|
export declare enum KnownClusterState {
|
|
1298
|
+
/** WaitingForNodes */
|
|
1283
1299
|
WaitingForNodes = "WaitingForNodes",
|
|
1300
|
+
/** Deploying */
|
|
1284
1301
|
Deploying = "Deploying",
|
|
1302
|
+
/** BaselineUpgrade */
|
|
1285
1303
|
BaselineUpgrade = "BaselineUpgrade",
|
|
1304
|
+
/** UpdatingUserConfiguration */
|
|
1286
1305
|
UpdatingUserConfiguration = "UpdatingUserConfiguration",
|
|
1306
|
+
/** UpdatingUserCertificate */
|
|
1287
1307
|
UpdatingUserCertificate = "UpdatingUserCertificate",
|
|
1308
|
+
/** UpdatingInfrastructure */
|
|
1288
1309
|
UpdatingInfrastructure = "UpdatingInfrastructure",
|
|
1310
|
+
/** EnforcingClusterVersion */
|
|
1289
1311
|
EnforcingClusterVersion = "EnforcingClusterVersion",
|
|
1312
|
+
/** UpgradeServiceUnreachable */
|
|
1290
1313
|
UpgradeServiceUnreachable = "UpgradeServiceUnreachable",
|
|
1314
|
+
/** AutoScale */
|
|
1291
1315
|
AutoScale = "AutoScale",
|
|
1316
|
+
/** Ready */
|
|
1292
1317
|
Ready = "Ready"
|
|
1293
1318
|
}
|
|
1294
1319
|
|
|
@@ -1304,14 +1329,19 @@ export declare enum KnownClusterUpgradeCadence {
|
|
|
1304
1329
|
|
|
1305
1330
|
/** Known values of {@link DurabilityLevel} that the service accepts. */
|
|
1306
1331
|
export declare enum KnownDurabilityLevel {
|
|
1332
|
+
/** Bronze */
|
|
1307
1333
|
Bronze = "Bronze",
|
|
1334
|
+
/** Silver */
|
|
1308
1335
|
Silver = "Silver",
|
|
1336
|
+
/** Gold */
|
|
1309
1337
|
Gold = "Gold"
|
|
1310
1338
|
}
|
|
1311
1339
|
|
|
1312
1340
|
/** Known values of {@link Enum14} that the service accepts. */
|
|
1313
1341
|
export declare enum KnownEnum14 {
|
|
1342
|
+
/** Windows */
|
|
1314
1343
|
Windows = "Windows",
|
|
1344
|
+
/** Linux */
|
|
1315
1345
|
Linux = "Linux"
|
|
1316
1346
|
}
|
|
1317
1347
|
|
|
@@ -1363,18 +1393,27 @@ export declare enum KnownPartitionScheme {
|
|
|
1363
1393
|
|
|
1364
1394
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1365
1395
|
export declare enum KnownProvisioningState {
|
|
1396
|
+
/** Updating */
|
|
1366
1397
|
Updating = "Updating",
|
|
1398
|
+
/** Succeeded */
|
|
1367
1399
|
Succeeded = "Succeeded",
|
|
1400
|
+
/** Failed */
|
|
1368
1401
|
Failed = "Failed",
|
|
1402
|
+
/** Canceled */
|
|
1369
1403
|
Canceled = "Canceled"
|
|
1370
1404
|
}
|
|
1371
1405
|
|
|
1372
1406
|
/** Known values of {@link ReliabilityLevel} that the service accepts. */
|
|
1373
1407
|
export declare enum KnownReliabilityLevel {
|
|
1408
|
+
/** None */
|
|
1374
1409
|
None = "None",
|
|
1410
|
+
/** Bronze */
|
|
1375
1411
|
Bronze = "Bronze",
|
|
1412
|
+
/** Silver */
|
|
1376
1413
|
Silver = "Silver",
|
|
1414
|
+
/** Gold */
|
|
1377
1415
|
Gold = "Gold",
|
|
1416
|
+
/** Platinum */
|
|
1378
1417
|
Platinum = "Platinum"
|
|
1379
1418
|
}
|
|
1380
1419
|
|
|
@@ -1450,13 +1489,21 @@ export declare enum KnownSfZonalUpgradeMode {
|
|
|
1450
1489
|
|
|
1451
1490
|
/** Known values of {@link StoreName} that the service accepts. */
|
|
1452
1491
|
export declare enum KnownStoreName {
|
|
1492
|
+
/** AddressBook */
|
|
1453
1493
|
AddressBook = "AddressBook",
|
|
1494
|
+
/** AuthRoot */
|
|
1454
1495
|
AuthRoot = "AuthRoot",
|
|
1496
|
+
/** CertificateAuthority */
|
|
1455
1497
|
CertificateAuthority = "CertificateAuthority",
|
|
1498
|
+
/** Disallowed */
|
|
1456
1499
|
Disallowed = "Disallowed",
|
|
1500
|
+
/** My */
|
|
1457
1501
|
My = "My",
|
|
1502
|
+
/** Root */
|
|
1458
1503
|
Root = "Root",
|
|
1504
|
+
/** TrustedPeople */
|
|
1459
1505
|
TrustedPeople = "TrustedPeople",
|
|
1506
|
+
/** TrustedPublisher */
|
|
1460
1507
|
TrustedPublisher = "TrustedPublisher"
|
|
1461
1508
|
}
|
|
1462
1509
|
|
|
@@ -1516,14 +1563,14 @@ export declare type ManagedIdentityType = "SystemAssigned" | "UserAssigned" | "S
|
|
|
1516
1563
|
export declare type MoveCost = string;
|
|
1517
1564
|
|
|
1518
1565
|
/** Describes the named partition scheme of the service. */
|
|
1519
|
-
export declare
|
|
1566
|
+
export declare interface NamedPartitionSchemeDescription extends PartitionSchemeDescription {
|
|
1520
1567
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1521
1568
|
partitionScheme: "Named";
|
|
1522
1569
|
/** The number of partitions. */
|
|
1523
1570
|
count: number;
|
|
1524
1571
|
/** Array of size specified by the ‘count’ parameter, for the names of the partitions. */
|
|
1525
1572
|
names: string[];
|
|
1526
|
-
}
|
|
1573
|
+
}
|
|
1527
1574
|
|
|
1528
1575
|
/** Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. */
|
|
1529
1576
|
export declare interface NodeTypeDescription {
|
|
@@ -1838,6 +1885,8 @@ export declare class ServiceFabricManagementClient extends coreClient.ServiceCli
|
|
|
1838
1885
|
* @param options The parameter options
|
|
1839
1886
|
*/
|
|
1840
1887
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ServiceFabricManagementClientOptionalParams);
|
|
1888
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
1889
|
+
private addCustomApiVersionPolicy;
|
|
1841
1890
|
clusters: Clusters;
|
|
1842
1891
|
clusterVersions: ClusterVersions;
|
|
1843
1892
|
operations: Operations;
|
|
@@ -1897,7 +1946,7 @@ export declare type ServiceLoadMetricWeight = string;
|
|
|
1897
1946
|
/** Describes the policy to be used for placement of a Service Fabric service. */
|
|
1898
1947
|
export declare interface ServicePlacementPolicyDescription {
|
|
1899
1948
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1900
|
-
type: "
|
|
1949
|
+
type: "ServicePlacementPolicyDescription";
|
|
1901
1950
|
}
|
|
1902
1951
|
|
|
1903
1952
|
/**
|
|
@@ -1915,7 +1964,7 @@ export declare interface ServicePlacementPolicyDescription {
|
|
|
1915
1964
|
export declare type ServicePlacementPolicyType = string;
|
|
1916
1965
|
|
|
1917
1966
|
/** The service resource. */
|
|
1918
|
-
export declare
|
|
1967
|
+
export declare interface ServiceResource extends ProxyResource {
|
|
1919
1968
|
/** 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)". */
|
|
1920
1969
|
placementConstraints?: string;
|
|
1921
1970
|
/** A list that describes the correlation of the service with other services. */
|
|
@@ -1941,7 +1990,7 @@ export declare type ServiceResource = ProxyResource & {
|
|
|
1941
1990
|
servicePackageActivationMode?: ArmServicePackageActivationMode;
|
|
1942
1991
|
/** Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name. */
|
|
1943
1992
|
serviceDnsName?: string;
|
|
1944
|
-
}
|
|
1993
|
+
}
|
|
1945
1994
|
|
|
1946
1995
|
/** The list of service resources. */
|
|
1947
1996
|
export declare interface ServiceResourceList {
|
|
@@ -1954,7 +2003,7 @@ export declare interface ServiceResourceList {
|
|
|
1954
2003
|
}
|
|
1955
2004
|
|
|
1956
2005
|
/** The service resource properties. */
|
|
1957
|
-
export declare
|
|
2006
|
+
export declare interface ServiceResourceProperties extends ServiceResourcePropertiesBase {
|
|
1958
2007
|
/**
|
|
1959
2008
|
* The current deployment or provisioning state, which only appears in the response
|
|
1960
2009
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1970,7 +2019,7 @@ export declare type ServiceResourceProperties = ServiceResourcePropertiesBase &
|
|
|
1970
2019
|
servicePackageActivationMode?: ArmServicePackageActivationMode;
|
|
1971
2020
|
/** Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name. */
|
|
1972
2021
|
serviceDnsName?: string;
|
|
1973
|
-
}
|
|
2022
|
+
}
|
|
1974
2023
|
|
|
1975
2024
|
/** The common service resource properties. */
|
|
1976
2025
|
export declare interface ServiceResourcePropertiesBase {
|
|
@@ -1989,7 +2038,7 @@ export declare interface ServiceResourcePropertiesBase {
|
|
|
1989
2038
|
export declare type ServiceResourcePropertiesUnion = ServiceResourceProperties | StatefulServiceProperties | StatelessServiceProperties;
|
|
1990
2039
|
|
|
1991
2040
|
/** The service resource for patch operations. */
|
|
1992
|
-
export declare
|
|
2041
|
+
export declare interface ServiceResourceUpdate extends ProxyResource {
|
|
1993
2042
|
/** 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)". */
|
|
1994
2043
|
placementConstraints?: string;
|
|
1995
2044
|
/** A list that describes the correlation of the service with other services. */
|
|
@@ -2002,13 +2051,13 @@ export declare type ServiceResourceUpdate = ProxyResource & {
|
|
|
2002
2051
|
defaultMoveCost?: MoveCost;
|
|
2003
2052
|
/** The kind of service (Stateless or Stateful). */
|
|
2004
2053
|
serviceKind?: ServiceKind;
|
|
2005
|
-
}
|
|
2054
|
+
}
|
|
2006
2055
|
|
|
2007
2056
|
/** The service resource properties for patch operations. */
|
|
2008
|
-
export declare
|
|
2057
|
+
export declare interface ServiceResourceUpdateProperties extends ServiceResourcePropertiesBase {
|
|
2009
2058
|
/** The kind of service (Stateless or Stateful). */
|
|
2010
2059
|
serviceKind: ServiceKind;
|
|
2011
|
-
}
|
|
2060
|
+
}
|
|
2012
2061
|
|
|
2013
2062
|
export declare type ServiceResourceUpdatePropertiesUnion = ServiceResourceUpdateProperties | StatefulServiceUpdateProperties | StatelessServiceUpdateProperties;
|
|
2014
2063
|
|
|
@@ -2197,13 +2246,15 @@ export declare interface SettingsSectionDescription {
|
|
|
2197
2246
|
export declare type SfZonalUpgradeMode = string;
|
|
2198
2247
|
|
|
2199
2248
|
/** SingletonPartitionSchemeDescription */
|
|
2200
|
-
export declare
|
|
2249
|
+
export declare interface SingletonPartitionSchemeDescription extends PartitionSchemeDescription {
|
|
2201
2250
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2202
2251
|
partitionScheme: "Singleton";
|
|
2203
|
-
}
|
|
2252
|
+
}
|
|
2204
2253
|
|
|
2205
2254
|
/** The properties of a stateful service resource. */
|
|
2206
|
-
export declare
|
|
2255
|
+
export declare interface StatefulServiceProperties extends ServiceResourceProperties {
|
|
2256
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2257
|
+
serviceKind: "Stateful";
|
|
2207
2258
|
/** 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. */
|
|
2208
2259
|
hasPersistedState?: boolean;
|
|
2209
2260
|
/** The target replica set size as a number. */
|
|
@@ -2216,10 +2267,12 @@ export declare type StatefulServiceProperties = ServiceResourceProperties & {
|
|
|
2216
2267
|
quorumLossWaitDuration?: Date;
|
|
2217
2268
|
/** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
2218
2269
|
standByReplicaKeepDuration?: Date;
|
|
2219
|
-
}
|
|
2270
|
+
}
|
|
2220
2271
|
|
|
2221
2272
|
/** The properties of a stateful service resource for patch operations. */
|
|
2222
|
-
export declare
|
|
2273
|
+
export declare interface StatefulServiceUpdateProperties extends ServiceResourceUpdateProperties {
|
|
2274
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2275
|
+
serviceKind: "Stateful";
|
|
2223
2276
|
/** The target replica set size as a number. */
|
|
2224
2277
|
targetReplicaSetSize?: number;
|
|
2225
2278
|
/** The minimum replica set size as a number. */
|
|
@@ -2230,23 +2283,27 @@ export declare type StatefulServiceUpdateProperties = ServiceResourceUpdatePrope
|
|
|
2230
2283
|
quorumLossWaitDuration?: Date;
|
|
2231
2284
|
/** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
2232
2285
|
standByReplicaKeepDuration?: Date;
|
|
2233
|
-
}
|
|
2286
|
+
}
|
|
2234
2287
|
|
|
2235
2288
|
/** The properties of a stateless service resource. */
|
|
2236
|
-
export declare
|
|
2289
|
+
export declare interface StatelessServiceProperties extends ServiceResourceProperties {
|
|
2290
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2291
|
+
serviceKind: "Stateless";
|
|
2237
2292
|
/** The instance count. */
|
|
2238
2293
|
instanceCount?: number;
|
|
2239
|
-
/** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is
|
|
2294
|
+
/** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s). */
|
|
2240
2295
|
instanceCloseDelayDuration?: string;
|
|
2241
|
-
}
|
|
2296
|
+
}
|
|
2242
2297
|
|
|
2243
2298
|
/** The properties of a stateless service resource for patch operations. */
|
|
2244
|
-
export declare
|
|
2299
|
+
export declare interface StatelessServiceUpdateProperties extends ServiceResourceUpdateProperties {
|
|
2300
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2301
|
+
serviceKind: "Stateless";
|
|
2245
2302
|
/** The instance count. */
|
|
2246
2303
|
instanceCount?: number;
|
|
2247
|
-
/** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration.
|
|
2304
|
+
/** Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. It is represented in ISO 8601 format (hh:mm:ss.s). */
|
|
2248
2305
|
instanceCloseDelayDuration?: string;
|
|
2249
|
-
}
|
|
2306
|
+
}
|
|
2250
2307
|
|
|
2251
2308
|
/**
|
|
2252
2309
|
* Defines values for StoreName. \
|
|
@@ -2281,7 +2338,7 @@ export declare interface SystemData {
|
|
|
2281
2338
|
}
|
|
2282
2339
|
|
|
2283
2340
|
/** Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions. */
|
|
2284
|
-
export declare
|
|
2341
|
+
export declare interface UniformInt64RangePartitionSchemeDescription extends PartitionSchemeDescription {
|
|
2285
2342
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2286
2343
|
partitionScheme: "UniformInt64Range";
|
|
2287
2344
|
/** The number of partitions. */
|
|
@@ -2298,7 +2355,7 @@ export declare type UniformInt64RangePartitionSchemeDescription = PartitionSchem
|
|
|
2298
2355
|
*
|
|
2299
2356
|
*/
|
|
2300
2357
|
highKey: string;
|
|
2301
|
-
}
|
|
2358
|
+
}
|
|
2302
2359
|
|
|
2303
2360
|
/** The list of intermediate cluster code versions for an upgrade or downgrade. Or minimum and maximum upgradable version if no target was given */
|
|
2304
2361
|
export declare interface UpgradableVersionPathResult {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"servicefabric.d.ts","sourceRoot":"","sources":["../../test/servicefabric.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"servicefabric.js","sourceRoot":"","sources":["../../test/servicefabric.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,MAAM,EAIN,cAAc,EACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAGrF,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB,EAAE,cAAc,EAAE,CAA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