@azure/arm-servicefabricmesh 2.2.1 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +5478 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1366 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +121 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +105 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1264 -1320
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +25 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +104 -62
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/application.d.ts +82 -0
- package/dist-esm/src/operations/application.d.ts.map +1 -0
- package/dist-esm/src/operations/application.js +340 -0
- package/dist-esm/src/operations/application.js.map +1 -0
- package/dist-esm/src/operations/codePackage.d.ts +23 -0
- package/dist-esm/src/operations/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operations/codePackage.js +66 -0
- package/dist-esm/src/operations/codePackage.js.map +1 -0
- package/dist-esm/src/operations/gateway.d.ts +83 -0
- package/dist-esm/src/operations/gateway.d.ts.map +1 -0
- package/dist-esm/src/operations/gateway.js +341 -0
- package/dist-esm/src/operations/gateway.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/network.d.ts +82 -0
- package/dist-esm/src/operations/network.d.ts.map +1 -0
- package/dist-esm/src/operations/network.js +340 -0
- package/dist-esm/src/operations/network.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/secret.d.ts +81 -0
- package/dist-esm/src/operations/secret.d.ts.map +1 -0
- package/dist-esm/src/operations/secret.js +339 -0
- package/dist-esm/src/operations/secret.js.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts +81 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.js +303 -0
- package/dist-esm/src/operations/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operations/service.d.ts +49 -0
- package/dist-esm/src/operations/service.d.ts.map +1 -0
- package/dist-esm/src/operations/service.js +177 -0
- package/dist-esm/src/operations/service.js.map +1 -0
- package/dist-esm/src/operations/serviceReplica.d.ts +53 -0
- package/dist-esm/src/operations/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceReplica.js +196 -0
- package/dist-esm/src/operations/serviceReplica.js.map +1 -0
- package/dist-esm/src/operations/volume.d.ts +81 -0
- package/dist-esm/src/operations/volume.d.ts.map +1 -0
- package/dist-esm/src/operations/volume.js +339 -0
- package/dist-esm/src/operations/volume.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.js +9 -0
- package/dist-esm/src/operationsInterfaces/application.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js +9 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.js +9 -0
- package/dist-esm/src/operationsInterfaces/gateway.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.js +9 -0
- package/dist-esm/src/operationsInterfaces/network.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.js +9 -0
- package/dist-esm/src/operationsInterfaces/secret.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.js +9 -0
- package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.js +9 -0
- package/dist-esm/src/operationsInterfaces/volume.js.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts +27 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js +60 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +85 -26
- package/review/arm-servicefabricmesh.api.md +1210 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +1281 -2775
- package/src/models/mappers.ts +1315 -1344
- package/src/models/parameters.ts +138 -63
- package/src/operations/application.ts +260 -269
- package/src/operations/codePackage.ts +44 -60
- package/src/operations/gateway.ts +263 -272
- package/src/operations/index.ts +3 -5
- package/src/operations/network.ts +262 -271
- package/src/operations/operations.ts +87 -75
- package/src/operations/secret.ts +261 -271
- package/src/operations/secretValueOperations.ts +239 -259
- package/src/operations/service.ts +161 -124
- package/src/operations/serviceReplica.ts +177 -120
- package/src/operations/volume.ts +261 -271
- package/src/operationsInterfaces/application.ts +80 -0
- package/src/operationsInterfaces/codePackage.ts +33 -0
- package/src/operationsInterfaces/gateway.ts +81 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/network.ts +80 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/secret.ts +79 -0
- package/src/operationsInterfaces/secretValueOperations.ts +99 -0
- package/src/operationsInterfaces/service.ts +46 -0
- package/src/operationsInterfaces/serviceReplica.ts +50 -0
- package/src/operationsInterfaces/volume.ts +79 -0
- package/src/serviceFabricMeshManagementClient.ts +102 -53
- package/tsconfig.json +20 -7
- package/types/arm-servicefabricmesh.d.ts +1940 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-servicefabricmesh.js +0 -5363
- package/dist/arm-servicefabricmesh.js.map +0 -1
- package/dist/arm-servicefabricmesh.min.js +0 -1
- package/dist/arm-servicefabricmesh.min.js.map +0 -1
- package/esm/models/applicationMappers.d.ts +0 -2
- package/esm/models/applicationMappers.d.ts.map +0 -1
- package/esm/models/applicationMappers.js +0 -11
- package/esm/models/applicationMappers.js.map +0 -1
- package/esm/models/codePackageMappers.d.ts +0 -2
- package/esm/models/codePackageMappers.d.ts.map +0 -1
- package/esm/models/codePackageMappers.js +0 -11
- package/esm/models/codePackageMappers.js.map +0 -1
- package/esm/models/gatewayMappers.d.ts +0 -2
- package/esm/models/gatewayMappers.d.ts.map +0 -1
- package/esm/models/gatewayMappers.js +0 -11
- package/esm/models/gatewayMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2938
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -102
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/networkMappers.d.ts +0 -2
- package/esm/models/networkMappers.d.ts.map +0 -1
- package/esm/models/networkMappers.js +0 -11
- package/esm/models/networkMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -17
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/secretMappers.d.ts +0 -2
- package/esm/models/secretMappers.d.ts.map +0 -1
- package/esm/models/secretMappers.js +0 -11
- package/esm/models/secretMappers.js.map +0 -1
- package/esm/models/secretValueOperationsMappers.d.ts +0 -2
- package/esm/models/secretValueOperationsMappers.d.ts.map +0 -1
- package/esm/models/secretValueOperationsMappers.js +0 -11
- package/esm/models/secretValueOperationsMappers.js.map +0 -1
- package/esm/models/serviceMappers.d.ts +0 -2
- package/esm/models/serviceMappers.d.ts.map +0 -1
- package/esm/models/serviceMappers.js +0 -11
- package/esm/models/serviceMappers.js.map +0 -1
- package/esm/models/serviceReplicaMappers.d.ts +0 -2
- package/esm/models/serviceReplicaMappers.d.ts.map +0 -1
- package/esm/models/serviceReplicaMappers.js +0 -11
- package/esm/models/serviceReplicaMappers.js.map +0 -1
- package/esm/models/volumeMappers.d.ts +0 -2
- package/esm/models/volumeMappers.d.ts.map +0 -1
- package/esm/models/volumeMappers.js +0 -11
- package/esm/models/volumeMappers.js.map +0 -1
- package/esm/operations/application.d.ts +0 -162
- package/esm/operations/application.d.ts.map +0 -1
- package/esm/operations/application.js +0 -238
- package/esm/operations/application.js.map +0 -1
- package/esm/operations/codePackage.d.ts +0 -44
- package/esm/operations/codePackage.d.ts.map +0 -1
- package/esm/operations/codePackage.js +0 -65
- package/esm/operations/codePackage.js.map +0 -1
- package/esm/operations/gateway.d.ts +0 -163
- package/esm/operations/gateway.d.ts.map +0 -1
- package/esm/operations/gateway.js +0 -238
- package/esm/operations/gateway.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/network.d.ts +0 -162
- package/esm/operations/network.d.ts.map +0 -1
- package/esm/operations/network.js +0 -238
- package/esm/operations/network.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/secret.d.ts +0 -162
- package/esm/operations/secret.d.ts.map +0 -1
- package/esm/operations/secret.js +0 -238
- package/esm/operations/secret.js.map +0 -1
- package/esm/operations/secretValueOperations.d.ts +0 -175
- package/esm/operations/secretValueOperations.d.ts.map +0 -1
- package/esm/operations/secretValueOperations.js +0 -226
- package/esm/operations/secretValueOperations.js.map +0 -1
- package/esm/operations/service.d.ts +0 -82
- package/esm/operations/service.d.ts.map +0 -1
- package/esm/operations/service.js +0 -117
- package/esm/operations/service.js.map +0 -1
- package/esm/operations/serviceReplica.d.ts +0 -88
- package/esm/operations/serviceReplica.d.ts.map +0 -1
- package/esm/operations/serviceReplica.js +0 -121
- package/esm/operations/serviceReplica.js.map +0 -1
- package/esm/operations/volume.d.ts +0 -162
- package/esm/operations/volume.d.ts.map +0 -1
- package/esm/operations/volume.js +0 -238
- package/esm/operations/volume.js.map +0 -1
- package/esm/serviceFabricMeshManagementClient.d.ts +0 -33
- package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClient.js +0 -47
- package/esm/serviceFabricMeshManagementClient.js.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -22
- package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.js +0 -61
- package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
- package/src/models/applicationMappers.ts +0 -76
- package/src/models/codePackageMappers.ts +0 -18
- package/src/models/gatewayMappers.ts +0 -76
- package/src/models/networkMappers.ts +0 -76
- package/src/models/operationsMappers.ts +0 -20
- package/src/models/secretMappers.ts +0 -76
- package/src/models/secretValueOperationsMappers.ts +0 -77
- package/src/models/serviceMappers.ts +0 -76
- package/src/models/serviceReplicaMappers.ts +0 -40
- package/src/models/volumeMappers.ts +0 -76
- package/src/serviceFabricMeshManagementClientContext.ts +0 -68
|
@@ -0,0 +1,80 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
ApplicationResourceDescription,
|
|
12
|
+
ApplicationListByResourceGroupOptionalParams,
|
|
13
|
+
ApplicationListBySubscriptionOptionalParams,
|
|
14
|
+
ApplicationCreateOptionalParams,
|
|
15
|
+
ApplicationCreateResponse,
|
|
16
|
+
ApplicationGetOptionalParams,
|
|
17
|
+
ApplicationGetResponse,
|
|
18
|
+
ApplicationDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Application. */
|
|
23
|
+
export interface Application {
|
|
24
|
+
/**
|
|
25
|
+
* Gets the information about all application resources in a given resource group. The information
|
|
26
|
+
* include the description and other properties of the Application.
|
|
27
|
+
* @param resourceGroupName Azure resource group name
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
options?: ApplicationListByResourceGroupOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<ApplicationResourceDescription>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the information about all application resources in a given resource group. The information
|
|
36
|
+
* include the description and other properties of the application.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
listBySubscription(
|
|
40
|
+
options?: ApplicationListBySubscriptionOptionalParams
|
|
41
|
+
): PagedAsyncIterableIterator<ApplicationResourceDescription>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates an application resource with the specified name, description and properties. If an
|
|
44
|
+
* application resource with the same name exists, then it is updated with the specified description
|
|
45
|
+
* and properties.
|
|
46
|
+
* @param resourceGroupName Azure resource group name
|
|
47
|
+
* @param applicationResourceName The identity of the application.
|
|
48
|
+
* @param applicationResourceDescription Description for creating a Application resource.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
create(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
applicationResourceName: string,
|
|
54
|
+
applicationResourceDescription: ApplicationResourceDescription,
|
|
55
|
+
options?: ApplicationCreateOptionalParams
|
|
56
|
+
): Promise<ApplicationCreateResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Gets the information about the application resource with the given name. The information include the
|
|
59
|
+
* description and other properties of the application.
|
|
60
|
+
* @param resourceGroupName Azure resource group name
|
|
61
|
+
* @param applicationResourceName The identity of the application.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
get(
|
|
65
|
+
resourceGroupName: string,
|
|
66
|
+
applicationResourceName: string,
|
|
67
|
+
options?: ApplicationGetOptionalParams
|
|
68
|
+
): Promise<ApplicationGetResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Deletes the application resource identified by the name.
|
|
71
|
+
* @param resourceGroupName Azure resource group name
|
|
72
|
+
* @param applicationResourceName The identity of the application.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
delete(
|
|
76
|
+
resourceGroupName: string,
|
|
77
|
+
applicationResourceName: string,
|
|
78
|
+
options?: ApplicationDeleteOptionalParams
|
|
79
|
+
): Promise<void>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 {
|
|
10
|
+
CodePackageGetContainerLogsOptionalParams,
|
|
11
|
+
CodePackageGetContainerLogsResponse
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a CodePackage. */
|
|
15
|
+
export interface CodePackage {
|
|
16
|
+
/**
|
|
17
|
+
* Gets the logs for the container of the specified code package of the service replica.
|
|
18
|
+
* @param resourceGroupName Azure resource group name
|
|
19
|
+
* @param applicationResourceName The identity of the application.
|
|
20
|
+
* @param serviceResourceName The identity of the service.
|
|
21
|
+
* @param replicaName Service Fabric replica name.
|
|
22
|
+
* @param codePackageName The name of code package of the service.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
getContainerLogs(
|
|
26
|
+
resourceGroupName: string,
|
|
27
|
+
applicationResourceName: string,
|
|
28
|
+
serviceResourceName: string,
|
|
29
|
+
replicaName: string,
|
|
30
|
+
codePackageName: string,
|
|
31
|
+
options?: CodePackageGetContainerLogsOptionalParams
|
|
32
|
+
): Promise<CodePackageGetContainerLogsResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
GatewayResourceDescription,
|
|
12
|
+
GatewayListByResourceGroupOptionalParams,
|
|
13
|
+
GatewayListBySubscriptionOptionalParams,
|
|
14
|
+
GatewayCreateOptionalParams,
|
|
15
|
+
GatewayCreateResponse,
|
|
16
|
+
GatewayGetOptionalParams,
|
|
17
|
+
GatewayGetResponse,
|
|
18
|
+
GatewayDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Gateway. */
|
|
23
|
+
export interface Gateway {
|
|
24
|
+
/**
|
|
25
|
+
* Gets the information about all gateway resources in a given resource group. The information include
|
|
26
|
+
* the description and other properties of the Gateway.
|
|
27
|
+
* @param resourceGroupName Azure resource group name
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
options?: GatewayListByResourceGroupOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<GatewayResourceDescription>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the information about all gateway resources in a given resource group. The information include
|
|
36
|
+
* the description and other properties of the gateway.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
listBySubscription(
|
|
40
|
+
options?: GatewayListBySubscriptionOptionalParams
|
|
41
|
+
): PagedAsyncIterableIterator<GatewayResourceDescription>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a gateway resource with the specified name, description and properties. If a gateway
|
|
44
|
+
* resource with the same name exists, then it is updated with the specified description and
|
|
45
|
+
* properties. Use gateway resources to create a gateway for public connectivity for services within
|
|
46
|
+
* your application.
|
|
47
|
+
* @param resourceGroupName Azure resource group name
|
|
48
|
+
* @param gatewayResourceName The identity of the gateway.
|
|
49
|
+
* @param gatewayResourceDescription Description for creating a Gateway resource.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
create(
|
|
53
|
+
resourceGroupName: string,
|
|
54
|
+
gatewayResourceName: string,
|
|
55
|
+
gatewayResourceDescription: GatewayResourceDescription,
|
|
56
|
+
options?: GatewayCreateOptionalParams
|
|
57
|
+
): Promise<GatewayCreateResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Gets the information about the gateway resource with the given name. The information include the
|
|
60
|
+
* description and other properties of the gateway.
|
|
61
|
+
* @param resourceGroupName Azure resource group name
|
|
62
|
+
* @param gatewayResourceName The identity of the gateway.
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
get(
|
|
66
|
+
resourceGroupName: string,
|
|
67
|
+
gatewayResourceName: string,
|
|
68
|
+
options?: GatewayGetOptionalParams
|
|
69
|
+
): Promise<GatewayGetResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Deletes the gateway resource identified by the name.
|
|
72
|
+
* @param resourceGroupName Azure resource group name
|
|
73
|
+
* @param gatewayResourceName The identity of the gateway.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
delete(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
gatewayResourceName: string,
|
|
79
|
+
options?: GatewayDeleteOptionalParams
|
|
80
|
+
): Promise<void>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
export * from "./operations";
|
|
10
|
+
export * from "./secret";
|
|
11
|
+
export * from "./secretValueOperations";
|
|
12
|
+
export * from "./volume";
|
|
13
|
+
export * from "./network";
|
|
14
|
+
export * from "./gateway";
|
|
15
|
+
export * from "./application";
|
|
16
|
+
export * from "./service";
|
|
17
|
+
export * from "./serviceReplica";
|
|
18
|
+
export * from "./codePackage";
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
NetworkResourceDescription,
|
|
12
|
+
NetworkListByResourceGroupOptionalParams,
|
|
13
|
+
NetworkListBySubscriptionOptionalParams,
|
|
14
|
+
NetworkCreateOptionalParams,
|
|
15
|
+
NetworkCreateResponse,
|
|
16
|
+
NetworkGetOptionalParams,
|
|
17
|
+
NetworkGetResponse,
|
|
18
|
+
NetworkDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Network. */
|
|
23
|
+
export interface Network {
|
|
24
|
+
/**
|
|
25
|
+
* Gets the information about all network resources in a given resource group. The information include
|
|
26
|
+
* the description and other properties of the Network.
|
|
27
|
+
* @param resourceGroupName Azure resource group name
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
options?: NetworkListByResourceGroupOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<NetworkResourceDescription>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the information about all network resources in a given resource group. The information include
|
|
36
|
+
* the description and other properties of the network.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
listBySubscription(
|
|
40
|
+
options?: NetworkListBySubscriptionOptionalParams
|
|
41
|
+
): PagedAsyncIterableIterator<NetworkResourceDescription>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a network resource with the specified name, description and properties. If a network
|
|
44
|
+
* resource with the same name exists, then it is updated with the specified description and
|
|
45
|
+
* properties.
|
|
46
|
+
* @param resourceGroupName Azure resource group name
|
|
47
|
+
* @param networkResourceName The identity of the network.
|
|
48
|
+
* @param networkResourceDescription Description for creating a Network resource.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
create(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
networkResourceName: string,
|
|
54
|
+
networkResourceDescription: NetworkResourceDescription,
|
|
55
|
+
options?: NetworkCreateOptionalParams
|
|
56
|
+
): Promise<NetworkCreateResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Gets the information about the network resource with the given name. The information include the
|
|
59
|
+
* description and other properties of the network.
|
|
60
|
+
* @param resourceGroupName Azure resource group name
|
|
61
|
+
* @param networkResourceName The identity of the network.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
get(
|
|
65
|
+
resourceGroupName: string,
|
|
66
|
+
networkResourceName: string,
|
|
67
|
+
options?: NetworkGetOptionalParams
|
|
68
|
+
): Promise<NetworkGetResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Deletes the network resource identified by the name.
|
|
71
|
+
* @param resourceGroupName Azure resource group name
|
|
72
|
+
* @param networkResourceName The identity of the network.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
delete(
|
|
76
|
+
resourceGroupName: string,
|
|
77
|
+
networkResourceName: string,
|
|
78
|
+
options?: NetworkDeleteOptionalParams
|
|
79
|
+
): Promise<void>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { OperationResult, OperationsListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a Operations. */
|
|
14
|
+
export interface Operations {
|
|
15
|
+
/**
|
|
16
|
+
* Lists all the available operations provided by Service Fabric SeaBreeze resource provider.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: OperationsListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<OperationResult>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
SecretResourceDescription,
|
|
12
|
+
SecretListByResourceGroupOptionalParams,
|
|
13
|
+
SecretListBySubscriptionOptionalParams,
|
|
14
|
+
SecretCreateOptionalParams,
|
|
15
|
+
SecretCreateResponse,
|
|
16
|
+
SecretGetOptionalParams,
|
|
17
|
+
SecretGetResponse,
|
|
18
|
+
SecretDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Secret. */
|
|
23
|
+
export interface Secret {
|
|
24
|
+
/**
|
|
25
|
+
* Gets the information about all secret resources in a given resource group. The information include
|
|
26
|
+
* the description and other properties of the Secret.
|
|
27
|
+
* @param resourceGroupName Azure resource group name
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
options?: SecretListByResourceGroupOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<SecretResourceDescription>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the information about all secret resources in a given resource group. The information include
|
|
36
|
+
* the description and other properties of the secret.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
listBySubscription(
|
|
40
|
+
options?: SecretListBySubscriptionOptionalParams
|
|
41
|
+
): PagedAsyncIterableIterator<SecretResourceDescription>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a secret resource with the specified name, description and properties. If a secret resource
|
|
44
|
+
* with the same name exists, then it is updated with the specified description and properties.
|
|
45
|
+
* @param resourceGroupName Azure resource group name
|
|
46
|
+
* @param secretResourceName The name of the secret resource.
|
|
47
|
+
* @param secretResourceDescription Description for creating a secret resource.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
create(
|
|
51
|
+
resourceGroupName: string,
|
|
52
|
+
secretResourceName: string,
|
|
53
|
+
secretResourceDescription: SecretResourceDescription,
|
|
54
|
+
options?: SecretCreateOptionalParams
|
|
55
|
+
): Promise<SecretCreateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Gets the information about the secret resource with the given name. The information include the
|
|
58
|
+
* description and other properties of the secret.
|
|
59
|
+
* @param resourceGroupName Azure resource group name
|
|
60
|
+
* @param secretResourceName The name of the secret resource.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
get(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
secretResourceName: string,
|
|
66
|
+
options?: SecretGetOptionalParams
|
|
67
|
+
): Promise<SecretGetResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Deletes the secret resource identified by the name.
|
|
70
|
+
* @param resourceGroupName Azure resource group name
|
|
71
|
+
* @param secretResourceName The name of the secret resource.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
delete(
|
|
75
|
+
resourceGroupName: string,
|
|
76
|
+
secretResourceName: string,
|
|
77
|
+
options?: SecretDeleteOptionalParams
|
|
78
|
+
): Promise<void>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
SecretValueResourceDescription,
|
|
12
|
+
SecretValueListOptionalParams,
|
|
13
|
+
SecretValueCreateOptionalParams,
|
|
14
|
+
SecretValueCreateResponse,
|
|
15
|
+
SecretValueGetOptionalParams,
|
|
16
|
+
SecretValueGetResponse,
|
|
17
|
+
SecretValueDeleteOptionalParams,
|
|
18
|
+
SecretValueListValueOptionalParams,
|
|
19
|
+
SecretValueListValueResponse
|
|
20
|
+
} from "../models";
|
|
21
|
+
|
|
22
|
+
/// <reference lib="esnext.asynciterable" />
|
|
23
|
+
/** Interface representing a SecretValueOperations. */
|
|
24
|
+
export interface SecretValueOperations {
|
|
25
|
+
/**
|
|
26
|
+
* Gets information about all secret value resources of the specified secret resource. The information
|
|
27
|
+
* includes the names of the secret value resources, but not the actual values.
|
|
28
|
+
* @param resourceGroupName Azure resource group name
|
|
29
|
+
* @param secretResourceName The name of the secret resource.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
list(
|
|
33
|
+
resourceGroupName: string,
|
|
34
|
+
secretResourceName: string,
|
|
35
|
+
options?: SecretValueListOptionalParams
|
|
36
|
+
): PagedAsyncIterableIterator<SecretValueResourceDescription>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new value of the specified secret resource. The name of the value is typically the version
|
|
39
|
+
* identifier. Once created the value cannot be changed.
|
|
40
|
+
* @param resourceGroupName Azure resource group name
|
|
41
|
+
* @param secretResourceName The name of the secret resource.
|
|
42
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
43
|
+
* identifier for the value.
|
|
44
|
+
* @param secretValueResourceDescription Description for creating a value of a secret resource.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
create(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
secretResourceName: string,
|
|
50
|
+
secretValueResourceName: string,
|
|
51
|
+
secretValueResourceDescription: SecretValueResourceDescription,
|
|
52
|
+
options?: SecretValueCreateOptionalParams
|
|
53
|
+
): Promise<SecretValueCreateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Get the information about the specified named secret value resources. The information does not
|
|
56
|
+
* include the actual value of the secret.
|
|
57
|
+
* @param resourceGroupName Azure resource group name
|
|
58
|
+
* @param secretResourceName The name of the secret resource.
|
|
59
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
60
|
+
* identifier for the value.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
get(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
secretResourceName: string,
|
|
66
|
+
secretValueResourceName: string,
|
|
67
|
+
options?: SecretValueGetOptionalParams
|
|
68
|
+
): Promise<SecretValueGetResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Deletes the secret value resource identified by the name. The name of the resource is typically the
|
|
71
|
+
* version associated with that value. Deletion will fail if the specified value is in use.
|
|
72
|
+
* @param resourceGroupName Azure resource group name
|
|
73
|
+
* @param secretResourceName The name of the secret resource.
|
|
74
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
75
|
+
* identifier for the value.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
delete(
|
|
79
|
+
resourceGroupName: string,
|
|
80
|
+
secretResourceName: string,
|
|
81
|
+
secretValueResourceName: string,
|
|
82
|
+
options?: SecretValueDeleteOptionalParams
|
|
83
|
+
): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Lists the decrypted value of the specified named value of the secret resource. This is a privileged
|
|
86
|
+
* operation.
|
|
87
|
+
* @param resourceGroupName Azure resource group name
|
|
88
|
+
* @param secretResourceName The name of the secret resource.
|
|
89
|
+
* @param secretValueResourceName The name of the secret resource value which is typically the version
|
|
90
|
+
* identifier for the value.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
listValue(
|
|
94
|
+
resourceGroupName: string,
|
|
95
|
+
secretResourceName: string,
|
|
96
|
+
secretValueResourceName: string,
|
|
97
|
+
options?: SecretValueListValueOptionalParams
|
|
98
|
+
): Promise<SecretValueListValueResponse>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
ServiceResourceDescription,
|
|
12
|
+
ServiceListOptionalParams,
|
|
13
|
+
ServiceGetOptionalParams,
|
|
14
|
+
ServiceGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a Service. */
|
|
19
|
+
export interface Service {
|
|
20
|
+
/**
|
|
21
|
+
* Gets the information about all services of an application resource. The information include the
|
|
22
|
+
* description and other properties of the Service.
|
|
23
|
+
* @param resourceGroupName Azure resource group name
|
|
24
|
+
* @param applicationResourceName The identity of the application.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
list(
|
|
28
|
+
resourceGroupName: string,
|
|
29
|
+
applicationResourceName: string,
|
|
30
|
+
options?: ServiceListOptionalParams
|
|
31
|
+
): PagedAsyncIterableIterator<ServiceResourceDescription>;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the information about the service resource with the given name. The information include the
|
|
34
|
+
* description and other properties of the service.
|
|
35
|
+
* @param resourceGroupName Azure resource group name
|
|
36
|
+
* @param applicationResourceName The identity of the application.
|
|
37
|
+
* @param serviceResourceName The identity of the service.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
get(
|
|
41
|
+
resourceGroupName: string,
|
|
42
|
+
applicationResourceName: string,
|
|
43
|
+
serviceResourceName: string,
|
|
44
|
+
options?: ServiceGetOptionalParams
|
|
45
|
+
): Promise<ServiceGetResponse>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
ServiceReplicaDescription,
|
|
12
|
+
ServiceReplicaListOptionalParams,
|
|
13
|
+
ServiceReplicaGetOptionalParams,
|
|
14
|
+
ServiceReplicaGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a ServiceReplica. */
|
|
19
|
+
export interface ServiceReplica {
|
|
20
|
+
/**
|
|
21
|
+
* Gets the information about all replicas of a given service of an application. The information
|
|
22
|
+
* includes the runtime properties of the replica instance.
|
|
23
|
+
* @param resourceGroupName Azure resource group name
|
|
24
|
+
* @param applicationResourceName The identity of the application.
|
|
25
|
+
* @param serviceResourceName The identity of the service.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(
|
|
29
|
+
resourceGroupName: string,
|
|
30
|
+
applicationResourceName: string,
|
|
31
|
+
serviceResourceName: string,
|
|
32
|
+
options?: ServiceReplicaListOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<ServiceReplicaDescription>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the information about the service replica with the given name. The information include the
|
|
36
|
+
* description and other properties of the service replica.
|
|
37
|
+
* @param resourceGroupName Azure resource group name
|
|
38
|
+
* @param applicationResourceName The identity of the application.
|
|
39
|
+
* @param serviceResourceName The identity of the service.
|
|
40
|
+
* @param replicaName Service Fabric replica name.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
get(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
applicationResourceName: string,
|
|
46
|
+
serviceResourceName: string,
|
|
47
|
+
replicaName: string,
|
|
48
|
+
options?: ServiceReplicaGetOptionalParams
|
|
49
|
+
): Promise<ServiceReplicaGetResponse>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
VolumeResourceDescription,
|
|
12
|
+
VolumeListByResourceGroupOptionalParams,
|
|
13
|
+
VolumeListBySubscriptionOptionalParams,
|
|
14
|
+
VolumeCreateOptionalParams,
|
|
15
|
+
VolumeCreateResponse,
|
|
16
|
+
VolumeGetOptionalParams,
|
|
17
|
+
VolumeGetResponse,
|
|
18
|
+
VolumeDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a Volume. */
|
|
23
|
+
export interface Volume {
|
|
24
|
+
/**
|
|
25
|
+
* Gets the information about all volume resources in a given resource group. The information include
|
|
26
|
+
* the description and other properties of the Volume.
|
|
27
|
+
* @param resourceGroupName Azure resource group name
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
options?: VolumeListByResourceGroupOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<VolumeResourceDescription>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the information about all volume resources in a given resource group. The information include
|
|
36
|
+
* the description and other properties of the volume.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
listBySubscription(
|
|
40
|
+
options?: VolumeListBySubscriptionOptionalParams
|
|
41
|
+
): PagedAsyncIterableIterator<VolumeResourceDescription>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a volume resource with the specified name, description and properties. If a volume resource
|
|
44
|
+
* with the same name exists, then it is updated with the specified description and properties.
|
|
45
|
+
* @param resourceGroupName Azure resource group name
|
|
46
|
+
* @param volumeResourceName The identity of the volume.
|
|
47
|
+
* @param volumeResourceDescription Description for creating a Volume resource.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
create(
|
|
51
|
+
resourceGroupName: string,
|
|
52
|
+
volumeResourceName: string,
|
|
53
|
+
volumeResourceDescription: VolumeResourceDescription,
|
|
54
|
+
options?: VolumeCreateOptionalParams
|
|
55
|
+
): Promise<VolumeCreateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Gets the information about the volume resource with the given name. The information include the
|
|
58
|
+
* description and other properties of the volume.
|
|
59
|
+
* @param resourceGroupName Azure resource group name
|
|
60
|
+
* @param volumeResourceName The identity of the volume.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
get(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
volumeResourceName: string,
|
|
66
|
+
options?: VolumeGetOptionalParams
|
|
67
|
+
): Promise<VolumeGetResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Deletes the volume resource identified by the name.
|
|
70
|
+
* @param resourceGroupName Azure resource group name
|
|
71
|
+
* @param volumeResourceName The identity of the volume.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
delete(
|
|
75
|
+
resourceGroupName: string,
|
|
76
|
+
volumeResourceName: string,
|
|
77
|
+
options?: VolumeDeleteOptionalParams
|
|
78
|
+
): Promise<void>;
|
|
79
|
+
}
|