@azure-rest/arm-servicefabric 1.0.0-beta.1 → 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.
- package/CHANGELOG.md +21 -0
- package/LICENSE +4 -4
- package/README.md +29 -21
- package/dist/browser/clientDefinitions.d.ts +137 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js +4 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/customizedApiVersionPolicy.d.ts +10 -0
- package/dist/browser/customizedApiVersionPolicy.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/customizedApiVersionPolicy.js +1 -1
- package/dist/browser/customizedApiVersionPolicy.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +14 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +32 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/isUnexpected.js +64 -121
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models.d.ts +772 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +861 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js +4 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +68 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/paginateHelper.js +70 -3
- package/dist/browser/paginateHelper.js.map +1 -0
- package/dist/browser/parameters.d.ts +105 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js +4 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/pollingHelper.d.ts +76 -0
- package/dist/browser/pollingHelper.d.ts.map +1 -0
- package/dist/browser/pollingHelper.js +107 -0
- package/dist/browser/pollingHelper.js.map +1 -0
- package/dist/browser/responses.d.ts +328 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js +4 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/browser/serviceFabricClient.d.ts +15 -0
- package/dist/browser/serviceFabricClient.d.ts.map +1 -0
- package/dist/browser/serviceFabricClient.js +44 -0
- package/dist/browser/serviceFabricClient.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +137 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/customizedApiVersionPolicy.d.ts +10 -0
- package/dist/commonjs/customizedApiVersionPolicy.d.ts.map +1 -0
- package/dist/commonjs/customizedApiVersionPolicy.js +27 -0
- package/dist/commonjs/customizedApiVersionPolicy.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +32 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +101 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +772 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +861 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +68 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +140 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +105 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/pollingHelper.d.ts +76 -0
- package/dist/commonjs/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/pollingHelper.js +110 -0
- package/dist/commonjs/pollingHelper.js.map +1 -0
- package/dist/commonjs/responses.d.ts +328 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/serviceFabricClient.d.ts +15 -0
- package/dist/commonjs/serviceFabricClient.d.ts.map +1 -0
- package/dist/commonjs/serviceFabricClient.js +47 -0
- package/dist/commonjs/serviceFabricClient.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +137 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/customizedApiVersionPolicy.d.ts +10 -0
- package/dist/esm/customizedApiVersionPolicy.d.ts.map +1 -0
- package/dist/esm/customizedApiVersionPolicy.js +23 -0
- package/dist/esm/customizedApiVersionPolicy.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +32 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +98 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +772 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +861 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +68 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +137 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +105 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/pollingHelper.d.ts +76 -0
- package/dist/esm/pollingHelper.d.ts.map +1 -0
- package/dist/esm/pollingHelper.js +107 -0
- package/dist/esm/pollingHelper.js.map +1 -0
- package/dist/esm/responses.d.ts +328 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/esm/serviceFabricClient.d.ts +15 -0
- package/dist/esm/serviceFabricClient.d.ts.map +1 -0
- package/dist/esm/serviceFabricClient.js +44 -0
- package/dist/esm/serviceFabricClient.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +137 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/customizedApiVersionPolicy.d.ts +10 -0
- package/dist/react-native/customizedApiVersionPolicy.d.ts.map +1 -0
- package/dist/react-native/customizedApiVersionPolicy.js +23 -0
- package/dist/react-native/customizedApiVersionPolicy.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +14 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +32 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +98 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +772 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +861 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +68 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +137 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +105 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/pollingHelper.d.ts +76 -0
- package/dist/react-native/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/pollingHelper.js +107 -0
- package/dist/react-native/pollingHelper.js.map +1 -0
- package/dist/react-native/responses.d.ts +328 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/dist/react-native/serviceFabricClient.d.ts +15 -0
- package/dist/react-native/serviceFabricClient.d.ts.map +1 -0
- package/dist/react-native/serviceFabricClient.js +44 -0
- package/dist/react-native/serviceFabricClient.js.map +1 -0
- package/package.json +89 -80
- package/review/{arm-servicefabric.api.md → arm-servicefabric-node.api.md} +306 -311
- package/dist/index.js +0 -330
- package/dist/index.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js +0 -4
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/customizedApiVersionPolicy.js.map +0 -1
- package/dist-esm/src/index.js +0 -14
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/outputModels.js +0 -4
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/paginateHelper.js.map +0 -1
- package/dist-esm/src/parameters.js +0 -4
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/pollingHelper.js +0 -48
- package/dist-esm/src/pollingHelper.js.map +0 -1
- package/dist-esm/src/responses.js +0 -4
- package/dist-esm/src/responses.js.map +0 -1
- package/dist-esm/src/serviceFabricClient.js +0 -27
- package/dist-esm/src/serviceFabricClient.js.map +0 -1
- package/types/arm-servicefabric.d.ts +0 -2480
|
@@ -0,0 +1,861 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cluster resource
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export interface ClusterOutput extends ResourceOutput {
|
|
6
|
+
/** The cluster resource properties */
|
|
7
|
+
properties?: ClusterPropertiesOutput;
|
|
8
|
+
}
|
|
9
|
+
/** Describes the cluster resource properties. */
|
|
10
|
+
export interface ClusterPropertiesOutput {
|
|
11
|
+
/** The list of add-on features to enable in the cluster. */
|
|
12
|
+
addOnFeatures?: Array<"RepairManager" | "DnsService" | "BackupRestoreService" | "ResourceMonitorService">;
|
|
13
|
+
/** The Service Fabric runtime versions available for this cluster. */
|
|
14
|
+
readonly availableClusterVersions?: Array<ClusterVersionDetailsOutput>;
|
|
15
|
+
/** The AAD authentication settings of the cluster. */
|
|
16
|
+
azureActiveDirectory?: AzureActiveDirectoryOutput;
|
|
17
|
+
/** The certificate to use for securing the cluster. The certificate provided will be used for node to node security within the cluster, SSL certificate for cluster management endpoint and default admin client. */
|
|
18
|
+
certificate?: CertificateDescriptionOutput;
|
|
19
|
+
/** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
|
|
20
|
+
certificateCommonNames?: ServerCertificateCommonNamesOutput;
|
|
21
|
+
/** The list of client certificates referenced by common name that are allowed to manage the cluster. */
|
|
22
|
+
clientCertificateCommonNames?: Array<ClientCertificateCommonNameOutput>;
|
|
23
|
+
/** The list of client certificates referenced by thumbprint that are allowed to manage the cluster. */
|
|
24
|
+
clientCertificateThumbprints?: Array<ClientCertificateThumbprintOutput>;
|
|
25
|
+
/** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**. */
|
|
26
|
+
clusterCodeVersion?: string;
|
|
27
|
+
/** The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint. */
|
|
28
|
+
readonly clusterEndpoint?: string;
|
|
29
|
+
/** A service generated unique identifier for the cluster resource. */
|
|
30
|
+
readonly clusterId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The current state of the cluster.
|
|
33
|
+
*
|
|
34
|
+
* - WaitingForNodes - 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.
|
|
35
|
+
* - Deploying - Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up.
|
|
36
|
+
* - BaselineUpgrade - Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time.
|
|
37
|
+
* - UpdatingUserConfiguration - Indicates that the cluster is being upgraded with the user provided configuration.
|
|
38
|
+
* - UpdatingUserCertificate - Indicates that the cluster is being upgraded with the user provided certificate.
|
|
39
|
+
* - UpdatingInfrastructure - Indicates that the cluster is being upgraded with the latest Service Fabric runtime version. This happens only when the **upgradeMode** is set to 'Automatic'.
|
|
40
|
+
* - EnforcingClusterVersion - Indicates that cluster is on a different version than expected and the cluster is being upgraded to the expected version.
|
|
41
|
+
* - UpgradeServiceUnreachable - Indicates that the system service in the cluster is no longer polling the Resource Provider. Clusters in this state cannot be managed by the Resource Provider.
|
|
42
|
+
* - AutoScale - Indicates that the ReliabilityLevel of the cluster is being adjusted.
|
|
43
|
+
* - Ready - Indicates that the cluster is in a stable state.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
readonly clusterState?: "WaitingForNodes" | "Deploying" | "BaselineUpgrade" | "UpdatingUserConfiguration" | "UpdatingUserCertificate" | "UpdatingInfrastructure" | "EnforcingClusterVersion" | "UpgradeServiceUnreachable" | "AutoScale" | "Ready";
|
|
47
|
+
/** The storage account information for storing Service Fabric diagnostic logs. */
|
|
48
|
+
diagnosticsStorageAccountConfig?: DiagnosticsStorageAccountConfigOutput;
|
|
49
|
+
/** Indicates if the event store service is enabled. */
|
|
50
|
+
eventStoreServiceEnabled?: boolean;
|
|
51
|
+
/** The list of custom fabric settings to configure the cluster. */
|
|
52
|
+
fabricSettings?: Array<SettingsSectionDescriptionOutput>;
|
|
53
|
+
/** The http management endpoint of the cluster. */
|
|
54
|
+
managementEndpoint: string;
|
|
55
|
+
/** The list of node types in the cluster. */
|
|
56
|
+
nodeTypes: Array<NodeTypeDescriptionOutput>;
|
|
57
|
+
/** The provisioning state of the cluster resource. */
|
|
58
|
+
readonly provisioningState?: "Updating" | "Succeeded" | "Failed" | "Canceled";
|
|
59
|
+
/**
|
|
60
|
+
* The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).
|
|
61
|
+
*
|
|
62
|
+
* - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.
|
|
63
|
+
* - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.
|
|
64
|
+
* - Silver - Run the System services with a target replica set count of 5.
|
|
65
|
+
* - Gold - Run the System services with a target replica set count of 7.
|
|
66
|
+
* - Platinum - Run the System services with a target replica set count of 9.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
reliabilityLevel?: "None" | "Bronze" | "Silver" | "Gold" | "Platinum";
|
|
70
|
+
/** The server certificate used by reverse proxy. */
|
|
71
|
+
reverseProxyCertificate?: CertificateDescriptionOutput;
|
|
72
|
+
/** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
|
|
73
|
+
reverseProxyCertificateCommonNames?: ServerCertificateCommonNamesOutput;
|
|
74
|
+
/** The policy to use when upgrading the cluster. */
|
|
75
|
+
upgradeDescription?: ClusterUpgradePolicyOutput;
|
|
76
|
+
/** The upgrade mode of the cluster when new Service Fabric runtime version is available. */
|
|
77
|
+
upgradeMode?: "Automatic" | "Manual";
|
|
78
|
+
/** The policy used to clean up unused versions. */
|
|
79
|
+
applicationTypeVersionsCleanupPolicy?: ApplicationTypeVersionsCleanupPolicyOutput;
|
|
80
|
+
/** The VM image VMSS has been configured with. Generic names such as Windows or Linux can be used. */
|
|
81
|
+
vmImage?: string;
|
|
82
|
+
/** This property controls the logical grouping of VMs in upgrade domains (UDs). This property can't be modified if a node type with multiple Availability Zones is already present in the cluster. */
|
|
83
|
+
sfZonalUpgradeMode?: "Parallel" | "Hierarchical";
|
|
84
|
+
/** This property defines the upgrade mode for the virtual machine scale set, it is mandatory if a node type with multiple Availability Zones is added. */
|
|
85
|
+
vmssZonalUpgradeMode?: "Parallel" | "Hierarchical";
|
|
86
|
+
/** Indicates if infrastructure service manager is enabled. */
|
|
87
|
+
infrastructureServiceManager?: boolean;
|
|
88
|
+
/** Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **upgradeMode** is set to 'Automatic'. */
|
|
89
|
+
upgradeWave?: "Wave0" | "Wave1" | "Wave2";
|
|
90
|
+
/** Indicates the start date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). */
|
|
91
|
+
upgradePauseStartTimestampUtc?: string;
|
|
92
|
+
/** Indicates the end date and time to pause automatic runtime version upgrades on the cluster for an specific period of time on the cluster (UTC). */
|
|
93
|
+
upgradePauseEndTimestampUtc?: string;
|
|
94
|
+
/** Boolean to pause automatic runtime version upgrades to the cluster. */
|
|
95
|
+
waveUpgradePaused?: boolean;
|
|
96
|
+
/** Indicates a list of notification channels for cluster events. */
|
|
97
|
+
notifications?: Array<NotificationOutput>;
|
|
98
|
+
}
|
|
99
|
+
/** The detail of the Service Fabric runtime version result */
|
|
100
|
+
export interface ClusterVersionDetailsOutput {
|
|
101
|
+
/** The Service Fabric runtime version of the cluster. */
|
|
102
|
+
codeVersion?: string;
|
|
103
|
+
/** The date of expiry of support of the version. */
|
|
104
|
+
supportExpiryUtc?: string;
|
|
105
|
+
/** Indicates if this version is for Windows or Linux operating system. */
|
|
106
|
+
environment?: "Windows" | "Linux";
|
|
107
|
+
}
|
|
108
|
+
/** The settings to enable AAD authentication on the cluster. */
|
|
109
|
+
export interface AzureActiveDirectoryOutput {
|
|
110
|
+
/** Azure active directory tenant id. */
|
|
111
|
+
tenantId?: string;
|
|
112
|
+
/** Azure active directory cluster application id. */
|
|
113
|
+
clusterApplication?: string;
|
|
114
|
+
/** Azure active directory client application id. */
|
|
115
|
+
clientApplication?: string;
|
|
116
|
+
}
|
|
117
|
+
/** Describes the certificate details. */
|
|
118
|
+
export interface CertificateDescriptionOutput {
|
|
119
|
+
/** Thumbprint of the primary certificate. */
|
|
120
|
+
thumbprint: string;
|
|
121
|
+
/** Thumbprint of the secondary certificate. */
|
|
122
|
+
thumbprintSecondary?: string;
|
|
123
|
+
/** The local certificate store location. */
|
|
124
|
+
x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
|
|
125
|
+
}
|
|
126
|
+
/** Describes a list of server certificates referenced by common name that are used to secure the cluster. */
|
|
127
|
+
export interface ServerCertificateCommonNamesOutput {
|
|
128
|
+
/** The list of server certificates referenced by common name that are used to secure the cluster. */
|
|
129
|
+
commonNames?: Array<ServerCertificateCommonNameOutput>;
|
|
130
|
+
/** The local certificate store location. */
|
|
131
|
+
x509StoreName?: "AddressBook" | "AuthRoot" | "CertificateAuthority" | "Disallowed" | "My" | "Root" | "TrustedPeople" | "TrustedPublisher";
|
|
132
|
+
}
|
|
133
|
+
/** Describes the server certificate details using common name. */
|
|
134
|
+
export interface ServerCertificateCommonNameOutput {
|
|
135
|
+
/** The common name of the server certificate. */
|
|
136
|
+
certificateCommonName: string;
|
|
137
|
+
/** The issuer thumbprint of the server certificate. */
|
|
138
|
+
certificateIssuerThumbprint: string;
|
|
139
|
+
}
|
|
140
|
+
/** Describes the client certificate details using common name. */
|
|
141
|
+
export interface ClientCertificateCommonNameOutput {
|
|
142
|
+
/** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */
|
|
143
|
+
isAdmin: boolean;
|
|
144
|
+
/** The common name of the client certificate. */
|
|
145
|
+
certificateCommonName: string;
|
|
146
|
+
/** The issuer thumbprint of the client certificate. */
|
|
147
|
+
certificateIssuerThumbprint: string;
|
|
148
|
+
}
|
|
149
|
+
/** Describes the client certificate details using thumbprint. */
|
|
150
|
+
export interface ClientCertificateThumbprintOutput {
|
|
151
|
+
/** Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster. */
|
|
152
|
+
isAdmin: boolean;
|
|
153
|
+
/** The thumbprint of the client certificate. */
|
|
154
|
+
certificateThumbprint: string;
|
|
155
|
+
}
|
|
156
|
+
/** The storage account information for storing Service Fabric diagnostic logs. */
|
|
157
|
+
export interface DiagnosticsStorageAccountConfigOutput {
|
|
158
|
+
/** The Azure storage account name. */
|
|
159
|
+
storageAccountName: string;
|
|
160
|
+
/** The protected diagnostics storage key name. */
|
|
161
|
+
protectedAccountKeyName: string;
|
|
162
|
+
/** The secondary protected diagnostics storage key name. If one of the storage account keys is rotated the cluster will fallback to using the other. */
|
|
163
|
+
protectedAccountKeyName2?: string;
|
|
164
|
+
/** The blob endpoint of the azure storage account. */
|
|
165
|
+
blobEndpoint: string;
|
|
166
|
+
/** The queue endpoint of the azure storage account. */
|
|
167
|
+
queueEndpoint: string;
|
|
168
|
+
/** The table endpoint of the azure storage account. */
|
|
169
|
+
tableEndpoint: string;
|
|
170
|
+
}
|
|
171
|
+
/** Describes a section in the fabric settings of the cluster. */
|
|
172
|
+
export interface SettingsSectionDescriptionOutput {
|
|
173
|
+
/** The section name of the fabric settings. */
|
|
174
|
+
name: string;
|
|
175
|
+
/** The collection of parameters in the section. */
|
|
176
|
+
parameters: Array<SettingsParameterDescriptionOutput>;
|
|
177
|
+
}
|
|
178
|
+
/** Describes a parameter in fabric settings of the cluster. */
|
|
179
|
+
export interface SettingsParameterDescriptionOutput {
|
|
180
|
+
/** The parameter name of fabric setting. */
|
|
181
|
+
name: string;
|
|
182
|
+
/** The parameter value of fabric setting. */
|
|
183
|
+
value: string;
|
|
184
|
+
}
|
|
185
|
+
/** Describes a node type in the cluster, each node type represents sub set of nodes in the cluster. */
|
|
186
|
+
export interface NodeTypeDescriptionOutput {
|
|
187
|
+
/** The name of the node type. */
|
|
188
|
+
name: string;
|
|
189
|
+
/** The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run. */
|
|
190
|
+
placementProperties?: Record<string, string>;
|
|
191
|
+
/** The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has. */
|
|
192
|
+
capacities?: Record<string, string>;
|
|
193
|
+
/** The TCP cluster management endpoint port. */
|
|
194
|
+
clientConnectionEndpointPort: number;
|
|
195
|
+
/** The HTTP cluster management endpoint port. */
|
|
196
|
+
httpGatewayEndpointPort: number;
|
|
197
|
+
/**
|
|
198
|
+
* The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).
|
|
199
|
+
*
|
|
200
|
+
* - Bronze - No privileges. This is the default.
|
|
201
|
+
* - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.
|
|
202
|
+
* - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.
|
|
203
|
+
*
|
|
204
|
+
*/
|
|
205
|
+
durabilityLevel?: "Bronze" | "Silver" | "Gold";
|
|
206
|
+
/** The range of ports from which cluster assigned port to Service Fabric applications. */
|
|
207
|
+
applicationPorts?: EndpointRangeDescriptionOutput;
|
|
208
|
+
/** The range of ephemeral ports that nodes in this node type should be configured with. */
|
|
209
|
+
ephemeralPorts?: EndpointRangeDescriptionOutput;
|
|
210
|
+
/** The node type on which system services will run. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters. */
|
|
211
|
+
isPrimary: boolean;
|
|
212
|
+
/** VMInstanceCount should be 1 to n, where n indicates the number of VM instances corresponding to this nodeType. VMInstanceCount = 0 can be done only in these scenarios: NodeType is a secondary nodeType. Durability = Bronze or Durability >= Bronze and InfrastructureServiceManager = true. If VMInstanceCount = 0, implies the VMs for this nodeType will not be used for the initial cluster size computation. */
|
|
213
|
+
vmInstanceCount: number;
|
|
214
|
+
/** The endpoint used by reverse proxy. */
|
|
215
|
+
reverseProxyEndpointPort?: number;
|
|
216
|
+
/** Indicates if the node type can only host Stateless workloads. */
|
|
217
|
+
isStateless?: boolean;
|
|
218
|
+
/** Indicates if the node type is enabled to support multiple zones. */
|
|
219
|
+
multipleAvailabilityZones?: boolean;
|
|
220
|
+
}
|
|
221
|
+
/** Port range details */
|
|
222
|
+
export interface EndpointRangeDescriptionOutput {
|
|
223
|
+
/** Starting port of a range of ports */
|
|
224
|
+
startPort: number;
|
|
225
|
+
/** End port of a range of ports */
|
|
226
|
+
endPort: number;
|
|
227
|
+
}
|
|
228
|
+
/** Describes the policy used when upgrading the cluster. */
|
|
229
|
+
export interface ClusterUpgradePolicyOutput {
|
|
230
|
+
/** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */
|
|
231
|
+
forceRestart?: boolean;
|
|
232
|
+
/** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
|
|
233
|
+
upgradeReplicaSetCheckTimeout: string;
|
|
234
|
+
/** The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
|
|
235
|
+
healthCheckWaitDuration: string;
|
|
236
|
+
/** The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
|
|
237
|
+
healthCheckStableDuration: string;
|
|
238
|
+
/** The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
|
|
239
|
+
healthCheckRetryTimeout: string;
|
|
240
|
+
/** The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
|
|
241
|
+
upgradeTimeout: string;
|
|
242
|
+
/** The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format. */
|
|
243
|
+
upgradeDomainTimeout: string;
|
|
244
|
+
/** The cluster health policy used when upgrading the cluster. */
|
|
245
|
+
healthPolicy: ClusterHealthPolicyOutput;
|
|
246
|
+
/** The cluster delta health policy used when upgrading the cluster. */
|
|
247
|
+
deltaHealthPolicy?: ClusterUpgradeDeltaHealthPolicyOutput;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Defines a health policy used to evaluate the health of the cluster or of a cluster node.
|
|
251
|
+
*
|
|
252
|
+
*/
|
|
253
|
+
export interface ClusterHealthPolicyOutput {
|
|
254
|
+
/**
|
|
255
|
+
* The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.
|
|
256
|
+
*
|
|
257
|
+
* The percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.
|
|
258
|
+
* If the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.
|
|
259
|
+
* The percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.
|
|
260
|
+
* The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
|
|
261
|
+
*
|
|
262
|
+
* In large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.
|
|
263
|
+
*
|
|
264
|
+
*/
|
|
265
|
+
maxPercentUnhealthyNodes?: number;
|
|
266
|
+
/**
|
|
267
|
+
* The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.
|
|
268
|
+
*
|
|
269
|
+
* The percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.
|
|
270
|
+
* If the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.
|
|
271
|
+
* This is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.
|
|
272
|
+
* The computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.
|
|
273
|
+
*
|
|
274
|
+
*/
|
|
275
|
+
maxPercentUnhealthyApplications?: number;
|
|
276
|
+
/** Defines the application health policy map used to evaluate the health of an application or one of its children entities. */
|
|
277
|
+
applicationHealthPolicies?: Record<string, ApplicationHealthPolicyOutput>;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Defines a health policy used to evaluate the health of an application or one of its children entities.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
export interface ApplicationHealthPolicyOutput {
|
|
284
|
+
/** The health policy used by default to evaluate the health of a service type. */
|
|
285
|
+
defaultServiceTypeHealthPolicy?: ServiceTypeHealthPolicyOutput;
|
|
286
|
+
/** The map with service type health policy per service type name. The map is empty by default. */
|
|
287
|
+
serviceTypeHealthPolicies?: Record<string, ServiceTypeHealthPolicyOutput>;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Represents the health policy used to evaluate the health of services belonging to a service type.
|
|
291
|
+
*
|
|
292
|
+
*/
|
|
293
|
+
export interface ServiceTypeHealthPolicyOutput {
|
|
294
|
+
/**
|
|
295
|
+
* The maximum percentage of services allowed to be unhealthy before your application is considered in error.
|
|
296
|
+
*
|
|
297
|
+
*/
|
|
298
|
+
maxPercentUnhealthyServices?: number;
|
|
299
|
+
}
|
|
300
|
+
/** Describes the delta health policies for the cluster upgrade. */
|
|
301
|
+
export interface ClusterUpgradeDeltaHealthPolicyOutput {
|
|
302
|
+
/**
|
|
303
|
+
* The maximum allowed percentage of nodes health degradation allowed during cluster upgrades.
|
|
304
|
+
* The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation.
|
|
305
|
+
* The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
|
|
306
|
+
*
|
|
307
|
+
*/
|
|
308
|
+
maxPercentDeltaUnhealthyNodes: number;
|
|
309
|
+
/**
|
|
310
|
+
* The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades.
|
|
311
|
+
* The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation.
|
|
312
|
+
* The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.
|
|
313
|
+
*
|
|
314
|
+
*/
|
|
315
|
+
maxPercentUpgradeDomainDeltaUnhealthyNodes: number;
|
|
316
|
+
/**
|
|
317
|
+
* The maximum allowed percentage of applications health degradation allowed during cluster upgrades.
|
|
318
|
+
* The delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation.
|
|
319
|
+
* The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.
|
|
320
|
+
*
|
|
321
|
+
*/
|
|
322
|
+
maxPercentDeltaUnhealthyApplications: number;
|
|
323
|
+
/** Defines the application delta health policy map used to evaluate the health of an application or one of its child entities when upgrading the cluster. */
|
|
324
|
+
applicationDeltaHealthPolicies?: Record<string, ApplicationDeltaHealthPolicyOutput>;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster.
|
|
328
|
+
*
|
|
329
|
+
*/
|
|
330
|
+
export interface ApplicationDeltaHealthPolicyOutput {
|
|
331
|
+
/** The delta health policy used by default to evaluate the health of a service type when upgrading the cluster. */
|
|
332
|
+
defaultServiceTypeDeltaHealthPolicy?: ServiceTypeDeltaHealthPolicyOutput;
|
|
333
|
+
/** The map with service type delta health policy per service type name. The map is empty by default. */
|
|
334
|
+
serviceTypeDeltaHealthPolicies?: Record<string, ServiceTypeDeltaHealthPolicyOutput>;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Represents the delta health policy used to evaluate the health of services belonging to a service type when upgrading the cluster.
|
|
338
|
+
*
|
|
339
|
+
*/
|
|
340
|
+
export interface ServiceTypeDeltaHealthPolicyOutput {
|
|
341
|
+
/**
|
|
342
|
+
* The maximum allowed percentage of services health degradation allowed during cluster upgrades.
|
|
343
|
+
* The delta is measured between the state of the services at the beginning of upgrade and the state of the services at the time of the health evaluation.
|
|
344
|
+
* The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.
|
|
345
|
+
*
|
|
346
|
+
*/
|
|
347
|
+
maxPercentDeltaUnhealthyServices?: number;
|
|
348
|
+
}
|
|
349
|
+
export interface ApplicationTypeVersionsCleanupPolicyOutput {
|
|
350
|
+
/** Number of unused versions per application type to keep. */
|
|
351
|
+
maxUnusedVersionsToKeep: number;
|
|
352
|
+
}
|
|
353
|
+
/** Describes the notification channel for cluster events. */
|
|
354
|
+
export interface NotificationOutput {
|
|
355
|
+
/** Indicates if the notification is enabled. */
|
|
356
|
+
isEnabled: boolean;
|
|
357
|
+
/** The category of notification. */
|
|
358
|
+
notificationCategory: "WaveProgress";
|
|
359
|
+
/** The level of notification. */
|
|
360
|
+
notificationLevel: "Critical" | "All";
|
|
361
|
+
/** List of targets that subscribe to the notification. */
|
|
362
|
+
notificationTargets: Array<NotificationTargetOutput>;
|
|
363
|
+
}
|
|
364
|
+
/** Describes the notification target properties. */
|
|
365
|
+
export interface NotificationTargetOutput {
|
|
366
|
+
/** The notification channel indicates the type of receivers subscribed to the notification, either user or subscription. */
|
|
367
|
+
notificationChannel: "EmailUser" | "EmailSubscription";
|
|
368
|
+
/** List of targets that subscribe to the notification. */
|
|
369
|
+
receivers: Array<string>;
|
|
370
|
+
}
|
|
371
|
+
/** The resource model definition. */
|
|
372
|
+
export interface ResourceOutput {
|
|
373
|
+
/** Azure resource identifier. */
|
|
374
|
+
readonly id?: string;
|
|
375
|
+
/** Azure resource name. */
|
|
376
|
+
readonly name?: string;
|
|
377
|
+
/** Azure resource type. */
|
|
378
|
+
readonly type?: string;
|
|
379
|
+
/** Azure resource location. */
|
|
380
|
+
location: string;
|
|
381
|
+
/** Azure resource tags. */
|
|
382
|
+
tags?: Record<string, string>;
|
|
383
|
+
/** Azure resource etag. */
|
|
384
|
+
readonly etag?: string;
|
|
385
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
386
|
+
readonly systemData?: SystemDataOutput;
|
|
387
|
+
}
|
|
388
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
389
|
+
export interface SystemDataOutput {
|
|
390
|
+
/** The identity that created the resource. */
|
|
391
|
+
createdBy?: string;
|
|
392
|
+
/** The type of identity that created the resource. */
|
|
393
|
+
createdByType?: string;
|
|
394
|
+
/** The timestamp of resource creation (UTC). */
|
|
395
|
+
createdAt?: string;
|
|
396
|
+
/** The identity that last modified the resource. */
|
|
397
|
+
lastModifiedBy?: string;
|
|
398
|
+
/** The type of identity that last modified the resource. */
|
|
399
|
+
lastModifiedByType?: string;
|
|
400
|
+
/** The timestamp of resource last modification (UTC). */
|
|
401
|
+
lastModifiedAt?: string;
|
|
402
|
+
}
|
|
403
|
+
/** The structure of the error. */
|
|
404
|
+
export interface ErrorModelOutput {
|
|
405
|
+
/** The error details. */
|
|
406
|
+
error?: ErrorModelErrorOutput;
|
|
407
|
+
}
|
|
408
|
+
/** The error details. */
|
|
409
|
+
export interface ErrorModelErrorOutput {
|
|
410
|
+
/** The error code. */
|
|
411
|
+
code?: string;
|
|
412
|
+
/** The error message. */
|
|
413
|
+
message?: string;
|
|
414
|
+
}
|
|
415
|
+
/** Cluster list results */
|
|
416
|
+
export interface ClusterListResultOutput {
|
|
417
|
+
value?: Array<ClusterOutput>;
|
|
418
|
+
/** The URL to use for getting the next set of results. */
|
|
419
|
+
nextLink?: string;
|
|
420
|
+
}
|
|
421
|
+
/** The list results of the Service Fabric runtime versions. */
|
|
422
|
+
export interface ClusterCodeVersionsListResultOutput {
|
|
423
|
+
value?: Array<ClusterCodeVersionsResultOutput>;
|
|
424
|
+
/** The URL to use for getting the next set of results. */
|
|
425
|
+
nextLink?: string;
|
|
426
|
+
}
|
|
427
|
+
/** The result of the Service Fabric runtime versions */
|
|
428
|
+
export interface ClusterCodeVersionsResultOutput {
|
|
429
|
+
/** The identification of the result */
|
|
430
|
+
id?: string;
|
|
431
|
+
/** The name of the result */
|
|
432
|
+
name?: string;
|
|
433
|
+
/** The result resource type */
|
|
434
|
+
type?: string;
|
|
435
|
+
/** The detail of the Service Fabric runtime version result */
|
|
436
|
+
properties?: ClusterVersionDetailsOutput;
|
|
437
|
+
}
|
|
438
|
+
/** The list of intermediate cluster code versions for an upgrade or downgrade. Or minimum and maximum upgradable version if no target was given */
|
|
439
|
+
export interface UpgradableVersionPathResultOutput {
|
|
440
|
+
supportedPath?: Array<string>;
|
|
441
|
+
}
|
|
442
|
+
/** Describes the result of the request to list Service Fabric resource provider operations. */
|
|
443
|
+
export interface OperationListResultOutput {
|
|
444
|
+
/** List of operations supported by the Service Fabric resource provider. */
|
|
445
|
+
value?: Array<OperationResultOutput>;
|
|
446
|
+
/** URL to get the next set of operation list results if there are any. */
|
|
447
|
+
readonly nextLink?: string;
|
|
448
|
+
}
|
|
449
|
+
/** Available operation list result */
|
|
450
|
+
export interface OperationResultOutput {
|
|
451
|
+
/** The name of the operation. */
|
|
452
|
+
name?: string;
|
|
453
|
+
/** Indicates whether the operation is a data action */
|
|
454
|
+
isDataAction?: boolean;
|
|
455
|
+
/** The object that represents the operation. */
|
|
456
|
+
display?: AvailableOperationDisplayOutput;
|
|
457
|
+
/** Origin result */
|
|
458
|
+
origin?: string;
|
|
459
|
+
/** The URL to use for getting the next set of results. */
|
|
460
|
+
nextLink?: string;
|
|
461
|
+
}
|
|
462
|
+
/** Operation supported by the Service Fabric resource provider */
|
|
463
|
+
export interface AvailableOperationDisplayOutput {
|
|
464
|
+
/** The name of the provider. */
|
|
465
|
+
provider?: string;
|
|
466
|
+
/** The resource on which the operation is performed */
|
|
467
|
+
resource?: string;
|
|
468
|
+
/** The operation that can be performed. */
|
|
469
|
+
operation?: string;
|
|
470
|
+
/** Operation description */
|
|
471
|
+
description?: string;
|
|
472
|
+
}
|
|
473
|
+
/** The application type name resource */
|
|
474
|
+
export interface ApplicationTypeResourceOutput extends ProxyResourceOutput {
|
|
475
|
+
/** The application type name properties */
|
|
476
|
+
properties?: ApplicationTypeResourcePropertiesOutput;
|
|
477
|
+
}
|
|
478
|
+
/** The application type name properties */
|
|
479
|
+
export interface ApplicationTypeResourcePropertiesOutput {
|
|
480
|
+
/** The current deployment or provisioning state, which only appears in the response. */
|
|
481
|
+
readonly provisioningState?: string;
|
|
482
|
+
}
|
|
483
|
+
/** The resource model definition for proxy-only resource. */
|
|
484
|
+
export interface ProxyResourceOutput {
|
|
485
|
+
/** Azure resource identifier. */
|
|
486
|
+
readonly id?: string;
|
|
487
|
+
/** Azure resource name. */
|
|
488
|
+
readonly name?: string;
|
|
489
|
+
/** Azure resource type. */
|
|
490
|
+
readonly type?: string;
|
|
491
|
+
/** It will be deprecated in New API, resource location depends on the parent resource. */
|
|
492
|
+
location?: string;
|
|
493
|
+
/** Azure resource tags. */
|
|
494
|
+
tags?: Record<string, string>;
|
|
495
|
+
/** Azure resource etag. */
|
|
496
|
+
readonly etag?: string;
|
|
497
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
498
|
+
readonly systemData?: SystemDataOutput;
|
|
499
|
+
}
|
|
500
|
+
/** The list of application type names. */
|
|
501
|
+
export interface ApplicationTypeResourceListOutput {
|
|
502
|
+
value?: Array<ApplicationTypeResourceOutput>;
|
|
503
|
+
/** URL to get the next set of application type list results if there are any. */
|
|
504
|
+
readonly nextLink?: string;
|
|
505
|
+
}
|
|
506
|
+
/** An application type version resource for the specified application type name resource. */
|
|
507
|
+
export interface ApplicationTypeVersionResourceOutput extends ProxyResourceOutput {
|
|
508
|
+
/** The properties of the application type version resource. */
|
|
509
|
+
properties?: ApplicationTypeVersionResourcePropertiesOutput;
|
|
510
|
+
}
|
|
511
|
+
/** The properties of the application type version resource. */
|
|
512
|
+
export interface ApplicationTypeVersionResourcePropertiesOutput {
|
|
513
|
+
/** The current deployment or provisioning state, which only appears in the response */
|
|
514
|
+
readonly provisioningState?: string;
|
|
515
|
+
/** The URL to the application package */
|
|
516
|
+
appPackageUrl: string;
|
|
517
|
+
/** List of application type parameters that can be overridden when creating or updating the application. */
|
|
518
|
+
readonly defaultParameterList?: Record<string, string>;
|
|
519
|
+
}
|
|
520
|
+
/** The list of application type version resources for the specified application type name resource. */
|
|
521
|
+
export interface ApplicationTypeVersionResourceListOutput {
|
|
522
|
+
value?: Array<ApplicationTypeVersionResourceOutput>;
|
|
523
|
+
/** URL to get the next set of application type version list results if there are any. */
|
|
524
|
+
readonly nextLink?: string;
|
|
525
|
+
}
|
|
526
|
+
/** The application resource. */
|
|
527
|
+
export interface ApplicationResourceOutput extends ProxyResourceOutput {
|
|
528
|
+
/** Describes the managed identities for an Azure resource. */
|
|
529
|
+
identity?: ManagedIdentityOutput;
|
|
530
|
+
/** The application resource properties. */
|
|
531
|
+
properties?: ApplicationResourcePropertiesOutput;
|
|
532
|
+
}
|
|
533
|
+
/** Describes the managed identities for an Azure resource. */
|
|
534
|
+
export interface ManagedIdentityOutput {
|
|
535
|
+
/** The principal id of the managed identity. This property will only be provided for a system assigned identity. */
|
|
536
|
+
readonly principalId?: string;
|
|
537
|
+
/** The tenant id of the managed identity. This property will only be provided for a system assigned identity. */
|
|
538
|
+
readonly tenantId?: string;
|
|
539
|
+
/** The type of managed identity for the resource. */
|
|
540
|
+
type?: "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
|
|
541
|
+
/**
|
|
542
|
+
* The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
|
|
543
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
|
|
544
|
+
*
|
|
545
|
+
*/
|
|
546
|
+
userAssignedIdentities?: Record<string, UserAssignedIdentityOutput>;
|
|
547
|
+
}
|
|
548
|
+
export interface UserAssignedIdentityOutput {
|
|
549
|
+
/** The principal id of user assigned identity. */
|
|
550
|
+
readonly principalId?: string;
|
|
551
|
+
/** The client id of user assigned identity. */
|
|
552
|
+
readonly clientId?: string;
|
|
553
|
+
}
|
|
554
|
+
/** The application resource properties. */
|
|
555
|
+
export interface ApplicationResourcePropertiesOutput extends ApplicationResourceUpdatePropertiesOutput {
|
|
556
|
+
/** The current deployment or provisioning state, which only appears in the response */
|
|
557
|
+
readonly provisioningState?: string;
|
|
558
|
+
/** The application type name as defined in the application manifest. */
|
|
559
|
+
typeName?: string;
|
|
560
|
+
}
|
|
561
|
+
/** The application resource properties for patch operations. */
|
|
562
|
+
export interface ApplicationResourceUpdatePropertiesOutput {
|
|
563
|
+
/** The version of the application type as defined in the application manifest. */
|
|
564
|
+
typeVersion?: string;
|
|
565
|
+
/** List of application parameters with overridden values from their default values specified in the application manifest. */
|
|
566
|
+
parameters?: Record<string, string>;
|
|
567
|
+
/** Describes the policy for a monitored application upgrade. */
|
|
568
|
+
upgradePolicy?: ApplicationUpgradePolicyOutput;
|
|
569
|
+
/** The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property. */
|
|
570
|
+
minimumNodes?: number;
|
|
571
|
+
/** The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node. */
|
|
572
|
+
maximumNodes?: number;
|
|
573
|
+
/** Remove the current application capacity settings. */
|
|
574
|
+
removeApplicationCapacity?: boolean;
|
|
575
|
+
/** List of application capacity metric description. */
|
|
576
|
+
metrics?: Array<ApplicationMetricDescriptionOutput>;
|
|
577
|
+
/** List of user assigned identities for the application, each mapped to a friendly name. */
|
|
578
|
+
managedIdentities?: Array<ApplicationUserAssignedIdentityOutput>;
|
|
579
|
+
}
|
|
580
|
+
/** Describes the policy for a monitored application upgrade. */
|
|
581
|
+
export interface ApplicationUpgradePolicyOutput {
|
|
582
|
+
/** The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). */
|
|
583
|
+
upgradeReplicaSetCheckTimeout?: string;
|
|
584
|
+
/** If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data). */
|
|
585
|
+
forceRestart?: boolean;
|
|
586
|
+
/** The policy used for monitoring the application upgrade */
|
|
587
|
+
rollingUpgradeMonitoringPolicy?: ArmRollingUpgradeMonitoringPolicyOutput;
|
|
588
|
+
/**
|
|
589
|
+
* Defines a health policy used to evaluate the health of an application or one of its children entities.
|
|
590
|
+
*
|
|
591
|
+
*/
|
|
592
|
+
applicationHealthPolicy?: ArmApplicationHealthPolicyOutput;
|
|
593
|
+
/** The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. */
|
|
594
|
+
upgradeMode?: "Invalid" | "UnmonitoredAuto" | "UnmonitoredManual" | "Monitored";
|
|
595
|
+
/** Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed and it will result in availability loss. */
|
|
596
|
+
recreateApplication?: boolean;
|
|
597
|
+
}
|
|
598
|
+
/** The policy used for monitoring the application upgrade */
|
|
599
|
+
export interface ArmRollingUpgradeMonitoringPolicyOutput {
|
|
600
|
+
/** The activation Mode of the service package */
|
|
601
|
+
failureAction?: "Rollback" | "Manual";
|
|
602
|
+
/** The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
|
|
603
|
+
healthCheckWaitDuration?: string;
|
|
604
|
+
/** The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
|
|
605
|
+
healthCheckStableDuration?: string;
|
|
606
|
+
/** The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
|
|
607
|
+
healthCheckRetryTimeout?: string;
|
|
608
|
+
/** The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
|
|
609
|
+
upgradeTimeout?: string;
|
|
610
|
+
/** The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. */
|
|
611
|
+
upgradeDomainTimeout?: string;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Defines a health policy used to evaluate the health of an application or one of its children entities.
|
|
615
|
+
*
|
|
616
|
+
*/
|
|
617
|
+
export interface ArmApplicationHealthPolicyOutput {
|
|
618
|
+
/** Indicates whether warnings are treated with the same severity as errors. */
|
|
619
|
+
considerWarningAsError?: boolean;
|
|
620
|
+
/**
|
|
621
|
+
* The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.
|
|
622
|
+
* The percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.
|
|
623
|
+
* This is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.
|
|
624
|
+
* The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
|
|
625
|
+
*
|
|
626
|
+
*/
|
|
627
|
+
maxPercentUnhealthyDeployedApplications?: number;
|
|
628
|
+
/** The health policy used by default to evaluate the health of a service type. */
|
|
629
|
+
defaultServiceTypeHealthPolicy?: ArmServiceTypeHealthPolicyOutput;
|
|
630
|
+
/** The map with service type health policy per service type name. The map is empty by default. */
|
|
631
|
+
serviceTypeHealthPolicyMap?: Record<string, ArmServiceTypeHealthPolicyOutput>;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Represents the health policy used to evaluate the health of services belonging to a service type.
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
export interface ArmServiceTypeHealthPolicyOutput {
|
|
638
|
+
/**
|
|
639
|
+
* The maximum percentage of services allowed to be unhealthy before your application is considered in error.
|
|
640
|
+
*
|
|
641
|
+
*/
|
|
642
|
+
maxPercentUnhealthyServices?: number;
|
|
643
|
+
/**
|
|
644
|
+
* The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
maxPercentUnhealthyPartitionsPerService?: number;
|
|
648
|
+
/**
|
|
649
|
+
* The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
maxPercentUnhealthyReplicasPerPartition?: number;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.
|
|
656
|
+
*
|
|
657
|
+
*/
|
|
658
|
+
export interface ApplicationMetricDescriptionOutput {
|
|
659
|
+
/** The name of the metric. */
|
|
660
|
+
name?: string;
|
|
661
|
+
/**
|
|
662
|
+
* The maximum node capacity for Service Fabric application.
|
|
663
|
+
* This is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.
|
|
664
|
+
* If set to zero, capacity for this metric is unlimited on each node.
|
|
665
|
+
* When creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
|
|
666
|
+
* When updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
|
|
667
|
+
*
|
|
668
|
+
*/
|
|
669
|
+
maximumCapacity?: number;
|
|
670
|
+
/**
|
|
671
|
+
* The node reservation capacity for Service Fabric application.
|
|
672
|
+
* This is the amount of load which is reserved on nodes which have instances of this application.
|
|
673
|
+
* If MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.
|
|
674
|
+
* If set to zero, no capacity is reserved for this metric.
|
|
675
|
+
* When setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric.
|
|
676
|
+
*
|
|
677
|
+
*/
|
|
678
|
+
reservationCapacity?: number;
|
|
679
|
+
/**
|
|
680
|
+
* The total metric capacity for Service Fabric application.
|
|
681
|
+
* This is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.
|
|
682
|
+
* When creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.
|
|
683
|
+
*
|
|
684
|
+
*/
|
|
685
|
+
totalApplicationCapacity?: number;
|
|
686
|
+
}
|
|
687
|
+
export interface ApplicationUserAssignedIdentityOutput {
|
|
688
|
+
/** The friendly name of user assigned identity. */
|
|
689
|
+
name: string;
|
|
690
|
+
/** The principal id of user assigned identity. */
|
|
691
|
+
principalId: string;
|
|
692
|
+
}
|
|
693
|
+
/** The application resource for patch operations. */
|
|
694
|
+
export interface ApplicationResourceUpdateOutput extends ProxyResourceOutput {
|
|
695
|
+
/** The application resource properties for patch operations. */
|
|
696
|
+
properties?: ApplicationResourceUpdatePropertiesOutput;
|
|
697
|
+
}
|
|
698
|
+
/** The list of application resources. */
|
|
699
|
+
export interface ApplicationResourceListOutput {
|
|
700
|
+
value?: Array<ApplicationResourceOutput>;
|
|
701
|
+
/** URL to get the next set of application list results if there are any. */
|
|
702
|
+
readonly nextLink?: string;
|
|
703
|
+
}
|
|
704
|
+
/** The service resource. */
|
|
705
|
+
export interface ServiceResourceOutput extends ProxyResourceOutput {
|
|
706
|
+
/** The service resource properties. */
|
|
707
|
+
properties?: ServiceResourcePropertiesOutput;
|
|
708
|
+
}
|
|
709
|
+
/** The service resource properties. */
|
|
710
|
+
export interface ServiceResourcePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
|
|
711
|
+
/** The current deployment or provisioning state, which only appears in the response */
|
|
712
|
+
readonly provisioningState?: string;
|
|
713
|
+
/** The name of the service type */
|
|
714
|
+
serviceTypeName?: string;
|
|
715
|
+
/** Describes how the service is partitioned. */
|
|
716
|
+
partitionDescription?: PartitionSchemeDescriptionOutput;
|
|
717
|
+
/** The activation Mode of the service package */
|
|
718
|
+
servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess";
|
|
719
|
+
/** Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name. */
|
|
720
|
+
serviceDnsName?: string;
|
|
721
|
+
serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless";
|
|
722
|
+
}
|
|
723
|
+
/** Describes how the service is partitioned. */
|
|
724
|
+
export interface PartitionSchemeDescriptionOutputParent {
|
|
725
|
+
partitionScheme: "PartitionSchemeDescription" | "Named" | "Singleton" | "UniformInt64Range";
|
|
726
|
+
}
|
|
727
|
+
/** The common service resource properties. */
|
|
728
|
+
export interface ServiceResourcePropertiesBaseOutput {
|
|
729
|
+
/** 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)". */
|
|
730
|
+
placementConstraints?: string;
|
|
731
|
+
/** A list that describes the correlation of the service with other services. */
|
|
732
|
+
correlationScheme?: Array<ServiceCorrelationDescriptionOutput>;
|
|
733
|
+
/** The service load metrics is given as an array of ServiceLoadMetricDescription objects. */
|
|
734
|
+
serviceLoadMetrics?: Array<ServiceLoadMetricDescriptionOutput>;
|
|
735
|
+
/** A list that describes the correlation of the service with other services. */
|
|
736
|
+
servicePlacementPolicies?: Array<ServicePlacementPolicyDescriptionOutput>;
|
|
737
|
+
/** Specifies the move cost for the service. */
|
|
738
|
+
defaultMoveCost?: "Zero" | "Low" | "Medium" | "High";
|
|
739
|
+
}
|
|
740
|
+
/** Creates a particular correlation between services. */
|
|
741
|
+
export interface ServiceCorrelationDescriptionOutput {
|
|
742
|
+
/** The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. */
|
|
743
|
+
scheme: "Invalid" | "Affinity" | "AlignedAffinity" | "NonAlignedAffinity";
|
|
744
|
+
/** The name of the service that the correlation relationship is established with. */
|
|
745
|
+
serviceName: string;
|
|
746
|
+
}
|
|
747
|
+
/** Specifies a metric to load balance a service during runtime. */
|
|
748
|
+
export interface ServiceLoadMetricDescriptionOutput {
|
|
749
|
+
/** The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive. */
|
|
750
|
+
name: string;
|
|
751
|
+
/** The service load metric relative weight, compared to other metrics configured for this service, as a number. */
|
|
752
|
+
weight?: "Zero" | "Low" | "Medium" | "High";
|
|
753
|
+
/** Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica. */
|
|
754
|
+
primaryDefaultLoad?: number;
|
|
755
|
+
/** Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica. */
|
|
756
|
+
secondaryDefaultLoad?: number;
|
|
757
|
+
/** Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric. */
|
|
758
|
+
defaultLoad?: number;
|
|
759
|
+
}
|
|
760
|
+
/** Describes the policy to be used for placement of a Service Fabric service. */
|
|
761
|
+
export interface ServicePlacementPolicyDescriptionOutput {
|
|
762
|
+
type: "ServicePlacementPolicyDescription";
|
|
763
|
+
}
|
|
764
|
+
/** The service resource for patch operations. */
|
|
765
|
+
export interface ServiceResourceUpdateOutput extends ProxyResourceOutput {
|
|
766
|
+
/** The service resource properties for patch operations. */
|
|
767
|
+
properties?: ServiceResourceUpdatePropertiesOutput;
|
|
768
|
+
}
|
|
769
|
+
/** The service resource properties for patch operations. */
|
|
770
|
+
export interface ServiceResourceUpdatePropertiesOutputParent extends ServiceResourcePropertiesBaseOutput {
|
|
771
|
+
serviceKind: "ServiceResourceUpdateProperties" | "Stateful" | "Stateless";
|
|
772
|
+
}
|
|
773
|
+
/** The list of service resources. */
|
|
774
|
+
export interface ServiceResourceListOutput {
|
|
775
|
+
value?: Array<ServiceResourceOutput>;
|
|
776
|
+
/** URL to get the next set of service list results if there are any. */
|
|
777
|
+
readonly nextLink?: string;
|
|
778
|
+
}
|
|
779
|
+
/** Describes the named partition scheme of the service. */
|
|
780
|
+
export interface NamedPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
|
|
781
|
+
/** The number of partitions. */
|
|
782
|
+
count: number;
|
|
783
|
+
/** Array of size specified by the ‘count’ parameter, for the names of the partitions. */
|
|
784
|
+
names: Array<string>;
|
|
785
|
+
partitionScheme: "Named";
|
|
786
|
+
}
|
|
787
|
+
/** SingletonPartitionSchemeDescription */
|
|
788
|
+
export interface SingletonPartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
|
|
789
|
+
partitionScheme: "Singleton";
|
|
790
|
+
}
|
|
791
|
+
/** The properties of a stateful service resource. */
|
|
792
|
+
export interface StatefulServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
|
|
793
|
+
/** 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. */
|
|
794
|
+
hasPersistedState?: boolean;
|
|
795
|
+
/** The target replica set size as a number. */
|
|
796
|
+
targetReplicaSetSize?: number;
|
|
797
|
+
/** The minimum replica set size as a number. */
|
|
798
|
+
minReplicaSetSize?: number;
|
|
799
|
+
/** The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
800
|
+
replicaRestartWaitDuration?: string;
|
|
801
|
+
/** The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
802
|
+
quorumLossWaitDuration?: string;
|
|
803
|
+
/** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
804
|
+
standByReplicaKeepDuration?: string;
|
|
805
|
+
serviceKind: "Stateful";
|
|
806
|
+
}
|
|
807
|
+
/** The properties of a stateful service resource for patch operations. */
|
|
808
|
+
export interface StatefulServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
|
|
809
|
+
/** The target replica set size as a number. */
|
|
810
|
+
targetReplicaSetSize?: number;
|
|
811
|
+
/** The minimum replica set size as a number. */
|
|
812
|
+
minReplicaSetSize?: number;
|
|
813
|
+
/** The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
814
|
+
replicaRestartWaitDuration?: string;
|
|
815
|
+
/** The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
816
|
+
quorumLossWaitDuration?: string;
|
|
817
|
+
/** The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s). */
|
|
818
|
+
standByReplicaKeepDuration?: string;
|
|
819
|
+
serviceKind: "Stateful";
|
|
820
|
+
}
|
|
821
|
+
/** The properties of a stateless service resource. */
|
|
822
|
+
export interface StatelessServicePropertiesOutput extends ServiceResourcePropertiesOutputParent {
|
|
823
|
+
/** The instance count. */
|
|
824
|
+
instanceCount?: number;
|
|
825
|
+
/** 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). */
|
|
826
|
+
instanceCloseDelayDuration?: string;
|
|
827
|
+
serviceKind: "Stateless";
|
|
828
|
+
}
|
|
829
|
+
/** The properties of a stateless service resource for patch operations. */
|
|
830
|
+
export interface StatelessServiceUpdatePropertiesOutput extends ServiceResourceUpdatePropertiesOutputParent {
|
|
831
|
+
/** The instance count. */
|
|
832
|
+
instanceCount?: number;
|
|
833
|
+
/** 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). */
|
|
834
|
+
instanceCloseDelayDuration?: string;
|
|
835
|
+
serviceKind: "Stateless";
|
|
836
|
+
}
|
|
837
|
+
/** Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions. */
|
|
838
|
+
export interface UniformInt64RangePartitionSchemeDescriptionOutput extends PartitionSchemeDescriptionOutputParent {
|
|
839
|
+
/** The number of partitions. */
|
|
840
|
+
count: number;
|
|
841
|
+
/**
|
|
842
|
+
* String indicating the lower bound of the partition key range that
|
|
843
|
+
* should be split between the partition ‘count’
|
|
844
|
+
*
|
|
845
|
+
*/
|
|
846
|
+
lowKey: string;
|
|
847
|
+
/**
|
|
848
|
+
* String indicating the upper bound of the partition key range that
|
|
849
|
+
* should be split between the partition ‘count’
|
|
850
|
+
*
|
|
851
|
+
*/
|
|
852
|
+
highKey: string;
|
|
853
|
+
partitionScheme: "UniformInt64Range";
|
|
854
|
+
}
|
|
855
|
+
/** The service resource properties. */
|
|
856
|
+
export type ServiceResourcePropertiesOutput = StatefulServicePropertiesOutput | StatelessServicePropertiesOutput;
|
|
857
|
+
/** Describes how the service is partitioned. */
|
|
858
|
+
export type PartitionSchemeDescriptionOutput = NamedPartitionSchemeDescriptionOutput | SingletonPartitionSchemeDescriptionOutput | UniformInt64RangePartitionSchemeDescriptionOutput;
|
|
859
|
+
/** The service resource properties for patch operations. */
|
|
860
|
+
export type ServiceResourceUpdatePropertiesOutput = StatefulServiceUpdatePropertiesOutput | StatelessServiceUpdatePropertiesOutput;
|
|
861
|
+
//# sourceMappingURL=outputModels.d.ts.map
|