@azure/arm-servicefabric 2.1.1-alpha.20231211.1 → 3.0.1-alpha.20231220.4
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 +28 -2
- package/LICENSE +1 -1
- package/dist/index.js +749 -111
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/applicationTypeVersionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/applicationTypeVersionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsGetSample.js +11 -3
- package/dist-esm/samples-dev/applicationTypeVersionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsListSample.js +30 -6
- package/dist-esm/samples-dev/applicationTypeVersionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypesCreateOrUpdateSample.js +11 -3
- package/dist-esm/samples-dev/applicationTypesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/applicationTypesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypesGetSample.js +11 -3
- package/dist-esm/samples-dev/applicationTypesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypesListSample.js +30 -6
- package/dist-esm/samples-dev/applicationTypesListSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +19 -9
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsDeleteSample.js +11 -3
- package/dist-esm/samples-dev/applicationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsGetSample.js +11 -3
- package/dist-esm/samples-dev/applicationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsListSample.js +30 -6
- package/dist-esm/samples-dev/applicationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/applicationsUpdateSample.js +11 -3
- package/dist-esm/samples-dev/applicationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/clusterVersionsGetByEnvironmentSample.js +10 -2
- package/dist-esm/samples-dev/clusterVersionsGetByEnvironmentSample.js.map +1 -1
- package/dist-esm/samples-dev/clusterVersionsGetSample.js +10 -2
- package/dist-esm/samples-dev/clusterVersionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/clusterVersionsListByEnvironmentSample.js +10 -2
- package/dist-esm/samples-dev/clusterVersionsListByEnvironmentSample.js.map +1 -1
- package/dist-esm/samples-dev/clusterVersionsListSample.js +10 -2
- package/dist-esm/samples-dev/clusterVersionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +15 -6
- package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersDeleteSample.js +11 -3
- package/dist-esm/samples-dev/clustersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersGetSample.js +11 -3
- package/dist-esm/samples-dev/clustersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +30 -6
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersListSample.js +29 -5
- package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersListUpgradableVersionsSample.js +15 -6
- package/dist-esm/samples-dev/clustersListUpgradableVersionsSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +11 -3
- package/dist-esm/samples-dev/clustersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +10 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +15 -6
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +11 -3
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +11 -3
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +30 -6
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +11 -3
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +38 -8
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +7 -7
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +11 -11
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/applicationTypeVersions.d.ts +26 -5
- package/dist-esm/src/operations/applicationTypeVersions.d.ts.map +1 -1
- package/dist-esm/src/operations/applicationTypeVersions.js +139 -19
- package/dist-esm/src/operations/applicationTypeVersions.js.map +1 -1
- package/dist-esm/src/operations/applicationTypes.d.ts +23 -4
- package/dist-esm/src/operations/applicationTypes.d.ts.map +1 -1
- package/dist-esm/src/operations/applicationTypes.js +109 -8
- package/dist-esm/src/operations/applicationTypes.js.map +1 -1
- package/dist-esm/src/operations/applications.d.ts +25 -6
- package/dist-esm/src/operations/applications.d.ts.map +1 -1
- package/dist-esm/src/operations/applications.js +137 -16
- package/dist-esm/src/operations/applications.js.map +1 -1
- package/dist-esm/src/operations/clusterVersions.d.ts +3 -3
- package/dist-esm/src/operations/clusterVersions.d.ts.map +1 -1
- package/dist-esm/src/operations/clusterVersions.js.map +1 -1
- package/dist-esm/src/operations/clusters.d.ts +37 -6
- package/dist-esm/src/operations/clusters.d.ts.map +1 -1
- package/dist-esm/src/operations/clusters.js +204 -13
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts +27 -6
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +148 -30
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/applicationTypeVersions.d.ts +14 -13
- package/dist-esm/src/operationsInterfaces/applicationTypeVersions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/applicationTypes.d.ts +12 -11
- package/dist-esm/src/operationsInterfaces/applicationTypes.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/applications.d.ts +14 -13
- package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/clusterVersions.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/clusterVersions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +18 -17
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/services.d.ts +15 -14
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -1
- package/dist-esm/src/serviceFabricManagementClient.js +1 -1
- package/dist-esm/test/servicefabric_examples.spec.js +73 -11
- package/dist-esm/test/servicefabric_examples.spec.js.map +1 -1
- package/package.json +12 -9
- package/review/arm-servicefabric.api.md +72 -30
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +50 -8
- package/src/models/parameters.ts +12 -12
- package/src/operations/applicationTypeVersions.ts +186 -25
- package/src/operations/applicationTypes.ts +141 -15
- package/src/operations/applications.ts +179 -35
- package/src/operations/clusterVersions.ts +3 -3
- package/src/operations/clusters.ts +245 -30
- package/src/operations/services.ts +193 -35
- package/src/operationsInterfaces/applicationTypeVersions.ts +23 -22
- package/src/operationsInterfaces/applicationTypes.ts +19 -18
- package/src/operationsInterfaces/applications.ts +23 -22
- package/src/operationsInterfaces/clusterVersions.ts +3 -3
- package/src/operationsInterfaces/clusters.ts +28 -26
- package/src/operationsInterfaces/services.ts +25 -24
- package/src/serviceFabricManagementClient.ts +1 -1
- package/types/arm-servicefabric.d.ts +125 -83
|
@@ -6,27 +6,45 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
11
|
import {
|
|
12
|
+
Cluster,
|
|
13
|
+
ClustersListByResourceGroupOptionalParams,
|
|
14
|
+
ClustersListOptionalParams,
|
|
11
15
|
ClustersGetOptionalParams,
|
|
12
16
|
ClustersGetResponse,
|
|
13
|
-
Cluster,
|
|
14
17
|
ClustersCreateOrUpdateOptionalParams,
|
|
15
18
|
ClustersCreateOrUpdateResponse,
|
|
16
19
|
ClusterUpdateParameters,
|
|
17
20
|
ClustersUpdateOptionalParams,
|
|
18
21
|
ClustersUpdateResponse,
|
|
19
22
|
ClustersDeleteOptionalParams,
|
|
20
|
-
ClustersListByResourceGroupOptionalParams,
|
|
21
|
-
ClustersListByResourceGroupResponse,
|
|
22
|
-
ClustersListOptionalParams,
|
|
23
|
-
ClustersListResponse,
|
|
24
23
|
ClustersListUpgradableVersionsOptionalParams,
|
|
25
24
|
ClustersListUpgradableVersionsResponse
|
|
26
25
|
} from "../models";
|
|
27
26
|
|
|
27
|
+
/// <reference lib="esnext.asynciterable" />
|
|
28
28
|
/** Interface representing a Clusters. */
|
|
29
29
|
export interface Clusters {
|
|
30
|
+
/**
|
|
31
|
+
* Gets all Service Fabric cluster resources created or in the process of being created in the resource
|
|
32
|
+
* group.
|
|
33
|
+
* @param resourceGroupName The name of the resource group.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
listByResourceGroup(
|
|
37
|
+
resourceGroupName: string,
|
|
38
|
+
options?: ClustersListByResourceGroupOptionalParams
|
|
39
|
+
): PagedAsyncIterableIterator<Cluster>;
|
|
40
|
+
/**
|
|
41
|
+
* Gets all Service Fabric cluster resources created or in the process of being created in the
|
|
42
|
+
* subscription.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
list(
|
|
46
|
+
options?: ClustersListOptionalParams
|
|
47
|
+
): PagedAsyncIterableIterator<Cluster>;
|
|
30
48
|
/**
|
|
31
49
|
* Get a Service Fabric cluster resource created or in the process of being created in the specified
|
|
32
50
|
* resource group.
|
|
@@ -52,8 +70,8 @@ export interface Clusters {
|
|
|
52
70
|
parameters: Cluster,
|
|
53
71
|
options?: ClustersCreateOrUpdateOptionalParams
|
|
54
72
|
): Promise<
|
|
55
|
-
|
|
56
|
-
|
|
73
|
+
SimplePollerLike<
|
|
74
|
+
OperationState<ClustersCreateOrUpdateResponse>,
|
|
57
75
|
ClustersCreateOrUpdateResponse
|
|
58
76
|
>
|
|
59
77
|
>;
|
|
@@ -84,8 +102,8 @@ export interface Clusters {
|
|
|
84
102
|
parameters: ClusterUpdateParameters,
|
|
85
103
|
options?: ClustersUpdateOptionalParams
|
|
86
104
|
): Promise<
|
|
87
|
-
|
|
88
|
-
|
|
105
|
+
SimplePollerLike<
|
|
106
|
+
OperationState<ClustersUpdateResponse>,
|
|
89
107
|
ClustersUpdateResponse
|
|
90
108
|
>
|
|
91
109
|
>;
|
|
@@ -114,22 +132,6 @@ export interface Clusters {
|
|
|
114
132
|
clusterName: string,
|
|
115
133
|
options?: ClustersDeleteOptionalParams
|
|
116
134
|
): Promise<void>;
|
|
117
|
-
/**
|
|
118
|
-
* Gets all Service Fabric cluster resources created or in the process of being created in the resource
|
|
119
|
-
* group.
|
|
120
|
-
* @param resourceGroupName The name of the resource group.
|
|
121
|
-
* @param options The options parameters.
|
|
122
|
-
*/
|
|
123
|
-
listByResourceGroup(
|
|
124
|
-
resourceGroupName: string,
|
|
125
|
-
options?: ClustersListByResourceGroupOptionalParams
|
|
126
|
-
): Promise<ClustersListByResourceGroupResponse>;
|
|
127
|
-
/**
|
|
128
|
-
* Gets all Service Fabric cluster resources created or in the process of being created in the
|
|
129
|
-
* subscription.
|
|
130
|
-
* @param options The options parameters.
|
|
131
|
-
*/
|
|
132
|
-
list(options?: ClustersListOptionalParams): Promise<ClustersListResponse>;
|
|
133
135
|
/**
|
|
134
136
|
* If a target is not provided, it will get the minimum and maximum versions available from the current
|
|
135
137
|
* cluster version. If a target is given, it will provide the required path to get from the current
|
|
@@ -6,23 +6,38 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
11
|
import {
|
|
12
|
+
ServiceResource,
|
|
13
|
+
ServicesListOptionalParams,
|
|
11
14
|
ServicesGetOptionalParams,
|
|
12
15
|
ServicesGetResponse,
|
|
13
|
-
ServiceResource,
|
|
14
16
|
ServicesCreateOrUpdateOptionalParams,
|
|
15
17
|
ServicesCreateOrUpdateResponse,
|
|
16
18
|
ServiceResourceUpdate,
|
|
17
19
|
ServicesUpdateOptionalParams,
|
|
18
20
|
ServicesUpdateResponse,
|
|
19
|
-
ServicesDeleteOptionalParams
|
|
20
|
-
ServicesListOptionalParams,
|
|
21
|
-
ServicesListResponse
|
|
21
|
+
ServicesDeleteOptionalParams
|
|
22
22
|
} from "../models";
|
|
23
23
|
|
|
24
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
25
|
/** Interface representing a Services. */
|
|
25
26
|
export interface Services {
|
|
27
|
+
/**
|
|
28
|
+
* Gets all service resources created or in the process of being created in the Service Fabric
|
|
29
|
+
* application resource.
|
|
30
|
+
* @param resourceGroupName The name of the resource group.
|
|
31
|
+
* @param clusterName The name of the cluster resource.
|
|
32
|
+
* @param applicationName The name of the application resource.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
list(
|
|
36
|
+
resourceGroupName: string,
|
|
37
|
+
clusterName: string,
|
|
38
|
+
applicationName: string,
|
|
39
|
+
options?: ServicesListOptionalParams
|
|
40
|
+
): PagedAsyncIterableIterator<ServiceResource>;
|
|
26
41
|
/**
|
|
27
42
|
* Get a Service Fabric service resource created or in the process of being created in the Service
|
|
28
43
|
* Fabric application resource.
|
|
@@ -58,8 +73,8 @@ export interface Services {
|
|
|
58
73
|
parameters: ServiceResource,
|
|
59
74
|
options?: ServicesCreateOrUpdateOptionalParams
|
|
60
75
|
): Promise<
|
|
61
|
-
|
|
62
|
-
|
|
76
|
+
SimplePollerLike<
|
|
77
|
+
OperationState<ServicesCreateOrUpdateResponse>,
|
|
63
78
|
ServicesCreateOrUpdateResponse
|
|
64
79
|
>
|
|
65
80
|
>;
|
|
@@ -99,8 +114,8 @@ export interface Services {
|
|
|
99
114
|
parameters: ServiceResourceUpdate,
|
|
100
115
|
options?: ServicesUpdateOptionalParams
|
|
101
116
|
): Promise<
|
|
102
|
-
|
|
103
|
-
|
|
117
|
+
SimplePollerLike<
|
|
118
|
+
OperationState<ServicesUpdateResponse>,
|
|
104
119
|
ServicesUpdateResponse
|
|
105
120
|
>
|
|
106
121
|
>;
|
|
@@ -137,7 +152,7 @@ export interface Services {
|
|
|
137
152
|
applicationName: string,
|
|
138
153
|
serviceName: string,
|
|
139
154
|
options?: ServicesDeleteOptionalParams
|
|
140
|
-
): Promise<
|
|
155
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
141
156
|
/**
|
|
142
157
|
* Delete a Service Fabric service resource with the specified name.
|
|
143
158
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -154,18 +169,4 @@ export interface Services {
|
|
|
154
169
|
serviceName: string,
|
|
155
170
|
options?: ServicesDeleteOptionalParams
|
|
156
171
|
): Promise<void>;
|
|
157
|
-
/**
|
|
158
|
-
* Gets all service resources created or in the process of being created in the Service Fabric
|
|
159
|
-
* application resource.
|
|
160
|
-
* @param resourceGroupName The name of the resource group.
|
|
161
|
-
* @param clusterName The name of the cluster resource.
|
|
162
|
-
* @param applicationName The name of the application resource.
|
|
163
|
-
* @param options The options parameters.
|
|
164
|
-
*/
|
|
165
|
-
list(
|
|
166
|
-
resourceGroupName: string,
|
|
167
|
-
clusterName: string,
|
|
168
|
-
applicationName: string,
|
|
169
|
-
options?: ServicesListOptionalParams
|
|
170
|
-
): Promise<ServicesListResponse>;
|
|
171
172
|
}
|
|
@@ -66,7 +66,7 @@ export class ServiceFabricManagementClient extends coreClient.ServiceClient {
|
|
|
66
66
|
credential: credentials
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
const packageDetails = `azsdk-js-arm-servicefabric/
|
|
69
|
+
const packageDetails = `azsdk-js-arm-servicefabric/3.0.1`;
|
|
70
70
|
const userAgentPrefix =
|
|
71
71
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
72
72
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
-
import {
|
|
5
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Defines values for AddOnFeatures. \
|
|
@@ -174,6 +174,14 @@ export declare interface ApplicationResourceUpdateProperties {
|
|
|
174
174
|
|
|
175
175
|
/** Interface representing a Applications. */
|
|
176
176
|
export declare interface Applications {
|
|
177
|
+
/**
|
|
178
|
+
* Gets all application resources created or in the process of being created in the Service Fabric
|
|
179
|
+
* cluster resource.
|
|
180
|
+
* @param resourceGroupName The name of the resource group.
|
|
181
|
+
* @param clusterName The name of the cluster resource.
|
|
182
|
+
* @param options The options parameters.
|
|
183
|
+
*/
|
|
184
|
+
list(resourceGroupName: string, clusterName: string, options?: ApplicationsListOptionalParams): PagedAsyncIterableIterator<ApplicationResource>;
|
|
177
185
|
/**
|
|
178
186
|
* Get a Service Fabric application resource created or in the process of being created in the Service
|
|
179
187
|
* Fabric cluster resource.
|
|
@@ -191,7 +199,7 @@ export declare interface Applications {
|
|
|
191
199
|
* @param parameters The application resource.
|
|
192
200
|
* @param options The options parameters.
|
|
193
201
|
*/
|
|
194
|
-
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResource, options?: ApplicationsCreateOrUpdateOptionalParams): Promise<
|
|
202
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResource, options?: ApplicationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsCreateOrUpdateResponse>, ApplicationsCreateOrUpdateResponse>>;
|
|
195
203
|
/**
|
|
196
204
|
* Create or update a Service Fabric application resource with the specified name.
|
|
197
205
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -209,7 +217,7 @@ export declare interface Applications {
|
|
|
209
217
|
* @param parameters The application resource for patch operations.
|
|
210
218
|
* @param options The options parameters.
|
|
211
219
|
*/
|
|
212
|
-
beginUpdate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResourceUpdate, options?: ApplicationsUpdateOptionalParams): Promise<
|
|
220
|
+
beginUpdate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: ApplicationResourceUpdate, options?: ApplicationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationsUpdateResponse>, ApplicationsUpdateResponse>>;
|
|
213
221
|
/**
|
|
214
222
|
* Update a Service Fabric application resource with the specified name.
|
|
215
223
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -226,7 +234,7 @@ export declare interface Applications {
|
|
|
226
234
|
* @param applicationName The name of the application resource.
|
|
227
235
|
* @param options The options parameters.
|
|
228
236
|
*/
|
|
229
|
-
beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<
|
|
237
|
+
beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
230
238
|
/**
|
|
231
239
|
* Delete a Service Fabric application resource with the specified name.
|
|
232
240
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -235,14 +243,6 @@ export declare interface Applications {
|
|
|
235
243
|
* @param options The options parameters.
|
|
236
244
|
*/
|
|
237
245
|
beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise<void>;
|
|
238
|
-
/**
|
|
239
|
-
* Gets all application resources created or in the process of being created in the Service Fabric
|
|
240
|
-
* cluster resource.
|
|
241
|
-
* @param resourceGroupName The name of the resource group.
|
|
242
|
-
* @param clusterName The name of the cluster resource.
|
|
243
|
-
* @param options The options parameters.
|
|
244
|
-
*/
|
|
245
|
-
list(resourceGroupName: string, clusterName: string, options?: ApplicationsListOptionalParams): Promise<ApplicationsListResponse>;
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
/** Optional parameters. */
|
|
@@ -271,6 +271,13 @@ export declare interface ApplicationsGetOptionalParams extends coreClient.Operat
|
|
|
271
271
|
/** Contains response data for the get operation. */
|
|
272
272
|
export declare type ApplicationsGetResponse = ApplicationResource;
|
|
273
273
|
|
|
274
|
+
/** Optional parameters. */
|
|
275
|
+
export declare interface ApplicationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/** Contains response data for the listNext operation. */
|
|
279
|
+
export declare type ApplicationsListNextResponse = ApplicationResourceList;
|
|
280
|
+
|
|
274
281
|
/** Optional parameters. */
|
|
275
282
|
export declare interface ApplicationsListOptionalParams extends coreClient.OperationOptions {
|
|
276
283
|
}
|
|
@@ -310,6 +317,14 @@ export declare interface ApplicationTypeResourceList {
|
|
|
310
317
|
|
|
311
318
|
/** Interface representing a ApplicationTypes. */
|
|
312
319
|
export declare interface ApplicationTypes {
|
|
320
|
+
/**
|
|
321
|
+
* Gets all application type name resources created or in the process of being created in the Service
|
|
322
|
+
* Fabric cluster resource.
|
|
323
|
+
* @param resourceGroupName The name of the resource group.
|
|
324
|
+
* @param clusterName The name of the cluster resource.
|
|
325
|
+
* @param options The options parameters.
|
|
326
|
+
*/
|
|
327
|
+
list(resourceGroupName: string, clusterName: string, options?: ApplicationTypesListOptionalParams): PagedAsyncIterableIterator<ApplicationTypeResource>;
|
|
313
328
|
/**
|
|
314
329
|
* Get a Service Fabric application type name resource created or in the process of being created in
|
|
315
330
|
* the Service Fabric cluster resource.
|
|
@@ -335,7 +350,7 @@ export declare interface ApplicationTypes {
|
|
|
335
350
|
* @param applicationTypeName The name of the application type name resource.
|
|
336
351
|
* @param options The options parameters.
|
|
337
352
|
*/
|
|
338
|
-
beginDelete(resourceGroupName: string, clusterName: string, applicationTypeName: string, options?: ApplicationTypesDeleteOptionalParams): Promise<
|
|
353
|
+
beginDelete(resourceGroupName: string, clusterName: string, applicationTypeName: string, options?: ApplicationTypesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
339
354
|
/**
|
|
340
355
|
* Delete a Service Fabric application type name resource with the specified name.
|
|
341
356
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -344,14 +359,6 @@ export declare interface ApplicationTypes {
|
|
|
344
359
|
* @param options The options parameters.
|
|
345
360
|
*/
|
|
346
361
|
beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationTypeName: string, options?: ApplicationTypesDeleteOptionalParams): Promise<void>;
|
|
347
|
-
/**
|
|
348
|
-
* Gets all application type name resources created or in the process of being created in the Service
|
|
349
|
-
* Fabric cluster resource.
|
|
350
|
-
* @param resourceGroupName The name of the resource group.
|
|
351
|
-
* @param clusterName The name of the cluster resource.
|
|
352
|
-
* @param options The options parameters.
|
|
353
|
-
*/
|
|
354
|
-
list(resourceGroupName: string, clusterName: string, options?: ApplicationTypesListOptionalParams): Promise<ApplicationTypesListResponse>;
|
|
355
362
|
}
|
|
356
363
|
|
|
357
364
|
/** Optional parameters. */
|
|
@@ -376,6 +383,13 @@ export declare interface ApplicationTypesGetOptionalParams extends coreClient.Op
|
|
|
376
383
|
/** Contains response data for the get operation. */
|
|
377
384
|
export declare type ApplicationTypesGetResponse = ApplicationTypeResource;
|
|
378
385
|
|
|
386
|
+
/** Optional parameters. */
|
|
387
|
+
export declare interface ApplicationTypesListNextOptionalParams extends coreClient.OperationOptions {
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/** Contains response data for the listNext operation. */
|
|
391
|
+
export declare type ApplicationTypesListNextResponse = ApplicationTypeResourceList;
|
|
392
|
+
|
|
379
393
|
/** Optional parameters. */
|
|
380
394
|
export declare interface ApplicationTypesListOptionalParams extends coreClient.OperationOptions {
|
|
381
395
|
}
|
|
@@ -413,6 +427,15 @@ export declare interface ApplicationTypeVersionResourceList {
|
|
|
413
427
|
|
|
414
428
|
/** Interface representing a ApplicationTypeVersions. */
|
|
415
429
|
export declare interface ApplicationTypeVersions {
|
|
430
|
+
/**
|
|
431
|
+
* Gets all application type version resources created or in the process of being created in the
|
|
432
|
+
* Service Fabric application type name resource.
|
|
433
|
+
* @param resourceGroupName The name of the resource group.
|
|
434
|
+
* @param clusterName The name of the cluster resource.
|
|
435
|
+
* @param applicationTypeName The name of the application type name resource.
|
|
436
|
+
* @param options The options parameters.
|
|
437
|
+
*/
|
|
438
|
+
list(resourceGroupName: string, clusterName: string, applicationTypeName: string, options?: ApplicationTypeVersionsListOptionalParams): PagedAsyncIterableIterator<ApplicationTypeVersionResource>;
|
|
416
439
|
/**
|
|
417
440
|
* Get a Service Fabric application type version resource created or in the process of being created in
|
|
418
441
|
* the Service Fabric application type name resource.
|
|
@@ -432,7 +455,7 @@ export declare interface ApplicationTypeVersions {
|
|
|
432
455
|
* @param parameters The application type version resource.
|
|
433
456
|
* @param options The options parameters.
|
|
434
457
|
*/
|
|
435
|
-
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationTypeName: string, version: string, parameters: ApplicationTypeVersionResource, options?: ApplicationTypeVersionsCreateOrUpdateOptionalParams): Promise<
|
|
458
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationTypeName: string, version: string, parameters: ApplicationTypeVersionResource, options?: ApplicationTypeVersionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ApplicationTypeVersionsCreateOrUpdateResponse>, ApplicationTypeVersionsCreateOrUpdateResponse>>;
|
|
436
459
|
/**
|
|
437
460
|
* Create or update a Service Fabric application type version resource with the specified name.
|
|
438
461
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -451,7 +474,7 @@ export declare interface ApplicationTypeVersions {
|
|
|
451
474
|
* @param version The application type version.
|
|
452
475
|
* @param options The options parameters.
|
|
453
476
|
*/
|
|
454
|
-
beginDelete(resourceGroupName: string, clusterName: string, applicationTypeName: string, version: string, options?: ApplicationTypeVersionsDeleteOptionalParams): Promise<
|
|
477
|
+
beginDelete(resourceGroupName: string, clusterName: string, applicationTypeName: string, version: string, options?: ApplicationTypeVersionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
455
478
|
/**
|
|
456
479
|
* Delete a Service Fabric application type version resource with the specified name.
|
|
457
480
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -461,15 +484,6 @@ export declare interface ApplicationTypeVersions {
|
|
|
461
484
|
* @param options The options parameters.
|
|
462
485
|
*/
|
|
463
486
|
beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationTypeName: string, version: string, options?: ApplicationTypeVersionsDeleteOptionalParams): Promise<void>;
|
|
464
|
-
/**
|
|
465
|
-
* Gets all application type version resources created or in the process of being created in the
|
|
466
|
-
* Service Fabric application type name resource.
|
|
467
|
-
* @param resourceGroupName The name of the resource group.
|
|
468
|
-
* @param clusterName The name of the cluster resource.
|
|
469
|
-
* @param applicationTypeName The name of the application type name resource.
|
|
470
|
-
* @param options The options parameters.
|
|
471
|
-
*/
|
|
472
|
-
list(resourceGroupName: string, clusterName: string, applicationTypeName: string, options?: ApplicationTypeVersionsListOptionalParams): Promise<ApplicationTypeVersionsListResponse>;
|
|
473
487
|
}
|
|
474
488
|
|
|
475
489
|
export declare interface ApplicationTypeVersionsCleanupPolicy {
|
|
@@ -503,6 +517,13 @@ export declare interface ApplicationTypeVersionsGetOptionalParams extends coreCl
|
|
|
503
517
|
/** Contains response data for the get operation. */
|
|
504
518
|
export declare type ApplicationTypeVersionsGetResponse = ApplicationTypeVersionResource;
|
|
505
519
|
|
|
520
|
+
/** Optional parameters. */
|
|
521
|
+
export declare interface ApplicationTypeVersionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/** Contains response data for the listNext operation. */
|
|
525
|
+
export declare type ApplicationTypeVersionsListNextResponse = ApplicationTypeVersionResourceList;
|
|
526
|
+
|
|
506
527
|
/** Optional parameters. */
|
|
507
528
|
export declare interface ApplicationTypeVersionsListOptionalParams extends coreClient.OperationOptions {
|
|
508
529
|
}
|
|
@@ -689,7 +710,7 @@ export declare interface Cluster extends Resource {
|
|
|
689
710
|
clientCertificateCommonNames?: ClientCertificateCommonName[];
|
|
690
711
|
/** The list of client certificates referenced by thumbprint that are allowed to manage the cluster. */
|
|
691
712
|
clientCertificateThumbprints?: ClientCertificateThumbprint[];
|
|
692
|
-
/** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](
|
|
713
|
+
/** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](https://learn.microsoft.com/rest/api/servicefabric/cluster-versions/list). To get the list of available version for existing clusters use **availableClusterVersions**. */
|
|
693
714
|
clusterCodeVersion?: string;
|
|
694
715
|
/**
|
|
695
716
|
* The Azure Resource Provider endpoint. A system service in the cluster connects to this endpoint.
|
|
@@ -849,6 +870,19 @@ export declare interface ClusterListResult {
|
|
|
849
870
|
|
|
850
871
|
/** Interface representing a Clusters. */
|
|
851
872
|
export declare interface Clusters {
|
|
873
|
+
/**
|
|
874
|
+
* Gets all Service Fabric cluster resources created or in the process of being created in the resource
|
|
875
|
+
* group.
|
|
876
|
+
* @param resourceGroupName The name of the resource group.
|
|
877
|
+
* @param options The options parameters.
|
|
878
|
+
*/
|
|
879
|
+
listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
880
|
+
/**
|
|
881
|
+
* Gets all Service Fabric cluster resources created or in the process of being created in the
|
|
882
|
+
* subscription.
|
|
883
|
+
* @param options The options parameters.
|
|
884
|
+
*/
|
|
885
|
+
list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
852
886
|
/**
|
|
853
887
|
* Get a Service Fabric cluster resource created or in the process of being created in the specified
|
|
854
888
|
* resource group.
|
|
@@ -864,7 +898,7 @@ export declare interface Clusters {
|
|
|
864
898
|
* @param parameters The cluster resource.
|
|
865
899
|
* @param options The options parameters.
|
|
866
900
|
*/
|
|
867
|
-
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<
|
|
901
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ClustersCreateOrUpdateResponse>, ClustersCreateOrUpdateResponse>>;
|
|
868
902
|
/**
|
|
869
903
|
* Create or update a Service Fabric cluster resource with the specified name.
|
|
870
904
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -881,7 +915,7 @@ export declare interface Clusters {
|
|
|
881
915
|
* update the cluster configuration.
|
|
882
916
|
* @param options The options parameters.
|
|
883
917
|
*/
|
|
884
|
-
beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdateParameters, options?: ClustersUpdateOptionalParams): Promise<
|
|
918
|
+
beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdateParameters, options?: ClustersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ClustersUpdateResponse>, ClustersUpdateResponse>>;
|
|
885
919
|
/**
|
|
886
920
|
* Update the configuration of a Service Fabric cluster resource with the specified name.
|
|
887
921
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -898,19 +932,6 @@ export declare interface Clusters {
|
|
|
898
932
|
* @param options The options parameters.
|
|
899
933
|
*/
|
|
900
934
|
delete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
|
|
901
|
-
/**
|
|
902
|
-
* Gets all Service Fabric cluster resources created or in the process of being created in the resource
|
|
903
|
-
* group.
|
|
904
|
-
* @param resourceGroupName The name of the resource group.
|
|
905
|
-
* @param options The options parameters.
|
|
906
|
-
*/
|
|
907
|
-
listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): Promise<ClustersListByResourceGroupResponse>;
|
|
908
|
-
/**
|
|
909
|
-
* Gets all Service Fabric cluster resources created or in the process of being created in the
|
|
910
|
-
* subscription.
|
|
911
|
-
* @param options The options parameters.
|
|
912
|
-
*/
|
|
913
|
-
list(options?: ClustersListOptionalParams): Promise<ClustersListResponse>;
|
|
914
935
|
/**
|
|
915
936
|
* If a target is not provided, it will get the minimum and maximum versions available from the current
|
|
916
937
|
* cluster version. If a target is given, it will provide the required path to get from the current
|
|
@@ -944,6 +965,13 @@ export declare interface ClustersGetOptionalParams extends coreClient.OperationO
|
|
|
944
965
|
/** Contains response data for the get operation. */
|
|
945
966
|
export declare type ClustersGetResponse = Cluster;
|
|
946
967
|
|
|
968
|
+
/** Optional parameters. */
|
|
969
|
+
export declare interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
973
|
+
export declare type ClustersListByResourceGroupNextResponse = ClusterListResult;
|
|
974
|
+
|
|
947
975
|
/** Optional parameters. */
|
|
948
976
|
export declare interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
949
977
|
}
|
|
@@ -951,6 +979,13 @@ export declare interface ClustersListByResourceGroupOptionalParams extends coreC
|
|
|
951
979
|
/** Contains response data for the listByResourceGroup operation. */
|
|
952
980
|
export declare type ClustersListByResourceGroupResponse = ClusterListResult;
|
|
953
981
|
|
|
982
|
+
/** Optional parameters. */
|
|
983
|
+
export declare interface ClustersListNextOptionalParams extends coreClient.OperationOptions {
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/** Contains response data for the listNext operation. */
|
|
987
|
+
export declare type ClustersListNextResponse = ClusterListResult;
|
|
988
|
+
|
|
954
989
|
/** Optional parameters. */
|
|
955
990
|
export declare interface ClustersListOptionalParams extends coreClient.OperationOptions {
|
|
956
991
|
}
|
|
@@ -1012,7 +1047,7 @@ export declare interface ClusterUpdateParameters {
|
|
|
1012
1047
|
clientCertificateCommonNames?: ClientCertificateCommonName[];
|
|
1013
1048
|
/** The list of client certificates referenced by thumbprint that are allowed to manage the cluster. This will overwrite the existing list. */
|
|
1014
1049
|
clientCertificateThumbprints?: ClientCertificateThumbprint[];
|
|
1015
|
-
/** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](
|
|
1050
|
+
/** The Service Fabric runtime version of the cluster. This property can only by set the user when **upgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](https://learn.microsoft.com/rest/api/servicefabric/cluster-versions/list). To get the list of available version for existing clusters use **availableClusterVersions**. */
|
|
1016
1051
|
clusterCodeVersion?: string;
|
|
1017
1052
|
/** Indicates if the event store service is enabled. */
|
|
1018
1053
|
eventStoreServiceEnabled?: boolean;
|
|
@@ -1145,7 +1180,7 @@ export declare interface ClusterVersions {
|
|
|
1145
1180
|
* @param clusterVersion The cluster code version.
|
|
1146
1181
|
* @param options The options parameters.
|
|
1147
1182
|
*/
|
|
1148
|
-
getByEnvironment(location: string, environment:
|
|
1183
|
+
getByEnvironment(location: string, environment: ClusterVersionsEnvironment, clusterVersion: string, options?: ClusterVersionsGetByEnvironmentOptionalParams): Promise<ClusterVersionsGetByEnvironmentResponse>;
|
|
1149
1184
|
/**
|
|
1150
1185
|
* Gets all available code versions for Service Fabric cluster resources by location.
|
|
1151
1186
|
* @param location The location for the cluster code versions. This is different from cluster location.
|
|
@@ -1158,9 +1193,19 @@ export declare interface ClusterVersions {
|
|
|
1158
1193
|
* @param environment The operating system of the cluster. The default means all.
|
|
1159
1194
|
* @param options The options parameters.
|
|
1160
1195
|
*/
|
|
1161
|
-
listByEnvironment(location: string, environment:
|
|
1196
|
+
listByEnvironment(location: string, environment: ClusterVersionsEnvironment, options?: ClusterVersionsListByEnvironmentOptionalParams): Promise<ClusterVersionsListByEnvironmentResponse>;
|
|
1162
1197
|
}
|
|
1163
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* Defines values for ClusterVersionsEnvironment. \
|
|
1201
|
+
* {@link KnownClusterVersionsEnvironment} can be used interchangeably with ClusterVersionsEnvironment,
|
|
1202
|
+
* this enum contains the known values that the service supports.
|
|
1203
|
+
* ### Known values supported by the service
|
|
1204
|
+
* **Windows** \
|
|
1205
|
+
* **Linux**
|
|
1206
|
+
*/
|
|
1207
|
+
export declare type ClusterVersionsEnvironment = string;
|
|
1208
|
+
|
|
1164
1209
|
/** Optional parameters. */
|
|
1165
1210
|
export declare interface ClusterVersionsGetByEnvironmentOptionalParams extends coreClient.OperationOptions {
|
|
1166
1211
|
}
|
|
@@ -1224,16 +1269,6 @@ export declare interface EndpointRangeDescription {
|
|
|
1224
1269
|
endPort: number;
|
|
1225
1270
|
}
|
|
1226
1271
|
|
|
1227
|
-
/**
|
|
1228
|
-
* Defines values for Enum14. \
|
|
1229
|
-
* {@link KnownEnum14} can be used interchangeably with Enum14,
|
|
1230
|
-
* this enum contains the known values that the service supports.
|
|
1231
|
-
* ### Known values supported by the service
|
|
1232
|
-
* **Windows** \
|
|
1233
|
-
* **Linux**
|
|
1234
|
-
*/
|
|
1235
|
-
export declare type Enum14 = string;
|
|
1236
|
-
|
|
1237
1272
|
/** The structure of the error. */
|
|
1238
1273
|
export declare interface ErrorModel {
|
|
1239
1274
|
/** The error details. */
|
|
@@ -1319,7 +1354,7 @@ export declare enum KnownClusterState {
|
|
|
1319
1354
|
|
|
1320
1355
|
/** Known values of {@link ClusterUpgradeCadence} that the service accepts. */
|
|
1321
1356
|
export declare enum KnownClusterUpgradeCadence {
|
|
1322
|
-
/** Cluster upgrade starts immediately after a new version is rolled out. Recommended for Test
|
|
1357
|
+
/** Cluster upgrade starts immediately after a new version is rolled out. Recommended for Test\/Dev clusters. */
|
|
1323
1358
|
Wave0 = "Wave0",
|
|
1324
1359
|
/** Cluster upgrade starts 7 days after a new version is rolled out. Recommended for Pre-prod clusters. */
|
|
1325
1360
|
Wave1 = "Wave1",
|
|
@@ -1327,6 +1362,14 @@ export declare enum KnownClusterUpgradeCadence {
|
|
|
1327
1362
|
Wave2 = "Wave2"
|
|
1328
1363
|
}
|
|
1329
1364
|
|
|
1365
|
+
/** Known values of {@link ClusterVersionsEnvironment} that the service accepts. */
|
|
1366
|
+
export declare enum KnownClusterVersionsEnvironment {
|
|
1367
|
+
/** Windows */
|
|
1368
|
+
Windows = "Windows",
|
|
1369
|
+
/** Linux */
|
|
1370
|
+
Linux = "Linux"
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1330
1373
|
/** Known values of {@link DurabilityLevel} that the service accepts. */
|
|
1331
1374
|
export declare enum KnownDurabilityLevel {
|
|
1332
1375
|
/** Bronze */
|
|
@@ -1337,14 +1380,6 @@ export declare enum KnownDurabilityLevel {
|
|
|
1337
1380
|
Gold = "Gold"
|
|
1338
1381
|
}
|
|
1339
1382
|
|
|
1340
|
-
/** Known values of {@link Enum14} that the service accepts. */
|
|
1341
|
-
export declare enum KnownEnum14 {
|
|
1342
|
-
/** Windows */
|
|
1343
|
-
Windows = "Windows",
|
|
1344
|
-
/** Linux */
|
|
1345
|
-
Linux = "Linux"
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
1383
|
/** Known values of {@link MoveCost} that the service accepts. */
|
|
1349
1384
|
export declare enum KnownMoveCost {
|
|
1350
1385
|
/** Zero move cost. This value is zero. */
|
|
@@ -2063,6 +2098,15 @@ export declare type ServiceResourceUpdatePropertiesUnion = ServiceResourceUpdate
|
|
|
2063
2098
|
|
|
2064
2099
|
/** Interface representing a Services. */
|
|
2065
2100
|
export declare interface Services {
|
|
2101
|
+
/**
|
|
2102
|
+
* Gets all service resources created or in the process of being created in the Service Fabric
|
|
2103
|
+
* application resource.
|
|
2104
|
+
* @param resourceGroupName The name of the resource group.
|
|
2105
|
+
* @param clusterName The name of the cluster resource.
|
|
2106
|
+
* @param applicationName The name of the application resource.
|
|
2107
|
+
* @param options The options parameters.
|
|
2108
|
+
*/
|
|
2109
|
+
list(resourceGroupName: string, clusterName: string, applicationName: string, options?: ServicesListOptionalParams): PagedAsyncIterableIterator<ServiceResource>;
|
|
2066
2110
|
/**
|
|
2067
2111
|
* Get a Service Fabric service resource created or in the process of being created in the Service
|
|
2068
2112
|
* Fabric application resource.
|
|
@@ -2084,7 +2128,7 @@ export declare interface Services {
|
|
|
2084
2128
|
* @param parameters The service resource.
|
|
2085
2129
|
* @param options The options parameters.
|
|
2086
2130
|
*/
|
|
2087
|
-
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<
|
|
2131
|
+
beginCreateOrUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResource, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
|
|
2088
2132
|
/**
|
|
2089
2133
|
* Create or update a Service Fabric service resource with the specified name.
|
|
2090
2134
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -2106,7 +2150,7 @@ export declare interface Services {
|
|
|
2106
2150
|
* @param parameters The service resource for patch operations.
|
|
2107
2151
|
* @param options The options parameters.
|
|
2108
2152
|
*/
|
|
2109
|
-
beginUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResourceUpdate, options?: ServicesUpdateOptionalParams): Promise<
|
|
2153
|
+
beginUpdate(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, parameters: ServiceResourceUpdate, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
|
|
2110
2154
|
/**
|
|
2111
2155
|
* Update a Service Fabric service resource with the specified name.
|
|
2112
2156
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -2127,7 +2171,7 @@ export declare interface Services {
|
|
|
2127
2171
|
* {applicationName}~{serviceName}.
|
|
2128
2172
|
* @param options The options parameters.
|
|
2129
2173
|
*/
|
|
2130
|
-
beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<
|
|
2174
|
+
beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
2131
2175
|
/**
|
|
2132
2176
|
* Delete a Service Fabric service resource with the specified name.
|
|
2133
2177
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -2138,15 +2182,6 @@ export declare interface Services {
|
|
|
2138
2182
|
* @param options The options parameters.
|
|
2139
2183
|
*/
|
|
2140
2184
|
beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>;
|
|
2141
|
-
/**
|
|
2142
|
-
* Gets all service resources created or in the process of being created in the Service Fabric
|
|
2143
|
-
* application resource.
|
|
2144
|
-
* @param resourceGroupName The name of the resource group.
|
|
2145
|
-
* @param clusterName The name of the cluster resource.
|
|
2146
|
-
* @param applicationName The name of the application resource.
|
|
2147
|
-
* @param options The options parameters.
|
|
2148
|
-
*/
|
|
2149
|
-
list(resourceGroupName: string, clusterName: string, applicationName: string, options?: ServicesListOptionalParams): Promise<ServicesListResponse>;
|
|
2150
2185
|
}
|
|
2151
2186
|
|
|
2152
2187
|
/** Optional parameters. */
|
|
@@ -2175,6 +2210,13 @@ export declare interface ServicesGetOptionalParams extends coreClient.OperationO
|
|
|
2175
2210
|
/** Contains response data for the get operation. */
|
|
2176
2211
|
export declare type ServicesGetResponse = ServiceResource;
|
|
2177
2212
|
|
|
2213
|
+
/** Optional parameters. */
|
|
2214
|
+
export declare interface ServicesListNextOptionalParams extends coreClient.OperationOptions {
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
/** Contains response data for the listNext operation. */
|
|
2218
|
+
export declare type ServicesListNextResponse = ServiceResourceList;
|
|
2219
|
+
|
|
2178
2220
|
/** Optional parameters. */
|
|
2179
2221
|
export declare interface ServicesListOptionalParams extends coreClient.OperationOptions {
|
|
2180
2222
|
}
|