@azure/arm-servicefabricmesh 2.2.1 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +5478 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1366 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +121 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +105 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1264 -1320
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +25 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +104 -62
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/application.d.ts +82 -0
- package/dist-esm/src/operations/application.d.ts.map +1 -0
- package/dist-esm/src/operations/application.js +340 -0
- package/dist-esm/src/operations/application.js.map +1 -0
- package/dist-esm/src/operations/codePackage.d.ts +23 -0
- package/dist-esm/src/operations/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operations/codePackage.js +66 -0
- package/dist-esm/src/operations/codePackage.js.map +1 -0
- package/dist-esm/src/operations/gateway.d.ts +83 -0
- package/dist-esm/src/operations/gateway.d.ts.map +1 -0
- package/dist-esm/src/operations/gateway.js +341 -0
- package/dist-esm/src/operations/gateway.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/network.d.ts +82 -0
- package/dist-esm/src/operations/network.d.ts.map +1 -0
- package/dist-esm/src/operations/network.js +340 -0
- package/dist-esm/src/operations/network.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/secret.d.ts +81 -0
- package/dist-esm/src/operations/secret.d.ts.map +1 -0
- package/dist-esm/src/operations/secret.js +339 -0
- package/dist-esm/src/operations/secret.js.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts +81 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.js +303 -0
- package/dist-esm/src/operations/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operations/service.d.ts +49 -0
- package/dist-esm/src/operations/service.d.ts.map +1 -0
- package/dist-esm/src/operations/service.js +177 -0
- package/dist-esm/src/operations/service.js.map +1 -0
- package/dist-esm/src/operations/serviceReplica.d.ts +53 -0
- package/dist-esm/src/operations/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceReplica.js +196 -0
- package/dist-esm/src/operations/serviceReplica.js.map +1 -0
- package/dist-esm/src/operations/volume.d.ts +81 -0
- package/dist-esm/src/operations/volume.d.ts.map +1 -0
- package/dist-esm/src/operations/volume.js +339 -0
- package/dist-esm/src/operations/volume.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.js +9 -0
- package/dist-esm/src/operationsInterfaces/application.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js +9 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.js +9 -0
- package/dist-esm/src/operationsInterfaces/gateway.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.js +9 -0
- package/dist-esm/src/operationsInterfaces/network.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.js +9 -0
- package/dist-esm/src/operationsInterfaces/secret.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.js +9 -0
- package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.js +9 -0
- package/dist-esm/src/operationsInterfaces/volume.js.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts +27 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js +60 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +85 -26
- package/review/arm-servicefabricmesh.api.md +1210 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +1281 -2775
- package/src/models/mappers.ts +1315 -1344
- package/src/models/parameters.ts +138 -63
- package/src/operations/application.ts +260 -269
- package/src/operations/codePackage.ts +44 -60
- package/src/operations/gateway.ts +263 -272
- package/src/operations/index.ts +3 -5
- package/src/operations/network.ts +262 -271
- package/src/operations/operations.ts +87 -75
- package/src/operations/secret.ts +261 -271
- package/src/operations/secretValueOperations.ts +239 -259
- package/src/operations/service.ts +161 -124
- package/src/operations/serviceReplica.ts +177 -120
- package/src/operations/volume.ts +261 -271
- package/src/operationsInterfaces/application.ts +80 -0
- package/src/operationsInterfaces/codePackage.ts +33 -0
- package/src/operationsInterfaces/gateway.ts +81 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/network.ts +80 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/secret.ts +79 -0
- package/src/operationsInterfaces/secretValueOperations.ts +99 -0
- package/src/operationsInterfaces/service.ts +46 -0
- package/src/operationsInterfaces/serviceReplica.ts +50 -0
- package/src/operationsInterfaces/volume.ts +79 -0
- package/src/serviceFabricMeshManagementClient.ts +102 -53
- package/tsconfig.json +20 -7
- package/types/arm-servicefabricmesh.d.ts +1940 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-servicefabricmesh.js +0 -5363
- package/dist/arm-servicefabricmesh.js.map +0 -1
- package/dist/arm-servicefabricmesh.min.js +0 -1
- package/dist/arm-servicefabricmesh.min.js.map +0 -1
- package/esm/models/applicationMappers.d.ts +0 -2
- package/esm/models/applicationMappers.d.ts.map +0 -1
- package/esm/models/applicationMappers.js +0 -11
- package/esm/models/applicationMappers.js.map +0 -1
- package/esm/models/codePackageMappers.d.ts +0 -2
- package/esm/models/codePackageMappers.d.ts.map +0 -1
- package/esm/models/codePackageMappers.js +0 -11
- package/esm/models/codePackageMappers.js.map +0 -1
- package/esm/models/gatewayMappers.d.ts +0 -2
- package/esm/models/gatewayMappers.d.ts.map +0 -1
- package/esm/models/gatewayMappers.js +0 -11
- package/esm/models/gatewayMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2938
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -102
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/networkMappers.d.ts +0 -2
- package/esm/models/networkMappers.d.ts.map +0 -1
- package/esm/models/networkMappers.js +0 -11
- package/esm/models/networkMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -17
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/secretMappers.d.ts +0 -2
- package/esm/models/secretMappers.d.ts.map +0 -1
- package/esm/models/secretMappers.js +0 -11
- package/esm/models/secretMappers.js.map +0 -1
- package/esm/models/secretValueOperationsMappers.d.ts +0 -2
- package/esm/models/secretValueOperationsMappers.d.ts.map +0 -1
- package/esm/models/secretValueOperationsMappers.js +0 -11
- package/esm/models/secretValueOperationsMappers.js.map +0 -1
- package/esm/models/serviceMappers.d.ts +0 -2
- package/esm/models/serviceMappers.d.ts.map +0 -1
- package/esm/models/serviceMappers.js +0 -11
- package/esm/models/serviceMappers.js.map +0 -1
- package/esm/models/serviceReplicaMappers.d.ts +0 -2
- package/esm/models/serviceReplicaMappers.d.ts.map +0 -1
- package/esm/models/serviceReplicaMappers.js +0 -11
- package/esm/models/serviceReplicaMappers.js.map +0 -1
- package/esm/models/volumeMappers.d.ts +0 -2
- package/esm/models/volumeMappers.d.ts.map +0 -1
- package/esm/models/volumeMappers.js +0 -11
- package/esm/models/volumeMappers.js.map +0 -1
- package/esm/operations/application.d.ts +0 -162
- package/esm/operations/application.d.ts.map +0 -1
- package/esm/operations/application.js +0 -238
- package/esm/operations/application.js.map +0 -1
- package/esm/operations/codePackage.d.ts +0 -44
- package/esm/operations/codePackage.d.ts.map +0 -1
- package/esm/operations/codePackage.js +0 -65
- package/esm/operations/codePackage.js.map +0 -1
- package/esm/operations/gateway.d.ts +0 -163
- package/esm/operations/gateway.d.ts.map +0 -1
- package/esm/operations/gateway.js +0 -238
- package/esm/operations/gateway.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/network.d.ts +0 -162
- package/esm/operations/network.d.ts.map +0 -1
- package/esm/operations/network.js +0 -238
- package/esm/operations/network.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/secret.d.ts +0 -162
- package/esm/operations/secret.d.ts.map +0 -1
- package/esm/operations/secret.js +0 -238
- package/esm/operations/secret.js.map +0 -1
- package/esm/operations/secretValueOperations.d.ts +0 -175
- package/esm/operations/secretValueOperations.d.ts.map +0 -1
- package/esm/operations/secretValueOperations.js +0 -226
- package/esm/operations/secretValueOperations.js.map +0 -1
- package/esm/operations/service.d.ts +0 -82
- package/esm/operations/service.d.ts.map +0 -1
- package/esm/operations/service.js +0 -117
- package/esm/operations/service.js.map +0 -1
- package/esm/operations/serviceReplica.d.ts +0 -88
- package/esm/operations/serviceReplica.d.ts.map +0 -1
- package/esm/operations/serviceReplica.js +0 -121
- package/esm/operations/serviceReplica.js.map +0 -1
- package/esm/operations/volume.d.ts +0 -162
- package/esm/operations/volume.d.ts.map +0 -1
- package/esm/operations/volume.js +0 -238
- package/esm/operations/volume.js.map +0 -1
- package/esm/serviceFabricMeshManagementClient.d.ts +0 -33
- package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClient.js +0 -47
- package/esm/serviceFabricMeshManagementClient.js.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -22
- package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.js +0 -61
- package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
- package/src/models/applicationMappers.ts +0 -76
- package/src/models/codePackageMappers.ts +0 -18
- package/src/models/gatewayMappers.ts +0 -76
- package/src/models/networkMappers.ts +0 -76
- package/src/models/operationsMappers.ts +0 -20
- package/src/models/secretMappers.ts +0 -76
- package/src/models/secretValueOperationsMappers.ts +0 -77
- package/src/models/serviceMappers.ts +0 -76
- package/src/models/serviceReplicaMappers.ts +0 -40
- package/src/models/volumeMappers.ts +0 -76
- package/src/serviceFabricMeshManagementClientContext.ts +0 -68
package/src/models/index.ts
CHANGED
|
@@ -1,3097 +1,1603 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
|
|
11
|
+
export type ApplicationScopedVolumeCreationParametersUnion =
|
|
12
|
+
| ApplicationScopedVolumeCreationParameters
|
|
13
|
+
| ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk;
|
|
14
|
+
export type AutoScalingTriggerUnion =
|
|
15
|
+
| AutoScalingTrigger
|
|
16
|
+
| AverageLoadScalingTrigger;
|
|
17
|
+
export type AutoScalingMechanismUnion =
|
|
18
|
+
| AutoScalingMechanism
|
|
19
|
+
| AddRemoveReplicaScalingMechanism;
|
|
20
|
+
export type DiagnosticsSinkPropertiesUnion =
|
|
21
|
+
| DiagnosticsSinkProperties
|
|
22
|
+
| AzureInternalMonitoringPipelineSinkDescription;
|
|
23
|
+
export type AutoScalingMetricUnion =
|
|
24
|
+
| AutoScalingMetric
|
|
25
|
+
| AutoScalingResourceMetric;
|
|
26
|
+
export type SecretResourcePropertiesBaseUnion =
|
|
27
|
+
| SecretResourcePropertiesBase
|
|
28
|
+
| SecretResourcePropertiesUnion;
|
|
29
|
+
export type NetworkResourcePropertiesBaseUnion =
|
|
30
|
+
| NetworkResourcePropertiesBase
|
|
31
|
+
| NetworkResourcePropertiesUnion;
|
|
32
|
+
export type SecretResourcePropertiesUnion =
|
|
33
|
+
| SecretResourceProperties
|
|
34
|
+
| InlinedValueSecretResourceProperties;
|
|
35
|
+
export type NetworkResourcePropertiesUnion =
|
|
36
|
+
| NetworkResourceProperties
|
|
37
|
+
| LocalNetworkResourceProperties;
|
|
38
|
+
|
|
39
|
+
/** Describes the result of the request to list Service Fabric operations. */
|
|
40
|
+
export interface OperationListResult {
|
|
41
|
+
/** List of Service Fabric operations supported by the Microsoft.ServiceFabric resource provider. */
|
|
42
|
+
value?: OperationResult[];
|
|
43
|
+
/**
|
|
44
|
+
* URL to get the next set of operation list results if there are any.
|
|
45
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
46
|
+
*/
|
|
47
|
+
readonly nextLink?: string;
|
|
48
|
+
}
|
|
15
49
|
|
|
50
|
+
/** List of operations available at the listed Azure resource provider. */
|
|
51
|
+
export interface OperationResult {
|
|
52
|
+
/** The name of the operation. */
|
|
53
|
+
name?: string;
|
|
54
|
+
/** The object that represents the operation. */
|
|
55
|
+
display?: AvailableOperationDisplay;
|
|
56
|
+
/** Origin result */
|
|
57
|
+
origin?: string;
|
|
58
|
+
/** The URL to use for getting the next set of results. */
|
|
59
|
+
nextLink?: string;
|
|
60
|
+
}
|
|
16
61
|
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing AvailableOperationDisplay.
|
|
20
|
-
* An operation available at the listed Azure resource provider.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
62
|
+
/** An operation available at the listed Azure resource provider. */
|
|
23
63
|
export interface AvailableOperationDisplay {
|
|
24
|
-
/**
|
|
25
|
-
* @member {string} [provider] Name of the operation provider.
|
|
26
|
-
*/
|
|
64
|
+
/** Name of the operation provider. */
|
|
27
65
|
provider?: string;
|
|
28
|
-
/**
|
|
29
|
-
* @member {string} [resource] Name of the resource on which the operation is
|
|
30
|
-
* available.
|
|
31
|
-
*/
|
|
66
|
+
/** Name of the resource on which the operation is available. */
|
|
32
67
|
resource?: string;
|
|
33
|
-
/**
|
|
34
|
-
* @member {string} [operation] Name of the available operation.
|
|
35
|
-
*/
|
|
68
|
+
/** Name of the available operation. */
|
|
36
69
|
operation?: string;
|
|
37
|
-
/**
|
|
38
|
-
* @member {string} [description] Description of the available operation.
|
|
39
|
-
*/
|
|
70
|
+
/** Description of the available operation. */
|
|
40
71
|
description?: string;
|
|
41
72
|
}
|
|
42
73
|
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export interface ErrorDetailsModel {
|
|
50
|
-
/**
|
|
51
|
-
* @member {string} code
|
|
52
|
-
*/
|
|
53
|
-
code: string;
|
|
54
|
-
/**
|
|
55
|
-
* @member {string} message Error message.
|
|
56
|
-
*/
|
|
57
|
-
message: string;
|
|
74
|
+
/** The error details. */
|
|
75
|
+
export interface ErrorModel {
|
|
76
|
+
/** Error model information */
|
|
77
|
+
error: ErrorErrorModel;
|
|
58
78
|
}
|
|
59
79
|
|
|
60
|
-
/**
|
|
61
|
-
* @interface
|
|
62
|
-
* An interface representing ErrorErrorModel.
|
|
63
|
-
* Error model information
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
80
|
+
/** Error model information */
|
|
66
81
|
export interface ErrorErrorModel {
|
|
67
|
-
/**
|
|
68
|
-
* @member {string} code
|
|
69
|
-
*/
|
|
70
82
|
code: string;
|
|
71
|
-
/**
|
|
72
|
-
* @member {string} [message] Error message.
|
|
73
|
-
*/
|
|
83
|
+
/** Error message. */
|
|
74
84
|
message?: string;
|
|
75
|
-
/**
|
|
76
|
-
* @member {string} [innerError]
|
|
77
|
-
*/
|
|
78
85
|
innerError?: string;
|
|
79
|
-
/**
|
|
80
|
-
* @member {ErrorDetailsModel[]} [details] List of error message details.
|
|
81
|
-
*/
|
|
86
|
+
/** List of error message details. */
|
|
82
87
|
details?: ErrorDetailsModel[];
|
|
83
88
|
}
|
|
84
89
|
|
|
85
|
-
/**
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
*/
|
|
91
|
-
export interface ErrorModel {
|
|
92
|
-
/**
|
|
93
|
-
* @member {ErrorErrorModel} error Error model information
|
|
94
|
-
*/
|
|
95
|
-
error: ErrorErrorModel;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @interface
|
|
100
|
-
* An interface representing OperationResult.
|
|
101
|
-
* List of operations available at the listed Azure resource provider.
|
|
102
|
-
*
|
|
103
|
-
*/
|
|
104
|
-
export interface OperationResult {
|
|
105
|
-
/**
|
|
106
|
-
* @member {string} [name] The name of the operation.
|
|
107
|
-
*/
|
|
108
|
-
name?: string;
|
|
109
|
-
/**
|
|
110
|
-
* @member {AvailableOperationDisplay} [display] The object that represents
|
|
111
|
-
* the operation.
|
|
112
|
-
*/
|
|
113
|
-
display?: AvailableOperationDisplay;
|
|
114
|
-
/**
|
|
115
|
-
* @member {string} [origin] Origin result
|
|
116
|
-
*/
|
|
117
|
-
origin?: string;
|
|
118
|
-
/**
|
|
119
|
-
* @member {string} [nextLink] The URL to use for getting the next set of
|
|
120
|
-
* results.
|
|
121
|
-
*/
|
|
122
|
-
nextLink?: string;
|
|
90
|
+
/** Error model details information */
|
|
91
|
+
export interface ErrorDetailsModel {
|
|
92
|
+
code: string;
|
|
93
|
+
/** Error message. */
|
|
94
|
+
message: string;
|
|
123
95
|
}
|
|
124
96
|
|
|
125
|
-
/**
|
|
126
|
-
* @interface
|
|
127
|
-
* An interface representing ProvisionedResourceProperties.
|
|
128
|
-
* Describes common properties of a provisioned resource.
|
|
129
|
-
*
|
|
130
|
-
*/
|
|
97
|
+
/** Describes common properties of a provisioned resource. */
|
|
131
98
|
export interface ProvisionedResourceProperties {
|
|
132
99
|
/**
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* the server.**
|
|
100
|
+
* State of the resource.
|
|
101
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
136
102
|
*/
|
|
137
103
|
readonly provisioningState?: string;
|
|
138
104
|
}
|
|
139
105
|
|
|
140
|
-
/**
|
|
141
|
-
|
|
142
|
-
* An interface representing Resource.
|
|
143
|
-
* The resource model definition for Azure Resource Manager resource.
|
|
144
|
-
*
|
|
145
|
-
* @extends BaseResource
|
|
146
|
-
*/
|
|
147
|
-
export interface Resource extends BaseResource {
|
|
106
|
+
/** The resource model definition for Azure Resource Manager resource. */
|
|
107
|
+
export interface Resource {
|
|
148
108
|
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
152
|
-
* the server.**
|
|
109
|
+
* Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
110
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
153
111
|
*/
|
|
154
112
|
readonly id?: string;
|
|
155
113
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* the server.**
|
|
114
|
+
* The name of the resource
|
|
115
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
159
116
|
*/
|
|
160
117
|
readonly name?: string;
|
|
161
118
|
/**
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
165
|
-
* the server.**
|
|
119
|
+
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
|
120
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
166
121
|
*/
|
|
167
122
|
readonly type?: string;
|
|
168
123
|
}
|
|
169
124
|
|
|
170
|
-
/**
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
* @extends Resource
|
|
177
|
-
*/
|
|
178
|
-
export interface ProxyResource extends Resource {
|
|
125
|
+
/** A pageable list of secret resources. */
|
|
126
|
+
export interface SecretResourceDescriptionList {
|
|
127
|
+
/** One page of the list. */
|
|
128
|
+
value?: SecretResourceDescription[];
|
|
129
|
+
/** URI to fetch the next page of the list. */
|
|
130
|
+
nextLink?: string;
|
|
179
131
|
}
|
|
180
132
|
|
|
181
|
-
/**
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
* will have everything other than required location and tags. This proxy
|
|
186
|
-
* resource is explicitly created or updated by including it in the parent
|
|
187
|
-
* resource.
|
|
188
|
-
*
|
|
189
|
-
* @extends BaseResource
|
|
190
|
-
*/
|
|
191
|
-
export interface ManagedProxyResource extends BaseResource {
|
|
192
|
-
/**
|
|
193
|
-
* @member {string} [id] Fully qualified identifier for the resource. Ex -
|
|
194
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
195
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
196
|
-
* the server.**
|
|
197
|
-
*/
|
|
198
|
-
readonly id?: string;
|
|
199
|
-
/**
|
|
200
|
-
* @member {string} [name] The name of the resource
|
|
201
|
-
*/
|
|
202
|
-
name?: string;
|
|
203
|
-
/**
|
|
204
|
-
* @member {string} [type] The type of the resource. Ex-
|
|
205
|
-
* Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
|
206
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
207
|
-
* the server.**
|
|
208
|
-
*/
|
|
209
|
-
readonly type?: string;
|
|
133
|
+
/** This type describes properties of secret value resource. */
|
|
134
|
+
export interface SecretValueProperties {
|
|
135
|
+
/** The actual value of the secret. */
|
|
136
|
+
value?: string;
|
|
210
137
|
}
|
|
211
138
|
|
|
212
|
-
/**
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
* @extends Resource
|
|
219
|
-
*/
|
|
220
|
-
export interface TrackedResource extends Resource {
|
|
221
|
-
/**
|
|
222
|
-
* @member {{ [propertyName: string]: string }} [tags] Resource tags.
|
|
223
|
-
*/
|
|
224
|
-
tags?: { [propertyName: string]: string };
|
|
225
|
-
/**
|
|
226
|
-
* @member {string} location The geo-location where the resource lives
|
|
227
|
-
*/
|
|
228
|
-
location: string;
|
|
139
|
+
/** A pageable list of values of a secret resource. The information does not include only the name of the value and not the actual unencrypted value. */
|
|
140
|
+
export interface SecretValueResourceDescriptionList {
|
|
141
|
+
/** One page of the list. */
|
|
142
|
+
value?: SecretValueResourceDescription[];
|
|
143
|
+
/** URI to fetch the next page of the list. */
|
|
144
|
+
nextLink?: string;
|
|
229
145
|
}
|
|
230
146
|
|
|
231
|
-
/**
|
|
232
|
-
|
|
233
|
-
*/
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* @interface
|
|
238
|
-
* An interface representing SecretResourcePropertiesBase.
|
|
239
|
-
* This type describes the properties of a secret resource, including its kind.
|
|
240
|
-
*
|
|
241
|
-
*/
|
|
242
|
-
export interface SecretResourcePropertiesBase {
|
|
243
|
-
/**
|
|
244
|
-
* @member {string} kind Polymorphic Discriminator
|
|
245
|
-
*/
|
|
246
|
-
kind: "SecretResourcePropertiesBase";
|
|
247
|
-
/**
|
|
248
|
-
* @member {string} [provisioningState] State of the resource.
|
|
249
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
250
|
-
* the server.**
|
|
251
|
-
*/
|
|
252
|
-
readonly provisioningState?: string;
|
|
147
|
+
/** This type represents the unencrypted value of the secret. */
|
|
148
|
+
export interface SecretValue {
|
|
149
|
+
/** The actual value of the secret. */
|
|
150
|
+
value?: string;
|
|
253
151
|
}
|
|
254
152
|
|
|
255
|
-
/**
|
|
256
|
-
|
|
257
|
-
*/
|
|
258
|
-
export type SecretResourcePropertiesUnion = SecretResourceProperties | InlinedValueSecretResourceProperties;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* @interface
|
|
262
|
-
* An interface representing SecretResourceProperties.
|
|
263
|
-
* Describes the properties of a secret resource.
|
|
264
|
-
*
|
|
265
|
-
*/
|
|
266
|
-
export interface SecretResourceProperties {
|
|
267
|
-
/**
|
|
268
|
-
* @member {string} kind Polymorphic Discriminator
|
|
269
|
-
*/
|
|
270
|
-
kind: "SecretResourceProperties";
|
|
271
|
-
/**
|
|
272
|
-
* @member {string} [provisioningState] State of the resource.
|
|
273
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
274
|
-
* the server.**
|
|
275
|
-
*/
|
|
276
|
-
readonly provisioningState?: string;
|
|
277
|
-
/**
|
|
278
|
-
* @member {string} [description] User readable description of the secret.
|
|
279
|
-
*/
|
|
153
|
+
/** Describes properties of a volume resource. */
|
|
154
|
+
export interface VolumeProperties {
|
|
155
|
+
/** User readable description of the volume. */
|
|
280
156
|
description?: string;
|
|
281
157
|
/**
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
285
|
-
* the server.**
|
|
158
|
+
* Status of the volume.
|
|
159
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
286
160
|
*/
|
|
287
161
|
readonly status?: ResourceStatus;
|
|
288
162
|
/**
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
292
|
-
* the server.**
|
|
163
|
+
* Gives additional information about the current status of the volume.
|
|
164
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
293
165
|
*/
|
|
294
166
|
readonly statusDetails?: string;
|
|
295
|
-
/**
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
*/
|
|
300
|
-
contentType?: string;
|
|
167
|
+
/** Provider of the volume. */
|
|
168
|
+
provider: VolumeProvider;
|
|
169
|
+
/** This type describes a volume provided by an Azure Files file share. */
|
|
170
|
+
azureFileParameters?: VolumeProviderParametersAzureFile;
|
|
301
171
|
}
|
|
302
172
|
|
|
303
|
-
/**
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
173
|
+
/** This type describes a volume provided by an Azure Files file share. */
|
|
174
|
+
export interface VolumeProviderParametersAzureFile {
|
|
175
|
+
/** Name of the Azure storage account for the File Share. */
|
|
176
|
+
accountName: string;
|
|
177
|
+
/** Access key of the Azure storage account for the File Share. */
|
|
178
|
+
accountKey?: string;
|
|
179
|
+
/** Name of the Azure Files file share that provides storage for the volume. */
|
|
180
|
+
shareName: string;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/** A pageable list of volume resources. */
|
|
184
|
+
export interface VolumeResourceDescriptionList {
|
|
185
|
+
/** One page of the list. */
|
|
186
|
+
value?: VolumeResourceDescription[];
|
|
187
|
+
/** URI to fetch the next page of the list. */
|
|
188
|
+
nextLink?: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/** A pageable list of network resources. */
|
|
192
|
+
export interface NetworkResourceDescriptionList {
|
|
193
|
+
/** One page of the list. */
|
|
194
|
+
value?: NetworkResourceDescription[];
|
|
195
|
+
/** URI to fetch the next page of the list. */
|
|
196
|
+
nextLink?: string;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/** Describes properties of a gateway resource. */
|
|
200
|
+
export interface GatewayProperties {
|
|
201
|
+
/** User readable description of the gateway. */
|
|
327
202
|
description?: string;
|
|
203
|
+
/** Network the gateway should listen on for requests. */
|
|
204
|
+
sourceNetwork: NetworkRef;
|
|
205
|
+
/** Network that the Application is using. */
|
|
206
|
+
destinationNetwork: NetworkRef;
|
|
207
|
+
/** Configuration for tcp connectivity for this gateway. */
|
|
208
|
+
tcp?: TcpConfig[];
|
|
209
|
+
/** Configuration for http connectivity for this gateway. */
|
|
210
|
+
http?: HttpConfig[];
|
|
328
211
|
/**
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
332
|
-
* the server.**
|
|
212
|
+
* Status of the resource.
|
|
213
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
333
214
|
*/
|
|
334
215
|
readonly status?: ResourceStatus;
|
|
335
216
|
/**
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
339
|
-
* the server.**
|
|
217
|
+
* Gives additional information about the current status of the gateway.
|
|
218
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
340
219
|
*/
|
|
341
220
|
readonly statusDetails?: string;
|
|
342
221
|
/**
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
* set, the value of this property cannot be changed.
|
|
222
|
+
* IP address of the gateway. This is populated in the response and is ignored for incoming requests.
|
|
223
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
346
224
|
*/
|
|
347
|
-
|
|
225
|
+
readonly ipAddress?: string;
|
|
348
226
|
}
|
|
349
227
|
|
|
350
|
-
/**
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
*/
|
|
357
|
-
export interface SecretResourceDescription extends TrackedResource {
|
|
358
|
-
/**
|
|
359
|
-
* @member {SecretResourcePropertiesUnion} properties Describes the
|
|
360
|
-
* properties of a secret resource.
|
|
361
|
-
*/
|
|
362
|
-
properties: SecretResourcePropertiesUnion;
|
|
228
|
+
/** Describes a network reference in a service. */
|
|
229
|
+
export interface NetworkRef {
|
|
230
|
+
/** Name of the network */
|
|
231
|
+
name?: string;
|
|
232
|
+
/** A list of endpoints that are exposed on this network. */
|
|
233
|
+
endpointRefs?: EndpointRef[];
|
|
363
234
|
}
|
|
364
235
|
|
|
365
|
-
/**
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
*
|
|
370
|
-
*/
|
|
371
|
-
export interface SecretValue {
|
|
372
|
-
/**
|
|
373
|
-
* @member {string} [value] The actual value of the secret.
|
|
374
|
-
*/
|
|
375
|
-
value?: string;
|
|
236
|
+
/** Describes a reference to a service endpoint. */
|
|
237
|
+
export interface EndpointRef {
|
|
238
|
+
/** Name of the endpoint. */
|
|
239
|
+
name?: string;
|
|
376
240
|
}
|
|
377
241
|
|
|
378
|
-
/**
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
* @member {string} [value] The actual value of the secret.
|
|
387
|
-
*/
|
|
388
|
-
value?: string;
|
|
242
|
+
/** Describes the tcp configuration for external connectivity for this network. */
|
|
243
|
+
export interface TcpConfig {
|
|
244
|
+
/** tcp gateway config name. */
|
|
245
|
+
name: string;
|
|
246
|
+
/** Specifies the port at which the service endpoint below needs to be exposed. */
|
|
247
|
+
port: number;
|
|
248
|
+
/** Describes destination endpoint for routing traffic. */
|
|
249
|
+
destination: GatewayDestination;
|
|
389
250
|
}
|
|
390
251
|
|
|
391
|
-
/**
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
export interface SecretValueResourceDescription extends TrackedResource {
|
|
400
|
-
/**
|
|
401
|
-
* @member {string} [provisioningState] State of the resource.
|
|
402
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
403
|
-
* the server.**
|
|
404
|
-
*/
|
|
405
|
-
readonly provisioningState?: string;
|
|
406
|
-
/**
|
|
407
|
-
* @member {string} [value] The actual value of the secret.
|
|
408
|
-
*/
|
|
409
|
-
value?: string;
|
|
252
|
+
/** Describes destination endpoint for routing traffic. */
|
|
253
|
+
export interface GatewayDestination {
|
|
254
|
+
/** Name of the service fabric Mesh application. */
|
|
255
|
+
applicationName: string;
|
|
256
|
+
/** service that contains the endpoint. */
|
|
257
|
+
serviceName: string;
|
|
258
|
+
/** name of the endpoint in the service. */
|
|
259
|
+
endpointName: string;
|
|
410
260
|
}
|
|
411
261
|
|
|
412
|
-
/**
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
* @member {string} accountName Name of the Azure storage account for the
|
|
421
|
-
* File Share.
|
|
422
|
-
*/
|
|
423
|
-
accountName: string;
|
|
424
|
-
/**
|
|
425
|
-
* @member {string} [accountKey] Access key of the Azure storage account for
|
|
426
|
-
* the File Share.
|
|
427
|
-
*/
|
|
428
|
-
accountKey?: string;
|
|
429
|
-
/**
|
|
430
|
-
* @member {string} shareName Name of the Azure Files file share that
|
|
431
|
-
* provides storage for the volume.
|
|
432
|
-
*/
|
|
433
|
-
shareName: string;
|
|
262
|
+
/** Describes the http configuration for external connectivity for this network. */
|
|
263
|
+
export interface HttpConfig {
|
|
264
|
+
/** http gateway config name. */
|
|
265
|
+
name: string;
|
|
266
|
+
/** Specifies the port at which the service endpoint below needs to be exposed. */
|
|
267
|
+
port: number;
|
|
268
|
+
/** description for routing. */
|
|
269
|
+
hosts: HttpHostConfig[];
|
|
434
270
|
}
|
|
435
271
|
|
|
436
|
-
/**
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
export interface VolumeProperties {
|
|
443
|
-
/**
|
|
444
|
-
* @member {string} [description] User readable description of the volume.
|
|
445
|
-
*/
|
|
446
|
-
description?: string;
|
|
447
|
-
/**
|
|
448
|
-
* @member {ResourceStatus} [status] Status of the volume. Possible values
|
|
449
|
-
* include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
|
|
450
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
451
|
-
* the server.**
|
|
452
|
-
*/
|
|
453
|
-
readonly status?: ResourceStatus;
|
|
454
|
-
/**
|
|
455
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
456
|
-
* current status of the volume.
|
|
457
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
458
|
-
* the server.**
|
|
459
|
-
*/
|
|
460
|
-
readonly statusDetails?: string;
|
|
461
|
-
/**
|
|
462
|
-
* @member {VolumeProviderParametersAzureFile} [azureFileParameters] This
|
|
463
|
-
* type describes a volume provided by an Azure Files file share.
|
|
464
|
-
*/
|
|
465
|
-
azureFileParameters?: VolumeProviderParametersAzureFile;
|
|
272
|
+
/** Describes the hostname properties for http routing. */
|
|
273
|
+
export interface HttpHostConfig {
|
|
274
|
+
/** http hostname config name. */
|
|
275
|
+
name: string;
|
|
276
|
+
/** Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases. */
|
|
277
|
+
routes: HttpRouteConfig[];
|
|
466
278
|
}
|
|
467
279
|
|
|
468
|
-
/**
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
* Describes a reference to a volume resource.
|
|
472
|
-
*
|
|
473
|
-
*/
|
|
474
|
-
export interface VolumeReference {
|
|
475
|
-
/**
|
|
476
|
-
* @member {string} name Name of the volume being referenced.
|
|
477
|
-
*/
|
|
280
|
+
/** Describes the hostname properties for http routing. */
|
|
281
|
+
export interface HttpRouteConfig {
|
|
282
|
+
/** http route name. */
|
|
478
283
|
name: string;
|
|
479
|
-
/**
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
readOnly?: boolean;
|
|
484
|
-
/**
|
|
485
|
-
* @member {string} destinationPath The path within the container at which
|
|
486
|
-
* the volume should be mounted. Only valid path characters are allowed.
|
|
487
|
-
*/
|
|
488
|
-
destinationPath: string;
|
|
284
|
+
/** Describes a rule for http route matching. */
|
|
285
|
+
match: HttpRouteMatchRule;
|
|
286
|
+
/** Describes destination endpoint for routing traffic. */
|
|
287
|
+
destination: GatewayDestination;
|
|
489
288
|
}
|
|
490
289
|
|
|
491
|
-
/**
|
|
492
|
-
|
|
493
|
-
*/
|
|
494
|
-
|
|
290
|
+
/** Describes a rule for http route matching. */
|
|
291
|
+
export interface HttpRouteMatchRule {
|
|
292
|
+
/** Path to match for routing. */
|
|
293
|
+
path: HttpRouteMatchPath;
|
|
294
|
+
/** headers and their values to match in request. */
|
|
295
|
+
headers?: HttpRouteMatchHeader[];
|
|
296
|
+
}
|
|
495
297
|
|
|
496
|
-
/**
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
* @member {string} kind Polymorphic Discriminator
|
|
505
|
-
*/
|
|
506
|
-
kind: "ApplicationScopedVolumeCreationParameters";
|
|
507
|
-
/**
|
|
508
|
-
* @member {string} [description] User readable description of the volume.
|
|
509
|
-
*/
|
|
510
|
-
description?: string;
|
|
298
|
+
/** Path to match for routing. */
|
|
299
|
+
export interface HttpRouteMatchPath {
|
|
300
|
+
/** Uri path to match for request. */
|
|
301
|
+
value: string;
|
|
302
|
+
/** replacement string for matched part of the Uri. */
|
|
303
|
+
rewrite?: string;
|
|
304
|
+
/** how to match value in the Uri */
|
|
305
|
+
type: PathMatchType;
|
|
511
306
|
}
|
|
512
307
|
|
|
513
|
-
/**
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
*/
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* @member {ApplicationScopedVolumeCreationParametersUnion}
|
|
523
|
-
* creationParameters Describes parameters for creating application-scoped
|
|
524
|
-
* volumes.
|
|
525
|
-
*/
|
|
526
|
-
creationParameters: ApplicationScopedVolumeCreationParametersUnion;
|
|
308
|
+
/** Describes header information for http route matching. */
|
|
309
|
+
export interface HttpRouteMatchHeader {
|
|
310
|
+
/** Name of header to match in request. */
|
|
311
|
+
name: string;
|
|
312
|
+
/** Value of header to match in request. */
|
|
313
|
+
value?: string;
|
|
314
|
+
/** how to match header value */
|
|
315
|
+
type?: HeaderMatchType;
|
|
527
316
|
}
|
|
528
317
|
|
|
529
|
-
/**
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
*/
|
|
536
|
-
export interface ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk {
|
|
537
|
-
/**
|
|
538
|
-
* @member {string} kind Polymorphic Discriminator
|
|
539
|
-
*/
|
|
540
|
-
kind: "ServiceFabricVolumeDisk";
|
|
541
|
-
/**
|
|
542
|
-
* @member {string} [description] User readable description of the volume.
|
|
543
|
-
*/
|
|
544
|
-
description?: string;
|
|
545
|
-
/**
|
|
546
|
-
* @member {SizeTypes} sizeDisk Volume size. Possible values include:
|
|
547
|
-
* 'Small', 'Medium', 'Large'
|
|
548
|
-
*/
|
|
549
|
-
sizeDisk: SizeTypes;
|
|
318
|
+
/** A pageable list of gateway resources. */
|
|
319
|
+
export interface GatewayResourceDescriptionList {
|
|
320
|
+
/** One page of the list. */
|
|
321
|
+
value?: GatewayResourceDescription[];
|
|
322
|
+
/** URI to fetch the next page of the list. */
|
|
323
|
+
nextLink?: string;
|
|
550
324
|
}
|
|
551
325
|
|
|
552
|
-
/**
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
*/
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
|
|
562
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
563
|
-
* the server.**
|
|
564
|
-
*/
|
|
565
|
-
readonly provisioningState?: string;
|
|
326
|
+
/** Describes properties of a application resource. */
|
|
327
|
+
export interface ApplicationProperties {
|
|
328
|
+
/** User readable description of the application. */
|
|
329
|
+
description?: string;
|
|
330
|
+
/** Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource. */
|
|
331
|
+
services?: ServiceResourceDescription[];
|
|
332
|
+
/** Describes the diagnostics definition and usage for an application resource. */
|
|
333
|
+
diagnostics?: DiagnosticsDescription;
|
|
334
|
+
/** Internal - used by Visual Studio to setup the debugging session on the local development environment. */
|
|
335
|
+
debugParams?: string;
|
|
566
336
|
/**
|
|
567
|
-
*
|
|
337
|
+
* Names of the services in the application.
|
|
338
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
568
339
|
*/
|
|
569
|
-
|
|
340
|
+
readonly serviceNames?: string[];
|
|
570
341
|
/**
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
574
|
-
* the server.**
|
|
342
|
+
* Status of the application.
|
|
343
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
575
344
|
*/
|
|
576
345
|
readonly status?: ResourceStatus;
|
|
577
346
|
/**
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
581
|
-
* the server.**
|
|
347
|
+
* Gives additional information about the current status of the application.
|
|
348
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
582
349
|
*/
|
|
583
350
|
readonly statusDetails?: string;
|
|
584
351
|
/**
|
|
585
|
-
*
|
|
586
|
-
*
|
|
587
|
-
*/
|
|
588
|
-
azureFileParameters?: VolumeProviderParametersAzureFile;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* Contains the possible cases for NetworkResourcePropertiesBase.
|
|
593
|
-
*/
|
|
594
|
-
export type NetworkResourcePropertiesBaseUnion = NetworkResourcePropertiesBase | NetworkResourcePropertiesUnion;
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* @interface
|
|
598
|
-
* An interface representing NetworkResourcePropertiesBase.
|
|
599
|
-
* This type describes the properties of a network resource, including its
|
|
600
|
-
* kind.
|
|
601
|
-
*
|
|
602
|
-
*/
|
|
603
|
-
export interface NetworkResourcePropertiesBase {
|
|
604
|
-
/**
|
|
605
|
-
* @member {string} kind Polymorphic Discriminator
|
|
352
|
+
* Describes the health state of an application resource.
|
|
353
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
606
354
|
*/
|
|
607
|
-
|
|
355
|
+
readonly healthState?: HealthState;
|
|
608
356
|
/**
|
|
609
|
-
*
|
|
610
|
-
*
|
|
611
|
-
* the server.**
|
|
357
|
+
* When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.
|
|
358
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
612
359
|
*/
|
|
613
|
-
readonly
|
|
360
|
+
readonly unhealthyEvaluation?: string;
|
|
614
361
|
}
|
|
615
362
|
|
|
616
|
-
/**
|
|
617
|
-
|
|
618
|
-
*/
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
*/
|
|
627
|
-
export interface NetworkResourceProperties {
|
|
628
|
-
/**
|
|
629
|
-
* @member {string} kind Polymorphic Discriminator
|
|
630
|
-
*/
|
|
631
|
-
kind: "NetworkResourceProperties";
|
|
632
|
-
/**
|
|
633
|
-
* @member {string} [provisioningState] State of the resource.
|
|
634
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
635
|
-
* the server.**
|
|
636
|
-
*/
|
|
637
|
-
readonly provisioningState?: string;
|
|
638
|
-
/**
|
|
639
|
-
* @member {string} [description] User readable description of the network.
|
|
640
|
-
*/
|
|
641
|
-
description?: string;
|
|
642
|
-
/**
|
|
643
|
-
* @member {ResourceStatus} [status] Status of the network. Possible values
|
|
644
|
-
* include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
|
|
645
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
646
|
-
* the server.**
|
|
647
|
-
*/
|
|
648
|
-
readonly status?: ResourceStatus;
|
|
649
|
-
/**
|
|
650
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
651
|
-
* current status of the network.
|
|
652
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
653
|
-
* the server.**
|
|
654
|
-
*/
|
|
655
|
-
readonly statusDetails?: string;
|
|
363
|
+
/** Describes the properties of a service replica. */
|
|
364
|
+
export interface ServiceReplicaProperties {
|
|
365
|
+
/** The operation system required by the code in service. */
|
|
366
|
+
osType: OperatingSystemType;
|
|
367
|
+
/** Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.). */
|
|
368
|
+
codePackages: ContainerCodePackageProperties[];
|
|
369
|
+
/** The names of the private networks that this service needs to be part of. */
|
|
370
|
+
networkRefs?: NetworkRef[];
|
|
371
|
+
/** Reference to sinks in DiagnosticsDescription. */
|
|
372
|
+
diagnostics?: DiagnosticsRef;
|
|
656
373
|
}
|
|
657
374
|
|
|
658
|
-
/**
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
*/
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
689
|
-
* current status of the network.
|
|
690
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
691
|
-
* the server.**
|
|
692
|
-
*/
|
|
693
|
-
readonly statusDetails?: string;
|
|
375
|
+
/** Describes a container and its runtime properties. */
|
|
376
|
+
export interface ContainerCodePackageProperties {
|
|
377
|
+
/** The name of the code package. */
|
|
378
|
+
name: string;
|
|
379
|
+
/** The Container image to use. */
|
|
380
|
+
image: string;
|
|
381
|
+
/** Image registry credential. */
|
|
382
|
+
imageRegistryCredential?: ImageRegistryCredential;
|
|
383
|
+
/** Override for the default entry point in the container. */
|
|
384
|
+
entrypoint?: string;
|
|
385
|
+
/** Command array to execute within the container in exec form. */
|
|
386
|
+
commands?: string[];
|
|
387
|
+
/** The environment variables to set in this container */
|
|
388
|
+
environmentVariables?: EnvironmentVariable[];
|
|
389
|
+
/** The settings to set in this container. The setting file path can be fetched from environment variable "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The path for Linux container is "/var/secrets". */
|
|
390
|
+
settings?: Setting[];
|
|
391
|
+
/** The labels to set in this container. */
|
|
392
|
+
labels?: ContainerLabel[];
|
|
393
|
+
/** The endpoints exposed by this container. */
|
|
394
|
+
endpoints?: EndpointProperties[];
|
|
395
|
+
/** The resources required by this container. */
|
|
396
|
+
resources: ResourceRequirements;
|
|
397
|
+
/** Volumes to be attached to the container. The lifetime of these volumes is independent of the application's lifetime. */
|
|
398
|
+
volumeRefs?: VolumeReference[];
|
|
399
|
+
/** Volumes to be attached to the container. The lifetime of these volumes is scoped to the application's lifetime. */
|
|
400
|
+
volumes?: ApplicationScopedVolume[];
|
|
401
|
+
/** Reference to sinks in DiagnosticsDescription. */
|
|
402
|
+
diagnostics?: DiagnosticsRef;
|
|
403
|
+
/** A list of ReliableCollection resources used by this particular code package. Please refer to ReliableCollectionsRef for more details. */
|
|
404
|
+
reliableCollectionsRefs?: ReliableCollectionsRef[];
|
|
694
405
|
/**
|
|
695
|
-
*
|
|
696
|
-
*
|
|
406
|
+
* Runtime information of a container instance.
|
|
407
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
697
408
|
*/
|
|
698
|
-
|
|
409
|
+
readonly instanceView?: ContainerInstanceView;
|
|
699
410
|
}
|
|
700
411
|
|
|
701
|
-
/**
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
* @member {string} [name] Name of the endpoint.
|
|
710
|
-
*/
|
|
711
|
-
name?: string;
|
|
412
|
+
/** Image registry credential. */
|
|
413
|
+
export interface ImageRegistryCredential {
|
|
414
|
+
/** Docker image registry server, without protocol such as `http` and `https`. */
|
|
415
|
+
server: string;
|
|
416
|
+
/** The username for the private registry. */
|
|
417
|
+
username: string;
|
|
418
|
+
/** The password for the private registry. The password is required for create or update operations, however it is not returned in the get or list operations. */
|
|
419
|
+
password?: string;
|
|
712
420
|
}
|
|
713
421
|
|
|
714
|
-
/**
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
* Describes a network reference in a service.
|
|
718
|
-
*
|
|
719
|
-
*/
|
|
720
|
-
export interface NetworkRef {
|
|
721
|
-
/**
|
|
722
|
-
* @member {string} [name] Name of the network
|
|
723
|
-
*/
|
|
422
|
+
/** Describes an environment variable for the container. */
|
|
423
|
+
export interface EnvironmentVariable {
|
|
424
|
+
/** The name of the environment variable. */
|
|
724
425
|
name?: string;
|
|
725
|
-
/**
|
|
726
|
-
|
|
727
|
-
* exposed on this network.
|
|
728
|
-
*/
|
|
729
|
-
endpointRefs?: EndpointRef[];
|
|
426
|
+
/** The value of the environment variable. */
|
|
427
|
+
value?: string;
|
|
730
428
|
}
|
|
731
429
|
|
|
732
|
-
/**
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
*/
|
|
739
|
-
export interface NetworkResourceDescription extends TrackedResource {
|
|
740
|
-
/**
|
|
741
|
-
* @member {NetworkResourcePropertiesUnion} properties Describes properties
|
|
742
|
-
* of a network resource.
|
|
743
|
-
*/
|
|
744
|
-
properties: NetworkResourcePropertiesUnion;
|
|
430
|
+
/** Describes a setting for the container. The setting file path can be fetched from environment variable "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The path for Linux container is "/var/secrets". */
|
|
431
|
+
export interface Setting {
|
|
432
|
+
/** The name of the setting. */
|
|
433
|
+
name?: string;
|
|
434
|
+
/** The value of the setting. */
|
|
435
|
+
value?: string;
|
|
745
436
|
}
|
|
746
437
|
|
|
747
|
-
/**
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
export interface GatewayDestination {
|
|
754
|
-
/**
|
|
755
|
-
* @member {string} applicationName Name of the service fabric Mesh
|
|
756
|
-
* application.
|
|
757
|
-
*/
|
|
758
|
-
applicationName: string;
|
|
759
|
-
/**
|
|
760
|
-
* @member {string} serviceName service that contains the endpoint.
|
|
761
|
-
*/
|
|
762
|
-
serviceName: string;
|
|
763
|
-
/**
|
|
764
|
-
* @member {string} endpointName name of the endpoint in the service.
|
|
765
|
-
*/
|
|
766
|
-
endpointName: string;
|
|
438
|
+
/** Describes a container label. */
|
|
439
|
+
export interface ContainerLabel {
|
|
440
|
+
/** The name of the container label. */
|
|
441
|
+
name: string;
|
|
442
|
+
/** The value of the container label. */
|
|
443
|
+
value: string;
|
|
767
444
|
}
|
|
768
445
|
|
|
769
|
-
/**
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
* Describes the tcp configuration for external connectivity for this network.
|
|
773
|
-
*
|
|
774
|
-
*/
|
|
775
|
-
export interface TcpConfig {
|
|
776
|
-
/**
|
|
777
|
-
* @member {string} name tcp gateway config name.
|
|
778
|
-
*/
|
|
446
|
+
/** Describes a container endpoint. */
|
|
447
|
+
export interface EndpointProperties {
|
|
448
|
+
/** The name of the endpoint. */
|
|
779
449
|
name: string;
|
|
780
|
-
/**
|
|
781
|
-
|
|
782
|
-
* below needs to be exposed.
|
|
783
|
-
*/
|
|
784
|
-
port: number;
|
|
785
|
-
/**
|
|
786
|
-
* @member {GatewayDestination} destination Describes destination endpoint
|
|
787
|
-
* for routing traffic.
|
|
788
|
-
*/
|
|
789
|
-
destination: GatewayDestination;
|
|
450
|
+
/** Port used by the container. */
|
|
451
|
+
port?: number;
|
|
790
452
|
}
|
|
791
453
|
|
|
792
|
-
/**
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
export interface HttpRouteMatchPath {
|
|
799
|
-
/**
|
|
800
|
-
* @member {string} value Uri path to match for request.
|
|
801
|
-
*/
|
|
802
|
-
value: string;
|
|
803
|
-
/**
|
|
804
|
-
* @member {string} [rewrite] replacement string for matched part of the Uri.
|
|
805
|
-
*/
|
|
806
|
-
rewrite?: string;
|
|
454
|
+
/** This type describes the resource requirements for a container or a service. */
|
|
455
|
+
export interface ResourceRequirements {
|
|
456
|
+
/** Describes the requested resources for a given container. */
|
|
457
|
+
requests: ResourceRequests;
|
|
458
|
+
/** Describes the maximum limits on the resources for a given container. */
|
|
459
|
+
limits?: ResourceLimits;
|
|
807
460
|
}
|
|
808
461
|
|
|
809
|
-
/**
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
export interface HttpRouteMatchHeader {
|
|
816
|
-
/**
|
|
817
|
-
* @member {string} name Name of header to match in request.
|
|
818
|
-
*/
|
|
819
|
-
name: string;
|
|
820
|
-
/**
|
|
821
|
-
* @member {string} [value] Value of header to match in request.
|
|
822
|
-
*/
|
|
823
|
-
value?: string;
|
|
824
|
-
/**
|
|
825
|
-
* @member {HeaderMatchType} [type] how to match header value. Possible
|
|
826
|
-
* values include: 'exact'
|
|
827
|
-
*/
|
|
828
|
-
type?: HeaderMatchType;
|
|
462
|
+
/** This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits. */
|
|
463
|
+
export interface ResourceRequests {
|
|
464
|
+
/** The memory request in GB for this container. */
|
|
465
|
+
memoryInGB: number;
|
|
466
|
+
/** Requested number of CPU cores. At present, only full cores are supported. */
|
|
467
|
+
cpu: number;
|
|
829
468
|
}
|
|
830
469
|
|
|
831
|
-
/**
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
export interface HttpRouteMatchRule {
|
|
838
|
-
/**
|
|
839
|
-
* @member {HttpRouteMatchPath} path Path to match for routing.
|
|
840
|
-
*/
|
|
841
|
-
path: HttpRouteMatchPath;
|
|
842
|
-
/**
|
|
843
|
-
* @member {HttpRouteMatchHeader[]} [headers] headers and their values to
|
|
844
|
-
* match in request.
|
|
845
|
-
*/
|
|
846
|
-
headers?: HttpRouteMatchHeader[];
|
|
470
|
+
/** This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted. */
|
|
471
|
+
export interface ResourceLimits {
|
|
472
|
+
/** The memory limit in GB. */
|
|
473
|
+
memoryInGB?: number;
|
|
474
|
+
/** CPU limits in cores. At present, only full cores are supported. */
|
|
475
|
+
cpu?: number;
|
|
847
476
|
}
|
|
848
477
|
|
|
849
|
-
/**
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
* Describes the hostname properties for http routing.
|
|
853
|
-
*
|
|
854
|
-
*/
|
|
855
|
-
export interface HttpRouteConfig {
|
|
856
|
-
/**
|
|
857
|
-
* @member {string} name http route name.
|
|
858
|
-
*/
|
|
478
|
+
/** Describes a reference to a volume resource. */
|
|
479
|
+
export interface VolumeReference {
|
|
480
|
+
/** Name of the volume being referenced. */
|
|
859
481
|
name: string;
|
|
860
|
-
/**
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
match: HttpRouteMatchRule;
|
|
865
|
-
/**
|
|
866
|
-
* @member {GatewayDestination} destination Describes destination endpoint
|
|
867
|
-
* for routing traffic.
|
|
868
|
-
*/
|
|
869
|
-
destination: GatewayDestination;
|
|
482
|
+
/** The flag indicating whether the volume is read only. Default is 'false'. */
|
|
483
|
+
readOnly?: boolean;
|
|
484
|
+
/** The path within the container at which the volume should be mounted. Only valid path characters are allowed. */
|
|
485
|
+
destinationPath: string;
|
|
870
486
|
}
|
|
871
487
|
|
|
872
|
-
/**
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
*/
|
|
878
|
-
export interface HttpHostConfig {
|
|
879
|
-
/**
|
|
880
|
-
* @member {string} name http hostname config name.
|
|
881
|
-
*/
|
|
882
|
-
name: string;
|
|
883
|
-
/**
|
|
884
|
-
* @member {HttpRouteConfig[]} routes Route information to use for routing.
|
|
885
|
-
* Routes are processed in the order they are specified. Specify routes that
|
|
886
|
-
* are more specific before routes that can hamdle general cases.
|
|
887
|
-
*/
|
|
888
|
-
routes: HttpRouteConfig[];
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
* @interface
|
|
893
|
-
* An interface representing HttpConfig.
|
|
894
|
-
* Describes the http configuration for external connectivity for this network.
|
|
895
|
-
*
|
|
896
|
-
*/
|
|
897
|
-
export interface HttpConfig {
|
|
898
|
-
/**
|
|
899
|
-
* @member {string} name http gateway config name.
|
|
900
|
-
*/
|
|
901
|
-
name: string;
|
|
902
|
-
/**
|
|
903
|
-
* @member {number} port Specifies the port at which the service endpoint
|
|
904
|
-
* below needs to be exposed.
|
|
905
|
-
*/
|
|
906
|
-
port: number;
|
|
907
|
-
/**
|
|
908
|
-
* @member {HttpHostConfig[]} hosts description for routing.
|
|
909
|
-
*/
|
|
910
|
-
hosts: HttpHostConfig[];
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* @interface
|
|
915
|
-
* An interface representing GatewayProperties.
|
|
916
|
-
* Describes properties of a gateway resource.
|
|
917
|
-
*
|
|
918
|
-
*/
|
|
919
|
-
export interface GatewayProperties {
|
|
920
|
-
/**
|
|
921
|
-
* @member {string} [description] User readable description of the gateway.
|
|
922
|
-
*/
|
|
923
|
-
description?: string;
|
|
924
|
-
/**
|
|
925
|
-
* @member {NetworkRef} sourceNetwork Network the gateway should listen on
|
|
926
|
-
* for requests.
|
|
927
|
-
*/
|
|
928
|
-
sourceNetwork: NetworkRef;
|
|
929
|
-
/**
|
|
930
|
-
* @member {NetworkRef} destinationNetwork Network that the Application is
|
|
931
|
-
* using.
|
|
932
|
-
*/
|
|
933
|
-
destinationNetwork: NetworkRef;
|
|
934
|
-
/**
|
|
935
|
-
* @member {TcpConfig[]} [tcp] Configuration for tcp connectivity for this
|
|
936
|
-
* gateway.
|
|
937
|
-
*/
|
|
938
|
-
tcp?: TcpConfig[];
|
|
939
|
-
/**
|
|
940
|
-
* @member {HttpConfig[]} [http] Configuration for http connectivity for this
|
|
941
|
-
* gateway.
|
|
942
|
-
*/
|
|
943
|
-
http?: HttpConfig[];
|
|
944
|
-
/**
|
|
945
|
-
* @member {ResourceStatus} [status] Status of the resource. Possible values
|
|
946
|
-
* include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
|
|
947
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
948
|
-
* the server.**
|
|
949
|
-
*/
|
|
950
|
-
readonly status?: ResourceStatus;
|
|
951
|
-
/**
|
|
952
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
953
|
-
* current status of the gateway.
|
|
954
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
955
|
-
* the server.**
|
|
956
|
-
*/
|
|
957
|
-
readonly statusDetails?: string;
|
|
958
|
-
/**
|
|
959
|
-
* @member {string} [ipAddress] IP address of the gateway. This is populated
|
|
960
|
-
* in the response and is ignored for incoming requests.
|
|
961
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
962
|
-
* the server.**
|
|
963
|
-
*/
|
|
964
|
-
readonly ipAddress?: string;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @interface
|
|
969
|
-
* An interface representing GatewayResourceDescription.
|
|
970
|
-
* This type describes a gateway resource.
|
|
971
|
-
*
|
|
972
|
-
* @extends TrackedResource
|
|
973
|
-
*/
|
|
974
|
-
export interface GatewayResourceDescription extends TrackedResource {
|
|
975
|
-
/**
|
|
976
|
-
* @member {string} [provisioningState] State of the resource.
|
|
977
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
978
|
-
* the server.**
|
|
979
|
-
*/
|
|
980
|
-
readonly provisioningState?: string;
|
|
981
|
-
/**
|
|
982
|
-
* @member {string} [description] User readable description of the gateway.
|
|
983
|
-
*/
|
|
488
|
+
/** Describes parameters for creating application-scoped volumes. */
|
|
489
|
+
export interface ApplicationScopedVolumeCreationParameters {
|
|
490
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
491
|
+
kind: "ServiceFabricVolumeDisk";
|
|
492
|
+
/** User readable description of the volume. */
|
|
984
493
|
description?: string;
|
|
985
|
-
/**
|
|
986
|
-
* @member {NetworkRef} sourceNetwork Network the gateway should listen on
|
|
987
|
-
* for requests.
|
|
988
|
-
*/
|
|
989
|
-
sourceNetwork: NetworkRef;
|
|
990
|
-
/**
|
|
991
|
-
* @member {NetworkRef} destinationNetwork Network that the Application is
|
|
992
|
-
* using.
|
|
993
|
-
*/
|
|
994
|
-
destinationNetwork: NetworkRef;
|
|
995
|
-
/**
|
|
996
|
-
* @member {TcpConfig[]} [tcp] Configuration for tcp connectivity for this
|
|
997
|
-
* gateway.
|
|
998
|
-
*/
|
|
999
|
-
tcp?: TcpConfig[];
|
|
1000
|
-
/**
|
|
1001
|
-
* @member {HttpConfig[]} [http] Configuration for http connectivity for this
|
|
1002
|
-
* gateway.
|
|
1003
|
-
*/
|
|
1004
|
-
http?: HttpConfig[];
|
|
1005
|
-
/**
|
|
1006
|
-
* @member {ResourceStatus} [status] Status of the resource. Possible values
|
|
1007
|
-
* include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
|
|
1008
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1009
|
-
* the server.**
|
|
1010
|
-
*/
|
|
1011
|
-
readonly status?: ResourceStatus;
|
|
1012
|
-
/**
|
|
1013
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
1014
|
-
* current status of the gateway.
|
|
1015
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1016
|
-
* the server.**
|
|
1017
|
-
*/
|
|
1018
|
-
readonly statusDetails?: string;
|
|
1019
|
-
/**
|
|
1020
|
-
* @member {string} [ipAddress] IP address of the gateway. This is populated
|
|
1021
|
-
* in the response and is ignored for incoming requests.
|
|
1022
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1023
|
-
* the server.**
|
|
1024
|
-
*/
|
|
1025
|
-
readonly ipAddress?: string;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* @interface
|
|
1030
|
-
* An interface representing ImageRegistryCredential.
|
|
1031
|
-
* Image registry credential.
|
|
1032
|
-
*
|
|
1033
|
-
*/
|
|
1034
|
-
export interface ImageRegistryCredential {
|
|
1035
|
-
/**
|
|
1036
|
-
* @member {string} server Docker image registry server, without protocol
|
|
1037
|
-
* such as `http` and `https`.
|
|
1038
|
-
*/
|
|
1039
|
-
server: string;
|
|
1040
|
-
/**
|
|
1041
|
-
* @member {string} username The username for the private registry.
|
|
1042
|
-
*/
|
|
1043
|
-
username: string;
|
|
1044
|
-
/**
|
|
1045
|
-
* @member {string} [password] The password for the private registry. The
|
|
1046
|
-
* password is required for create or update operations, however it is not
|
|
1047
|
-
* returned in the get or list operations.
|
|
1048
|
-
*/
|
|
1049
|
-
password?: string;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1053
|
-
* @interface
|
|
1054
|
-
* An interface representing EnvironmentVariable.
|
|
1055
|
-
* Describes an environment variable for the container.
|
|
1056
|
-
*
|
|
1057
|
-
*/
|
|
1058
|
-
export interface EnvironmentVariable {
|
|
1059
|
-
/**
|
|
1060
|
-
* @member {string} [name] The name of the environment variable.
|
|
1061
|
-
*/
|
|
1062
|
-
name?: string;
|
|
1063
|
-
/**
|
|
1064
|
-
* @member {string} [value] The value of the environment variable.
|
|
1065
|
-
*/
|
|
1066
|
-
value?: string;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
/**
|
|
1070
|
-
* @interface
|
|
1071
|
-
* An interface representing Setting.
|
|
1072
|
-
* Describes a setting for the container. The setting file path can be fetched
|
|
1073
|
-
* from environment variable "Fabric_SettingPath". The path for Windows
|
|
1074
|
-
* container is "C:\\secrets". The path for Linux container is "/var/secrets".
|
|
1075
|
-
*
|
|
1076
|
-
*/
|
|
1077
|
-
export interface Setting {
|
|
1078
|
-
/**
|
|
1079
|
-
* @member {string} [name] The name of the setting.
|
|
1080
|
-
*/
|
|
1081
|
-
name?: string;
|
|
1082
|
-
/**
|
|
1083
|
-
* @member {string} [value] The value of the setting.
|
|
1084
|
-
*/
|
|
1085
|
-
value?: string;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* @interface
|
|
1090
|
-
* An interface representing ContainerLabel.
|
|
1091
|
-
* Describes a container label.
|
|
1092
|
-
*
|
|
1093
|
-
*/
|
|
1094
|
-
export interface ContainerLabel {
|
|
1095
|
-
/**
|
|
1096
|
-
* @member {string} name The name of the container label.
|
|
1097
|
-
*/
|
|
1098
|
-
name: string;
|
|
1099
|
-
/**
|
|
1100
|
-
* @member {string} value The value of the container label.
|
|
1101
|
-
*/
|
|
1102
|
-
value: string;
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* @interface
|
|
1107
|
-
* An interface representing EndpointProperties.
|
|
1108
|
-
* Describes a container endpoint.
|
|
1109
|
-
*
|
|
1110
|
-
*/
|
|
1111
|
-
export interface EndpointProperties {
|
|
1112
|
-
/**
|
|
1113
|
-
* @member {string} name The name of the endpoint.
|
|
1114
|
-
*/
|
|
1115
|
-
name: string;
|
|
1116
|
-
/**
|
|
1117
|
-
* @member {number} [port] Port used by the container.
|
|
1118
|
-
*/
|
|
1119
|
-
port?: number;
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* @interface
|
|
1124
|
-
* An interface representing ResourceRequests.
|
|
1125
|
-
* This type describes the requested resources for a given container. It
|
|
1126
|
-
* describes the least amount of resources required for the container. A
|
|
1127
|
-
* container can consume more than requested resources up to the specified
|
|
1128
|
-
* limits before being restarted. Currently, the requested resources are
|
|
1129
|
-
* treated as limits.
|
|
1130
|
-
*
|
|
1131
|
-
*/
|
|
1132
|
-
export interface ResourceRequests {
|
|
1133
|
-
/**
|
|
1134
|
-
* @member {number} memoryInGB The memory request in GB for this container.
|
|
1135
|
-
*/
|
|
1136
|
-
memoryInGB: number;
|
|
1137
|
-
/**
|
|
1138
|
-
* @member {number} cpu Requested number of CPU cores. At present, only full
|
|
1139
|
-
* cores are supported.
|
|
1140
|
-
*/
|
|
1141
|
-
cpu: number;
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
* @interface
|
|
1146
|
-
* An interface representing ResourceLimits.
|
|
1147
|
-
* This type describes the resource limits for a given container. It describes
|
|
1148
|
-
* the most amount of resources a container is allowed to use before being
|
|
1149
|
-
* restarted.
|
|
1150
|
-
*
|
|
1151
|
-
*/
|
|
1152
|
-
export interface ResourceLimits {
|
|
1153
|
-
/**
|
|
1154
|
-
* @member {number} [memoryInGB] The memory limit in GB.
|
|
1155
|
-
*/
|
|
1156
|
-
memoryInGB?: number;
|
|
1157
|
-
/**
|
|
1158
|
-
* @member {number} [cpu] CPU limits in cores. At present, only full cores
|
|
1159
|
-
* are supported.
|
|
1160
|
-
*/
|
|
1161
|
-
cpu?: number;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* @interface
|
|
1166
|
-
* An interface representing ResourceRequirements.
|
|
1167
|
-
* This type describes the resource requirements for a container or a service.
|
|
1168
|
-
*
|
|
1169
|
-
*/
|
|
1170
|
-
export interface ResourceRequirements {
|
|
1171
|
-
/**
|
|
1172
|
-
* @member {ResourceRequests} requests Describes the requested resources for
|
|
1173
|
-
* a given container.
|
|
1174
|
-
*/
|
|
1175
|
-
requests: ResourceRequests;
|
|
1176
|
-
/**
|
|
1177
|
-
* @member {ResourceLimits} [limits] Describes the maximum limits on the
|
|
1178
|
-
* resources for a given container.
|
|
1179
|
-
*/
|
|
1180
|
-
limits?: ResourceLimits;
|
|
1181
494
|
}
|
|
1182
495
|
|
|
1183
|
-
/**
|
|
1184
|
-
* @interface
|
|
1185
|
-
* An interface representing DiagnosticsRef.
|
|
1186
|
-
* Reference to sinks in DiagnosticsDescription.
|
|
1187
|
-
*
|
|
1188
|
-
*/
|
|
496
|
+
/** Reference to sinks in DiagnosticsDescription. */
|
|
1189
497
|
export interface DiagnosticsRef {
|
|
1190
|
-
/**
|
|
1191
|
-
* @member {boolean} [enabled] Status of whether or not sinks are enabled.
|
|
1192
|
-
*/
|
|
498
|
+
/** Status of whether or not sinks are enabled. */
|
|
1193
499
|
enabled?: boolean;
|
|
1194
|
-
/**
|
|
1195
|
-
* @member {string[]} [sinkRefs] List of sinks to be used if enabled.
|
|
1196
|
-
* References the list of sinks in DiagnosticsDescription.
|
|
1197
|
-
*/
|
|
500
|
+
/** List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription. */
|
|
1198
501
|
sinkRefs?: string[];
|
|
1199
502
|
}
|
|
1200
503
|
|
|
1201
|
-
/**
|
|
1202
|
-
* @interface
|
|
1203
|
-
* An interface representing ReliableCollectionsRef.
|
|
1204
|
-
* Specifying this parameter adds support for reliable collections
|
|
1205
|
-
*
|
|
1206
|
-
*/
|
|
504
|
+
/** Specifying this parameter adds support for reliable collections */
|
|
1207
505
|
export interface ReliableCollectionsRef {
|
|
1208
|
-
/**
|
|
1209
|
-
* @member {string} name Name of ReliableCollection resource. Right now it's
|
|
1210
|
-
* not used and you can use any string.
|
|
1211
|
-
*/
|
|
506
|
+
/** Name of ReliableCollection resource. Right now it's not used and you can use any string. */
|
|
1212
507
|
name: string;
|
|
1213
|
-
/**
|
|
1214
|
-
* @member {boolean} [doNotPersistState] False (the default) if
|
|
1215
|
-
* ReliableCollections state is persisted to disk as usual. True if you do
|
|
1216
|
-
* not want to persist state, in which case replication is still enabled and
|
|
1217
|
-
* you can use ReliableCollections as distributed cache.
|
|
1218
|
-
*/
|
|
508
|
+
/** False (the default) if ReliableCollections state is persisted to disk as usual. True if you do not want to persist state, in which case replication is still enabled and you can use ReliableCollections as distributed cache. */
|
|
1219
509
|
doNotPersistState?: boolean;
|
|
1220
510
|
}
|
|
1221
511
|
|
|
1222
|
-
/**
|
|
1223
|
-
* @interface
|
|
1224
|
-
* An interface representing ContainerState.
|
|
1225
|
-
* The container state.
|
|
1226
|
-
*
|
|
1227
|
-
*/
|
|
1228
|
-
export interface ContainerState {
|
|
1229
|
-
/**
|
|
1230
|
-
* @member {string} [state] The state of this container
|
|
1231
|
-
*/
|
|
1232
|
-
state?: string;
|
|
1233
|
-
/**
|
|
1234
|
-
* @member {Date} [startTime] Date/time when the container state started.
|
|
1235
|
-
*/
|
|
1236
|
-
startTime?: Date;
|
|
1237
|
-
/**
|
|
1238
|
-
* @member {string} [exitCode] The container exit code.
|
|
1239
|
-
*/
|
|
1240
|
-
exitCode?: string;
|
|
1241
|
-
/**
|
|
1242
|
-
* @member {Date} [finishTime] Date/time when the container state finished.
|
|
1243
|
-
*/
|
|
1244
|
-
finishTime?: Date;
|
|
1245
|
-
/**
|
|
1246
|
-
* @member {string} [detailStatus] Human-readable status of this state.
|
|
1247
|
-
*/
|
|
1248
|
-
detailStatus?: string;
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
/**
|
|
1252
|
-
* @interface
|
|
1253
|
-
* An interface representing ContainerEvent.
|
|
1254
|
-
* A container event.
|
|
1255
|
-
*
|
|
1256
|
-
*/
|
|
1257
|
-
export interface ContainerEvent {
|
|
1258
|
-
/**
|
|
1259
|
-
* @member {string} [name] The name of the container event.
|
|
1260
|
-
*/
|
|
1261
|
-
name?: string;
|
|
1262
|
-
/**
|
|
1263
|
-
* @member {number} [count] The count of the event.
|
|
1264
|
-
*/
|
|
1265
|
-
count?: number;
|
|
1266
|
-
/**
|
|
1267
|
-
* @member {string} [firstTimestamp] Date/time of the first event.
|
|
1268
|
-
*/
|
|
1269
|
-
firstTimestamp?: string;
|
|
1270
|
-
/**
|
|
1271
|
-
* @member {string} [lastTimestamp] Date/time of the last event.
|
|
1272
|
-
*/
|
|
1273
|
-
lastTimestamp?: string;
|
|
1274
|
-
/**
|
|
1275
|
-
* @member {string} [message] The event message
|
|
1276
|
-
*/
|
|
1277
|
-
message?: string;
|
|
1278
|
-
/**
|
|
1279
|
-
* @member {string} [type] The event type.
|
|
1280
|
-
*/
|
|
1281
|
-
type?: string;
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
/**
|
|
1285
|
-
* @interface
|
|
1286
|
-
* An interface representing ContainerInstanceView.
|
|
1287
|
-
* Runtime information of a container instance.
|
|
1288
|
-
*
|
|
1289
|
-
*/
|
|
512
|
+
/** Runtime information of a container instance. */
|
|
1290
513
|
export interface ContainerInstanceView {
|
|
1291
|
-
/**
|
|
1292
|
-
* @member {number} [restartCount] The number of times the container has been
|
|
1293
|
-
* restarted.
|
|
1294
|
-
*/
|
|
514
|
+
/** The number of times the container has been restarted. */
|
|
1295
515
|
restartCount?: number;
|
|
1296
|
-
/**
|
|
1297
|
-
* @member {ContainerState} [currentState] Current container instance state.
|
|
1298
|
-
*/
|
|
516
|
+
/** Current container instance state. */
|
|
1299
517
|
currentState?: ContainerState;
|
|
1300
|
-
/**
|
|
1301
|
-
* @member {ContainerState} [previousState] Previous container instance
|
|
1302
|
-
* state.
|
|
1303
|
-
*/
|
|
518
|
+
/** Previous container instance state. */
|
|
1304
519
|
previousState?: ContainerState;
|
|
1305
|
-
/**
|
|
1306
|
-
* @member {ContainerEvent[]} [events] The events of this container instance.
|
|
1307
|
-
*/
|
|
520
|
+
/** The events of this container instance. */
|
|
1308
521
|
events?: ContainerEvent[];
|
|
1309
522
|
}
|
|
1310
523
|
|
|
1311
|
-
/**
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
* @member {string} image The Container image to use.
|
|
1324
|
-
*/
|
|
1325
|
-
image: string;
|
|
1326
|
-
/**
|
|
1327
|
-
* @member {ImageRegistryCredential} [imageRegistryCredential] Image registry
|
|
1328
|
-
* credential.
|
|
1329
|
-
*/
|
|
1330
|
-
imageRegistryCredential?: ImageRegistryCredential;
|
|
1331
|
-
/**
|
|
1332
|
-
* @member {string} [entrypoint] Override for the default entry point in the
|
|
1333
|
-
* container.
|
|
1334
|
-
*/
|
|
1335
|
-
entrypoint?: string;
|
|
1336
|
-
/**
|
|
1337
|
-
* @member {string[]} [commands] Command array to execute within the
|
|
1338
|
-
* container in exec form.
|
|
1339
|
-
*/
|
|
1340
|
-
commands?: string[];
|
|
1341
|
-
/**
|
|
1342
|
-
* @member {EnvironmentVariable[]} [environmentVariables] The environment
|
|
1343
|
-
* variables to set in this container
|
|
1344
|
-
*/
|
|
1345
|
-
environmentVariables?: EnvironmentVariable[];
|
|
1346
|
-
/**
|
|
1347
|
-
* @member {Setting[]} [settings] The settings to set in this container. The
|
|
1348
|
-
* setting file path can be fetched from environment variable
|
|
1349
|
-
* "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The
|
|
1350
|
-
* path for Linux container is "/var/secrets".
|
|
1351
|
-
*/
|
|
1352
|
-
settings?: Setting[];
|
|
1353
|
-
/**
|
|
1354
|
-
* @member {ContainerLabel[]} [labels] The labels to set in this container.
|
|
1355
|
-
*/
|
|
1356
|
-
labels?: ContainerLabel[];
|
|
1357
|
-
/**
|
|
1358
|
-
* @member {EndpointProperties[]} [endpoints] The endpoints exposed by this
|
|
1359
|
-
* container.
|
|
1360
|
-
*/
|
|
1361
|
-
endpoints?: EndpointProperties[];
|
|
1362
|
-
/**
|
|
1363
|
-
* @member {ResourceRequirements} resources The resources required by this
|
|
1364
|
-
* container.
|
|
1365
|
-
*/
|
|
1366
|
-
resources: ResourceRequirements;
|
|
1367
|
-
/**
|
|
1368
|
-
* @member {VolumeReference[]} [volumeRefs] Volumes to be attached to the
|
|
1369
|
-
* container. The lifetime of these volumes is independent of the
|
|
1370
|
-
* application's lifetime.
|
|
1371
|
-
*/
|
|
1372
|
-
volumeRefs?: VolumeReference[];
|
|
1373
|
-
/**
|
|
1374
|
-
* @member {ApplicationScopedVolume[]} [volumes] Volumes to be attached to
|
|
1375
|
-
* the container. The lifetime of these volumes is scoped to the
|
|
1376
|
-
* application's lifetime.
|
|
1377
|
-
*/
|
|
1378
|
-
volumes?: ApplicationScopedVolume[];
|
|
1379
|
-
/**
|
|
1380
|
-
* @member {DiagnosticsRef} [diagnostics] Reference to sinks in
|
|
1381
|
-
* DiagnosticsDescription.
|
|
1382
|
-
*/
|
|
1383
|
-
diagnostics?: DiagnosticsRef;
|
|
1384
|
-
/**
|
|
1385
|
-
* @member {ReliableCollectionsRef[]} [reliableCollectionsRefs] A list of
|
|
1386
|
-
* ReliableCollection resources used by this particular code package. Please
|
|
1387
|
-
* refer to ReliablecollectionsRef for more details.
|
|
1388
|
-
*/
|
|
1389
|
-
reliableCollectionsRefs?: ReliableCollectionsRef[];
|
|
1390
|
-
/**
|
|
1391
|
-
* @member {ContainerInstanceView} [instanceView] Runtime information of a
|
|
1392
|
-
* container instance.
|
|
1393
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1394
|
-
* the server.**
|
|
1395
|
-
*/
|
|
1396
|
-
readonly instanceView?: ContainerInstanceView;
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
/**
|
|
1400
|
-
* Contains the possible cases for AutoScalingTrigger.
|
|
1401
|
-
*/
|
|
1402
|
-
export type AutoScalingTriggerUnion = AutoScalingTrigger | AverageLoadScalingTrigger;
|
|
1403
|
-
|
|
1404
|
-
/**
|
|
1405
|
-
* @interface
|
|
1406
|
-
* An interface representing AutoScalingTrigger.
|
|
1407
|
-
* Describes the trigger for performing auto scaling operation.
|
|
1408
|
-
*
|
|
1409
|
-
*/
|
|
1410
|
-
export interface AutoScalingTrigger {
|
|
1411
|
-
/**
|
|
1412
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1413
|
-
*/
|
|
1414
|
-
kind: "AutoScalingTrigger";
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
/**
|
|
1418
|
-
* Contains the possible cases for AutoScalingMechanism.
|
|
1419
|
-
*/
|
|
1420
|
-
export type AutoScalingMechanismUnion = AutoScalingMechanism | AddRemoveReplicaScalingMechanism;
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
* @interface
|
|
1424
|
-
* An interface representing AutoScalingMechanism.
|
|
1425
|
-
* Describes the mechanism for performing auto scaling operation. Derived
|
|
1426
|
-
* classes will describe the actual mechanism.
|
|
1427
|
-
*
|
|
1428
|
-
*/
|
|
1429
|
-
export interface AutoScalingMechanism {
|
|
1430
|
-
/**
|
|
1431
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1432
|
-
*/
|
|
1433
|
-
kind: "AutoScalingMechanism";
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
/**
|
|
1437
|
-
* @interface
|
|
1438
|
-
* An interface representing AutoScalingPolicy.
|
|
1439
|
-
* Describes the auto scaling policy
|
|
1440
|
-
*
|
|
1441
|
-
*/
|
|
1442
|
-
export interface AutoScalingPolicy {
|
|
1443
|
-
/**
|
|
1444
|
-
* @member {string} name The name of the auto scaling policy.
|
|
1445
|
-
*/
|
|
1446
|
-
name: string;
|
|
1447
|
-
/**
|
|
1448
|
-
* @member {AutoScalingTriggerUnion} trigger Determines when auto scaling
|
|
1449
|
-
* operation will be invoked.
|
|
1450
|
-
*/
|
|
1451
|
-
trigger: AutoScalingTriggerUnion;
|
|
1452
|
-
/**
|
|
1453
|
-
* @member {AutoScalingMechanismUnion} mechanism The mechanism that is used
|
|
1454
|
-
* to scale when auto scaling operation is invoked.
|
|
1455
|
-
*/
|
|
1456
|
-
mechanism: AutoScalingMechanismUnion;
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
* @interface
|
|
1461
|
-
* An interface representing ServiceResourceDescription.
|
|
1462
|
-
* This type describes a service resource.
|
|
1463
|
-
*
|
|
1464
|
-
* @extends ManagedProxyResource
|
|
1465
|
-
*/
|
|
1466
|
-
export interface ServiceResourceDescription extends ManagedProxyResource {
|
|
1467
|
-
/**
|
|
1468
|
-
* @member {string} [provisioningState] State of the resource.
|
|
1469
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1470
|
-
* the server.**
|
|
1471
|
-
*/
|
|
1472
|
-
readonly provisioningState?: string;
|
|
1473
|
-
/**
|
|
1474
|
-
* @member {OperatingSystemType} osType The operation system required by the
|
|
1475
|
-
* code in service. Possible values include: 'Linux', 'Windows'
|
|
1476
|
-
*/
|
|
1477
|
-
osType: OperatingSystemType;
|
|
1478
|
-
/**
|
|
1479
|
-
* @member {ContainerCodePackageProperties[]} codePackages Describes the set
|
|
1480
|
-
* of code packages that forms the service. A code package describes the
|
|
1481
|
-
* container and the properties for running it. All the code packages are
|
|
1482
|
-
* started together on the same host and share the same context (network,
|
|
1483
|
-
* process etc.).
|
|
1484
|
-
*/
|
|
1485
|
-
codePackages: ContainerCodePackageProperties[];
|
|
1486
|
-
/**
|
|
1487
|
-
* @member {NetworkRef[]} [networkRefs] The names of the private networks
|
|
1488
|
-
* that this service needs to be part of.
|
|
1489
|
-
*/
|
|
1490
|
-
networkRefs?: NetworkRef[];
|
|
1491
|
-
/**
|
|
1492
|
-
* @member {DiagnosticsRef} [diagnostics] Reference to sinks in
|
|
1493
|
-
* DiagnosticsDescription.
|
|
1494
|
-
*/
|
|
1495
|
-
diagnostics?: DiagnosticsRef;
|
|
1496
|
-
/**
|
|
1497
|
-
* @member {string} [description] User readable description of the service.
|
|
1498
|
-
*/
|
|
1499
|
-
description?: string;
|
|
1500
|
-
/**
|
|
1501
|
-
* @member {number} [replicaCount] The number of replicas of the service to
|
|
1502
|
-
* create. Defaults to 1 if not specified.
|
|
1503
|
-
*/
|
|
1504
|
-
replicaCount?: number;
|
|
1505
|
-
/**
|
|
1506
|
-
* @member {AutoScalingPolicy[]} [autoScalingPolicies] Auto scaling policies
|
|
1507
|
-
*/
|
|
1508
|
-
autoScalingPolicies?: AutoScalingPolicy[];
|
|
1509
|
-
/**
|
|
1510
|
-
* @member {ResourceStatus} [status] Status of the service. Possible values
|
|
1511
|
-
* include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
|
|
1512
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1513
|
-
* the server.**
|
|
1514
|
-
*/
|
|
1515
|
-
readonly status?: ResourceStatus;
|
|
1516
|
-
/**
|
|
1517
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
1518
|
-
* current status of the service.
|
|
1519
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1520
|
-
* the server.**
|
|
1521
|
-
*/
|
|
1522
|
-
readonly statusDetails?: string;
|
|
1523
|
-
/**
|
|
1524
|
-
* @member {HealthState} [healthState] Describes the health state of an
|
|
1525
|
-
* application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
|
|
1526
|
-
* 'Error', 'Unknown'
|
|
1527
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1528
|
-
* the server.**
|
|
1529
|
-
*/
|
|
1530
|
-
readonly healthState?: HealthState;
|
|
1531
|
-
/**
|
|
1532
|
-
* @member {string} [unhealthyEvaluation] When the service's health state is
|
|
1533
|
-
* not 'Ok', this additional details from service fabric Health Manager for
|
|
1534
|
-
* the user to know why the service is marked unhealthy.
|
|
1535
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1536
|
-
* the server.**
|
|
1537
|
-
*/
|
|
1538
|
-
readonly unhealthyEvaluation?: string;
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
* Contains the possible cases for DiagnosticsSinkProperties.
|
|
1543
|
-
*/
|
|
1544
|
-
export type DiagnosticsSinkPropertiesUnion = DiagnosticsSinkProperties | AzureInternalMonitoringPipelineSinkDescription;
|
|
1545
|
-
|
|
1546
|
-
/**
|
|
1547
|
-
* @interface
|
|
1548
|
-
* An interface representing DiagnosticsSinkProperties.
|
|
1549
|
-
* Properties of a DiagnosticsSink.
|
|
1550
|
-
*
|
|
1551
|
-
*/
|
|
1552
|
-
export interface DiagnosticsSinkProperties {
|
|
1553
|
-
/**
|
|
1554
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1555
|
-
*/
|
|
1556
|
-
kind: "DiagnosticsSinkProperties";
|
|
1557
|
-
/**
|
|
1558
|
-
* @member {string} [name] Name of the sink. This value is referenced by
|
|
1559
|
-
* DiagnosticsReferenceDescription
|
|
1560
|
-
*/
|
|
1561
|
-
name?: string;
|
|
1562
|
-
/**
|
|
1563
|
-
* @member {string} [description] A description of the sink.
|
|
1564
|
-
*/
|
|
1565
|
-
description?: string;
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
/**
|
|
1569
|
-
* @interface
|
|
1570
|
-
* An interface representing DiagnosticsDescription.
|
|
1571
|
-
* Describes the diagnostics options available
|
|
1572
|
-
*
|
|
1573
|
-
*/
|
|
1574
|
-
export interface DiagnosticsDescription {
|
|
1575
|
-
/**
|
|
1576
|
-
* @member {DiagnosticsSinkPropertiesUnion[]} [sinks] List of supported sinks
|
|
1577
|
-
* that can be referenced.
|
|
1578
|
-
*/
|
|
1579
|
-
sinks?: DiagnosticsSinkPropertiesUnion[];
|
|
1580
|
-
/**
|
|
1581
|
-
* @member {boolean} [enabled] Status of whether or not sinks are enabled.
|
|
1582
|
-
*/
|
|
1583
|
-
enabled?: boolean;
|
|
1584
|
-
/**
|
|
1585
|
-
* @member {string[]} [defaultSinkRefs] The sinks to be used if diagnostics
|
|
1586
|
-
* is enabled. Sink choices can be overridden at the service and code package
|
|
1587
|
-
* level.
|
|
1588
|
-
*/
|
|
1589
|
-
defaultSinkRefs?: string[];
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
/**
|
|
1593
|
-
* @interface
|
|
1594
|
-
* An interface representing ApplicationProperties.
|
|
1595
|
-
* Describes properties of a application resource.
|
|
1596
|
-
*
|
|
1597
|
-
*/
|
|
1598
|
-
export interface ApplicationProperties {
|
|
1599
|
-
/**
|
|
1600
|
-
* @member {string} [description] User readable description of the
|
|
1601
|
-
* application.
|
|
1602
|
-
*/
|
|
1603
|
-
description?: string;
|
|
1604
|
-
/**
|
|
1605
|
-
* @member {ServiceResourceDescription[]} [services] Describes the services
|
|
1606
|
-
* in the application. This property is used to create or modify services of
|
|
1607
|
-
* the application. On get only the name of the service is returned. The
|
|
1608
|
-
* service description can be obtained by querying for the service resource.
|
|
1609
|
-
*/
|
|
1610
|
-
services?: ServiceResourceDescription[];
|
|
1611
|
-
/**
|
|
1612
|
-
* @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics
|
|
1613
|
-
* definition and usage for an application resource.
|
|
1614
|
-
*/
|
|
1615
|
-
diagnostics?: DiagnosticsDescription;
|
|
1616
|
-
/**
|
|
1617
|
-
* @member {string} [debugParams] Internal - used by Visual Studio to setup
|
|
1618
|
-
* the debugging session on the local development environment.
|
|
1619
|
-
*/
|
|
1620
|
-
debugParams?: string;
|
|
1621
|
-
/**
|
|
1622
|
-
* @member {string[]} [serviceNames] Names of the services in the
|
|
1623
|
-
* application.
|
|
1624
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1625
|
-
* the server.**
|
|
1626
|
-
*/
|
|
1627
|
-
readonly serviceNames?: string[];
|
|
1628
|
-
/**
|
|
1629
|
-
* @member {ResourceStatus} [status] Status of the application. Possible
|
|
1630
|
-
* values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
|
|
1631
|
-
* 'Failed'
|
|
1632
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1633
|
-
* the server.**
|
|
1634
|
-
*/
|
|
1635
|
-
readonly status?: ResourceStatus;
|
|
1636
|
-
/**
|
|
1637
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
1638
|
-
* current status of the application.
|
|
1639
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1640
|
-
* the server.**
|
|
1641
|
-
*/
|
|
1642
|
-
readonly statusDetails?: string;
|
|
1643
|
-
/**
|
|
1644
|
-
* @member {HealthState} [healthState] Describes the health state of an
|
|
1645
|
-
* application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
|
|
1646
|
-
* 'Error', 'Unknown'
|
|
1647
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1648
|
-
* the server.**
|
|
1649
|
-
*/
|
|
1650
|
-
readonly healthState?: HealthState;
|
|
1651
|
-
/**
|
|
1652
|
-
* @member {string} [unhealthyEvaluation] When the application's health state
|
|
1653
|
-
* is not 'Ok', this additional details from service fabric Health Manager
|
|
1654
|
-
* for the user to know why the application is marked unhealthy.
|
|
1655
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1656
|
-
* the server.**
|
|
1657
|
-
*/
|
|
1658
|
-
readonly unhealthyEvaluation?: string;
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
/**
|
|
1662
|
-
* @interface
|
|
1663
|
-
* An interface representing AzureInternalMonitoringPipelineSinkDescription.
|
|
1664
|
-
* Diagnostics settings for Geneva.
|
|
1665
|
-
*
|
|
1666
|
-
*/
|
|
1667
|
-
export interface AzureInternalMonitoringPipelineSinkDescription {
|
|
1668
|
-
/**
|
|
1669
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1670
|
-
*/
|
|
1671
|
-
kind: "AzureInternalMonitoringPipeline";
|
|
1672
|
-
/**
|
|
1673
|
-
* @member {string} [name] Name of the sink. This value is referenced by
|
|
1674
|
-
* DiagnosticsReferenceDescription
|
|
1675
|
-
*/
|
|
1676
|
-
name?: string;
|
|
1677
|
-
/**
|
|
1678
|
-
* @member {string} [description] A description of the sink.
|
|
1679
|
-
*/
|
|
1680
|
-
description?: string;
|
|
1681
|
-
/**
|
|
1682
|
-
* @member {string} [accountName] Azure Internal monitoring pipeline account.
|
|
1683
|
-
*/
|
|
1684
|
-
accountName?: string;
|
|
1685
|
-
/**
|
|
1686
|
-
* @member {string} [namespace] Azure Internal monitoring pipeline account
|
|
1687
|
-
* namespace.
|
|
1688
|
-
*/
|
|
1689
|
-
namespace?: string;
|
|
1690
|
-
/**
|
|
1691
|
-
* @member {string} [maConfigUrl] Azure Internal monitoring agent
|
|
1692
|
-
* configuration.
|
|
1693
|
-
*/
|
|
1694
|
-
maConfigUrl?: string;
|
|
1695
|
-
/**
|
|
1696
|
-
* @member {any} [fluentdConfigUrl] Azure Internal monitoring agent fluentd
|
|
1697
|
-
* configuration.
|
|
1698
|
-
*/
|
|
1699
|
-
fluentdConfigUrl?: any;
|
|
1700
|
-
/**
|
|
1701
|
-
* @member {string} [autoKeyConfigUrl] Azure Internal monitoring pipeline
|
|
1702
|
-
* autokey associated with the certificate.
|
|
1703
|
-
*/
|
|
1704
|
-
autoKeyConfigUrl?: string;
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
/**
|
|
1708
|
-
* @interface
|
|
1709
|
-
* An interface representing ApplicationResourceDescription.
|
|
1710
|
-
* This type describes an application resource.
|
|
1711
|
-
*
|
|
1712
|
-
* @extends TrackedResource
|
|
1713
|
-
*/
|
|
1714
|
-
export interface ApplicationResourceDescription extends TrackedResource {
|
|
1715
|
-
/**
|
|
1716
|
-
* @member {string} [provisioningState] State of the resource.
|
|
1717
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1718
|
-
* the server.**
|
|
1719
|
-
*/
|
|
1720
|
-
readonly provisioningState?: string;
|
|
1721
|
-
/**
|
|
1722
|
-
* @member {string} [description] User readable description of the
|
|
1723
|
-
* application.
|
|
1724
|
-
*/
|
|
1725
|
-
description?: string;
|
|
1726
|
-
/**
|
|
1727
|
-
* @member {ServiceResourceDescription[]} [services] Describes the services
|
|
1728
|
-
* in the application. This property is used to create or modify services of
|
|
1729
|
-
* the application. On get only the name of the service is returned. The
|
|
1730
|
-
* service description can be obtained by querying for the service resource.
|
|
1731
|
-
*/
|
|
1732
|
-
services?: ServiceResourceDescription[];
|
|
1733
|
-
/**
|
|
1734
|
-
* @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics
|
|
1735
|
-
* definition and usage for an application resource.
|
|
1736
|
-
*/
|
|
1737
|
-
diagnostics?: DiagnosticsDescription;
|
|
1738
|
-
/**
|
|
1739
|
-
* @member {string} [debugParams] Internal - used by Visual Studio to setup
|
|
1740
|
-
* the debugging session on the local development environment.
|
|
1741
|
-
*/
|
|
1742
|
-
debugParams?: string;
|
|
1743
|
-
/**
|
|
1744
|
-
* @member {string[]} [serviceNames] Names of the services in the
|
|
1745
|
-
* application.
|
|
1746
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1747
|
-
* the server.**
|
|
1748
|
-
*/
|
|
1749
|
-
readonly serviceNames?: string[];
|
|
1750
|
-
/**
|
|
1751
|
-
* @member {ResourceStatus} [status] Status of the application. Possible
|
|
1752
|
-
* values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
|
|
1753
|
-
* 'Failed'
|
|
1754
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1755
|
-
* the server.**
|
|
1756
|
-
*/
|
|
1757
|
-
readonly status?: ResourceStatus;
|
|
1758
|
-
/**
|
|
1759
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
1760
|
-
* current status of the application.
|
|
1761
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1762
|
-
* the server.**
|
|
1763
|
-
*/
|
|
1764
|
-
readonly statusDetails?: string;
|
|
1765
|
-
/**
|
|
1766
|
-
* @member {HealthState} [healthState] Describes the health state of an
|
|
1767
|
-
* application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
|
|
1768
|
-
* 'Error', 'Unknown'
|
|
1769
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1770
|
-
* the server.**
|
|
1771
|
-
*/
|
|
1772
|
-
readonly healthState?: HealthState;
|
|
1773
|
-
/**
|
|
1774
|
-
* @member {string} [unhealthyEvaluation] When the application's health state
|
|
1775
|
-
* is not 'Ok', this additional details from service fabric Health Manager
|
|
1776
|
-
* for the user to know why the application is marked unhealthy.
|
|
1777
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1778
|
-
* the server.**
|
|
1779
|
-
*/
|
|
1780
|
-
readonly unhealthyEvaluation?: string;
|
|
1781
|
-
}
|
|
1782
|
-
|
|
1783
|
-
/**
|
|
1784
|
-
* @interface
|
|
1785
|
-
* An interface representing AddRemoveReplicaScalingMechanism.
|
|
1786
|
-
* Describes the horizontal auto scaling mechanism that adds or removes
|
|
1787
|
-
* replicas (containers or container groups).
|
|
1788
|
-
*
|
|
1789
|
-
*/
|
|
1790
|
-
export interface AddRemoveReplicaScalingMechanism {
|
|
1791
|
-
/**
|
|
1792
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1793
|
-
*/
|
|
1794
|
-
kind: "AddRemoveReplica";
|
|
1795
|
-
/**
|
|
1796
|
-
* @member {number} minCount Minimum number of containers (scale down won't
|
|
1797
|
-
* be performed below this number).
|
|
1798
|
-
*/
|
|
1799
|
-
minCount: number;
|
|
1800
|
-
/**
|
|
1801
|
-
* @member {number} maxCount Maximum number of containers (scale up won't be
|
|
1802
|
-
* performed above this number).
|
|
1803
|
-
*/
|
|
1804
|
-
maxCount: number;
|
|
1805
|
-
/**
|
|
1806
|
-
* @member {number} scaleIncrement Each time auto scaling is performed, this
|
|
1807
|
-
* number of containers will be added or removed.
|
|
1808
|
-
*/
|
|
1809
|
-
scaleIncrement: number;
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
/**
|
|
1813
|
-
* Contains the possible cases for AutoScalingMetric.
|
|
1814
|
-
*/
|
|
1815
|
-
export type AutoScalingMetricUnion = AutoScalingMetric | AutoScalingResourceMetric;
|
|
1816
|
-
|
|
1817
|
-
/**
|
|
1818
|
-
* @interface
|
|
1819
|
-
* An interface representing AutoScalingMetric.
|
|
1820
|
-
* Describes the metric that is used for triggering auto scaling operation.
|
|
1821
|
-
* Derived classes will describe resources or metrics.
|
|
1822
|
-
*
|
|
1823
|
-
*/
|
|
1824
|
-
export interface AutoScalingMetric {
|
|
1825
|
-
/**
|
|
1826
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1827
|
-
*/
|
|
1828
|
-
kind: "AutoScalingMetric";
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
/**
|
|
1832
|
-
* @interface
|
|
1833
|
-
* An interface representing AutoScalingResourceMetric.
|
|
1834
|
-
* Describes the resource that is used for triggering auto scaling.
|
|
1835
|
-
*
|
|
1836
|
-
*/
|
|
1837
|
-
export interface AutoScalingResourceMetric {
|
|
1838
|
-
/**
|
|
1839
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1840
|
-
*/
|
|
1841
|
-
kind: "Resource";
|
|
1842
|
-
/**
|
|
1843
|
-
* @member {AutoScalingResourceMetricName} name Name of the resource.
|
|
1844
|
-
* Possible values include: 'cpu', 'memoryInGB'
|
|
1845
|
-
*/
|
|
1846
|
-
name: AutoScalingResourceMetricName;
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
/**
|
|
1850
|
-
* @interface
|
|
1851
|
-
* An interface representing ServiceProperties.
|
|
1852
|
-
* Describes properties of a service resource.
|
|
1853
|
-
*
|
|
1854
|
-
*/
|
|
1855
|
-
export interface ServiceProperties {
|
|
1856
|
-
/**
|
|
1857
|
-
* @member {string} [description] User readable description of the service.
|
|
1858
|
-
*/
|
|
1859
|
-
description?: string;
|
|
1860
|
-
/**
|
|
1861
|
-
* @member {number} [replicaCount] The number of replicas of the service to
|
|
1862
|
-
* create. Defaults to 1 if not specified.
|
|
1863
|
-
*/
|
|
1864
|
-
replicaCount?: number;
|
|
1865
|
-
/**
|
|
1866
|
-
* @member {AutoScalingPolicy[]} [autoScalingPolicies] Auto scaling policies
|
|
1867
|
-
*/
|
|
1868
|
-
autoScalingPolicies?: AutoScalingPolicy[];
|
|
1869
|
-
/**
|
|
1870
|
-
* @member {ResourceStatus} [status] Status of the service. Possible values
|
|
1871
|
-
* include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
|
|
1872
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1873
|
-
* the server.**
|
|
1874
|
-
*/
|
|
1875
|
-
readonly status?: ResourceStatus;
|
|
1876
|
-
/**
|
|
1877
|
-
* @member {string} [statusDetails] Gives additional information about the
|
|
1878
|
-
* current status of the service.
|
|
1879
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1880
|
-
* the server.**
|
|
1881
|
-
*/
|
|
1882
|
-
readonly statusDetails?: string;
|
|
1883
|
-
/**
|
|
1884
|
-
* @member {HealthState} [healthState] Describes the health state of an
|
|
1885
|
-
* application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
|
|
1886
|
-
* 'Error', 'Unknown'
|
|
1887
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1888
|
-
* the server.**
|
|
1889
|
-
*/
|
|
1890
|
-
readonly healthState?: HealthState;
|
|
1891
|
-
/**
|
|
1892
|
-
* @member {string} [unhealthyEvaluation] When the service's health state is
|
|
1893
|
-
* not 'Ok', this additional details from service fabric Health Manager for
|
|
1894
|
-
* the user to know why the service is marked unhealthy.
|
|
1895
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
1896
|
-
* the server.**
|
|
1897
|
-
*/
|
|
1898
|
-
readonly unhealthyEvaluation?: string;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* @interface
|
|
1903
|
-
* An interface representing ServiceReplicaProperties.
|
|
1904
|
-
* Describes the properties of a service replica.
|
|
1905
|
-
*
|
|
1906
|
-
*/
|
|
1907
|
-
export interface ServiceReplicaProperties {
|
|
1908
|
-
/**
|
|
1909
|
-
* @member {OperatingSystemType} osType The operation system required by the
|
|
1910
|
-
* code in service. Possible values include: 'Linux', 'Windows'
|
|
1911
|
-
*/
|
|
1912
|
-
osType: OperatingSystemType;
|
|
1913
|
-
/**
|
|
1914
|
-
* @member {ContainerCodePackageProperties[]} codePackages Describes the set
|
|
1915
|
-
* of code packages that forms the service. A code package describes the
|
|
1916
|
-
* container and the properties for running it. All the code packages are
|
|
1917
|
-
* started together on the same host and share the same context (network,
|
|
1918
|
-
* process etc.).
|
|
1919
|
-
*/
|
|
1920
|
-
codePackages: ContainerCodePackageProperties[];
|
|
1921
|
-
/**
|
|
1922
|
-
* @member {NetworkRef[]} [networkRefs] The names of the private networks
|
|
1923
|
-
* that this service needs to be part of.
|
|
1924
|
-
*/
|
|
1925
|
-
networkRefs?: NetworkRef[];
|
|
1926
|
-
/**
|
|
1927
|
-
* @member {DiagnosticsRef} [diagnostics] Reference to sinks in
|
|
1928
|
-
* DiagnosticsDescription.
|
|
1929
|
-
*/
|
|
1930
|
-
diagnostics?: DiagnosticsRef;
|
|
524
|
+
/** The container state. */
|
|
525
|
+
export interface ContainerState {
|
|
526
|
+
/** The state of this container */
|
|
527
|
+
state?: string;
|
|
528
|
+
/** Date/time when the container state started. */
|
|
529
|
+
startTime?: Date;
|
|
530
|
+
/** The container exit code. */
|
|
531
|
+
exitCode?: string;
|
|
532
|
+
/** Date/time when the container state finished. */
|
|
533
|
+
finishTime?: Date;
|
|
534
|
+
/** Human-readable status of this state. */
|
|
535
|
+
detailStatus?: string;
|
|
1931
536
|
}
|
|
1932
537
|
|
|
1933
|
-
/**
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
*/
|
|
1940
|
-
|
|
1941
|
-
/**
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
538
|
+
/** A container event. */
|
|
539
|
+
export interface ContainerEvent {
|
|
540
|
+
/** The name of the container event. */
|
|
541
|
+
name?: string;
|
|
542
|
+
/** The count of the event. */
|
|
543
|
+
count?: number;
|
|
544
|
+
/** Date/time of the first event. */
|
|
545
|
+
firstTimestamp?: string;
|
|
546
|
+
/** Date/time of the last event. */
|
|
547
|
+
lastTimestamp?: string;
|
|
548
|
+
/** The event message */
|
|
549
|
+
message?: string;
|
|
550
|
+
/** The event type. */
|
|
551
|
+
type?: string;
|
|
1945
552
|
}
|
|
1946
553
|
|
|
1947
|
-
/**
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
* @member {string} kind Polymorphic Discriminator
|
|
1956
|
-
*/
|
|
1957
|
-
kind: "AverageLoad";
|
|
554
|
+
/** Describes properties of a service resource. */
|
|
555
|
+
export interface ServiceProperties {
|
|
556
|
+
/** User readable description of the service. */
|
|
557
|
+
description?: string;
|
|
558
|
+
/** The number of replicas of the service to create. Defaults to 1 if not specified. */
|
|
559
|
+
replicaCount?: number;
|
|
560
|
+
/** Auto scaling policies */
|
|
561
|
+
autoScalingPolicies?: AutoScalingPolicy[];
|
|
1958
562
|
/**
|
|
1959
|
-
*
|
|
1960
|
-
*
|
|
563
|
+
* Status of the service.
|
|
564
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1961
565
|
*/
|
|
1962
|
-
|
|
566
|
+
readonly status?: ResourceStatus;
|
|
1963
567
|
/**
|
|
1964
|
-
*
|
|
1965
|
-
*
|
|
568
|
+
* Gives additional information about the current status of the service.
|
|
569
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1966
570
|
*/
|
|
1967
|
-
|
|
571
|
+
readonly statusDetails?: string;
|
|
1968
572
|
/**
|
|
1969
|
-
*
|
|
1970
|
-
*
|
|
573
|
+
* Describes the health state of an application resource.
|
|
574
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1971
575
|
*/
|
|
1972
|
-
|
|
576
|
+
readonly healthState?: HealthState;
|
|
1973
577
|
/**
|
|
1974
|
-
*
|
|
1975
|
-
*
|
|
578
|
+
* When the service's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the service is marked unhealthy.
|
|
579
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1976
580
|
*/
|
|
1977
|
-
|
|
581
|
+
readonly unhealthyEvaluation?: string;
|
|
1978
582
|
}
|
|
1979
583
|
|
|
1980
|
-
/**
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
* @member {string} [content] Container logs.
|
|
1989
|
-
*/
|
|
1990
|
-
content?: string;
|
|
584
|
+
/** Describes the auto scaling policy */
|
|
585
|
+
export interface AutoScalingPolicy {
|
|
586
|
+
/** The name of the auto scaling policy. */
|
|
587
|
+
name: string;
|
|
588
|
+
/** Determines when auto scaling operation will be invoked. */
|
|
589
|
+
trigger: AutoScalingTriggerUnion;
|
|
590
|
+
/** The mechanism that is used to scale when auto scaling operation is invoked. */
|
|
591
|
+
mechanism: AutoScalingMechanismUnion;
|
|
1991
592
|
}
|
|
1992
593
|
|
|
1993
|
-
/**
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
*
|
|
1998
|
-
* @extends RequestOptionsBase
|
|
1999
|
-
*/
|
|
2000
|
-
export interface CodePackageGetContainerLogsOptionalParams extends msRest.RequestOptionsBase {
|
|
2001
|
-
/**
|
|
2002
|
-
* @member {number} [tail] Number of lines to show from the end of the logs.
|
|
2003
|
-
* Default is 100.
|
|
2004
|
-
*/
|
|
2005
|
-
tail?: number;
|
|
594
|
+
/** Describes the trigger for performing auto scaling operation. */
|
|
595
|
+
export interface AutoScalingTrigger {
|
|
596
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
597
|
+
kind: "AverageLoad";
|
|
2006
598
|
}
|
|
2007
599
|
|
|
2008
|
-
/**
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
*/
|
|
2013
|
-
export interface ServiceFabricMeshManagementClientOptions extends AzureServiceClientOptions {
|
|
2014
|
-
/**
|
|
2015
|
-
* @member {string} [baseUri]
|
|
2016
|
-
*/
|
|
2017
|
-
baseUri?: string;
|
|
600
|
+
/** Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism. */
|
|
601
|
+
export interface AutoScalingMechanism {
|
|
602
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
603
|
+
kind: "AddRemoveReplica";
|
|
2018
604
|
}
|
|
2019
605
|
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
* @interface
|
|
2023
|
-
* An interface representing the OperationListResult.
|
|
2024
|
-
* Describes the result of the request to list Service Fabric operations.
|
|
2025
|
-
*
|
|
2026
|
-
* @extends Array<OperationResult>
|
|
2027
|
-
*/
|
|
2028
|
-
export interface OperationListResult extends Array<OperationResult> {
|
|
606
|
+
/** The resource model definition for Azure Resource Manager proxy resource. It will have everything other than required location and tags. This proxy resource is explicitly created or updated by including it in the parent resource. */
|
|
607
|
+
export interface ManagedProxyResource {
|
|
2029
608
|
/**
|
|
2030
|
-
*
|
|
2031
|
-
*
|
|
2032
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
2033
|
-
* the server.**
|
|
609
|
+
* Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
610
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2034
611
|
*/
|
|
2035
|
-
readonly
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
/**
|
|
2039
|
-
* @interface
|
|
2040
|
-
* An interface representing the SecretResourceDescriptionList.
|
|
2041
|
-
* A pageable list of secret resources.
|
|
2042
|
-
*
|
|
2043
|
-
* @extends Array<SecretResourceDescription>
|
|
2044
|
-
*/
|
|
2045
|
-
export interface SecretResourceDescriptionList extends Array<SecretResourceDescription> {
|
|
612
|
+
readonly id?: string;
|
|
613
|
+
/** The name of the resource */
|
|
614
|
+
name?: string;
|
|
2046
615
|
/**
|
|
2047
|
-
*
|
|
616
|
+
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
|
617
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2048
618
|
*/
|
|
2049
|
-
|
|
619
|
+
readonly type?: string;
|
|
2050
620
|
}
|
|
2051
621
|
|
|
2052
|
-
/**
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
export interface SecretValueResourceDescriptionList extends Array<SecretValueResourceDescription> {
|
|
2061
|
-
/**
|
|
2062
|
-
* @member {string} [nextLink] URI to fetch the next page of the list.
|
|
2063
|
-
*/
|
|
2064
|
-
nextLink?: string;
|
|
622
|
+
/** Describes the diagnostics options available */
|
|
623
|
+
export interface DiagnosticsDescription {
|
|
624
|
+
/** List of supported sinks that can be referenced. */
|
|
625
|
+
sinks?: DiagnosticsSinkPropertiesUnion[];
|
|
626
|
+
/** Status of whether or not sinks are enabled. */
|
|
627
|
+
enabled?: boolean;
|
|
628
|
+
/** The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level. */
|
|
629
|
+
defaultSinkRefs?: string[];
|
|
2065
630
|
}
|
|
2066
631
|
|
|
2067
|
-
/**
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
*/
|
|
2074
|
-
|
|
2075
|
-
/**
|
|
2076
|
-
* @member {string} [nextLink] URI to fetch the next page of the list.
|
|
2077
|
-
*/
|
|
2078
|
-
nextLink?: string;
|
|
632
|
+
/** Properties of a DiagnosticsSink. */
|
|
633
|
+
export interface DiagnosticsSinkProperties {
|
|
634
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
635
|
+
kind: "AzureInternalMonitoringPipeline";
|
|
636
|
+
/** Name of the sink. This value is referenced by DiagnosticsReferenceDescription */
|
|
637
|
+
name?: string;
|
|
638
|
+
/** A description of the sink. */
|
|
639
|
+
description?: string;
|
|
2079
640
|
}
|
|
2080
641
|
|
|
2081
|
-
/**
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
* @extends Array<NetworkResourceDescription>
|
|
2087
|
-
*/
|
|
2088
|
-
export interface NetworkResourceDescriptionList extends Array<NetworkResourceDescription> {
|
|
2089
|
-
/**
|
|
2090
|
-
* @member {string} [nextLink] URI to fetch the next page of the list.
|
|
2091
|
-
*/
|
|
642
|
+
/** A pageable list of application resources. */
|
|
643
|
+
export interface ApplicationResourceDescriptionList {
|
|
644
|
+
/** One page of the list. */
|
|
645
|
+
value?: ApplicationResourceDescription[];
|
|
646
|
+
/** URI to fetch the next page of the list. */
|
|
2092
647
|
nextLink?: string;
|
|
2093
648
|
}
|
|
2094
649
|
|
|
2095
|
-
/**
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
* @extends Array<GatewayResourceDescription>
|
|
2101
|
-
*/
|
|
2102
|
-
export interface GatewayResourceDescriptionList extends Array<GatewayResourceDescription> {
|
|
2103
|
-
/**
|
|
2104
|
-
* @member {string} [nextLink] URI to fetch the next page of the list.
|
|
2105
|
-
*/
|
|
650
|
+
/** A pageable list of service resources. */
|
|
651
|
+
export interface ServiceResourceDescriptionList {
|
|
652
|
+
/** One page of the list. */
|
|
653
|
+
value?: ServiceResourceDescription[];
|
|
654
|
+
/** URI to fetch the next page of the list. */
|
|
2106
655
|
nextLink?: string;
|
|
2107
656
|
}
|
|
2108
657
|
|
|
2109
|
-
/**
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
* @extends Array<ApplicationResourceDescription>
|
|
2115
|
-
*/
|
|
2116
|
-
export interface ApplicationResourceDescriptionList extends Array<ApplicationResourceDescription> {
|
|
2117
|
-
/**
|
|
2118
|
-
* @member {string} [nextLink] URI to fetch the next page of the list.
|
|
2119
|
-
*/
|
|
658
|
+
/** A pageable list of service replicas. */
|
|
659
|
+
export interface ServiceReplicaDescriptionList {
|
|
660
|
+
/** One page of the list. */
|
|
661
|
+
value?: ServiceReplicaDescription[];
|
|
662
|
+
/** URI to fetch the next page of the list. */
|
|
2120
663
|
nextLink?: string;
|
|
2121
664
|
}
|
|
2122
665
|
|
|
2123
|
-
/**
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
*
|
|
2128
|
-
* @extends Array<ServiceResourceDescription>
|
|
2129
|
-
*/
|
|
2130
|
-
export interface ServiceResourceDescriptionList extends Array<ServiceResourceDescription> {
|
|
2131
|
-
/**
|
|
2132
|
-
* @member {string} [nextLink] URI to fetch the next page of the list.
|
|
2133
|
-
*/
|
|
2134
|
-
nextLink?: string;
|
|
666
|
+
/** Container logs. */
|
|
667
|
+
export interface ContainerLogs {
|
|
668
|
+
/** Container logs. */
|
|
669
|
+
content?: string;
|
|
2135
670
|
}
|
|
2136
671
|
|
|
2137
|
-
/**
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
*
|
|
2142
|
-
* @extends Array<ServiceReplicaDescription>
|
|
2143
|
-
*/
|
|
2144
|
-
export interface ServiceReplicaDescriptionList extends Array<ServiceReplicaDescription> {
|
|
2145
|
-
/**
|
|
2146
|
-
* @member {string} [nextLink] URI to fetch the next page of the list.
|
|
2147
|
-
*/
|
|
2148
|
-
nextLink?: string;
|
|
672
|
+
/** Describes the metric that is used for triggering auto scaling operation. Derived classes will describe resources or metrics. */
|
|
673
|
+
export interface AutoScalingMetric {
|
|
674
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
675
|
+
kind: "Resource";
|
|
2149
676
|
}
|
|
2150
677
|
|
|
2151
|
-
/**
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
*/
|
|
2157
|
-
export type ResourceStatus = 'Unknown' | 'Ready' | 'Upgrading' | 'Creating' | 'Deleting' | 'Failed';
|
|
2158
|
-
|
|
2159
|
-
/**
|
|
2160
|
-
* Defines values for HealthState.
|
|
2161
|
-
* Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
|
|
2162
|
-
* @readonly
|
|
2163
|
-
* @enum {string}
|
|
2164
|
-
*/
|
|
2165
|
-
export type HealthState = 'Invalid' | 'Ok' | 'Warning' | 'Error' | 'Unknown';
|
|
2166
|
-
|
|
2167
|
-
/**
|
|
2168
|
-
* Defines values for SecretKind.
|
|
2169
|
-
* Possible values include: 'inlinedValue'
|
|
2170
|
-
* @readonly
|
|
2171
|
-
* @enum {string}
|
|
2172
|
-
*/
|
|
2173
|
-
export type SecretKind = 'inlinedValue';
|
|
678
|
+
/** This type describes the properties of a secret resource, including its kind. */
|
|
679
|
+
export type SecretResourcePropertiesBase = ProvisionedResourceProperties & {
|
|
680
|
+
/** Describes the kind of secret. */
|
|
681
|
+
kind: SecretKind;
|
|
682
|
+
};
|
|
2174
683
|
|
|
2175
|
-
/**
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
* @readonly
|
|
2179
|
-
* @enum {string}
|
|
2180
|
-
*/
|
|
2181
|
-
export type VolumeProvider = 'SFAzureFile';
|
|
684
|
+
/** This type describes properties of a secret value resource. */
|
|
685
|
+
export type SecretValueResourceProperties = ProvisionedResourceProperties &
|
|
686
|
+
SecretValueProperties & {};
|
|
2182
687
|
|
|
2183
|
-
/**
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
* @readonly
|
|
2187
|
-
* @enum {string}
|
|
2188
|
-
*/
|
|
2189
|
-
export type SizeTypes = 'Small' | 'Medium' | 'Large';
|
|
688
|
+
/** This type describes properties of a volume resource. */
|
|
689
|
+
export type VolumeResourceProperties = ProvisionedResourceProperties &
|
|
690
|
+
VolumeProperties & {};
|
|
2190
691
|
|
|
2191
|
-
/**
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
*/
|
|
2197
|
-
export type ApplicationScopedVolumeKind = 'ServiceFabricVolumeDisk';
|
|
692
|
+
/** This type describes the properties of a network resource, including its kind. */
|
|
693
|
+
export type NetworkResourcePropertiesBase = ProvisionedResourceProperties & {
|
|
694
|
+
/** The type of a Service Fabric container network. */
|
|
695
|
+
kind: NetworkKind;
|
|
696
|
+
};
|
|
2198
697
|
|
|
2199
|
-
/**
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
* @readonly
|
|
2203
|
-
* @enum {string}
|
|
2204
|
-
*/
|
|
2205
|
-
export type NetworkKind = 'Local';
|
|
698
|
+
/** This type describes properties of a gateway resource. */
|
|
699
|
+
export type GatewayResourceProperties = ProvisionedResourceProperties &
|
|
700
|
+
GatewayProperties & {};
|
|
2206
701
|
|
|
2207
|
-
/**
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
* @enum {string}
|
|
2212
|
-
*/
|
|
2213
|
-
export type HeaderMatchType = 'exact';
|
|
702
|
+
/** This type describes properties of a service resource. */
|
|
703
|
+
export type ServiceResourceProperties = ProvisionedResourceProperties &
|
|
704
|
+
ServiceReplicaProperties &
|
|
705
|
+
ServiceProperties & {};
|
|
2214
706
|
|
|
2215
|
-
/**
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
* @readonly
|
|
2219
|
-
* @enum {string}
|
|
2220
|
-
*/
|
|
2221
|
-
export type OperatingSystemType = 'Linux' | 'Windows';
|
|
707
|
+
/** This type describes properties of an application resource. */
|
|
708
|
+
export type ApplicationResourceProperties = ProvisionedResourceProperties &
|
|
709
|
+
ApplicationProperties & {};
|
|
2222
710
|
|
|
2223
|
-
/**
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
711
|
+
/** The resource model definition for Azure Resource Manager tracked top-level resource. */
|
|
712
|
+
export type TrackedResource = Resource & {
|
|
713
|
+
/** Resource tags. */
|
|
714
|
+
tags?: { [propertyName: string]: string };
|
|
715
|
+
/** The geo-location where the resource lives */
|
|
716
|
+
location: string;
|
|
717
|
+
};
|
|
2230
718
|
|
|
2231
|
-
/**
|
|
2232
|
-
|
|
2233
|
-
* Possible values include: 'AddRemoveReplica'
|
|
2234
|
-
* @readonly
|
|
2235
|
-
* @enum {string}
|
|
2236
|
-
*/
|
|
2237
|
-
export type AutoScalingMechanismKind = 'AddRemoveReplica';
|
|
719
|
+
/** The resource model definition for Azure Resource Manager proxy resource. It will have everything other than required location and tags. */
|
|
720
|
+
export type ProxyResource = Resource & {};
|
|
2238
721
|
|
|
2239
|
-
/**
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
*/
|
|
2245
|
-
export type AutoScalingMetricKind = 'Resource';
|
|
722
|
+
/** Describes a replica of a service resource. */
|
|
723
|
+
export type ServiceReplicaDescription = ServiceReplicaProperties & {
|
|
724
|
+
/** Name of the replica. */
|
|
725
|
+
replicaName: string;
|
|
726
|
+
};
|
|
2246
727
|
|
|
2247
|
-
/**
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
*/
|
|
2253
|
-
export type AutoScalingResourceMetricName = 'cpu' | 'memoryInGB';
|
|
728
|
+
/** Describes a volume whose lifetime is scoped to the application's lifetime. */
|
|
729
|
+
export type ApplicationScopedVolume = VolumeReference & {
|
|
730
|
+
/** Describes parameters for creating application-scoped volumes. */
|
|
731
|
+
creationParameters: ApplicationScopedVolumeCreationParametersUnion;
|
|
732
|
+
};
|
|
2254
733
|
|
|
2255
|
-
/**
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
734
|
+
/** Describes parameters for creating application-scoped volumes provided by Service Fabric Volume Disks */
|
|
735
|
+
export type ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk = ApplicationScopedVolumeCreationParameters & {
|
|
736
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
737
|
+
kind: "ServiceFabricVolumeDisk";
|
|
738
|
+
/** Volume size */
|
|
739
|
+
sizeDisk: SizeTypes;
|
|
740
|
+
};
|
|
2262
741
|
|
|
2263
|
-
/**
|
|
2264
|
-
|
|
2265
|
-
*/
|
|
2266
|
-
|
|
2267
|
-
/**
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
/**
|
|
2276
|
-
* The response body as parsed JSON or XML
|
|
2277
|
-
*/
|
|
2278
|
-
parsedBody: OperationListResult;
|
|
2279
|
-
};
|
|
742
|
+
/** Describes the average load trigger used for auto scaling. */
|
|
743
|
+
export type AverageLoadScalingTrigger = AutoScalingTrigger & {
|
|
744
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
745
|
+
kind: "AverageLoad";
|
|
746
|
+
/** Description of the metric that is used for scaling. */
|
|
747
|
+
metric: AutoScalingMetricUnion;
|
|
748
|
+
/** Lower load threshold (if average load is below this threshold, service will scale down). */
|
|
749
|
+
lowerLoadThreshold: number;
|
|
750
|
+
/** Upper load threshold (if average load is above this threshold, service will scale up). */
|
|
751
|
+
upperLoadThreshold: number;
|
|
752
|
+
/** Scale interval that indicates how often will this trigger be checked. */
|
|
753
|
+
scaleIntervalInSeconds: number;
|
|
2280
754
|
};
|
|
2281
755
|
|
|
2282
|
-
/**
|
|
2283
|
-
|
|
2284
|
-
*/
|
|
2285
|
-
|
|
2286
|
-
/**
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
*/
|
|
2293
|
-
bodyAsText: string;
|
|
2294
|
-
/**
|
|
2295
|
-
* The response body as parsed JSON or XML
|
|
2296
|
-
*/
|
|
2297
|
-
parsedBody: OperationListResult;
|
|
2298
|
-
};
|
|
756
|
+
/** Describes the horizontal auto scaling mechanism that adds or removes replicas (containers or container groups). */
|
|
757
|
+
export type AddRemoveReplicaScalingMechanism = AutoScalingMechanism & {
|
|
758
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
759
|
+
kind: "AddRemoveReplica";
|
|
760
|
+
/** Minimum number of containers (scale down won't be performed below this number). */
|
|
761
|
+
minCount: number;
|
|
762
|
+
/** Maximum number of containers (scale up won't be performed above this number). */
|
|
763
|
+
maxCount: number;
|
|
764
|
+
/** Each time auto scaling is performed, this number of containers will be added or removed. */
|
|
765
|
+
scaleIncrement: number;
|
|
2299
766
|
};
|
|
2300
767
|
|
|
2301
|
-
/**
|
|
2302
|
-
|
|
2303
|
-
*/
|
|
2304
|
-
export type SecretCreateResponse = SecretResourceDescription & {
|
|
768
|
+
/** This type describes a service resource. */
|
|
769
|
+
export type ServiceResourceDescription = ManagedProxyResource & {
|
|
2305
770
|
/**
|
|
2306
|
-
*
|
|
771
|
+
* State of the resource.
|
|
772
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2307
773
|
*/
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
export type SecretGetResponse = SecretResourceDescription & {
|
|
774
|
+
readonly provisioningState?: string;
|
|
775
|
+
/** The operation system required by the code in service. */
|
|
776
|
+
osType: OperatingSystemType;
|
|
777
|
+
/** Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.). */
|
|
778
|
+
codePackages: ContainerCodePackageProperties[];
|
|
779
|
+
/** The names of the private networks that this service needs to be part of. */
|
|
780
|
+
networkRefs?: NetworkRef[];
|
|
781
|
+
/** Reference to sinks in DiagnosticsDescription. */
|
|
782
|
+
diagnostics?: DiagnosticsRef;
|
|
783
|
+
/** User readable description of the service. */
|
|
784
|
+
description?: string;
|
|
785
|
+
/** The number of replicas of the service to create. Defaults to 1 if not specified. */
|
|
786
|
+
replicaCount?: number;
|
|
787
|
+
/** Auto scaling policies */
|
|
788
|
+
autoScalingPolicies?: AutoScalingPolicy[];
|
|
2324
789
|
/**
|
|
2325
|
-
*
|
|
790
|
+
* Status of the service.
|
|
791
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2326
792
|
*/
|
|
2327
|
-
|
|
2328
|
-
/**
|
|
2329
|
-
* The response body as text (string format)
|
|
2330
|
-
*/
|
|
2331
|
-
bodyAsText: string;
|
|
2332
|
-
/**
|
|
2333
|
-
* The response body as parsed JSON or XML
|
|
2334
|
-
*/
|
|
2335
|
-
parsedBody: SecretResourceDescription;
|
|
2336
|
-
};
|
|
2337
|
-
};
|
|
2338
|
-
|
|
2339
|
-
/**
|
|
2340
|
-
* Contains response data for the listByResourceGroup operation.
|
|
2341
|
-
*/
|
|
2342
|
-
export type SecretListByResourceGroupResponse = SecretResourceDescriptionList & {
|
|
793
|
+
readonly status?: ResourceStatus;
|
|
2343
794
|
/**
|
|
2344
|
-
*
|
|
795
|
+
* Gives additional information about the current status of the service.
|
|
796
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2345
797
|
*/
|
|
2346
|
-
|
|
2347
|
-
/**
|
|
2348
|
-
* The response body as text (string format)
|
|
2349
|
-
*/
|
|
2350
|
-
bodyAsText: string;
|
|
2351
|
-
/**
|
|
2352
|
-
* The response body as parsed JSON or XML
|
|
2353
|
-
*/
|
|
2354
|
-
parsedBody: SecretResourceDescriptionList;
|
|
2355
|
-
};
|
|
2356
|
-
};
|
|
2357
|
-
|
|
2358
|
-
/**
|
|
2359
|
-
* Contains response data for the listBySubscription operation.
|
|
2360
|
-
*/
|
|
2361
|
-
export type SecretListBySubscriptionResponse = SecretResourceDescriptionList & {
|
|
798
|
+
readonly statusDetails?: string;
|
|
2362
799
|
/**
|
|
2363
|
-
*
|
|
800
|
+
* Describes the health state of an application resource.
|
|
801
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2364
802
|
*/
|
|
2365
|
-
|
|
2366
|
-
/**
|
|
2367
|
-
* The response body as text (string format)
|
|
2368
|
-
*/
|
|
2369
|
-
bodyAsText: string;
|
|
2370
|
-
/**
|
|
2371
|
-
* The response body as parsed JSON or XML
|
|
2372
|
-
*/
|
|
2373
|
-
parsedBody: SecretResourceDescriptionList;
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
|
|
2377
|
-
/**
|
|
2378
|
-
* Contains response data for the listByResourceGroupNext operation.
|
|
2379
|
-
*/
|
|
2380
|
-
export type SecretListByResourceGroupNextResponse = SecretResourceDescriptionList & {
|
|
803
|
+
readonly healthState?: HealthState;
|
|
2381
804
|
/**
|
|
2382
|
-
*
|
|
805
|
+
* When the service's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the service is marked unhealthy.
|
|
806
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2383
807
|
*/
|
|
2384
|
-
|
|
2385
|
-
/**
|
|
2386
|
-
* The response body as text (string format)
|
|
2387
|
-
*/
|
|
2388
|
-
bodyAsText: string;
|
|
2389
|
-
/**
|
|
2390
|
-
* The response body as parsed JSON or XML
|
|
2391
|
-
*/
|
|
2392
|
-
parsedBody: SecretResourceDescriptionList;
|
|
2393
|
-
};
|
|
808
|
+
readonly unhealthyEvaluation?: string;
|
|
2394
809
|
};
|
|
2395
810
|
|
|
2396
|
-
/**
|
|
2397
|
-
|
|
2398
|
-
*/
|
|
2399
|
-
|
|
2400
|
-
/**
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
*/
|
|
2411
|
-
parsedBody: SecretResourceDescriptionList;
|
|
2412
|
-
};
|
|
811
|
+
/** Diagnostics settings for Geneva. */
|
|
812
|
+
export type AzureInternalMonitoringPipelineSinkDescription = DiagnosticsSinkProperties & {
|
|
813
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
814
|
+
kind: "AzureInternalMonitoringPipeline";
|
|
815
|
+
/** Azure Internal monitoring pipeline account. */
|
|
816
|
+
accountName?: string;
|
|
817
|
+
/** Azure Internal monitoring pipeline account namespace. */
|
|
818
|
+
namespace?: string;
|
|
819
|
+
/** Azure Internal monitoring agent configuration. */
|
|
820
|
+
maConfigUrl?: string;
|
|
821
|
+
/** Azure Internal monitoring agent fluentd configuration. */
|
|
822
|
+
fluentdConfigUrl?: any;
|
|
823
|
+
/** Azure Internal monitoring pipeline autokey associated with the certificate. */
|
|
824
|
+
autoKeyConfigUrl?: string;
|
|
2413
825
|
};
|
|
2414
826
|
|
|
2415
|
-
/**
|
|
2416
|
-
|
|
2417
|
-
*/
|
|
2418
|
-
|
|
2419
|
-
/**
|
|
2420
|
-
|
|
2421
|
-
*/
|
|
2422
|
-
_response: msRest.HttpResponse & {
|
|
2423
|
-
/**
|
|
2424
|
-
* The response body as text (string format)
|
|
2425
|
-
*/
|
|
2426
|
-
bodyAsText: string;
|
|
2427
|
-
/**
|
|
2428
|
-
* The response body as parsed JSON or XML
|
|
2429
|
-
*/
|
|
2430
|
-
parsedBody: SecretValueResourceDescription;
|
|
2431
|
-
};
|
|
827
|
+
/** Describes the resource that is used for triggering auto scaling. */
|
|
828
|
+
export type AutoScalingResourceMetric = AutoScalingMetric & {
|
|
829
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
830
|
+
kind: "Resource";
|
|
831
|
+
/** Name of the resource. */
|
|
832
|
+
name: AutoScalingResourceMetricName;
|
|
2432
833
|
};
|
|
2433
834
|
|
|
2434
|
-
/**
|
|
2435
|
-
|
|
2436
|
-
*/
|
|
2437
|
-
|
|
835
|
+
/** Describes the properties of a secret resource. */
|
|
836
|
+
export type SecretResourceProperties = SecretResourcePropertiesBase & {
|
|
837
|
+
/** User readable description of the secret. */
|
|
838
|
+
description?: string;
|
|
2438
839
|
/**
|
|
2439
|
-
*
|
|
840
|
+
* Status of the resource.
|
|
841
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2440
842
|
*/
|
|
2441
|
-
|
|
2442
|
-
/**
|
|
2443
|
-
* The response body as text (string format)
|
|
2444
|
-
*/
|
|
2445
|
-
bodyAsText: string;
|
|
2446
|
-
/**
|
|
2447
|
-
* The response body as parsed JSON or XML
|
|
2448
|
-
*/
|
|
2449
|
-
parsedBody: SecretValueResourceDescription;
|
|
2450
|
-
};
|
|
2451
|
-
};
|
|
2452
|
-
|
|
2453
|
-
/**
|
|
2454
|
-
* Contains response data for the list operation.
|
|
2455
|
-
*/
|
|
2456
|
-
export type SecretValueListResponse = SecretValueResourceDescriptionList & {
|
|
843
|
+
readonly status?: ResourceStatus;
|
|
2457
844
|
/**
|
|
2458
|
-
*
|
|
845
|
+
* Gives additional information about the current status of the secret.
|
|
846
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2459
847
|
*/
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
*/
|
|
2464
|
-
bodyAsText: string;
|
|
2465
|
-
/**
|
|
2466
|
-
* The response body as parsed JSON or XML
|
|
2467
|
-
*/
|
|
2468
|
-
parsedBody: SecretValueResourceDescriptionList;
|
|
2469
|
-
};
|
|
848
|
+
readonly statusDetails?: string;
|
|
849
|
+
/** The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed. */
|
|
850
|
+
contentType?: string;
|
|
2470
851
|
};
|
|
2471
852
|
|
|
2472
|
-
/**
|
|
2473
|
-
|
|
2474
|
-
*/
|
|
2475
|
-
|
|
853
|
+
/** Describes properties of a network resource. */
|
|
854
|
+
export type NetworkResourceProperties = NetworkResourcePropertiesBase & {
|
|
855
|
+
/** User readable description of the network. */
|
|
856
|
+
description?: string;
|
|
2476
857
|
/**
|
|
2477
|
-
*
|
|
858
|
+
* Status of the network.
|
|
859
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2478
860
|
*/
|
|
2479
|
-
|
|
2480
|
-
/**
|
|
2481
|
-
* The response body as text (string format)
|
|
2482
|
-
*/
|
|
2483
|
-
bodyAsText: string;
|
|
2484
|
-
/**
|
|
2485
|
-
* The response body as parsed JSON or XML
|
|
2486
|
-
*/
|
|
2487
|
-
parsedBody: SecretValue;
|
|
2488
|
-
};
|
|
2489
|
-
};
|
|
2490
|
-
|
|
2491
|
-
/**
|
|
2492
|
-
* Contains response data for the listNext operation.
|
|
2493
|
-
*/
|
|
2494
|
-
export type SecretValueListNextResponse = SecretValueResourceDescriptionList & {
|
|
861
|
+
readonly status?: ResourceStatus;
|
|
2495
862
|
/**
|
|
2496
|
-
*
|
|
863
|
+
* Gives additional information about the current status of the network.
|
|
864
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2497
865
|
*/
|
|
2498
|
-
|
|
2499
|
-
/**
|
|
2500
|
-
* The response body as text (string format)
|
|
2501
|
-
*/
|
|
2502
|
-
bodyAsText: string;
|
|
2503
|
-
/**
|
|
2504
|
-
* The response body as parsed JSON or XML
|
|
2505
|
-
*/
|
|
2506
|
-
parsedBody: SecretValueResourceDescriptionList;
|
|
2507
|
-
};
|
|
866
|
+
readonly statusDetails?: string;
|
|
2508
867
|
};
|
|
2509
868
|
|
|
2510
|
-
/**
|
|
2511
|
-
|
|
2512
|
-
*/
|
|
2513
|
-
|
|
2514
|
-
/**
|
|
2515
|
-
* The underlying HTTP response.
|
|
2516
|
-
*/
|
|
2517
|
-
_response: msRest.HttpResponse & {
|
|
2518
|
-
/**
|
|
2519
|
-
* The response body as text (string format)
|
|
2520
|
-
*/
|
|
2521
|
-
bodyAsText: string;
|
|
2522
|
-
/**
|
|
2523
|
-
* The response body as parsed JSON or XML
|
|
2524
|
-
*/
|
|
2525
|
-
parsedBody: VolumeResourceDescription;
|
|
2526
|
-
};
|
|
869
|
+
/** This type describes a secret resource. */
|
|
870
|
+
export type SecretResourceDescription = TrackedResource & {
|
|
871
|
+
/** Describes the properties of a secret resource. */
|
|
872
|
+
properties: SecretResourcePropertiesUnion;
|
|
2527
873
|
};
|
|
2528
874
|
|
|
2529
|
-
/**
|
|
2530
|
-
|
|
2531
|
-
*/
|
|
2532
|
-
export type VolumeGetResponse = VolumeResourceDescription & {
|
|
875
|
+
/** This type describes a value of a secret resource. The name of this resource is the version identifier corresponding to this secret value. */
|
|
876
|
+
export type SecretValueResourceDescription = TrackedResource & {
|
|
2533
877
|
/**
|
|
2534
|
-
*
|
|
878
|
+
* State of the resource.
|
|
879
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2535
880
|
*/
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
*/
|
|
2540
|
-
bodyAsText: string;
|
|
2541
|
-
/**
|
|
2542
|
-
* The response body as parsed JSON or XML
|
|
2543
|
-
*/
|
|
2544
|
-
parsedBody: VolumeResourceDescription;
|
|
2545
|
-
};
|
|
881
|
+
readonly provisioningState?: string;
|
|
882
|
+
/** The actual value of the secret. */
|
|
883
|
+
value?: string;
|
|
2546
884
|
};
|
|
2547
885
|
|
|
2548
|
-
/**
|
|
2549
|
-
|
|
2550
|
-
*/
|
|
2551
|
-
export type VolumeListByResourceGroupResponse = VolumeResourceDescriptionList & {
|
|
886
|
+
/** This type describes a volume resource. */
|
|
887
|
+
export type VolumeResourceDescription = TrackedResource & {
|
|
2552
888
|
/**
|
|
2553
|
-
*
|
|
889
|
+
* State of the resource.
|
|
890
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2554
891
|
*/
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
*/
|
|
2559
|
-
bodyAsText: string;
|
|
2560
|
-
/**
|
|
2561
|
-
* The response body as parsed JSON or XML
|
|
2562
|
-
*/
|
|
2563
|
-
parsedBody: VolumeResourceDescriptionList;
|
|
2564
|
-
};
|
|
2565
|
-
};
|
|
2566
|
-
|
|
2567
|
-
/**
|
|
2568
|
-
* Contains response data for the listBySubscription operation.
|
|
2569
|
-
*/
|
|
2570
|
-
export type VolumeListBySubscriptionResponse = VolumeResourceDescriptionList & {
|
|
892
|
+
readonly provisioningState?: string;
|
|
893
|
+
/** User readable description of the volume. */
|
|
894
|
+
description?: string;
|
|
2571
895
|
/**
|
|
2572
|
-
*
|
|
896
|
+
* Status of the volume.
|
|
897
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2573
898
|
*/
|
|
2574
|
-
|
|
2575
|
-
/**
|
|
2576
|
-
* The response body as text (string format)
|
|
2577
|
-
*/
|
|
2578
|
-
bodyAsText: string;
|
|
2579
|
-
/**
|
|
2580
|
-
* The response body as parsed JSON or XML
|
|
2581
|
-
*/
|
|
2582
|
-
parsedBody: VolumeResourceDescriptionList;
|
|
2583
|
-
};
|
|
2584
|
-
};
|
|
2585
|
-
|
|
2586
|
-
/**
|
|
2587
|
-
* Contains response data for the listByResourceGroupNext operation.
|
|
2588
|
-
*/
|
|
2589
|
-
export type VolumeListByResourceGroupNextResponse = VolumeResourceDescriptionList & {
|
|
899
|
+
readonly status?: ResourceStatus;
|
|
2590
900
|
/**
|
|
2591
|
-
*
|
|
901
|
+
* Gives additional information about the current status of the volume.
|
|
902
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2592
903
|
*/
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
/**
|
|
2599
|
-
* The response body as parsed JSON or XML
|
|
2600
|
-
*/
|
|
2601
|
-
parsedBody: VolumeResourceDescriptionList;
|
|
2602
|
-
};
|
|
904
|
+
readonly statusDetails?: string;
|
|
905
|
+
/** Provider of the volume. */
|
|
906
|
+
provider: VolumeProvider;
|
|
907
|
+
/** This type describes a volume provided by an Azure Files file share. */
|
|
908
|
+
azureFileParameters?: VolumeProviderParametersAzureFile;
|
|
2603
909
|
};
|
|
2604
910
|
|
|
2605
|
-
/**
|
|
2606
|
-
|
|
2607
|
-
*/
|
|
2608
|
-
|
|
2609
|
-
/**
|
|
2610
|
-
* The underlying HTTP response.
|
|
2611
|
-
*/
|
|
2612
|
-
_response: msRest.HttpResponse & {
|
|
2613
|
-
/**
|
|
2614
|
-
* The response body as text (string format)
|
|
2615
|
-
*/
|
|
2616
|
-
bodyAsText: string;
|
|
2617
|
-
/**
|
|
2618
|
-
* The response body as parsed JSON or XML
|
|
2619
|
-
*/
|
|
2620
|
-
parsedBody: VolumeResourceDescriptionList;
|
|
2621
|
-
};
|
|
911
|
+
/** This type describes a network resource. */
|
|
912
|
+
export type NetworkResourceDescription = TrackedResource & {
|
|
913
|
+
/** Describes properties of a network resource. */
|
|
914
|
+
properties: NetworkResourcePropertiesUnion;
|
|
2622
915
|
};
|
|
2623
916
|
|
|
2624
|
-
/**
|
|
2625
|
-
|
|
2626
|
-
*/
|
|
2627
|
-
export type NetworkCreateResponse = NetworkResourceDescription & {
|
|
917
|
+
/** This type describes a gateway resource. */
|
|
918
|
+
export type GatewayResourceDescription = TrackedResource & {
|
|
2628
919
|
/**
|
|
2629
|
-
*
|
|
920
|
+
* State of the resource.
|
|
921
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2630
922
|
*/
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
/**
|
|
2644
|
-
* Contains response data for the get operation.
|
|
2645
|
-
*/
|
|
2646
|
-
export type NetworkGetResponse = NetworkResourceDescription & {
|
|
923
|
+
readonly provisioningState?: string;
|
|
924
|
+
/** User readable description of the gateway. */
|
|
925
|
+
description?: string;
|
|
926
|
+
/** Network the gateway should listen on for requests. */
|
|
927
|
+
sourceNetwork: NetworkRef;
|
|
928
|
+
/** Network that the Application is using. */
|
|
929
|
+
destinationNetwork: NetworkRef;
|
|
930
|
+
/** Configuration for tcp connectivity for this gateway. */
|
|
931
|
+
tcp?: TcpConfig[];
|
|
932
|
+
/** Configuration for http connectivity for this gateway. */
|
|
933
|
+
http?: HttpConfig[];
|
|
2647
934
|
/**
|
|
2648
|
-
*
|
|
935
|
+
* Status of the resource.
|
|
936
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2649
937
|
*/
|
|
2650
|
-
|
|
2651
|
-
/**
|
|
2652
|
-
* The response body as text (string format)
|
|
2653
|
-
*/
|
|
2654
|
-
bodyAsText: string;
|
|
2655
|
-
/**
|
|
2656
|
-
* The response body as parsed JSON or XML
|
|
2657
|
-
*/
|
|
2658
|
-
parsedBody: NetworkResourceDescription;
|
|
2659
|
-
};
|
|
2660
|
-
};
|
|
2661
|
-
|
|
2662
|
-
/**
|
|
2663
|
-
* Contains response data for the listByResourceGroup operation.
|
|
2664
|
-
*/
|
|
2665
|
-
export type NetworkListByResourceGroupResponse = NetworkResourceDescriptionList & {
|
|
938
|
+
readonly status?: ResourceStatus;
|
|
2666
939
|
/**
|
|
2667
|
-
*
|
|
940
|
+
* Gives additional information about the current status of the gateway.
|
|
941
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2668
942
|
*/
|
|
2669
|
-
|
|
2670
|
-
/**
|
|
2671
|
-
* The response body as text (string format)
|
|
2672
|
-
*/
|
|
2673
|
-
bodyAsText: string;
|
|
2674
|
-
/**
|
|
2675
|
-
* The response body as parsed JSON or XML
|
|
2676
|
-
*/
|
|
2677
|
-
parsedBody: NetworkResourceDescriptionList;
|
|
2678
|
-
};
|
|
2679
|
-
};
|
|
2680
|
-
|
|
2681
|
-
/**
|
|
2682
|
-
* Contains response data for the listBySubscription operation.
|
|
2683
|
-
*/
|
|
2684
|
-
export type NetworkListBySubscriptionResponse = NetworkResourceDescriptionList & {
|
|
943
|
+
readonly statusDetails?: string;
|
|
2685
944
|
/**
|
|
2686
|
-
*
|
|
945
|
+
* IP address of the gateway. This is populated in the response and is ignored for incoming requests.
|
|
946
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2687
947
|
*/
|
|
2688
|
-
|
|
2689
|
-
/**
|
|
2690
|
-
* The response body as text (string format)
|
|
2691
|
-
*/
|
|
2692
|
-
bodyAsText: string;
|
|
2693
|
-
/**
|
|
2694
|
-
* The response body as parsed JSON or XML
|
|
2695
|
-
*/
|
|
2696
|
-
parsedBody: NetworkResourceDescriptionList;
|
|
2697
|
-
};
|
|
948
|
+
readonly ipAddress?: string;
|
|
2698
949
|
};
|
|
2699
950
|
|
|
2700
|
-
/**
|
|
2701
|
-
|
|
2702
|
-
*/
|
|
2703
|
-
export type NetworkListByResourceGroupNextResponse = NetworkResourceDescriptionList & {
|
|
951
|
+
/** This type describes an application resource. */
|
|
952
|
+
export type ApplicationResourceDescription = TrackedResource & {
|
|
2704
953
|
/**
|
|
2705
|
-
*
|
|
954
|
+
* State of the resource.
|
|
955
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2706
956
|
*/
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
|
|
2719
|
-
/**
|
|
2720
|
-
* Contains response data for the listBySubscriptionNext operation.
|
|
2721
|
-
*/
|
|
2722
|
-
export type NetworkListBySubscriptionNextResponse = NetworkResourceDescriptionList & {
|
|
957
|
+
readonly provisioningState?: string;
|
|
958
|
+
/** User readable description of the application. */
|
|
959
|
+
description?: string;
|
|
960
|
+
/** Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource. */
|
|
961
|
+
services?: ServiceResourceDescription[];
|
|
962
|
+
/** Describes the diagnostics definition and usage for an application resource. */
|
|
963
|
+
diagnostics?: DiagnosticsDescription;
|
|
964
|
+
/** Internal - used by Visual Studio to setup the debugging session on the local development environment. */
|
|
965
|
+
debugParams?: string;
|
|
2723
966
|
/**
|
|
2724
|
-
*
|
|
967
|
+
* Names of the services in the application.
|
|
968
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2725
969
|
*/
|
|
2726
|
-
|
|
2727
|
-
/**
|
|
2728
|
-
* The response body as text (string format)
|
|
2729
|
-
*/
|
|
2730
|
-
bodyAsText: string;
|
|
2731
|
-
/**
|
|
2732
|
-
* The response body as parsed JSON or XML
|
|
2733
|
-
*/
|
|
2734
|
-
parsedBody: NetworkResourceDescriptionList;
|
|
2735
|
-
};
|
|
2736
|
-
};
|
|
2737
|
-
|
|
2738
|
-
/**
|
|
2739
|
-
* Contains response data for the create operation.
|
|
2740
|
-
*/
|
|
2741
|
-
export type GatewayCreateResponse = GatewayResourceDescription & {
|
|
970
|
+
readonly serviceNames?: string[];
|
|
2742
971
|
/**
|
|
2743
|
-
*
|
|
972
|
+
* Status of the application.
|
|
973
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2744
974
|
*/
|
|
2745
|
-
|
|
2746
|
-
/**
|
|
2747
|
-
* The response body as text (string format)
|
|
2748
|
-
*/
|
|
2749
|
-
bodyAsText: string;
|
|
2750
|
-
/**
|
|
2751
|
-
* The response body as parsed JSON or XML
|
|
2752
|
-
*/
|
|
2753
|
-
parsedBody: GatewayResourceDescription;
|
|
2754
|
-
};
|
|
2755
|
-
};
|
|
2756
|
-
|
|
2757
|
-
/**
|
|
2758
|
-
* Contains response data for the get operation.
|
|
2759
|
-
*/
|
|
2760
|
-
export type GatewayGetResponse = GatewayResourceDescription & {
|
|
975
|
+
readonly status?: ResourceStatus;
|
|
2761
976
|
/**
|
|
2762
|
-
*
|
|
977
|
+
* Gives additional information about the current status of the application.
|
|
978
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2763
979
|
*/
|
|
2764
|
-
|
|
2765
|
-
/**
|
|
2766
|
-
* The response body as text (string format)
|
|
2767
|
-
*/
|
|
2768
|
-
bodyAsText: string;
|
|
2769
|
-
/**
|
|
2770
|
-
* The response body as parsed JSON or XML
|
|
2771
|
-
*/
|
|
2772
|
-
parsedBody: GatewayResourceDescription;
|
|
2773
|
-
};
|
|
2774
|
-
};
|
|
2775
|
-
|
|
2776
|
-
/**
|
|
2777
|
-
* Contains response data for the listByResourceGroup operation.
|
|
2778
|
-
*/
|
|
2779
|
-
export type GatewayListByResourceGroupResponse = GatewayResourceDescriptionList & {
|
|
980
|
+
readonly statusDetails?: string;
|
|
2780
981
|
/**
|
|
2781
|
-
*
|
|
982
|
+
* Describes the health state of an application resource.
|
|
983
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2782
984
|
*/
|
|
2783
|
-
|
|
2784
|
-
/**
|
|
2785
|
-
* The response body as text (string format)
|
|
2786
|
-
*/
|
|
2787
|
-
bodyAsText: string;
|
|
2788
|
-
/**
|
|
2789
|
-
* The response body as parsed JSON or XML
|
|
2790
|
-
*/
|
|
2791
|
-
parsedBody: GatewayResourceDescriptionList;
|
|
2792
|
-
};
|
|
2793
|
-
};
|
|
2794
|
-
|
|
2795
|
-
/**
|
|
2796
|
-
* Contains response data for the listBySubscription operation.
|
|
2797
|
-
*/
|
|
2798
|
-
export type GatewayListBySubscriptionResponse = GatewayResourceDescriptionList & {
|
|
985
|
+
readonly healthState?: HealthState;
|
|
2799
986
|
/**
|
|
2800
|
-
*
|
|
987
|
+
* When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.
|
|
988
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2801
989
|
*/
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
990
|
+
readonly unhealthyEvaluation?: string;
|
|
991
|
+
};
|
|
992
|
+
|
|
993
|
+
/** Describes the properties of a secret resource whose value is provided explicitly as plaintext. The secret resource may have multiple values, each being uniquely versioned. The secret value of each version is stored encrypted, and delivered as plaintext into the context of applications referencing it. */
|
|
994
|
+
export type InlinedValueSecretResourceProperties = SecretResourceProperties & {};
|
|
995
|
+
|
|
996
|
+
/** Information about a Service Fabric container network local to a single Service Fabric cluster. */
|
|
997
|
+
export type LocalNetworkResourceProperties = NetworkResourceProperties & {
|
|
998
|
+
/** Address space for the local container network. */
|
|
999
|
+
networkAddressPrefix?: string;
|
|
2812
1000
|
};
|
|
2813
1001
|
|
|
1002
|
+
/** Known values of {@link ResourceStatus} that the service accepts. */
|
|
1003
|
+
export enum KnownResourceStatus {
|
|
1004
|
+
/** Indicates the resource status is unknown. The value is zero. */
|
|
1005
|
+
Unknown = "Unknown",
|
|
1006
|
+
/** Indicates the resource is ready. The value is 1. */
|
|
1007
|
+
Ready = "Ready",
|
|
1008
|
+
/** Indicates the resource is upgrading. The value is 2. */
|
|
1009
|
+
Upgrading = "Upgrading",
|
|
1010
|
+
/** Indicates the resource is being created. The value is 3. */
|
|
1011
|
+
Creating = "Creating",
|
|
1012
|
+
/** Indicates the resource is being deleted. The value is 4. */
|
|
1013
|
+
Deleting = "Deleting",
|
|
1014
|
+
/** Indicates the resource is not functional due to persistent failures. See statusDetails property for more details. The value is 5. */
|
|
1015
|
+
Failed = "Failed"
|
|
1016
|
+
}
|
|
1017
|
+
|
|
2814
1018
|
/**
|
|
2815
|
-
*
|
|
1019
|
+
* Defines values for ResourceStatus. \
|
|
1020
|
+
* {@link KnownResourceStatus} can be used interchangeably with ResourceStatus,
|
|
1021
|
+
* this enum contains the known values that the service supports.
|
|
1022
|
+
* ### Known values supported by the service
|
|
1023
|
+
* **Unknown**: Indicates the resource status is unknown. The value is zero. \
|
|
1024
|
+
* **Ready**: Indicates the resource is ready. The value is 1. \
|
|
1025
|
+
* **Upgrading**: Indicates the resource is upgrading. The value is 2. \
|
|
1026
|
+
* **Creating**: Indicates the resource is being created. The value is 3. \
|
|
1027
|
+
* **Deleting**: Indicates the resource is being deleted. The value is 4. \
|
|
1028
|
+
* **Failed**: Indicates the resource is not functional due to persistent failures. See statusDetails property for more details. The value is 5.
|
|
2816
1029
|
*/
|
|
2817
|
-
export type
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
*/
|
|
2825
|
-
bodyAsText: string;
|
|
2826
|
-
/**
|
|
2827
|
-
* The response body as parsed JSON or XML
|
|
2828
|
-
*/
|
|
2829
|
-
parsedBody: GatewayResourceDescriptionList;
|
|
2830
|
-
};
|
|
2831
|
-
};
|
|
1030
|
+
export type ResourceStatus = string;
|
|
1031
|
+
|
|
1032
|
+
/** Known values of {@link SecretKind} that the service accepts. */
|
|
1033
|
+
export enum KnownSecretKind {
|
|
1034
|
+
/** A simple secret resource whose plaintext value is provided by the user. */
|
|
1035
|
+
InlinedValue = "inlinedValue"
|
|
1036
|
+
}
|
|
2832
1037
|
|
|
2833
1038
|
/**
|
|
2834
|
-
*
|
|
1039
|
+
* Defines values for SecretKind. \
|
|
1040
|
+
* {@link KnownSecretKind} can be used interchangeably with SecretKind,
|
|
1041
|
+
* this enum contains the known values that the service supports.
|
|
1042
|
+
* ### Known values supported by the service
|
|
1043
|
+
* **inlinedValue**: A simple secret resource whose plaintext value is provided by the user.
|
|
2835
1044
|
*/
|
|
2836
|
-
export type
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
*/
|
|
2844
|
-
bodyAsText: string;
|
|
2845
|
-
/**
|
|
2846
|
-
* The response body as parsed JSON or XML
|
|
2847
|
-
*/
|
|
2848
|
-
parsedBody: GatewayResourceDescriptionList;
|
|
2849
|
-
};
|
|
2850
|
-
};
|
|
1045
|
+
export type SecretKind = string;
|
|
1046
|
+
|
|
1047
|
+
/** Known values of {@link VolumeProvider} that the service accepts. */
|
|
1048
|
+
export enum KnownVolumeProvider {
|
|
1049
|
+
/** Provides volumes that are backed by Azure Files. */
|
|
1050
|
+
SFAzureFile = "SFAzureFile"
|
|
1051
|
+
}
|
|
2851
1052
|
|
|
2852
1053
|
/**
|
|
2853
|
-
*
|
|
1054
|
+
* Defines values for VolumeProvider. \
|
|
1055
|
+
* {@link KnownVolumeProvider} can be used interchangeably with VolumeProvider,
|
|
1056
|
+
* this enum contains the known values that the service supports.
|
|
1057
|
+
* ### Known values supported by the service
|
|
1058
|
+
* **SFAzureFile**: Provides volumes that are backed by Azure Files.
|
|
2854
1059
|
*/
|
|
2855
|
-
export type
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
*/
|
|
2863
|
-
bodyAsText: string;
|
|
2864
|
-
/**
|
|
2865
|
-
* The response body as parsed JSON or XML
|
|
2866
|
-
*/
|
|
2867
|
-
parsedBody: ApplicationResourceDescription;
|
|
2868
|
-
};
|
|
2869
|
-
};
|
|
1060
|
+
export type VolumeProvider = string;
|
|
1061
|
+
|
|
1062
|
+
/** Known values of {@link NetworkKind} that the service accepts. */
|
|
1063
|
+
export enum KnownNetworkKind {
|
|
1064
|
+
/** Indicates a container network local to a single Service Fabric cluster. The value is 1. */
|
|
1065
|
+
Local = "Local"
|
|
1066
|
+
}
|
|
2870
1067
|
|
|
2871
1068
|
/**
|
|
2872
|
-
*
|
|
1069
|
+
* Defines values for NetworkKind. \
|
|
1070
|
+
* {@link KnownNetworkKind} can be used interchangeably with NetworkKind,
|
|
1071
|
+
* this enum contains the known values that the service supports.
|
|
1072
|
+
* ### Known values supported by the service
|
|
1073
|
+
* **Local**: Indicates a container network local to a single Service Fabric cluster. The value is 1.
|
|
2873
1074
|
*/
|
|
2874
|
-
export type
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
* The response body as text (string format)
|
|
2881
|
-
*/
|
|
2882
|
-
bodyAsText: string;
|
|
2883
|
-
/**
|
|
2884
|
-
* The response body as parsed JSON or XML
|
|
2885
|
-
*/
|
|
2886
|
-
parsedBody: ApplicationResourceDescription;
|
|
2887
|
-
};
|
|
2888
|
-
};
|
|
1075
|
+
export type NetworkKind = string;
|
|
1076
|
+
|
|
1077
|
+
/** Known values of {@link PathMatchType} that the service accepts. */
|
|
1078
|
+
export enum KnownPathMatchType {
|
|
1079
|
+
Prefix = "prefix"
|
|
1080
|
+
}
|
|
2889
1081
|
|
|
2890
1082
|
/**
|
|
2891
|
-
*
|
|
1083
|
+
* Defines values for PathMatchType. \
|
|
1084
|
+
* {@link KnownPathMatchType} can be used interchangeably with PathMatchType,
|
|
1085
|
+
* this enum contains the known values that the service supports.
|
|
1086
|
+
* ### Known values supported by the service
|
|
1087
|
+
* **prefix**
|
|
2892
1088
|
*/
|
|
2893
|
-
export type
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
* The response body as text (string format)
|
|
2900
|
-
*/
|
|
2901
|
-
bodyAsText: string;
|
|
2902
|
-
/**
|
|
2903
|
-
* The response body as parsed JSON or XML
|
|
2904
|
-
*/
|
|
2905
|
-
parsedBody: ApplicationResourceDescriptionList;
|
|
2906
|
-
};
|
|
2907
|
-
};
|
|
1089
|
+
export type PathMatchType = string;
|
|
1090
|
+
|
|
1091
|
+
/** Known values of {@link HeaderMatchType} that the service accepts. */
|
|
1092
|
+
export enum KnownHeaderMatchType {
|
|
1093
|
+
Exact = "exact"
|
|
1094
|
+
}
|
|
2908
1095
|
|
|
2909
1096
|
/**
|
|
2910
|
-
*
|
|
1097
|
+
* Defines values for HeaderMatchType. \
|
|
1098
|
+
* {@link KnownHeaderMatchType} can be used interchangeably with HeaderMatchType,
|
|
1099
|
+
* this enum contains the known values that the service supports.
|
|
1100
|
+
* ### Known values supported by the service
|
|
1101
|
+
* **exact**
|
|
2911
1102
|
*/
|
|
2912
|
-
export type
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
/**
|
|
2922
|
-
* The response body as parsed JSON or XML
|
|
2923
|
-
*/
|
|
2924
|
-
parsedBody: ApplicationResourceDescriptionList;
|
|
2925
|
-
};
|
|
2926
|
-
};
|
|
1103
|
+
export type HeaderMatchType = string;
|
|
1104
|
+
|
|
1105
|
+
/** Known values of {@link OperatingSystemType} that the service accepts. */
|
|
1106
|
+
export enum KnownOperatingSystemType {
|
|
1107
|
+
/** The required operating system is Linux. */
|
|
1108
|
+
Linux = "Linux",
|
|
1109
|
+
/** The required operating system is Windows. */
|
|
1110
|
+
Windows = "Windows"
|
|
1111
|
+
}
|
|
2927
1112
|
|
|
2928
1113
|
/**
|
|
2929
|
-
*
|
|
1114
|
+
* Defines values for OperatingSystemType. \
|
|
1115
|
+
* {@link KnownOperatingSystemType} can be used interchangeably with OperatingSystemType,
|
|
1116
|
+
* this enum contains the known values that the service supports.
|
|
1117
|
+
* ### Known values supported by the service
|
|
1118
|
+
* **Linux**: The required operating system is Linux. \
|
|
1119
|
+
* **Windows**: The required operating system is Windows.
|
|
2930
1120
|
*/
|
|
2931
|
-
export type
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
*/
|
|
2939
|
-
bodyAsText: string;
|
|
2940
|
-
/**
|
|
2941
|
-
* The response body as parsed JSON or XML
|
|
2942
|
-
*/
|
|
2943
|
-
parsedBody: ApplicationResourceDescriptionList;
|
|
2944
|
-
};
|
|
2945
|
-
};
|
|
1121
|
+
export type OperatingSystemType = string;
|
|
1122
|
+
|
|
1123
|
+
/** Known values of {@link ApplicationScopedVolumeKind} that the service accepts. */
|
|
1124
|
+
export enum KnownApplicationScopedVolumeKind {
|
|
1125
|
+
/** Provides Service Fabric High Availability Volume Disk */
|
|
1126
|
+
ServiceFabricVolumeDisk = "ServiceFabricVolumeDisk"
|
|
1127
|
+
}
|
|
2946
1128
|
|
|
2947
1129
|
/**
|
|
2948
|
-
*
|
|
1130
|
+
* Defines values for ApplicationScopedVolumeKind. \
|
|
1131
|
+
* {@link KnownApplicationScopedVolumeKind} can be used interchangeably with ApplicationScopedVolumeKind,
|
|
1132
|
+
* this enum contains the known values that the service supports.
|
|
1133
|
+
* ### Known values supported by the service
|
|
1134
|
+
* **ServiceFabricVolumeDisk**: Provides Service Fabric High Availability Volume Disk
|
|
2949
1135
|
*/
|
|
2950
|
-
export type
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
*/
|
|
2958
|
-
bodyAsText: string;
|
|
2959
|
-
/**
|
|
2960
|
-
* The response body as parsed JSON or XML
|
|
2961
|
-
*/
|
|
2962
|
-
parsedBody: ApplicationResourceDescriptionList;
|
|
2963
|
-
};
|
|
2964
|
-
};
|
|
1136
|
+
export type ApplicationScopedVolumeKind = string;
|
|
1137
|
+
|
|
1138
|
+
/** Known values of {@link AutoScalingTriggerKind} that the service accepts. */
|
|
1139
|
+
export enum KnownAutoScalingTriggerKind {
|
|
1140
|
+
/** Indicates that scaling should be performed based on average load of all replicas in the service. */
|
|
1141
|
+
AverageLoad = "AverageLoad"
|
|
1142
|
+
}
|
|
2965
1143
|
|
|
2966
1144
|
/**
|
|
2967
|
-
*
|
|
1145
|
+
* Defines values for AutoScalingTriggerKind. \
|
|
1146
|
+
* {@link KnownAutoScalingTriggerKind} can be used interchangeably with AutoScalingTriggerKind,
|
|
1147
|
+
* this enum contains the known values that the service supports.
|
|
1148
|
+
* ### Known values supported by the service
|
|
1149
|
+
* **AverageLoad**: Indicates that scaling should be performed based on average load of all replicas in the service.
|
|
2968
1150
|
*/
|
|
2969
|
-
export type
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
*/
|
|
2977
|
-
bodyAsText: string;
|
|
2978
|
-
/**
|
|
2979
|
-
* The response body as parsed JSON or XML
|
|
2980
|
-
*/
|
|
2981
|
-
parsedBody: ServiceResourceDescription;
|
|
2982
|
-
};
|
|
2983
|
-
};
|
|
1151
|
+
export type AutoScalingTriggerKind = string;
|
|
1152
|
+
|
|
1153
|
+
/** Known values of {@link AutoScalingMechanismKind} that the service accepts. */
|
|
1154
|
+
export enum KnownAutoScalingMechanismKind {
|
|
1155
|
+
/** Indicates that scaling should be performed by adding or removing replicas. */
|
|
1156
|
+
AddRemoveReplica = "AddRemoveReplica"
|
|
1157
|
+
}
|
|
2984
1158
|
|
|
2985
1159
|
/**
|
|
2986
|
-
*
|
|
1160
|
+
* Defines values for AutoScalingMechanismKind. \
|
|
1161
|
+
* {@link KnownAutoScalingMechanismKind} can be used interchangeably with AutoScalingMechanismKind,
|
|
1162
|
+
* this enum contains the known values that the service supports.
|
|
1163
|
+
* ### Known values supported by the service
|
|
1164
|
+
* **AddRemoveReplica**: Indicates that scaling should be performed by adding or removing replicas.
|
|
2987
1165
|
*/
|
|
2988
|
-
export type
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
}
|
|
1166
|
+
export type AutoScalingMechanismKind = string;
|
|
1167
|
+
|
|
1168
|
+
/** Known values of {@link HealthState} that the service accepts. */
|
|
1169
|
+
export enum KnownHealthState {
|
|
1170
|
+
/** Indicates an invalid health state. All Service Fabric enumerations have the invalid type. The value is zero. */
|
|
1171
|
+
Invalid = "Invalid",
|
|
1172
|
+
/** Indicates the health state is okay. The value is 1. */
|
|
1173
|
+
Ok = "Ok",
|
|
1174
|
+
/** Indicates the health state is at a warning level. The value is 2. */
|
|
1175
|
+
Warning = "Warning",
|
|
1176
|
+
/** Indicates the health state is at an error level. Error health state should be investigated, as they can impact the correct functionality of the cluster. The value is 3. */
|
|
1177
|
+
Error = "Error",
|
|
1178
|
+
/** Indicates an unknown health status. The value is 65535. */
|
|
1179
|
+
Unknown = "Unknown"
|
|
1180
|
+
}
|
|
3003
1181
|
|
|
3004
1182
|
/**
|
|
3005
|
-
*
|
|
1183
|
+
* Defines values for HealthState. \
|
|
1184
|
+
* {@link KnownHealthState} can be used interchangeably with HealthState,
|
|
1185
|
+
* this enum contains the known values that the service supports.
|
|
1186
|
+
* ### Known values supported by the service
|
|
1187
|
+
* **Invalid**: Indicates an invalid health state. All Service Fabric enumerations have the invalid type. The value is zero. \
|
|
1188
|
+
* **Ok**: Indicates the health state is okay. The value is 1. \
|
|
1189
|
+
* **Warning**: Indicates the health state is at a warning level. The value is 2. \
|
|
1190
|
+
* **Error**: Indicates the health state is at an error level. Error health state should be investigated, as they can impact the correct functionality of the cluster. The value is 3. \
|
|
1191
|
+
* **Unknown**: Indicates an unknown health status. The value is 65535.
|
|
3006
1192
|
*/
|
|
3007
|
-
export type
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
/**
|
|
3017
|
-
* The response body as parsed JSON or XML
|
|
3018
|
-
*/
|
|
3019
|
-
parsedBody: ServiceResourceDescriptionList;
|
|
3020
|
-
};
|
|
3021
|
-
};
|
|
1193
|
+
export type HealthState = string;
|
|
1194
|
+
|
|
1195
|
+
/** Known values of {@link DiagnosticsSinkKind} that the service accepts. */
|
|
1196
|
+
export enum KnownDiagnosticsSinkKind {
|
|
1197
|
+
/** Indicates an invalid sink kind. All Service Fabric enumerations have the invalid type. */
|
|
1198
|
+
Invalid = "Invalid",
|
|
1199
|
+
/** Diagnostics settings for Geneva. */
|
|
1200
|
+
AzureInternalMonitoringPipeline = "AzureInternalMonitoringPipeline"
|
|
1201
|
+
}
|
|
3022
1202
|
|
|
3023
1203
|
/**
|
|
3024
|
-
*
|
|
1204
|
+
* Defines values for DiagnosticsSinkKind. \
|
|
1205
|
+
* {@link KnownDiagnosticsSinkKind} can be used interchangeably with DiagnosticsSinkKind,
|
|
1206
|
+
* this enum contains the known values that the service supports.
|
|
1207
|
+
* ### Known values supported by the service
|
|
1208
|
+
* **Invalid**: Indicates an invalid sink kind. All Service Fabric enumerations have the invalid type. \
|
|
1209
|
+
* **AzureInternalMonitoringPipeline**: Diagnostics settings for Geneva.
|
|
3025
1210
|
*/
|
|
3026
|
-
export type
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
bodyAsText: string;
|
|
3035
|
-
/**
|
|
3036
|
-
* The response body as parsed JSON or XML
|
|
3037
|
-
*/
|
|
3038
|
-
parsedBody: ServiceReplicaDescription;
|
|
3039
|
-
};
|
|
3040
|
-
};
|
|
1211
|
+
export type DiagnosticsSinkKind = string;
|
|
1212
|
+
|
|
1213
|
+
/** Known values of {@link SizeTypes} that the service accepts. */
|
|
1214
|
+
export enum KnownSizeTypes {
|
|
1215
|
+
Small = "Small",
|
|
1216
|
+
Medium = "Medium",
|
|
1217
|
+
Large = "Large"
|
|
1218
|
+
}
|
|
3041
1219
|
|
|
3042
1220
|
/**
|
|
3043
|
-
*
|
|
1221
|
+
* Defines values for SizeTypes. \
|
|
1222
|
+
* {@link KnownSizeTypes} can be used interchangeably with SizeTypes,
|
|
1223
|
+
* this enum contains the known values that the service supports.
|
|
1224
|
+
* ### Known values supported by the service
|
|
1225
|
+
* **Small** \
|
|
1226
|
+
* **Medium** \
|
|
1227
|
+
* **Large**
|
|
3044
1228
|
*/
|
|
3045
|
-
export type
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
*/
|
|
3053
|
-
bodyAsText: string;
|
|
3054
|
-
/**
|
|
3055
|
-
* The response body as parsed JSON or XML
|
|
3056
|
-
*/
|
|
3057
|
-
parsedBody: ServiceReplicaDescriptionList;
|
|
3058
|
-
};
|
|
3059
|
-
};
|
|
1229
|
+
export type SizeTypes = string;
|
|
1230
|
+
|
|
1231
|
+
/** Known values of {@link AutoScalingMetricKind} that the service accepts. */
|
|
1232
|
+
export enum KnownAutoScalingMetricKind {
|
|
1233
|
+
/** Indicates that the metric is one of resources, like cpu or memory. */
|
|
1234
|
+
Resource = "Resource"
|
|
1235
|
+
}
|
|
3060
1236
|
|
|
3061
1237
|
/**
|
|
3062
|
-
*
|
|
1238
|
+
* Defines values for AutoScalingMetricKind. \
|
|
1239
|
+
* {@link KnownAutoScalingMetricKind} can be used interchangeably with AutoScalingMetricKind,
|
|
1240
|
+
* this enum contains the known values that the service supports.
|
|
1241
|
+
* ### Known values supported by the service
|
|
1242
|
+
* **Resource**: Indicates that the metric is one of resources, like cpu or memory.
|
|
3063
1243
|
*/
|
|
3064
|
-
export type
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
/**
|
|
3074
|
-
* The response body as parsed JSON or XML
|
|
3075
|
-
*/
|
|
3076
|
-
parsedBody: ServiceReplicaDescriptionList;
|
|
3077
|
-
};
|
|
3078
|
-
};
|
|
1244
|
+
export type AutoScalingMetricKind = string;
|
|
1245
|
+
|
|
1246
|
+
/** Known values of {@link AutoScalingResourceMetricName} that the service accepts. */
|
|
1247
|
+
export enum KnownAutoScalingResourceMetricName {
|
|
1248
|
+
/** Indicates that the resource is CPU cores. */
|
|
1249
|
+
Cpu = "cpu",
|
|
1250
|
+
/** Indicates that the resource is memory in GB. */
|
|
1251
|
+
MemoryInGB = "memoryInGB"
|
|
1252
|
+
}
|
|
3079
1253
|
|
|
3080
1254
|
/**
|
|
3081
|
-
*
|
|
1255
|
+
* Defines values for AutoScalingResourceMetricName. \
|
|
1256
|
+
* {@link KnownAutoScalingResourceMetricName} can be used interchangeably with AutoScalingResourceMetricName,
|
|
1257
|
+
* this enum contains the known values that the service supports.
|
|
1258
|
+
* ### Known values supported by the service
|
|
1259
|
+
* **cpu**: Indicates that the resource is CPU cores. \
|
|
1260
|
+
* **memoryInGB**: Indicates that the resource is memory in GB.
|
|
3082
1261
|
*/
|
|
3083
|
-
export type
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
1262
|
+
export type AutoScalingResourceMetricName = string;
|
|
1263
|
+
|
|
1264
|
+
/** Optional parameters. */
|
|
1265
|
+
export interface OperationsListOptionalParams
|
|
1266
|
+
extends coreClient.OperationOptions {}
|
|
1267
|
+
|
|
1268
|
+
/** Contains response data for the list operation. */
|
|
1269
|
+
export type OperationsListResponse = OperationListResult;
|
|
1270
|
+
|
|
1271
|
+
/** Optional parameters. */
|
|
1272
|
+
export interface OperationsListNextOptionalParams
|
|
1273
|
+
extends coreClient.OperationOptions {}
|
|
1274
|
+
|
|
1275
|
+
/** Contains response data for the listNext operation. */
|
|
1276
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
1277
|
+
|
|
1278
|
+
/** Optional parameters. */
|
|
1279
|
+
export interface SecretCreateOptionalParams
|
|
1280
|
+
extends coreClient.OperationOptions {}
|
|
1281
|
+
|
|
1282
|
+
/** Contains response data for the create operation. */
|
|
1283
|
+
export type SecretCreateResponse = SecretResourceDescription;
|
|
1284
|
+
|
|
1285
|
+
/** Optional parameters. */
|
|
1286
|
+
export interface SecretGetOptionalParams extends coreClient.OperationOptions {}
|
|
1287
|
+
|
|
1288
|
+
/** Contains response data for the get operation. */
|
|
1289
|
+
export type SecretGetResponse = SecretResourceDescription;
|
|
1290
|
+
|
|
1291
|
+
/** Optional parameters. */
|
|
1292
|
+
export interface SecretDeleteOptionalParams
|
|
1293
|
+
extends coreClient.OperationOptions {}
|
|
1294
|
+
|
|
1295
|
+
/** Optional parameters. */
|
|
1296
|
+
export interface SecretListByResourceGroupOptionalParams
|
|
1297
|
+
extends coreClient.OperationOptions {}
|
|
1298
|
+
|
|
1299
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1300
|
+
export type SecretListByResourceGroupResponse = SecretResourceDescriptionList;
|
|
1301
|
+
|
|
1302
|
+
/** Optional parameters. */
|
|
1303
|
+
export interface SecretListBySubscriptionOptionalParams
|
|
1304
|
+
extends coreClient.OperationOptions {}
|
|
1305
|
+
|
|
1306
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1307
|
+
export type SecretListBySubscriptionResponse = SecretResourceDescriptionList;
|
|
1308
|
+
|
|
1309
|
+
/** Optional parameters. */
|
|
1310
|
+
export interface SecretListByResourceGroupNextOptionalParams
|
|
1311
|
+
extends coreClient.OperationOptions {}
|
|
1312
|
+
|
|
1313
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1314
|
+
export type SecretListByResourceGroupNextResponse = SecretResourceDescriptionList;
|
|
1315
|
+
|
|
1316
|
+
/** Optional parameters. */
|
|
1317
|
+
export interface SecretListBySubscriptionNextOptionalParams
|
|
1318
|
+
extends coreClient.OperationOptions {}
|
|
1319
|
+
|
|
1320
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1321
|
+
export type SecretListBySubscriptionNextResponse = SecretResourceDescriptionList;
|
|
1322
|
+
|
|
1323
|
+
/** Optional parameters. */
|
|
1324
|
+
export interface SecretValueCreateOptionalParams
|
|
1325
|
+
extends coreClient.OperationOptions {}
|
|
1326
|
+
|
|
1327
|
+
/** Contains response data for the create operation. */
|
|
1328
|
+
export type SecretValueCreateResponse = SecretValueResourceDescription;
|
|
1329
|
+
|
|
1330
|
+
/** Optional parameters. */
|
|
1331
|
+
export interface SecretValueGetOptionalParams
|
|
1332
|
+
extends coreClient.OperationOptions {}
|
|
1333
|
+
|
|
1334
|
+
/** Contains response data for the get operation. */
|
|
1335
|
+
export type SecretValueGetResponse = SecretValueResourceDescription;
|
|
1336
|
+
|
|
1337
|
+
/** Optional parameters. */
|
|
1338
|
+
export interface SecretValueDeleteOptionalParams
|
|
1339
|
+
extends coreClient.OperationOptions {}
|
|
1340
|
+
|
|
1341
|
+
/** Optional parameters. */
|
|
1342
|
+
export interface SecretValueListOptionalParams
|
|
1343
|
+
extends coreClient.OperationOptions {}
|
|
1344
|
+
|
|
1345
|
+
/** Contains response data for the list operation. */
|
|
1346
|
+
export type SecretValueListResponse = SecretValueResourceDescriptionList;
|
|
1347
|
+
|
|
1348
|
+
/** Optional parameters. */
|
|
1349
|
+
export interface SecretValueListValueOptionalParams
|
|
1350
|
+
extends coreClient.OperationOptions {}
|
|
1351
|
+
|
|
1352
|
+
/** Contains response data for the listValue operation. */
|
|
1353
|
+
export type SecretValueListValueResponse = SecretValue;
|
|
1354
|
+
|
|
1355
|
+
/** Optional parameters. */
|
|
1356
|
+
export interface SecretValueListNextOptionalParams
|
|
1357
|
+
extends coreClient.OperationOptions {}
|
|
1358
|
+
|
|
1359
|
+
/** Contains response data for the listNext operation. */
|
|
1360
|
+
export type SecretValueListNextResponse = SecretValueResourceDescriptionList;
|
|
1361
|
+
|
|
1362
|
+
/** Optional parameters. */
|
|
1363
|
+
export interface VolumeCreateOptionalParams
|
|
1364
|
+
extends coreClient.OperationOptions {}
|
|
1365
|
+
|
|
1366
|
+
/** Contains response data for the create operation. */
|
|
1367
|
+
export type VolumeCreateResponse = VolumeResourceDescription;
|
|
1368
|
+
|
|
1369
|
+
/** Optional parameters. */
|
|
1370
|
+
export interface VolumeGetOptionalParams extends coreClient.OperationOptions {}
|
|
1371
|
+
|
|
1372
|
+
/** Contains response data for the get operation. */
|
|
1373
|
+
export type VolumeGetResponse = VolumeResourceDescription;
|
|
1374
|
+
|
|
1375
|
+
/** Optional parameters. */
|
|
1376
|
+
export interface VolumeDeleteOptionalParams
|
|
1377
|
+
extends coreClient.OperationOptions {}
|
|
1378
|
+
|
|
1379
|
+
/** Optional parameters. */
|
|
1380
|
+
export interface VolumeListByResourceGroupOptionalParams
|
|
1381
|
+
extends coreClient.OperationOptions {}
|
|
1382
|
+
|
|
1383
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1384
|
+
export type VolumeListByResourceGroupResponse = VolumeResourceDescriptionList;
|
|
1385
|
+
|
|
1386
|
+
/** Optional parameters. */
|
|
1387
|
+
export interface VolumeListBySubscriptionOptionalParams
|
|
1388
|
+
extends coreClient.OperationOptions {}
|
|
1389
|
+
|
|
1390
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1391
|
+
export type VolumeListBySubscriptionResponse = VolumeResourceDescriptionList;
|
|
1392
|
+
|
|
1393
|
+
/** Optional parameters. */
|
|
1394
|
+
export interface VolumeListByResourceGroupNextOptionalParams
|
|
1395
|
+
extends coreClient.OperationOptions {}
|
|
1396
|
+
|
|
1397
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1398
|
+
export type VolumeListByResourceGroupNextResponse = VolumeResourceDescriptionList;
|
|
1399
|
+
|
|
1400
|
+
/** Optional parameters. */
|
|
1401
|
+
export interface VolumeListBySubscriptionNextOptionalParams
|
|
1402
|
+
extends coreClient.OperationOptions {}
|
|
1403
|
+
|
|
1404
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1405
|
+
export type VolumeListBySubscriptionNextResponse = VolumeResourceDescriptionList;
|
|
1406
|
+
|
|
1407
|
+
/** Optional parameters. */
|
|
1408
|
+
export interface NetworkCreateOptionalParams
|
|
1409
|
+
extends coreClient.OperationOptions {}
|
|
1410
|
+
|
|
1411
|
+
/** Contains response data for the create operation. */
|
|
1412
|
+
export type NetworkCreateResponse = NetworkResourceDescription;
|
|
1413
|
+
|
|
1414
|
+
/** Optional parameters. */
|
|
1415
|
+
export interface NetworkGetOptionalParams extends coreClient.OperationOptions {}
|
|
1416
|
+
|
|
1417
|
+
/** Contains response data for the get operation. */
|
|
1418
|
+
export type NetworkGetResponse = NetworkResourceDescription;
|
|
1419
|
+
|
|
1420
|
+
/** Optional parameters. */
|
|
1421
|
+
export interface NetworkDeleteOptionalParams
|
|
1422
|
+
extends coreClient.OperationOptions {}
|
|
1423
|
+
|
|
1424
|
+
/** Optional parameters. */
|
|
1425
|
+
export interface NetworkListByResourceGroupOptionalParams
|
|
1426
|
+
extends coreClient.OperationOptions {}
|
|
1427
|
+
|
|
1428
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1429
|
+
export type NetworkListByResourceGroupResponse = NetworkResourceDescriptionList;
|
|
1430
|
+
|
|
1431
|
+
/** Optional parameters. */
|
|
1432
|
+
export interface NetworkListBySubscriptionOptionalParams
|
|
1433
|
+
extends coreClient.OperationOptions {}
|
|
1434
|
+
|
|
1435
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1436
|
+
export type NetworkListBySubscriptionResponse = NetworkResourceDescriptionList;
|
|
1437
|
+
|
|
1438
|
+
/** Optional parameters. */
|
|
1439
|
+
export interface NetworkListByResourceGroupNextOptionalParams
|
|
1440
|
+
extends coreClient.OperationOptions {}
|
|
1441
|
+
|
|
1442
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1443
|
+
export type NetworkListByResourceGroupNextResponse = NetworkResourceDescriptionList;
|
|
1444
|
+
|
|
1445
|
+
/** Optional parameters. */
|
|
1446
|
+
export interface NetworkListBySubscriptionNextOptionalParams
|
|
1447
|
+
extends coreClient.OperationOptions {}
|
|
1448
|
+
|
|
1449
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1450
|
+
export type NetworkListBySubscriptionNextResponse = NetworkResourceDescriptionList;
|
|
1451
|
+
|
|
1452
|
+
/** Optional parameters. */
|
|
1453
|
+
export interface GatewayCreateOptionalParams
|
|
1454
|
+
extends coreClient.OperationOptions {}
|
|
1455
|
+
|
|
1456
|
+
/** Contains response data for the create operation. */
|
|
1457
|
+
export type GatewayCreateResponse = GatewayResourceDescription;
|
|
1458
|
+
|
|
1459
|
+
/** Optional parameters. */
|
|
1460
|
+
export interface GatewayGetOptionalParams extends coreClient.OperationOptions {}
|
|
1461
|
+
|
|
1462
|
+
/** Contains response data for the get operation. */
|
|
1463
|
+
export type GatewayGetResponse = GatewayResourceDescription;
|
|
1464
|
+
|
|
1465
|
+
/** Optional parameters. */
|
|
1466
|
+
export interface GatewayDeleteOptionalParams
|
|
1467
|
+
extends coreClient.OperationOptions {}
|
|
1468
|
+
|
|
1469
|
+
/** Optional parameters. */
|
|
1470
|
+
export interface GatewayListByResourceGroupOptionalParams
|
|
1471
|
+
extends coreClient.OperationOptions {}
|
|
1472
|
+
|
|
1473
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1474
|
+
export type GatewayListByResourceGroupResponse = GatewayResourceDescriptionList;
|
|
1475
|
+
|
|
1476
|
+
/** Optional parameters. */
|
|
1477
|
+
export interface GatewayListBySubscriptionOptionalParams
|
|
1478
|
+
extends coreClient.OperationOptions {}
|
|
1479
|
+
|
|
1480
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1481
|
+
export type GatewayListBySubscriptionResponse = GatewayResourceDescriptionList;
|
|
1482
|
+
|
|
1483
|
+
/** Optional parameters. */
|
|
1484
|
+
export interface GatewayListByResourceGroupNextOptionalParams
|
|
1485
|
+
extends coreClient.OperationOptions {}
|
|
1486
|
+
|
|
1487
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1488
|
+
export type GatewayListByResourceGroupNextResponse = GatewayResourceDescriptionList;
|
|
1489
|
+
|
|
1490
|
+
/** Optional parameters. */
|
|
1491
|
+
export interface GatewayListBySubscriptionNextOptionalParams
|
|
1492
|
+
extends coreClient.OperationOptions {}
|
|
1493
|
+
|
|
1494
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1495
|
+
export type GatewayListBySubscriptionNextResponse = GatewayResourceDescriptionList;
|
|
1496
|
+
|
|
1497
|
+
/** Optional parameters. */
|
|
1498
|
+
export interface ApplicationCreateOptionalParams
|
|
1499
|
+
extends coreClient.OperationOptions {}
|
|
1500
|
+
|
|
1501
|
+
/** Contains response data for the create operation. */
|
|
1502
|
+
export type ApplicationCreateResponse = ApplicationResourceDescription;
|
|
1503
|
+
|
|
1504
|
+
/** Optional parameters. */
|
|
1505
|
+
export interface ApplicationGetOptionalParams
|
|
1506
|
+
extends coreClient.OperationOptions {}
|
|
1507
|
+
|
|
1508
|
+
/** Contains response data for the get operation. */
|
|
1509
|
+
export type ApplicationGetResponse = ApplicationResourceDescription;
|
|
1510
|
+
|
|
1511
|
+
/** Optional parameters. */
|
|
1512
|
+
export interface ApplicationDeleteOptionalParams
|
|
1513
|
+
extends coreClient.OperationOptions {}
|
|
1514
|
+
|
|
1515
|
+
/** Optional parameters. */
|
|
1516
|
+
export interface ApplicationListByResourceGroupOptionalParams
|
|
1517
|
+
extends coreClient.OperationOptions {}
|
|
1518
|
+
|
|
1519
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1520
|
+
export type ApplicationListByResourceGroupResponse = ApplicationResourceDescriptionList;
|
|
1521
|
+
|
|
1522
|
+
/** Optional parameters. */
|
|
1523
|
+
export interface ApplicationListBySubscriptionOptionalParams
|
|
1524
|
+
extends coreClient.OperationOptions {}
|
|
1525
|
+
|
|
1526
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1527
|
+
export type ApplicationListBySubscriptionResponse = ApplicationResourceDescriptionList;
|
|
1528
|
+
|
|
1529
|
+
/** Optional parameters. */
|
|
1530
|
+
export interface ApplicationListByResourceGroupNextOptionalParams
|
|
1531
|
+
extends coreClient.OperationOptions {}
|
|
1532
|
+
|
|
1533
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1534
|
+
export type ApplicationListByResourceGroupNextResponse = ApplicationResourceDescriptionList;
|
|
1535
|
+
|
|
1536
|
+
/** Optional parameters. */
|
|
1537
|
+
export interface ApplicationListBySubscriptionNextOptionalParams
|
|
1538
|
+
extends coreClient.OperationOptions {}
|
|
1539
|
+
|
|
1540
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1541
|
+
export type ApplicationListBySubscriptionNextResponse = ApplicationResourceDescriptionList;
|
|
1542
|
+
|
|
1543
|
+
/** Optional parameters. */
|
|
1544
|
+
export interface ServiceGetOptionalParams extends coreClient.OperationOptions {}
|
|
1545
|
+
|
|
1546
|
+
/** Contains response data for the get operation. */
|
|
1547
|
+
export type ServiceGetResponse = ServiceResourceDescription;
|
|
1548
|
+
|
|
1549
|
+
/** Optional parameters. */
|
|
1550
|
+
export interface ServiceListOptionalParams
|
|
1551
|
+
extends coreClient.OperationOptions {}
|
|
1552
|
+
|
|
1553
|
+
/** Contains response data for the list operation. */
|
|
1554
|
+
export type ServiceListResponse = ServiceResourceDescriptionList;
|
|
1555
|
+
|
|
1556
|
+
/** Optional parameters. */
|
|
1557
|
+
export interface ServiceListNextOptionalParams
|
|
1558
|
+
extends coreClient.OperationOptions {}
|
|
1559
|
+
|
|
1560
|
+
/** Contains response data for the listNext operation. */
|
|
1561
|
+
export type ServiceListNextResponse = ServiceResourceDescriptionList;
|
|
1562
|
+
|
|
1563
|
+
/** Optional parameters. */
|
|
1564
|
+
export interface ServiceReplicaGetOptionalParams
|
|
1565
|
+
extends coreClient.OperationOptions {}
|
|
1566
|
+
|
|
1567
|
+
/** Contains response data for the get operation. */
|
|
1568
|
+
export type ServiceReplicaGetResponse = ServiceReplicaDescription;
|
|
1569
|
+
|
|
1570
|
+
/** Optional parameters. */
|
|
1571
|
+
export interface ServiceReplicaListOptionalParams
|
|
1572
|
+
extends coreClient.OperationOptions {}
|
|
1573
|
+
|
|
1574
|
+
/** Contains response data for the list operation. */
|
|
1575
|
+
export type ServiceReplicaListResponse = ServiceReplicaDescriptionList;
|
|
1576
|
+
|
|
1577
|
+
/** Optional parameters. */
|
|
1578
|
+
export interface ServiceReplicaListNextOptionalParams
|
|
1579
|
+
extends coreClient.OperationOptions {}
|
|
1580
|
+
|
|
1581
|
+
/** Contains response data for the listNext operation. */
|
|
1582
|
+
export type ServiceReplicaListNextResponse = ServiceReplicaDescriptionList;
|
|
1583
|
+
|
|
1584
|
+
/** Optional parameters. */
|
|
1585
|
+
export interface CodePackageGetContainerLogsOptionalParams
|
|
1586
|
+
extends coreClient.OperationOptions {
|
|
1587
|
+
/** Number of lines to show from the end of the logs. Default is 100. */
|
|
1588
|
+
tail?: number;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
/** Contains response data for the getContainerLogs operation. */
|
|
1592
|
+
export type CodePackageGetContainerLogsResponse = ContainerLogs;
|
|
1593
|
+
|
|
1594
|
+
/** Optional parameters. */
|
|
1595
|
+
export interface ServiceFabricMeshManagementClientOptionalParams
|
|
1596
|
+
extends coreClient.ServiceClientOptions {
|
|
1597
|
+
/** server parameter */
|
|
1598
|
+
$host?: string;
|
|
1599
|
+
/** Api Version */
|
|
1600
|
+
apiVersion?: string;
|
|
1601
|
+
/** Overrides client endpoint. */
|
|
1602
|
+
endpoint?: string;
|
|
1603
|
+
}
|