@azure/arm-relay 0.1.0 → 3.0.0
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.txt → LICENSE} +21 -21
- package/README.md +98 -96
- package/dist/index.js +2907 -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/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +493 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +369 -416
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +169 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/hybridConnections.d.ts +137 -0
- package/dist-esm/src/operations/hybridConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/hybridConnections.js +571 -0
- package/dist-esm/src/operations/hybridConnections.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/namespaces.d.ts +174 -0
- package/dist-esm/src/operations/namespaces.d.ts.map +1 -0
- package/dist-esm/src/operations/namespaces.js +771 -0
- package/dist-esm/src/operations/namespaces.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/wCFRelays.d.ts +137 -0
- package/dist-esm/src/operations/wCFRelays.d.ts.map +1 -0
- package/dist-esm/src/operations/wCFRelays.js +554 -0
- package/dist-esm/src/operations/wCFRelays.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.d.ts +93 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts +121 -0
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/namespaces.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/wCFRelays.d.ts +93 -0
- package/dist-esm/src/operationsInterfaces/wCFRelays.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/wCFRelays.js +9 -0
- package/dist-esm/src/operationsInterfaces/wCFRelays.js.map +1 -0
- package/dist-esm/src/relayAPI.d.ts +22 -0
- package/dist-esm/src/relayAPI.d.ts.map +1 -0
- package/dist-esm/src/relayAPI.js +55 -0
- package/dist-esm/src/relayAPI.js.map +1 -0
- package/dist-esm/test/relay_examples.d.ts +4 -0
- package/dist-esm/test/relay_examples.d.ts.map +1 -0
- package/dist-esm/test/relay_examples.js +240 -0
- package/dist-esm/test/relay_examples.js.map +1 -0
- package/package.json +71 -34
- package/review/arm-relay.api.md +539 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +611 -0
- package/{lib → src}/models/mappers.ts +366 -413
- package/src/models/parameters.ts +200 -0
- package/src/operations/hybridConnections.ts +780 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/namespaces.ts +1028 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/wCFRelays.ts +763 -0
- package/src/operationsInterfaces/hybridConnections.ts +179 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/namespaces.ts +228 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/wCFRelays.ts +179 -0
- package/src/relayAPI.ts +92 -0
- package/tsconfig.json +4 -4
- package/types/arm-relay.d.ts +931 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-relay.js +0 -2593
- package/dist/arm-relay.js.map +0 -1
- package/dist/arm-relay.min.js +0 -1
- package/dist/arm-relay.min.js.map +0 -1
- package/esm/models/hybridConnectionsMappers.d.ts +0 -2
- package/esm/models/hybridConnectionsMappers.d.ts.map +0 -1
- package/esm/models/hybridConnectionsMappers.js +0 -11
- package/esm/models/hybridConnectionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1231
- 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 -25
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/namespacesMappers.d.ts +0 -2
- package/esm/models/namespacesMappers.d.ts.map +0 -1
- package/esm/models/namespacesMappers.js +0 -11
- package/esm/models/namespacesMappers.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 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -118
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/wCFRelaysMappers.d.ts +0 -2
- package/esm/models/wCFRelaysMappers.d.ts.map +0 -1
- package/esm/models/wCFRelaysMappers.js +0 -11
- package/esm/models/wCFRelaysMappers.js.map +0 -1
- package/esm/operations/hybridConnections.d.ts +0 -310
- package/esm/operations/hybridConnections.d.ts.map +0 -1
- package/esm/operations/hybridConnections.js +0 -431
- package/esm/operations/hybridConnections.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/namespaces.d.ts +0 -348
- package/esm/operations/namespaces.d.ts.map +0 -1
- package/esm/operations/namespaces.js +0 -579
- package/esm/operations/namespaces.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- 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/wCFRelays.d.ts +0 -310
- package/esm/operations/wCFRelays.d.ts.map +0 -1
- package/esm/operations/wCFRelays.js +0 -432
- package/esm/operations/wCFRelays.js.map +0 -1
- package/esm/relayManagementClient.d.ts +0 -22
- package/esm/relayManagementClient.d.ts.map +0 -1
- package/esm/relayManagementClient.js +0 -37
- package/esm/relayManagementClient.js.map +0 -1
- package/esm/relayManagementClientContext.d.ts +0 -17
- package/esm/relayManagementClientContext.d.ts.map +0 -1
- package/esm/relayManagementClientContext.js +0 -57
- package/esm/relayManagementClientContext.js.map +0 -1
- package/lib/models/hybridConnectionsMappers.ts +0 -28
- package/lib/models/index.ts +0 -1304
- package/lib/models/namespacesMappers.ts +0 -30
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -120
- package/lib/models/wCFRelaysMappers.ts +0 -29
- package/lib/operations/hybridConnections.ts +0 -799
- package/lib/operations/namespaces.ts +0 -977
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/wCFRelays.ts +0 -800
- package/lib/relayManagementClient.ts +0 -49
- package/lib/relayManagementClientContext.ts +0 -63
|
@@ -1,49 +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/mappers";
|
|
14
|
-
import * as operations from "./operations";
|
|
15
|
-
import { RelayManagementClientContext } from "./relayManagementClientContext";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class RelayManagementClient extends RelayManagementClientContext {
|
|
19
|
-
// Operation groups
|
|
20
|
-
operations: operations.Operations;
|
|
21
|
-
namespaces: operations.Namespaces;
|
|
22
|
-
hybridConnections: operations.HybridConnections;
|
|
23
|
-
wCFRelays: operations.WCFRelays;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Initializes a new instance of the RelayManagementClient class.
|
|
27
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
28
|
-
* @param subscriptionId Subscription credentials which uniquely identify the Microsoft Azure
|
|
29
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
30
|
-
* @param [options] The parameter options
|
|
31
|
-
*/
|
|
32
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RelayManagementClientOptions) {
|
|
33
|
-
super(credentials, subscriptionId, options);
|
|
34
|
-
this.operations = new operations.Operations(this);
|
|
35
|
-
this.namespaces = new operations.Namespaces(this);
|
|
36
|
-
this.hybridConnections = new operations.HybridConnections(this);
|
|
37
|
-
this.wCFRelays = new operations.WCFRelays(this);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Operation Specifications
|
|
42
|
-
|
|
43
|
-
export {
|
|
44
|
-
RelayManagementClient,
|
|
45
|
-
RelayManagementClientContext,
|
|
46
|
-
Models as RelayManagementModels,
|
|
47
|
-
Mappers as RelayManagementMappers
|
|
48
|
-
};
|
|
49
|
-
export * from "./operations";
|
|
@@ -1,63 +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 Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-relay";
|
|
16
|
-
const packageVersion = "0.1.0";
|
|
17
|
-
|
|
18
|
-
export class RelayManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials;
|
|
20
|
-
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the RelayManagementClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
26
|
-
* @param subscriptionId Subscription credentials which uniquely identify the Microsoft Azure
|
|
27
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
28
|
-
* @param [options] The parameter options
|
|
29
|
-
*/
|
|
30
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RelayManagementClientOptions) {
|
|
31
|
-
if (credentials == undefined) {
|
|
32
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
33
|
-
}
|
|
34
|
-
if (subscriptionId == undefined) {
|
|
35
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
if (!options) {
|
|
39
|
-
options = {};
|
|
40
|
-
}
|
|
41
|
-
if(!options.userAgent) {
|
|
42
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
43
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
super(credentials, options);
|
|
47
|
-
|
|
48
|
-
this.apiVersion = '2017-04-01';
|
|
49
|
-
this.acceptLanguage = 'en-US';
|
|
50
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
51
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
52
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
53
|
-
this.credentials = credentials;
|
|
54
|
-
this.subscriptionId = subscriptionId;
|
|
55
|
-
|
|
56
|
-
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
57
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
58
|
-
}
|
|
59
|
-
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
60
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|