@azure/arm-servicefabricmesh 0.1.0 → 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 +75 -73
- 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 +87 -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 +1603 -0
- package/{lib → src}/models/mappers.ts +1315 -1344
- package/src/models/parameters.ts +250 -0
- package/src/operations/application.ts +418 -0
- package/src/operations/codePackage.ts +88 -0
- package/src/operations/gateway.ts +419 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/network.ts +418 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/secret.ts +417 -0
- package/src/operations/secretValueOperations.ts +403 -0
- package/src/operations/service.ts +241 -0
- package/src/operations/serviceReplica.ts +271 -0
- package/src/operations/volume.ts +417 -0
- 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 +115 -0
- 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 -5353
- 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 -27
- package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClient.js +0 -42
- package/esm/serviceFabricMeshManagementClient.js.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -16
- package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.js +0 -56
- package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
- package/lib/models/applicationMappers.ts +0 -76
- package/lib/models/codePackageMappers.ts +0 -18
- package/lib/models/gatewayMappers.ts +0 -76
- package/lib/models/index.ts +0 -3097
- package/lib/models/networkMappers.ts +0 -76
- package/lib/models/operationsMappers.ts +0 -20
- package/lib/models/parameters.ts +0 -175
- package/lib/models/secretMappers.ts +0 -76
- package/lib/models/secretValueOperationsMappers.ts +0 -77
- package/lib/models/serviceMappers.ts +0 -76
- package/lib/models/serviceReplicaMappers.ts +0 -40
- package/lib/models/volumeMappers.ts +0 -76
- package/lib/operations/application.ts +0 -427
- package/lib/operations/codePackage.ts +0 -104
- package/lib/operations/gateway.ts +0 -428
- package/lib/operations/network.ts +0 -427
- package/lib/operations/operations.ts +0 -125
- package/lib/operations/secret.ts +0 -427
- package/lib/operations/secretValueOperations.ts +0 -423
- package/lib/operations/service.ts +0 -204
- package/lib/operations/serviceReplica.ts +0 -214
- package/lib/operations/volume.ts +0 -427
- package/lib/serviceFabricMeshManagementClient.ts +0 -60
- package/lib/serviceFabricMeshManagementClientContext.ts +0 -62
|
@@ -0,0 +1,1603 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
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
|
+
}
|
|
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
|
+
}
|
|
61
|
+
|
|
62
|
+
/** An operation available at the listed Azure resource provider. */
|
|
63
|
+
export interface AvailableOperationDisplay {
|
|
64
|
+
/** Name of the operation provider. */
|
|
65
|
+
provider?: string;
|
|
66
|
+
/** Name of the resource on which the operation is available. */
|
|
67
|
+
resource?: string;
|
|
68
|
+
/** Name of the available operation. */
|
|
69
|
+
operation?: string;
|
|
70
|
+
/** Description of the available operation. */
|
|
71
|
+
description?: string;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** The error details. */
|
|
75
|
+
export interface ErrorModel {
|
|
76
|
+
/** Error model information */
|
|
77
|
+
error: ErrorErrorModel;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** Error model information */
|
|
81
|
+
export interface ErrorErrorModel {
|
|
82
|
+
code: string;
|
|
83
|
+
/** Error message. */
|
|
84
|
+
message?: string;
|
|
85
|
+
innerError?: string;
|
|
86
|
+
/** List of error message details. */
|
|
87
|
+
details?: ErrorDetailsModel[];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/** Error model details information */
|
|
91
|
+
export interface ErrorDetailsModel {
|
|
92
|
+
code: string;
|
|
93
|
+
/** Error message. */
|
|
94
|
+
message: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/** Describes common properties of a provisioned resource. */
|
|
98
|
+
export interface ProvisionedResourceProperties {
|
|
99
|
+
/**
|
|
100
|
+
* State of the resource.
|
|
101
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
102
|
+
*/
|
|
103
|
+
readonly provisioningState?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/** The resource model definition for Azure Resource Manager resource. */
|
|
107
|
+
export interface Resource {
|
|
108
|
+
/**
|
|
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.
|
|
111
|
+
*/
|
|
112
|
+
readonly id?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the resource
|
|
115
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
116
|
+
*/
|
|
117
|
+
readonly name?: string;
|
|
118
|
+
/**
|
|
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.
|
|
121
|
+
*/
|
|
122
|
+
readonly type?: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
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;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** This type describes properties of secret value resource. */
|
|
134
|
+
export interface SecretValueProperties {
|
|
135
|
+
/** The actual value of the secret. */
|
|
136
|
+
value?: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
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;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/** This type represents the unencrypted value of the secret. */
|
|
148
|
+
export interface SecretValue {
|
|
149
|
+
/** The actual value of the secret. */
|
|
150
|
+
value?: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** Describes properties of a volume resource. */
|
|
154
|
+
export interface VolumeProperties {
|
|
155
|
+
/** User readable description of the volume. */
|
|
156
|
+
description?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Status of the volume.
|
|
159
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
160
|
+
*/
|
|
161
|
+
readonly status?: ResourceStatus;
|
|
162
|
+
/**
|
|
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.
|
|
165
|
+
*/
|
|
166
|
+
readonly statusDetails?: 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;
|
|
171
|
+
}
|
|
172
|
+
|
|
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. */
|
|
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[];
|
|
211
|
+
/**
|
|
212
|
+
* Status of the resource.
|
|
213
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
214
|
+
*/
|
|
215
|
+
readonly status?: ResourceStatus;
|
|
216
|
+
/**
|
|
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.
|
|
219
|
+
*/
|
|
220
|
+
readonly statusDetails?: string;
|
|
221
|
+
/**
|
|
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.
|
|
224
|
+
*/
|
|
225
|
+
readonly ipAddress?: string;
|
|
226
|
+
}
|
|
227
|
+
|
|
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[];
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Describes a reference to a service endpoint. */
|
|
237
|
+
export interface EndpointRef {
|
|
238
|
+
/** Name of the endpoint. */
|
|
239
|
+
name?: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
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;
|
|
250
|
+
}
|
|
251
|
+
|
|
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;
|
|
260
|
+
}
|
|
261
|
+
|
|
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[];
|
|
270
|
+
}
|
|
271
|
+
|
|
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[];
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/** Describes the hostname properties for http routing. */
|
|
281
|
+
export interface HttpRouteConfig {
|
|
282
|
+
/** http route name. */
|
|
283
|
+
name: string;
|
|
284
|
+
/** Describes a rule for http route matching. */
|
|
285
|
+
match: HttpRouteMatchRule;
|
|
286
|
+
/** Describes destination endpoint for routing traffic. */
|
|
287
|
+
destination: GatewayDestination;
|
|
288
|
+
}
|
|
289
|
+
|
|
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
|
+
}
|
|
297
|
+
|
|
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;
|
|
306
|
+
}
|
|
307
|
+
|
|
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;
|
|
316
|
+
}
|
|
317
|
+
|
|
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;
|
|
324
|
+
}
|
|
325
|
+
|
|
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;
|
|
336
|
+
/**
|
|
337
|
+
* Names of the services in the application.
|
|
338
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
339
|
+
*/
|
|
340
|
+
readonly serviceNames?: string[];
|
|
341
|
+
/**
|
|
342
|
+
* Status of the application.
|
|
343
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
344
|
+
*/
|
|
345
|
+
readonly status?: ResourceStatus;
|
|
346
|
+
/**
|
|
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.
|
|
349
|
+
*/
|
|
350
|
+
readonly statusDetails?: string;
|
|
351
|
+
/**
|
|
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.
|
|
354
|
+
*/
|
|
355
|
+
readonly healthState?: HealthState;
|
|
356
|
+
/**
|
|
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.
|
|
359
|
+
*/
|
|
360
|
+
readonly unhealthyEvaluation?: string;
|
|
361
|
+
}
|
|
362
|
+
|
|
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;
|
|
373
|
+
}
|
|
374
|
+
|
|
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[];
|
|
405
|
+
/**
|
|
406
|
+
* Runtime information of a container instance.
|
|
407
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
408
|
+
*/
|
|
409
|
+
readonly instanceView?: ContainerInstanceView;
|
|
410
|
+
}
|
|
411
|
+
|
|
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;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/** Describes an environment variable for the container. */
|
|
423
|
+
export interface EnvironmentVariable {
|
|
424
|
+
/** The name of the environment variable. */
|
|
425
|
+
name?: string;
|
|
426
|
+
/** The value of the environment variable. */
|
|
427
|
+
value?: string;
|
|
428
|
+
}
|
|
429
|
+
|
|
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;
|
|
436
|
+
}
|
|
437
|
+
|
|
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;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/** Describes a container endpoint. */
|
|
447
|
+
export interface EndpointProperties {
|
|
448
|
+
/** The name of the endpoint. */
|
|
449
|
+
name: string;
|
|
450
|
+
/** Port used by the container. */
|
|
451
|
+
port?: number;
|
|
452
|
+
}
|
|
453
|
+
|
|
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;
|
|
460
|
+
}
|
|
461
|
+
|
|
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;
|
|
468
|
+
}
|
|
469
|
+
|
|
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;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/** Describes a reference to a volume resource. */
|
|
479
|
+
export interface VolumeReference {
|
|
480
|
+
/** Name of the volume being referenced. */
|
|
481
|
+
name: string;
|
|
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;
|
|
486
|
+
}
|
|
487
|
+
|
|
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. */
|
|
493
|
+
description?: string;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/** Reference to sinks in DiagnosticsDescription. */
|
|
497
|
+
export interface DiagnosticsRef {
|
|
498
|
+
/** Status of whether or not sinks are enabled. */
|
|
499
|
+
enabled?: boolean;
|
|
500
|
+
/** List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription. */
|
|
501
|
+
sinkRefs?: string[];
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/** Specifying this parameter adds support for reliable collections */
|
|
505
|
+
export interface ReliableCollectionsRef {
|
|
506
|
+
/** Name of ReliableCollection resource. Right now it's not used and you can use any string. */
|
|
507
|
+
name: string;
|
|
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. */
|
|
509
|
+
doNotPersistState?: boolean;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/** Runtime information of a container instance. */
|
|
513
|
+
export interface ContainerInstanceView {
|
|
514
|
+
/** The number of times the container has been restarted. */
|
|
515
|
+
restartCount?: number;
|
|
516
|
+
/** Current container instance state. */
|
|
517
|
+
currentState?: ContainerState;
|
|
518
|
+
/** Previous container instance state. */
|
|
519
|
+
previousState?: ContainerState;
|
|
520
|
+
/** The events of this container instance. */
|
|
521
|
+
events?: ContainerEvent[];
|
|
522
|
+
}
|
|
523
|
+
|
|
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;
|
|
536
|
+
}
|
|
537
|
+
|
|
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;
|
|
552
|
+
}
|
|
553
|
+
|
|
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[];
|
|
562
|
+
/**
|
|
563
|
+
* Status of the service.
|
|
564
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
565
|
+
*/
|
|
566
|
+
readonly status?: ResourceStatus;
|
|
567
|
+
/**
|
|
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.
|
|
570
|
+
*/
|
|
571
|
+
readonly statusDetails?: string;
|
|
572
|
+
/**
|
|
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.
|
|
575
|
+
*/
|
|
576
|
+
readonly healthState?: HealthState;
|
|
577
|
+
/**
|
|
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.
|
|
580
|
+
*/
|
|
581
|
+
readonly unhealthyEvaluation?: string;
|
|
582
|
+
}
|
|
583
|
+
|
|
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;
|
|
592
|
+
}
|
|
593
|
+
|
|
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";
|
|
598
|
+
}
|
|
599
|
+
|
|
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";
|
|
604
|
+
}
|
|
605
|
+
|
|
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 {
|
|
608
|
+
/**
|
|
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.
|
|
611
|
+
*/
|
|
612
|
+
readonly id?: string;
|
|
613
|
+
/** The name of the resource */
|
|
614
|
+
name?: string;
|
|
615
|
+
/**
|
|
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.
|
|
618
|
+
*/
|
|
619
|
+
readonly type?: string;
|
|
620
|
+
}
|
|
621
|
+
|
|
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[];
|
|
630
|
+
}
|
|
631
|
+
|
|
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;
|
|
640
|
+
}
|
|
641
|
+
|
|
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. */
|
|
647
|
+
nextLink?: string;
|
|
648
|
+
}
|
|
649
|
+
|
|
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. */
|
|
655
|
+
nextLink?: string;
|
|
656
|
+
}
|
|
657
|
+
|
|
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. */
|
|
663
|
+
nextLink?: string;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/** Container logs. */
|
|
667
|
+
export interface ContainerLogs {
|
|
668
|
+
/** Container logs. */
|
|
669
|
+
content?: string;
|
|
670
|
+
}
|
|
671
|
+
|
|
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";
|
|
676
|
+
}
|
|
677
|
+
|
|
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
|
+
};
|
|
683
|
+
|
|
684
|
+
/** This type describes properties of a secret value resource. */
|
|
685
|
+
export type SecretValueResourceProperties = ProvisionedResourceProperties &
|
|
686
|
+
SecretValueProperties & {};
|
|
687
|
+
|
|
688
|
+
/** This type describes properties of a volume resource. */
|
|
689
|
+
export type VolumeResourceProperties = ProvisionedResourceProperties &
|
|
690
|
+
VolumeProperties & {};
|
|
691
|
+
|
|
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
|
+
};
|
|
697
|
+
|
|
698
|
+
/** This type describes properties of a gateway resource. */
|
|
699
|
+
export type GatewayResourceProperties = ProvisionedResourceProperties &
|
|
700
|
+
GatewayProperties & {};
|
|
701
|
+
|
|
702
|
+
/** This type describes properties of a service resource. */
|
|
703
|
+
export type ServiceResourceProperties = ProvisionedResourceProperties &
|
|
704
|
+
ServiceReplicaProperties &
|
|
705
|
+
ServiceProperties & {};
|
|
706
|
+
|
|
707
|
+
/** This type describes properties of an application resource. */
|
|
708
|
+
export type ApplicationResourceProperties = ProvisionedResourceProperties &
|
|
709
|
+
ApplicationProperties & {};
|
|
710
|
+
|
|
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
|
+
};
|
|
718
|
+
|
|
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 & {};
|
|
721
|
+
|
|
722
|
+
/** Describes a replica of a service resource. */
|
|
723
|
+
export type ServiceReplicaDescription = ServiceReplicaProperties & {
|
|
724
|
+
/** Name of the replica. */
|
|
725
|
+
replicaName: string;
|
|
726
|
+
};
|
|
727
|
+
|
|
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
|
+
};
|
|
733
|
+
|
|
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
|
+
};
|
|
741
|
+
|
|
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;
|
|
754
|
+
};
|
|
755
|
+
|
|
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;
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
/** This type describes a service resource. */
|
|
769
|
+
export type ServiceResourceDescription = ManagedProxyResource & {
|
|
770
|
+
/**
|
|
771
|
+
* State of the resource.
|
|
772
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
773
|
+
*/
|
|
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[];
|
|
789
|
+
/**
|
|
790
|
+
* Status of the service.
|
|
791
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
792
|
+
*/
|
|
793
|
+
readonly status?: ResourceStatus;
|
|
794
|
+
/**
|
|
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.
|
|
797
|
+
*/
|
|
798
|
+
readonly statusDetails?: string;
|
|
799
|
+
/**
|
|
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.
|
|
802
|
+
*/
|
|
803
|
+
readonly healthState?: HealthState;
|
|
804
|
+
/**
|
|
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.
|
|
807
|
+
*/
|
|
808
|
+
readonly unhealthyEvaluation?: string;
|
|
809
|
+
};
|
|
810
|
+
|
|
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;
|
|
825
|
+
};
|
|
826
|
+
|
|
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;
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
/** Describes the properties of a secret resource. */
|
|
836
|
+
export type SecretResourceProperties = SecretResourcePropertiesBase & {
|
|
837
|
+
/** User readable description of the secret. */
|
|
838
|
+
description?: string;
|
|
839
|
+
/**
|
|
840
|
+
* Status of the resource.
|
|
841
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
842
|
+
*/
|
|
843
|
+
readonly status?: ResourceStatus;
|
|
844
|
+
/**
|
|
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.
|
|
847
|
+
*/
|
|
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;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
/** Describes properties of a network resource. */
|
|
854
|
+
export type NetworkResourceProperties = NetworkResourcePropertiesBase & {
|
|
855
|
+
/** User readable description of the network. */
|
|
856
|
+
description?: string;
|
|
857
|
+
/**
|
|
858
|
+
* Status of the network.
|
|
859
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
860
|
+
*/
|
|
861
|
+
readonly status?: ResourceStatus;
|
|
862
|
+
/**
|
|
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.
|
|
865
|
+
*/
|
|
866
|
+
readonly statusDetails?: string;
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
/** This type describes a secret resource. */
|
|
870
|
+
export type SecretResourceDescription = TrackedResource & {
|
|
871
|
+
/** Describes the properties of a secret resource. */
|
|
872
|
+
properties: SecretResourcePropertiesUnion;
|
|
873
|
+
};
|
|
874
|
+
|
|
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 & {
|
|
877
|
+
/**
|
|
878
|
+
* State of the resource.
|
|
879
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
880
|
+
*/
|
|
881
|
+
readonly provisioningState?: string;
|
|
882
|
+
/** The actual value of the secret. */
|
|
883
|
+
value?: string;
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
/** This type describes a volume resource. */
|
|
887
|
+
export type VolumeResourceDescription = TrackedResource & {
|
|
888
|
+
/**
|
|
889
|
+
* State of the resource.
|
|
890
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
891
|
+
*/
|
|
892
|
+
readonly provisioningState?: string;
|
|
893
|
+
/** User readable description of the volume. */
|
|
894
|
+
description?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Status of the volume.
|
|
897
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
898
|
+
*/
|
|
899
|
+
readonly status?: ResourceStatus;
|
|
900
|
+
/**
|
|
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.
|
|
903
|
+
*/
|
|
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;
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
/** This type describes a network resource. */
|
|
912
|
+
export type NetworkResourceDescription = TrackedResource & {
|
|
913
|
+
/** Describes properties of a network resource. */
|
|
914
|
+
properties: NetworkResourcePropertiesUnion;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
/** This type describes a gateway resource. */
|
|
918
|
+
export type GatewayResourceDescription = TrackedResource & {
|
|
919
|
+
/**
|
|
920
|
+
* State of the resource.
|
|
921
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
922
|
+
*/
|
|
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[];
|
|
934
|
+
/**
|
|
935
|
+
* Status of the resource.
|
|
936
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
937
|
+
*/
|
|
938
|
+
readonly status?: ResourceStatus;
|
|
939
|
+
/**
|
|
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.
|
|
942
|
+
*/
|
|
943
|
+
readonly statusDetails?: string;
|
|
944
|
+
/**
|
|
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.
|
|
947
|
+
*/
|
|
948
|
+
readonly ipAddress?: string;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
/** This type describes an application resource. */
|
|
952
|
+
export type ApplicationResourceDescription = TrackedResource & {
|
|
953
|
+
/**
|
|
954
|
+
* State of the resource.
|
|
955
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
956
|
+
*/
|
|
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;
|
|
966
|
+
/**
|
|
967
|
+
* Names of the services in the application.
|
|
968
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
969
|
+
*/
|
|
970
|
+
readonly serviceNames?: string[];
|
|
971
|
+
/**
|
|
972
|
+
* Status of the application.
|
|
973
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
974
|
+
*/
|
|
975
|
+
readonly status?: ResourceStatus;
|
|
976
|
+
/**
|
|
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.
|
|
979
|
+
*/
|
|
980
|
+
readonly statusDetails?: string;
|
|
981
|
+
/**
|
|
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.
|
|
984
|
+
*/
|
|
985
|
+
readonly healthState?: HealthState;
|
|
986
|
+
/**
|
|
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.
|
|
989
|
+
*/
|
|
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;
|
|
1000
|
+
};
|
|
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
|
+
|
|
1018
|
+
/**
|
|
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.
|
|
1029
|
+
*/
|
|
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
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
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.
|
|
1044
|
+
*/
|
|
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
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
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.
|
|
1059
|
+
*/
|
|
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
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
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.
|
|
1074
|
+
*/
|
|
1075
|
+
export type NetworkKind = string;
|
|
1076
|
+
|
|
1077
|
+
/** Known values of {@link PathMatchType} that the service accepts. */
|
|
1078
|
+
export enum KnownPathMatchType {
|
|
1079
|
+
Prefix = "prefix"
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
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**
|
|
1088
|
+
*/
|
|
1089
|
+
export type PathMatchType = string;
|
|
1090
|
+
|
|
1091
|
+
/** Known values of {@link HeaderMatchType} that the service accepts. */
|
|
1092
|
+
export enum KnownHeaderMatchType {
|
|
1093
|
+
Exact = "exact"
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
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**
|
|
1102
|
+
*/
|
|
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
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
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.
|
|
1120
|
+
*/
|
|
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
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
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
|
|
1135
|
+
*/
|
|
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
|
+
}
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
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.
|
|
1150
|
+
*/
|
|
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
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
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.
|
|
1165
|
+
*/
|
|
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
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
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.
|
|
1192
|
+
*/
|
|
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
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
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.
|
|
1210
|
+
*/
|
|
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
|
+
}
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
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**
|
|
1228
|
+
*/
|
|
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
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
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.
|
|
1243
|
+
*/
|
|
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
|
+
}
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
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.
|
|
1261
|
+
*/
|
|
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
|
+
}
|