@azure/arm-servicefabricmesh 0.1.0 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +75 -73
- package/dist/index.js +5478 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1366 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +121 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +105 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1264 -1320
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +25 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +104 -62
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/application.d.ts +82 -0
- package/dist-esm/src/operations/application.d.ts.map +1 -0
- package/dist-esm/src/operations/application.js +340 -0
- package/dist-esm/src/operations/application.js.map +1 -0
- package/dist-esm/src/operations/codePackage.d.ts +23 -0
- package/dist-esm/src/operations/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operations/codePackage.js +66 -0
- package/dist-esm/src/operations/codePackage.js.map +1 -0
- package/dist-esm/src/operations/gateway.d.ts +83 -0
- package/dist-esm/src/operations/gateway.d.ts.map +1 -0
- package/dist-esm/src/operations/gateway.js +341 -0
- package/dist-esm/src/operations/gateway.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/network.d.ts +82 -0
- package/dist-esm/src/operations/network.d.ts.map +1 -0
- package/dist-esm/src/operations/network.js +340 -0
- package/dist-esm/src/operations/network.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/secret.d.ts +81 -0
- package/dist-esm/src/operations/secret.d.ts.map +1 -0
- package/dist-esm/src/operations/secret.js +339 -0
- package/dist-esm/src/operations/secret.js.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts +81 -0
- package/dist-esm/src/operations/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/secretValueOperations.js +303 -0
- package/dist-esm/src/operations/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operations/service.d.ts +49 -0
- package/dist-esm/src/operations/service.d.ts.map +1 -0
- package/dist-esm/src/operations/service.js +177 -0
- package/dist-esm/src/operations/service.js.map +1 -0
- package/dist-esm/src/operations/serviceReplica.d.ts +53 -0
- package/dist-esm/src/operations/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceReplica.js +196 -0
- package/dist-esm/src/operations/serviceReplica.js.map +1 -0
- package/dist-esm/src/operations/volume.d.ts +81 -0
- package/dist-esm/src/operations/volume.d.ts.map +1 -0
- package/dist-esm/src/operations/volume.js +339 -0
- package/dist-esm/src/operations/volume.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/application.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/application.js +9 -0
- package/dist-esm/src/operationsInterfaces/application.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js +9 -0
- package/dist-esm/src/operationsInterfaces/codePackage.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateway.js +9 -0
- package/dist-esm/src/operationsInterfaces/gateway.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/network.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/network.js +9 -0
- package/dist-esm/src/operationsInterfaces/network.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/secret.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secret.js +9 -0
- package/dist-esm/src/operationsInterfaces/secret.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/service.js +9 -0
- package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/volume.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/volume.js +9 -0
- package/dist-esm/src/operationsInterfaces/volume.js.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts +27 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +1 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js +60 -0
- package/dist-esm/src/serviceFabricMeshManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +87 -26
- package/review/arm-servicefabricmesh.api.md +1210 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +1603 -0
- package/{lib → src}/models/mappers.ts +1315 -1344
- package/src/models/parameters.ts +250 -0
- package/src/operations/application.ts +418 -0
- package/src/operations/codePackage.ts +88 -0
- package/src/operations/gateway.ts +419 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/network.ts +418 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/secret.ts +417 -0
- package/src/operations/secretValueOperations.ts +403 -0
- package/src/operations/service.ts +241 -0
- package/src/operations/serviceReplica.ts +271 -0
- package/src/operations/volume.ts +417 -0
- package/src/operationsInterfaces/application.ts +80 -0
- package/src/operationsInterfaces/codePackage.ts +33 -0
- package/src/operationsInterfaces/gateway.ts +81 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/network.ts +80 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/secret.ts +79 -0
- package/src/operationsInterfaces/secretValueOperations.ts +99 -0
- package/src/operationsInterfaces/service.ts +46 -0
- package/src/operationsInterfaces/serviceReplica.ts +50 -0
- package/src/operationsInterfaces/volume.ts +79 -0
- package/src/serviceFabricMeshManagementClient.ts +115 -0
- package/tsconfig.json +20 -7
- package/types/arm-servicefabricmesh.d.ts +1940 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-servicefabricmesh.js +0 -5353
- package/dist/arm-servicefabricmesh.js.map +0 -1
- package/dist/arm-servicefabricmesh.min.js +0 -1
- package/dist/arm-servicefabricmesh.min.js.map +0 -1
- package/esm/models/applicationMappers.d.ts +0 -2
- package/esm/models/applicationMappers.d.ts.map +0 -1
- package/esm/models/applicationMappers.js +0 -11
- package/esm/models/applicationMappers.js.map +0 -1
- package/esm/models/codePackageMappers.d.ts +0 -2
- package/esm/models/codePackageMappers.d.ts.map +0 -1
- package/esm/models/codePackageMappers.js +0 -11
- package/esm/models/codePackageMappers.js.map +0 -1
- package/esm/models/gatewayMappers.d.ts +0 -2
- package/esm/models/gatewayMappers.d.ts.map +0 -1
- package/esm/models/gatewayMappers.js +0 -11
- package/esm/models/gatewayMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2938
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -102
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/networkMappers.d.ts +0 -2
- package/esm/models/networkMappers.d.ts.map +0 -1
- package/esm/models/networkMappers.js +0 -11
- package/esm/models/networkMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -17
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/secretMappers.d.ts +0 -2
- package/esm/models/secretMappers.d.ts.map +0 -1
- package/esm/models/secretMappers.js +0 -11
- package/esm/models/secretMappers.js.map +0 -1
- package/esm/models/secretValueOperationsMappers.d.ts +0 -2
- package/esm/models/secretValueOperationsMappers.d.ts.map +0 -1
- package/esm/models/secretValueOperationsMappers.js +0 -11
- package/esm/models/secretValueOperationsMappers.js.map +0 -1
- package/esm/models/serviceMappers.d.ts +0 -2
- package/esm/models/serviceMappers.d.ts.map +0 -1
- package/esm/models/serviceMappers.js +0 -11
- package/esm/models/serviceMappers.js.map +0 -1
- package/esm/models/serviceReplicaMappers.d.ts +0 -2
- package/esm/models/serviceReplicaMappers.d.ts.map +0 -1
- package/esm/models/serviceReplicaMappers.js +0 -11
- package/esm/models/serviceReplicaMappers.js.map +0 -1
- package/esm/models/volumeMappers.d.ts +0 -2
- package/esm/models/volumeMappers.d.ts.map +0 -1
- package/esm/models/volumeMappers.js +0 -11
- package/esm/models/volumeMappers.js.map +0 -1
- package/esm/operations/application.d.ts +0 -162
- package/esm/operations/application.d.ts.map +0 -1
- package/esm/operations/application.js +0 -238
- package/esm/operations/application.js.map +0 -1
- package/esm/operations/codePackage.d.ts +0 -44
- package/esm/operations/codePackage.d.ts.map +0 -1
- package/esm/operations/codePackage.js +0 -65
- package/esm/operations/codePackage.js.map +0 -1
- package/esm/operations/gateway.d.ts +0 -163
- package/esm/operations/gateway.d.ts.map +0 -1
- package/esm/operations/gateway.js +0 -238
- package/esm/operations/gateway.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/network.d.ts +0 -162
- package/esm/operations/network.d.ts.map +0 -1
- package/esm/operations/network.js +0 -238
- package/esm/operations/network.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/secret.d.ts +0 -162
- package/esm/operations/secret.d.ts.map +0 -1
- package/esm/operations/secret.js +0 -238
- package/esm/operations/secret.js.map +0 -1
- package/esm/operations/secretValueOperations.d.ts +0 -175
- package/esm/operations/secretValueOperations.d.ts.map +0 -1
- package/esm/operations/secretValueOperations.js +0 -226
- package/esm/operations/secretValueOperations.js.map +0 -1
- package/esm/operations/service.d.ts +0 -82
- package/esm/operations/service.d.ts.map +0 -1
- package/esm/operations/service.js +0 -117
- package/esm/operations/service.js.map +0 -1
- package/esm/operations/serviceReplica.d.ts +0 -88
- package/esm/operations/serviceReplica.d.ts.map +0 -1
- package/esm/operations/serviceReplica.js +0 -121
- package/esm/operations/serviceReplica.js.map +0 -1
- package/esm/operations/volume.d.ts +0 -162
- package/esm/operations/volume.d.ts.map +0 -1
- package/esm/operations/volume.js +0 -238
- package/esm/operations/volume.js.map +0 -1
- package/esm/serviceFabricMeshManagementClient.d.ts +0 -27
- package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClient.js +0 -42
- package/esm/serviceFabricMeshManagementClient.js.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -16
- package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
- package/esm/serviceFabricMeshManagementClientContext.js +0 -56
- package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
- package/lib/models/applicationMappers.ts +0 -76
- package/lib/models/codePackageMappers.ts +0 -18
- package/lib/models/gatewayMappers.ts +0 -76
- package/lib/models/index.ts +0 -3097
- package/lib/models/networkMappers.ts +0 -76
- package/lib/models/operationsMappers.ts +0 -20
- package/lib/models/parameters.ts +0 -175
- package/lib/models/secretMappers.ts +0 -76
- package/lib/models/secretValueOperationsMappers.ts +0 -77
- package/lib/models/serviceMappers.ts +0 -76
- package/lib/models/serviceReplicaMappers.ts +0 -40
- package/lib/models/volumeMappers.ts +0 -76
- package/lib/operations/application.ts +0 -427
- package/lib/operations/codePackage.ts +0 -104
- package/lib/operations/gateway.ts +0 -428
- package/lib/operations/network.ts +0 -427
- package/lib/operations/operations.ts +0 -125
- package/lib/operations/secret.ts +0 -427
- package/lib/operations/secretValueOperations.ts +0 -423
- package/lib/operations/service.ts +0 -204
- package/lib/operations/serviceReplica.ts +0 -214
- package/lib/operations/volume.ts +0 -427
- package/lib/serviceFabricMeshManagementClient.ts +0 -60
- package/lib/serviceFabricMeshManagementClientContext.ts +0 -62
|
@@ -1,428 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "../models";
|
|
13
|
-
import * as Mappers from "../models/gatewayMappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext";
|
|
16
|
-
|
|
17
|
-
/** Class representing a Gateway. */
|
|
18
|
-
export class Gateway {
|
|
19
|
-
private readonly client: ServiceFabricMeshManagementClientContext;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create a Gateway.
|
|
23
|
-
* @param {ServiceFabricMeshManagementClientContext} client Reference to the service client.
|
|
24
|
-
*/
|
|
25
|
-
constructor(client: ServiceFabricMeshManagementClientContext) {
|
|
26
|
-
this.client = client;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Creates a gateway resource with the specified name, description and properties. If a gateway
|
|
31
|
-
* resource with the same name exists, then it is updated with the specified description and
|
|
32
|
-
* properties. Use gateway resources to create a gateway for public connectivity for services
|
|
33
|
-
* within your application.
|
|
34
|
-
* @summary Creates or updates a gateway resource.
|
|
35
|
-
* @param resourceGroupName Azure resource group name
|
|
36
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
37
|
-
* @param gatewayResourceDescription Description for creating a Gateway resource.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<Models.GatewayCreateResponse>
|
|
40
|
-
*/
|
|
41
|
-
create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options?: msRest.RequestOptionsBase): Promise<Models.GatewayCreateResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroupName Azure resource group name
|
|
44
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
45
|
-
* @param gatewayResourceDescription Description for creating a Gateway resource.
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
|
|
49
|
-
/**
|
|
50
|
-
* @param resourceGroupName Azure resource group name
|
|
51
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
52
|
-
* @param gatewayResourceDescription Description for creating a Gateway resource.
|
|
53
|
-
* @param options The optional parameters
|
|
54
|
-
* @param callback The callback
|
|
55
|
-
*/
|
|
56
|
-
create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
|
|
57
|
-
create(resourceGroupName: string, gatewayResourceName: string, gatewayResourceDescription: Models.GatewayResourceDescription, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescription>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescription>): Promise<Models.GatewayCreateResponse> {
|
|
58
|
-
return this.client.sendOperationRequest(
|
|
59
|
-
{
|
|
60
|
-
resourceGroupName,
|
|
61
|
-
gatewayResourceName,
|
|
62
|
-
gatewayResourceDescription,
|
|
63
|
-
options
|
|
64
|
-
},
|
|
65
|
-
createOperationSpec,
|
|
66
|
-
callback) as Promise<Models.GatewayCreateResponse>;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Gets the information about the gateway resource with the given name. The information include the
|
|
71
|
-
* description and other properties of the gateway.
|
|
72
|
-
* @summary Gets the gateway resource with the given name.
|
|
73
|
-
* @param resourceGroupName Azure resource group name
|
|
74
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
75
|
-
* @param [options] The optional parameters
|
|
76
|
-
* @returns Promise<Models.GatewayGetResponse>
|
|
77
|
-
*/
|
|
78
|
-
get(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayGetResponse>;
|
|
79
|
-
/**
|
|
80
|
-
* @param resourceGroupName Azure resource group name
|
|
81
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
82
|
-
* @param callback The callback
|
|
83
|
-
*/
|
|
84
|
-
get(resourceGroupName: string, gatewayResourceName: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
|
|
85
|
-
/**
|
|
86
|
-
* @param resourceGroupName Azure resource group name
|
|
87
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
88
|
-
* @param options The optional parameters
|
|
89
|
-
* @param callback The callback
|
|
90
|
-
*/
|
|
91
|
-
get(resourceGroupName: string, gatewayResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescription>): void;
|
|
92
|
-
get(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescription>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescription>): Promise<Models.GatewayGetResponse> {
|
|
93
|
-
return this.client.sendOperationRequest(
|
|
94
|
-
{
|
|
95
|
-
resourceGroupName,
|
|
96
|
-
gatewayResourceName,
|
|
97
|
-
options
|
|
98
|
-
},
|
|
99
|
-
getOperationSpec,
|
|
100
|
-
callback) as Promise<Models.GatewayGetResponse>;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Deletes the gateway resource identified by the name.
|
|
105
|
-
* @summary Deletes the gateway resource.
|
|
106
|
-
* @param resourceGroupName Azure resource group name
|
|
107
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
108
|
-
* @param [options] The optional parameters
|
|
109
|
-
* @returns Promise<msRest.RestResponse>
|
|
110
|
-
*/
|
|
111
|
-
deleteMethod(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
112
|
-
/**
|
|
113
|
-
* @param resourceGroupName Azure resource group name
|
|
114
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
115
|
-
* @param callback The callback
|
|
116
|
-
*/
|
|
117
|
-
deleteMethod(resourceGroupName: string, gatewayResourceName: string, callback: msRest.ServiceCallback<void>): void;
|
|
118
|
-
/**
|
|
119
|
-
* @param resourceGroupName Azure resource group name
|
|
120
|
-
* @param gatewayResourceName The identity of the gateway.
|
|
121
|
-
* @param options The optional parameters
|
|
122
|
-
* @param callback The callback
|
|
123
|
-
*/
|
|
124
|
-
deleteMethod(resourceGroupName: string, gatewayResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
125
|
-
deleteMethod(resourceGroupName: string, gatewayResourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
126
|
-
return this.client.sendOperationRequest(
|
|
127
|
-
{
|
|
128
|
-
resourceGroupName,
|
|
129
|
-
gatewayResourceName,
|
|
130
|
-
options
|
|
131
|
-
},
|
|
132
|
-
deleteMethodOperationSpec,
|
|
133
|
-
callback);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Gets the information about all gateway resources in a given resource group. The information
|
|
138
|
-
* include the description and other properties of the Gateway.
|
|
139
|
-
* @summary Gets all the gateway resources in a given resource group.
|
|
140
|
-
* @param resourceGroupName Azure resource group name
|
|
141
|
-
* @param [options] The optional parameters
|
|
142
|
-
* @returns Promise<Models.GatewayListByResourceGroupResponse>
|
|
143
|
-
*/
|
|
144
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayListByResourceGroupResponse>;
|
|
145
|
-
/**
|
|
146
|
-
* @param resourceGroupName Azure resource group name
|
|
147
|
-
* @param callback The callback
|
|
148
|
-
*/
|
|
149
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
150
|
-
/**
|
|
151
|
-
* @param resourceGroupName Azure resource group name
|
|
152
|
-
* @param options The optional parameters
|
|
153
|
-
* @param callback The callback
|
|
154
|
-
*/
|
|
155
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
156
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListByResourceGroupResponse> {
|
|
157
|
-
return this.client.sendOperationRequest(
|
|
158
|
-
{
|
|
159
|
-
resourceGroupName,
|
|
160
|
-
options
|
|
161
|
-
},
|
|
162
|
-
listByResourceGroupOperationSpec,
|
|
163
|
-
callback) as Promise<Models.GatewayListByResourceGroupResponse>;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Gets the information about all gateway resources in a given resource group. The information
|
|
168
|
-
* include the description and other properties of the gateway.
|
|
169
|
-
* @summary Gets all the gateway resources in a given subscription.
|
|
170
|
-
* @param [options] The optional parameters
|
|
171
|
-
* @returns Promise<Models.GatewayListBySubscriptionResponse>
|
|
172
|
-
*/
|
|
173
|
-
listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.GatewayListBySubscriptionResponse>;
|
|
174
|
-
/**
|
|
175
|
-
* @param callback The callback
|
|
176
|
-
*/
|
|
177
|
-
listBySubscription(callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
178
|
-
/**
|
|
179
|
-
* @param options The optional parameters
|
|
180
|
-
* @param callback The callback
|
|
181
|
-
*/
|
|
182
|
-
listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
183
|
-
listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListBySubscriptionResponse> {
|
|
184
|
-
return this.client.sendOperationRequest(
|
|
185
|
-
{
|
|
186
|
-
options
|
|
187
|
-
},
|
|
188
|
-
listBySubscriptionOperationSpec,
|
|
189
|
-
callback) as Promise<Models.GatewayListBySubscriptionResponse>;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Gets the information about all gateway resources in a given resource group. The information
|
|
194
|
-
* include the description and other properties of the Gateway.
|
|
195
|
-
* @summary Gets all the gateway resources in a given resource group.
|
|
196
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
197
|
-
* @param [options] The optional parameters
|
|
198
|
-
* @returns Promise<Models.GatewayListByResourceGroupNextResponse>
|
|
199
|
-
*/
|
|
200
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayListByResourceGroupNextResponse>;
|
|
201
|
-
/**
|
|
202
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
203
|
-
* @param callback The callback
|
|
204
|
-
*/
|
|
205
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
206
|
-
/**
|
|
207
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
208
|
-
* @param options The optional parameters
|
|
209
|
-
* @param callback The callback
|
|
210
|
-
*/
|
|
211
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
212
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListByResourceGroupNextResponse> {
|
|
213
|
-
return this.client.sendOperationRequest(
|
|
214
|
-
{
|
|
215
|
-
nextPageLink,
|
|
216
|
-
options
|
|
217
|
-
},
|
|
218
|
-
listByResourceGroupNextOperationSpec,
|
|
219
|
-
callback) as Promise<Models.GatewayListByResourceGroupNextResponse>;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Gets the information about all gateway resources in a given resource group. The information
|
|
224
|
-
* include the description and other properties of the gateway.
|
|
225
|
-
* @summary Gets all the gateway resources in a given subscription.
|
|
226
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
227
|
-
* @param [options] The optional parameters
|
|
228
|
-
* @returns Promise<Models.GatewayListBySubscriptionNextResponse>
|
|
229
|
-
*/
|
|
230
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.GatewayListBySubscriptionNextResponse>;
|
|
231
|
-
/**
|
|
232
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
233
|
-
* @param callback The callback
|
|
234
|
-
*/
|
|
235
|
-
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
236
|
-
/**
|
|
237
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
238
|
-
* @param options The optional parameters
|
|
239
|
-
* @param callback The callback
|
|
240
|
-
*/
|
|
241
|
-
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): void;
|
|
242
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.GatewayResourceDescriptionList>, callback?: msRest.ServiceCallback<Models.GatewayResourceDescriptionList>): Promise<Models.GatewayListBySubscriptionNextResponse> {
|
|
243
|
-
return this.client.sendOperationRequest(
|
|
244
|
-
{
|
|
245
|
-
nextPageLink,
|
|
246
|
-
options
|
|
247
|
-
},
|
|
248
|
-
listBySubscriptionNextOperationSpec,
|
|
249
|
-
callback) as Promise<Models.GatewayListBySubscriptionNextResponse>;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
// Operation Specifications
|
|
254
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
255
|
-
const createOperationSpec: msRest.OperationSpec = {
|
|
256
|
-
httpMethod: "PUT",
|
|
257
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
|
|
258
|
-
urlParameters: [
|
|
259
|
-
Parameters.subscriptionId,
|
|
260
|
-
Parameters.resourceGroupName,
|
|
261
|
-
Parameters.gatewayResourceName
|
|
262
|
-
],
|
|
263
|
-
queryParameters: [
|
|
264
|
-
Parameters.apiVersion
|
|
265
|
-
],
|
|
266
|
-
headerParameters: [
|
|
267
|
-
Parameters.acceptLanguage
|
|
268
|
-
],
|
|
269
|
-
requestBody: {
|
|
270
|
-
parameterPath: "gatewayResourceDescription",
|
|
271
|
-
mapper: {
|
|
272
|
-
...Mappers.GatewayResourceDescription,
|
|
273
|
-
required: true
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
responses: {
|
|
277
|
-
200: {
|
|
278
|
-
bodyMapper: Mappers.GatewayResourceDescription
|
|
279
|
-
},
|
|
280
|
-
201: {
|
|
281
|
-
bodyMapper: Mappers.GatewayResourceDescription
|
|
282
|
-
},
|
|
283
|
-
202: {},
|
|
284
|
-
default: {
|
|
285
|
-
bodyMapper: Mappers.ErrorModel
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
serializer
|
|
289
|
-
};
|
|
290
|
-
|
|
291
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
292
|
-
httpMethod: "GET",
|
|
293
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
|
|
294
|
-
urlParameters: [
|
|
295
|
-
Parameters.subscriptionId,
|
|
296
|
-
Parameters.resourceGroupName,
|
|
297
|
-
Parameters.gatewayResourceName
|
|
298
|
-
],
|
|
299
|
-
queryParameters: [
|
|
300
|
-
Parameters.apiVersion
|
|
301
|
-
],
|
|
302
|
-
headerParameters: [
|
|
303
|
-
Parameters.acceptLanguage
|
|
304
|
-
],
|
|
305
|
-
responses: {
|
|
306
|
-
200: {
|
|
307
|
-
bodyMapper: Mappers.GatewayResourceDescription
|
|
308
|
-
},
|
|
309
|
-
default: {
|
|
310
|
-
bodyMapper: Mappers.ErrorModel
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
serializer
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
317
|
-
httpMethod: "DELETE",
|
|
318
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}",
|
|
319
|
-
urlParameters: [
|
|
320
|
-
Parameters.subscriptionId,
|
|
321
|
-
Parameters.resourceGroupName,
|
|
322
|
-
Parameters.gatewayResourceName
|
|
323
|
-
],
|
|
324
|
-
queryParameters: [
|
|
325
|
-
Parameters.apiVersion
|
|
326
|
-
],
|
|
327
|
-
headerParameters: [
|
|
328
|
-
Parameters.acceptLanguage
|
|
329
|
-
],
|
|
330
|
-
responses: {
|
|
331
|
-
200: {},
|
|
332
|
-
202: {},
|
|
333
|
-
204: {},
|
|
334
|
-
default: {
|
|
335
|
-
bodyMapper: Mappers.ErrorModel
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
serializer
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
342
|
-
httpMethod: "GET",
|
|
343
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways",
|
|
344
|
-
urlParameters: [
|
|
345
|
-
Parameters.subscriptionId,
|
|
346
|
-
Parameters.resourceGroupName
|
|
347
|
-
],
|
|
348
|
-
queryParameters: [
|
|
349
|
-
Parameters.apiVersion
|
|
350
|
-
],
|
|
351
|
-
headerParameters: [
|
|
352
|
-
Parameters.acceptLanguage
|
|
353
|
-
],
|
|
354
|
-
responses: {
|
|
355
|
-
200: {
|
|
356
|
-
bodyMapper: Mappers.GatewayResourceDescriptionList
|
|
357
|
-
},
|
|
358
|
-
default: {
|
|
359
|
-
bodyMapper: Mappers.ErrorModel
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
serializer
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
366
|
-
httpMethod: "GET",
|
|
367
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways",
|
|
368
|
-
urlParameters: [
|
|
369
|
-
Parameters.subscriptionId
|
|
370
|
-
],
|
|
371
|
-
queryParameters: [
|
|
372
|
-
Parameters.apiVersion
|
|
373
|
-
],
|
|
374
|
-
headerParameters: [
|
|
375
|
-
Parameters.acceptLanguage
|
|
376
|
-
],
|
|
377
|
-
responses: {
|
|
378
|
-
200: {
|
|
379
|
-
bodyMapper: Mappers.GatewayResourceDescriptionList
|
|
380
|
-
},
|
|
381
|
-
default: {
|
|
382
|
-
bodyMapper: Mappers.ErrorModel
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
serializer
|
|
386
|
-
};
|
|
387
|
-
|
|
388
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
389
|
-
httpMethod: "GET",
|
|
390
|
-
baseUrl: "https://management.azure.com",
|
|
391
|
-
path: "{nextLink}",
|
|
392
|
-
urlParameters: [
|
|
393
|
-
Parameters.nextPageLink
|
|
394
|
-
],
|
|
395
|
-
headerParameters: [
|
|
396
|
-
Parameters.acceptLanguage
|
|
397
|
-
],
|
|
398
|
-
responses: {
|
|
399
|
-
200: {
|
|
400
|
-
bodyMapper: Mappers.GatewayResourceDescriptionList
|
|
401
|
-
},
|
|
402
|
-
default: {
|
|
403
|
-
bodyMapper: Mappers.ErrorModel
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
serializer
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
410
|
-
httpMethod: "GET",
|
|
411
|
-
baseUrl: "https://management.azure.com",
|
|
412
|
-
path: "{nextLink}",
|
|
413
|
-
urlParameters: [
|
|
414
|
-
Parameters.nextPageLink
|
|
415
|
-
],
|
|
416
|
-
headerParameters: [
|
|
417
|
-
Parameters.acceptLanguage
|
|
418
|
-
],
|
|
419
|
-
responses: {
|
|
420
|
-
200: {
|
|
421
|
-
bodyMapper: Mappers.GatewayResourceDescriptionList
|
|
422
|
-
},
|
|
423
|
-
default: {
|
|
424
|
-
bodyMapper: Mappers.ErrorModel
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
serializer
|
|
428
|
-
};
|