@azure/arm-links 2.0.0-beta.1 → 2.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 +6 -11
- package/README.md +15 -9
- package/dist/index.js +6 -247
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -0
- package/{esm → dist-esm/src}/managementLinkClient.d.ts +5 -2
- package/dist-esm/src/managementLinkClient.d.ts.map +1 -0
- package/{esm/managementLinkClientContext.js → dist-esm/src/managementLinkClient.js} +7 -4
- package/dist-esm/src/managementLinkClient.js.map +1 -0
- package/{esm → dist-esm/src}/models/index.d.ts +0 -17
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/index.js +0 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.d.ts +0 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +0 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.d.ts +0 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +0 -0
- package/dist-esm/src/models/parameters.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 +0 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/{esm → dist-esm/src}/operations/operations.d.ts +4 -19
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/operations.js +1 -72
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/{esm/operationsInterfaces → dist-esm/src/operations}/resourceLinks.d.ts +43 -19
- package/dist-esm/src/operations/resourceLinks.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/resourceLinks.js +1 -152
- package/dist-esm/src/operations/resourceLinks.js.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/index.d.ts +0 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/index.js +0 -0
- package/dist-esm/src/operationsInterfaces/index.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/{esm → dist-esm/src}/operationsInterfaces/operations.js +1 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceLinks.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/resourceLinks.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operationsInterfaces/resourceLinks.js +1 -1
- package/dist-esm/src/operationsInterfaces/resourceLinks.js.map +1 -0
- package/dist-esm/test/links_examples.d.ts +4 -0
- package/dist-esm/test/links_examples.d.ts.map +1 -0
- package/dist-esm/test/links_examples.js +129 -0
- package/dist-esm/test/links_examples.js.map +1 -0
- package/package.json +28 -33
- package/review/arm-links.api.md +5 -36
- package/src/index.ts +0 -1
- package/src/managementLinkClient.ts +46 -3
- package/src/models/index.ts +0 -24
- package/src/operations/operations.ts +5 -82
- package/src/operations/resourceLinks.ts +5 -186
- package/src/operationsInterfaces/operations.ts +1 -15
- package/src/operationsInterfaces/resourceLinks.ts +0 -25
- package/tsconfig.json +2 -3
- package/{esm/index.d.ts → types/arm-links.d.ts} +4 -58
- package/types/tsdoc-metadata.json +11 -0
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/managementLinkClient.d.ts.map +0 -1
- package/esm/managementLinkClient.js +0 -23
- package/esm/managementLinkClient.js.map +0 -1
- package/esm/managementLinkClientContext.d.ts +0 -16
- package/esm/managementLinkClientContext.d.ts.map +0 -1
- package/esm/managementLinkClientContext.js.map +0 -1
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/resourceLinks.d.ts +0 -120
- package/esm/operations/resourceLinks.d.ts.map +0 -1
- package/esm/operations/resourceLinks.js.map +0 -1
- package/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/esm/operationsInterfaces/index.js.map +0 -1
- package/esm/operationsInterfaces/operations.d.ts +0 -18
- package/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/esm/operationsInterfaces/operations.js.map +0 -1
- package/esm/operationsInterfaces/resourceLinks.d.ts.map +0 -1
- package/esm/operationsInterfaces/resourceLinks.js.map +0 -1
- package/src/managementLinkClientContext.ts +0 -70
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import "@azure/core-paging";
|
|
2
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
3
|
-
import { ResourceLinks } from "../operationsInterfaces";
|
|
4
|
-
import { ManagementLinkClientContext } from "../managementLinkClientContext";
|
|
5
|
-
import { ResourceLink, ResourceLinksListAtSubscriptionNextOptionalParams, ResourceLinksListAtSubscriptionOptionalParams, ResourceLinksListAtSourceScopeNextOptionalParams, ResourceLinksListAtSourceScopeOptionalParams, ResourceLinksDeleteOptionalParams, ResourceLinksCreateOrUpdateOptionalParams, ResourceLinksCreateOrUpdateResponse, ResourceLinksGetOptionalParams, ResourceLinksGetResponse } from "../models";
|
|
6
|
-
/** Class representing a ResourceLinks. */
|
|
7
|
-
export declare class ResourceLinksImpl implements ResourceLinks {
|
|
8
|
-
private readonly client;
|
|
9
|
-
/**
|
|
10
|
-
* Initialize a new instance of the class ResourceLinks class.
|
|
11
|
-
* @param client Reference to the service client
|
|
12
|
-
*/
|
|
13
|
-
constructor(client: ManagementLinkClientContext);
|
|
14
|
-
/**
|
|
15
|
-
* Gets all the linked resources for the subscription.
|
|
16
|
-
* @param options The options parameters.
|
|
17
|
-
*/
|
|
18
|
-
listAtSubscription(options?: ResourceLinksListAtSubscriptionOptionalParams): PagedAsyncIterableIterator<ResourceLink>;
|
|
19
|
-
private listAtSubscriptionPagingPage;
|
|
20
|
-
private listAtSubscriptionPagingAll;
|
|
21
|
-
/**
|
|
22
|
-
* Gets a list of resource links at and below the specified source scope.
|
|
23
|
-
* @param scope The fully qualified ID of the scope for getting the resource links. For example, to
|
|
24
|
-
* list resource links at and under a resource group, set the scope to
|
|
25
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.
|
|
26
|
-
* @param options The options parameters.
|
|
27
|
-
*/
|
|
28
|
-
listAtSourceScope(scope: string, options?: ResourceLinksListAtSourceScopeOptionalParams): PagedAsyncIterableIterator<ResourceLink>;
|
|
29
|
-
private listAtSourceScopePagingPage;
|
|
30
|
-
private listAtSourceScopePagingAll;
|
|
31
|
-
/**
|
|
32
|
-
* ListAtSubscriptionNext
|
|
33
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtSubscription method.
|
|
34
|
-
* @param options The options parameters.
|
|
35
|
-
*/
|
|
36
|
-
listAtSubscriptionNext(nextLink: string, options?: ResourceLinksListAtSubscriptionNextOptionalParams): PagedAsyncIterableIterator<ResourceLink>;
|
|
37
|
-
private listAtSubscriptionNextPagingPage;
|
|
38
|
-
private listAtSubscriptionNextPagingAll;
|
|
39
|
-
/**
|
|
40
|
-
* ListAtSourceScopeNext
|
|
41
|
-
* @param scope The fully qualified ID of the scope for getting the resource links. For example, to
|
|
42
|
-
* list resource links at and under a resource group, set the scope to
|
|
43
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.
|
|
44
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtSourceScope method.
|
|
45
|
-
* @param options The options parameters.
|
|
46
|
-
*/
|
|
47
|
-
listAtSourceScopeNext(scope: string, nextLink: string, options?: ResourceLinksListAtSourceScopeNextOptionalParams): PagedAsyncIterableIterator<ResourceLink>;
|
|
48
|
-
private listAtSourceScopeNextPagingPage;
|
|
49
|
-
private listAtSourceScopeNextPagingAll;
|
|
50
|
-
/**
|
|
51
|
-
* Deletes a resource link with the specified ID.
|
|
52
|
-
* @param linkId The fully qualified ID of the resource link. Use the format,
|
|
53
|
-
* /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}.
|
|
54
|
-
* For example,
|
|
55
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink
|
|
56
|
-
* @param options The options parameters.
|
|
57
|
-
*/
|
|
58
|
-
delete(linkId: string, options?: ResourceLinksDeleteOptionalParams): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* Creates or updates a resource link between the specified resources.
|
|
61
|
-
* @param linkId The fully qualified ID of the resource link. Use the format,
|
|
62
|
-
* /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}.
|
|
63
|
-
* For example,
|
|
64
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink
|
|
65
|
-
* @param parameters Parameters for creating or updating a resource link.
|
|
66
|
-
* @param options The options parameters.
|
|
67
|
-
*/
|
|
68
|
-
createOrUpdate(linkId: string, parameters: ResourceLink, options?: ResourceLinksCreateOrUpdateOptionalParams): Promise<ResourceLinksCreateOrUpdateResponse>;
|
|
69
|
-
/**
|
|
70
|
-
* Gets a resource link with the specified ID.
|
|
71
|
-
* @param linkId The fully qualified Id of the resource link. For example,
|
|
72
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink
|
|
73
|
-
* @param options The options parameters.
|
|
74
|
-
*/
|
|
75
|
-
get(linkId: string, options?: ResourceLinksGetOptionalParams): Promise<ResourceLinksGetResponse>;
|
|
76
|
-
/**
|
|
77
|
-
* Gets all the linked resources for the subscription.
|
|
78
|
-
* @param options The options parameters.
|
|
79
|
-
*/
|
|
80
|
-
private _listAtSubscription;
|
|
81
|
-
/**
|
|
82
|
-
* Gets a list of resource links at and below the specified source scope.
|
|
83
|
-
* @param scope The fully qualified ID of the scope for getting the resource links. For example, to
|
|
84
|
-
* list resource links at and under a resource group, set the scope to
|
|
85
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.
|
|
86
|
-
* @param options The options parameters.
|
|
87
|
-
*/
|
|
88
|
-
private _listAtSourceScope;
|
|
89
|
-
/**
|
|
90
|
-
* ListAtSubscriptionNext
|
|
91
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtSubscription method.
|
|
92
|
-
* @param options The options parameters.
|
|
93
|
-
*/
|
|
94
|
-
private _listAtSubscriptionNext;
|
|
95
|
-
/**
|
|
96
|
-
* ListAtSourceScopeNext
|
|
97
|
-
* @param scope The fully qualified ID of the scope for getting the resource links. For example, to
|
|
98
|
-
* list resource links at and under a resource group, set the scope to
|
|
99
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.
|
|
100
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtSourceScope method.
|
|
101
|
-
* @param options The options parameters.
|
|
102
|
-
*/
|
|
103
|
-
private _listAtSourceScopeNext;
|
|
104
|
-
/**
|
|
105
|
-
* ListAtSubscriptionNextNext
|
|
106
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionNext method.
|
|
107
|
-
* @param options The options parameters.
|
|
108
|
-
*/
|
|
109
|
-
private _listAtSubscriptionNextNext;
|
|
110
|
-
/**
|
|
111
|
-
* ListAtSourceScopeNextNext
|
|
112
|
-
* @param scope The fully qualified ID of the scope for getting the resource links. For example, to
|
|
113
|
-
* list resource links at and under a resource group, set the scope to
|
|
114
|
-
* /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.
|
|
115
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtSourceScopeNext method.
|
|
116
|
-
* @param options The options parameters.
|
|
117
|
-
*/
|
|
118
|
-
private _listAtSourceScopeNextNext;
|
|
119
|
-
}
|
|
120
|
-
//# sourceMappingURL=resourceLinks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resourceLinks.d.ts","sourceRoot":"","sources":["../../src/operations/resourceLinks.ts"],"names":[],"mappings":"AAQA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EACL,YAAY,EACZ,iDAAiD,EACjD,6CAA6C,EAC7C,gDAAgD,EAChD,4CAA4C,EAG5C,iCAAiC,EACjC,yCAAyC,EACzC,mCAAmC,EACnC,8BAA8B,EAC9B,wBAAwB,EAOzB,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;OAGG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,YAAY,CAAC;YAe5B,4BAA4B;YAa5B,2BAA2B;IAQ1C;;;;;;OAMG;IACI,iBAAiB,CACtB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA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GAA6B;IACvE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC;IAC5D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,KAAK,CAAC;IACxE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import "@azure/core-paging";
|
|
2
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
3
|
-
import { Operation, OperationsListNextOptionalParams, OperationsListOptionalParams } from "../models";
|
|
4
|
-
/** Interface representing a Operations. */
|
|
5
|
-
export interface Operations {
|
|
6
|
-
/**
|
|
7
|
-
* Lists all of the available Microsoft.Resources REST API operations.
|
|
8
|
-
* @param options The options parameters.
|
|
9
|
-
*/
|
|
10
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
11
|
-
/**
|
|
12
|
-
* ListNext
|
|
13
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
14
|
-
* @param options The options parameters.
|
|
15
|
-
*/
|
|
16
|
-
listNext(nextLink: string, options?: OperationsListNextOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,gCAAgC,EAChC,4BAA4B,EAC7B,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resourceLinks.d.ts","sourceRoot":"","sources":["../../src/operationsInterfaces/resourceLinks.ts"],"names":[],"mappings":"AAQA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,YAAY,EACZ,iDAAiD,EACjD,6CAA6C,EAC7C,gDAAgD,EAChD,4CAA4C,EAC5C,iCAAiC,EACjC,yCAAyC,EACzC,mCAAmC,EACnC,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,iBAAiB,CACf,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;OAIG;IACH,sBAAsB,CACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;;;OAOG;IACH,qBAAqB,CACnB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gDAAgD,GACzD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;;;OAOG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,cAAc,CACZ,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,YAAY,EACxB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;OAKG;IACH,GAAG,CACD,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resourceLinks.js","sourceRoot":"","sources":["../../src/operationsInterfaces/resourceLinks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,oBAAoB,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as coreAuth from "@azure/core-auth";
|
|
11
|
-
import { ManagementLinkClientOptionalParams } from "./models";
|
|
12
|
-
|
|
13
|
-
export class ManagementLinkClientContext extends coreClient.ServiceClient {
|
|
14
|
-
$host: string;
|
|
15
|
-
apiVersion: string;
|
|
16
|
-
subscriptionId: string;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Initializes a new instance of the ManagementLinkClientContext class.
|
|
20
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
21
|
-
* @param subscriptionId The ID of the target subscription.
|
|
22
|
-
* @param options The parameter options
|
|
23
|
-
*/
|
|
24
|
-
constructor(
|
|
25
|
-
credentials: coreAuth.TokenCredential,
|
|
26
|
-
subscriptionId: string,
|
|
27
|
-
options?: ManagementLinkClientOptionalParams
|
|
28
|
-
) {
|
|
29
|
-
if (credentials === undefined) {
|
|
30
|
-
throw new Error("'credentials' cannot be null");
|
|
31
|
-
}
|
|
32
|
-
if (subscriptionId === undefined) {
|
|
33
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Initializing default values for options
|
|
37
|
-
if (!options) {
|
|
38
|
-
options = {};
|
|
39
|
-
}
|
|
40
|
-
const defaults: ManagementLinkClientOptionalParams = {
|
|
41
|
-
requestContentType: "application/json; charset=utf-8",
|
|
42
|
-
credential: credentials
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
const packageDetails = `azsdk-js-arm-links/2.0.0-beta.1`;
|
|
46
|
-
const userAgentPrefix =
|
|
47
|
-
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
48
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
49
|
-
: `${packageDetails}`;
|
|
50
|
-
|
|
51
|
-
if (!options.credentialScopes) {
|
|
52
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
53
|
-
}
|
|
54
|
-
const optionsWithDefaults = {
|
|
55
|
-
...defaults,
|
|
56
|
-
...options,
|
|
57
|
-
userAgentOptions: {
|
|
58
|
-
userAgentPrefix
|
|
59
|
-
},
|
|
60
|
-
baseUri: options.endpoint || "https://management.azure.com"
|
|
61
|
-
};
|
|
62
|
-
super(optionsWithDefaults);
|
|
63
|
-
// Parameter assignments
|
|
64
|
-
this.subscriptionId = subscriptionId;
|
|
65
|
-
|
|
66
|
-
// Assigning values to Constant parameters
|
|
67
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
-
this.apiVersion = options.apiVersion || "2016-09-01";
|
|
69
|
-
}
|
|
70
|
-
}
|