@azure/arm-devhub 1.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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +1512 -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/samples-dev/gitHubOAuthCallbackSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOAuthCallbackSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOAuthCallbackSample.js +32 -0
- package/dist-esm/samples-dev/gitHubOAuthCallbackSample.js.map +1 -0
- package/dist-esm/samples-dev/gitHubOAuthSample.d.ts +2 -0
- package/dist-esm/samples-dev/gitHubOAuthSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gitHubOAuthSample.js +34 -0
- package/dist-esm/samples-dev/gitHubOAuthSample.js.map +1 -0
- package/dist-esm/samples-dev/listGitHubOAuthSample.d.ts +2 -0
- package/dist-esm/samples-dev/listGitHubOAuthSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/listGitHubOAuthSample.js +30 -0
- package/dist-esm/samples-dev/listGitHubOAuthSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +29 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/workflowCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workflowCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js +56 -0
- package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workflowDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workflowDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowDeleteSample.js +31 -0
- package/dist-esm/samples-dev/workflowDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workflowGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workflowGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowGetSample.js +31 -0
- package/dist-esm/samples-dev/workflowGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workflowListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/workflowListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowListByResourceGroupSample.js +48 -0
- package/dist-esm/samples-dev/workflowListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/workflowListSample.d.ts +2 -0
- package/dist-esm/samples-dev/workflowListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowListSample.js +43 -0
- package/dist-esm/samples-dev/workflowListSample.js.map +1 -0
- package/dist-esm/samples-dev/workflowUpdateTagsSample.d.ts +2 -0
- package/dist-esm/samples-dev/workflowUpdateTagsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowUpdateTagsSample.js +34 -0
- package/dist-esm/samples-dev/workflowUpdateTagsSample.js.map +1 -0
- package/dist-esm/src/developerHubServiceClient.d.ts +41 -0
- package/dist-esm/src/developerHubServiceClient.d.ts.map +1 -0
- package/dist-esm/src/developerHubServiceClient.js +196 -0
- package/dist-esm/src/developerHubServiceClient.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 +458 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +56 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +24 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +650 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +160 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/workflowOperations.d.ts +83 -0
- package/dist-esm/src/operations/workflowOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/workflowOperations.js +361 -0
- package/dist-esm/src/operations/workflowOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -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/workflowOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/workflowOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workflowOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/workflowOperations.js.map +1 -0
- package/dist-esm/test/devhub_examples.spec.d.ts +4 -0
- package/dist-esm/test/devhub_examples.spec.d.ts.map +1 -0
- package/dist-esm/test/devhub_examples.spec.js +67 -0
- package/dist-esm/test/devhub_examples.spec.js.map +1 -0
- package/package.json +120 -0
- package/review/arm-devhub.api.md +355 -0
- package/rollup.config.js +122 -0
- package/src/developerHubServiceClient.ts +270 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +518 -0
- package/src/models/mappers.ts +699 -0
- package/src/models/parameters.ts +186 -0
- package/src/operations/index.ts +10 -0
- package/src/operations/operations.ts +59 -0
- package/src/operations/workflowOperations.ts +449 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/workflowOperations.ts +92 -0
- package/tsconfig.json +33 -0
- package/types/arm-devhub.d.ts +609 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/workflowDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { DeveloperHubServiceClient } from "@azure/arm-devhub";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Deletes a workflow
|
|
15
|
+
*
|
|
16
|
+
* @summary Deletes a workflow
|
|
17
|
+
* x-ms-original-file: specification/developerhub/resource-manager/Microsoft.DevHub/preview/2022-04-01-preview/examples/Workflow_Delete.json
|
|
18
|
+
*/
|
|
19
|
+
function deleteWorkflow() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subscriptionId1";
|
|
22
|
+
const resourceGroupName = "resourceGroup1";
|
|
23
|
+
const workflowName = "workflow1";
|
|
24
|
+
const credential = new DefaultAzureCredential();
|
|
25
|
+
const client = new DeveloperHubServiceClient(credential, subscriptionId);
|
|
26
|
+
const result = yield client.workflowOperations.delete(resourceGroupName, workflowName);
|
|
27
|
+
console.log(result);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
deleteWorkflow().catch(console.error);
|
|
31
|
+
//# sourceMappingURL=workflowDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/workflowDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,cAAc,GAAG,iBAAiB,CAAC;QACzC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;QAC3C,MAAM,YAAY,GAAG,WAAW,CAAC;QACjC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,MAAM,CACnD,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/workflowGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { DeveloperHubServiceClient } from "@azure/arm-devhub";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets a workflow.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets a workflow.
|
|
17
|
+
* x-ms-original-file: specification/developerhub/resource-manager/Microsoft.DevHub/preview/2022-04-01-preview/examples/Workflow_Get.json
|
|
18
|
+
*/
|
|
19
|
+
function getWorkflow() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subscriptionId1";
|
|
22
|
+
const resourceGroupName = "resourceGroup1";
|
|
23
|
+
const workflowName = "workflow1";
|
|
24
|
+
const credential = new DefaultAzureCredential();
|
|
25
|
+
const client = new DeveloperHubServiceClient(credential, subscriptionId);
|
|
26
|
+
const result = yield client.workflowOperations.get(resourceGroupName, workflowName);
|
|
27
|
+
console.log(result);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
getWorkflow().catch(console.error);
|
|
31
|
+
//# sourceMappingURL=workflowGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowGetSample.js","sourceRoot":"","sources":["../../samples-dev/workflowGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,iBAAiB,CAAC;QACzC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;QAC3C,MAAM,YAAY,GAAG,WAAW,CAAC;QACjC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,GAAG,CAChD,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/workflowListByResourceGroupSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { DeveloperHubServiceClient } from "@azure/arm-devhub";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets a list of workflows within a resource group.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets a list of workflows within a resource group.
|
|
17
|
+
* x-ms-original-file: specification/developerhub/resource-manager/Microsoft.DevHub/preview/2022-04-01-preview/examples/Workflow_ListByResourceGroup.json
|
|
18
|
+
*/
|
|
19
|
+
function listWorkflows() {
|
|
20
|
+
var e_1, _a;
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
const subscriptionId = "subscriptionId1";
|
|
23
|
+
const resourceGroupName = "resourceGroup1";
|
|
24
|
+
const managedClusterResource = "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1";
|
|
25
|
+
const options = {
|
|
26
|
+
managedClusterResource
|
|
27
|
+
};
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new DeveloperHubServiceClient(credential, subscriptionId);
|
|
30
|
+
const resArray = new Array();
|
|
31
|
+
try {
|
|
32
|
+
for (var _b = __asyncValues(client.workflowOperations.listByResourceGroup(resourceGroupName, options)), _c; _c = yield _b.next(), !_c.done;) {
|
|
33
|
+
let item = _c.value;
|
|
34
|
+
resArray.push(item);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
+
finally {
|
|
39
|
+
try {
|
|
40
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
41
|
+
}
|
|
42
|
+
finally { if (e_1) throw e_1.error; }
|
|
43
|
+
}
|
|
44
|
+
console.log(resArray);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
listWorkflows().catch(console.error);
|
|
48
|
+
//# sourceMappingURL=workflowListByResourceGroupSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/workflowListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,aAAa;;;QAC1B,MAAM,cAAc,GAAG,iBAAiB,CAAC;QACzC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;QAC3C,MAAM,sBAAsB,GAC1B,4HAA4H,CAAC;QAC/H,MAAM,OAAO,GAA8C;YACzD,sBAAsB;SACvB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAClE,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/workflowListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { DeveloperHubServiceClient } from "@azure/arm-devhub";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets a list of workflows associated with the specified subscription.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets a list of workflows associated with the specified subscription.
|
|
17
|
+
* x-ms-original-file: specification/developerhub/resource-manager/Microsoft.DevHub/preview/2022-04-01-preview/examples/Workflow_List.json
|
|
18
|
+
*/
|
|
19
|
+
function listWorkflows() {
|
|
20
|
+
var e_1, _a;
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
const subscriptionId = "subscriptionId1";
|
|
23
|
+
const credential = new DefaultAzureCredential();
|
|
24
|
+
const client = new DeveloperHubServiceClient(credential, subscriptionId);
|
|
25
|
+
const resArray = new Array();
|
|
26
|
+
try {
|
|
27
|
+
for (var _b = __asyncValues(client.workflowOperations.list()), _c; _c = yield _b.next(), !_c.done;) {
|
|
28
|
+
let item = _c.value;
|
|
29
|
+
resArray.push(item);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
33
|
+
finally {
|
|
34
|
+
try {
|
|
35
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
36
|
+
}
|
|
37
|
+
finally { if (e_1) throw e_1.error; }
|
|
38
|
+
}
|
|
39
|
+
console.log(resArray);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
listWorkflows().catch(console.error);
|
|
43
|
+
//# sourceMappingURL=workflowListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowListSample.js","sourceRoot":"","sources":["../../samples-dev/workflowListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,aAAa;;;QAC1B,MAAM,cAAc,GAAG,iBAAiB,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAA,IAAA;gBAA5C,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowUpdateTagsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/workflowUpdateTagsSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { DeveloperHubServiceClient } from "@azure/arm-devhub";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Updates tags on a workflow.
|
|
15
|
+
*
|
|
16
|
+
* @summary Updates tags on a workflow.
|
|
17
|
+
* x-ms-original-file: specification/developerhub/resource-manager/Microsoft.DevHub/preview/2022-04-01-preview/examples/Workflow_UpdateTags.json
|
|
18
|
+
*/
|
|
19
|
+
function updateManagedClusterTags() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subscriptionId1";
|
|
22
|
+
const resourceGroupName = "resourceGroup1";
|
|
23
|
+
const workflowName = "workflow1";
|
|
24
|
+
const parameters = {
|
|
25
|
+
tags: { promote: "false", resourceEnv: "testing" }
|
|
26
|
+
};
|
|
27
|
+
const credential = new DefaultAzureCredential();
|
|
28
|
+
const client = new DeveloperHubServiceClient(credential, subscriptionId);
|
|
29
|
+
const result = yield client.workflowOperations.updateTags(resourceGroupName, workflowName, parameters);
|
|
30
|
+
console.log(result);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
updateManagedClusterTags().catch(console.error);
|
|
34
|
+
//# sourceMappingURL=workflowUpdateTagsSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflowUpdateTagsSample.js","sourceRoot":"","sources":["../../samples-dev/workflowUpdateTagsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAc,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,iBAAiB,CAAC;QACzC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;QAC3C,MAAM,YAAY,GAAG,WAAW,CAAC;QACjC,MAAM,UAAU,GAAe;YAC7B,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE;SACnD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,UAAU,CACvD,iBAAiB,EACjB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Operations, WorkflowOperations } from "./operationsInterfaces";
|
|
4
|
+
import { DeveloperHubServiceClientOptionalParams, GitHubOAuthOptionalParams, GitHubOAuthOperationResponse, GitHubOAuthCallbackOptionalParams, GitHubOAuthCallbackResponse, ListGitHubOAuthOptionalParams, ListGitHubOAuthResponse } from "./models";
|
|
5
|
+
export declare class DeveloperHubServiceClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the DeveloperHubServiceClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DeveloperHubServiceClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
/**
|
|
19
|
+
* Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
|
|
20
|
+
* @param location The name of Azure region.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
gitHubOAuth(location: string, options?: GitHubOAuthOptionalParams): Promise<GitHubOAuthOperationResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
|
|
26
|
+
* @param location The name of Azure region.
|
|
27
|
+
* @param code The code response from authenticating the GitHub App.
|
|
28
|
+
* @param state The state response from authenticating the GitHub App.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
gitHubOAuthCallback(location: string, code: string, state: string, options?: GitHubOAuthCallbackOptionalParams): Promise<GitHubOAuthCallbackResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
|
|
34
|
+
* @param location The name of Azure region.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
listGitHubOAuth(location: string, options?: ListGitHubOAuthOptionalParams): Promise<ListGitHubOAuthResponse>;
|
|
38
|
+
operations: Operations;
|
|
39
|
+
workflowOperations: WorkflowOperations;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=developerHubServiceClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developerHubServiceClient.d.ts","sourceRoot":"","sources":["../../src/developerHubServiceClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGxE,OAAO,EACL,uCAAuC,EACvC,yBAAyB,EACzB,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAElB,qBAAa,yBAA0B,SAAQ,UAAU,CAAC,aAAa;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,uCAAuC;IA8EnD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;OAIG;IACH,WAAW,CACT,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;;OAMG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;OAIG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAOnC,UAAU,EAAE,UAAU,CAAC;IACvB,kBAAkB,EAAE,kBAAkB,CAAC;CACxC"}
|
|
@@ -0,0 +1,196 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
+
import { OperationsImpl, WorkflowOperationsImpl } from "./operations";
|
|
12
|
+
import * as Parameters from "./models/parameters";
|
|
13
|
+
import * as Mappers from "./models/mappers";
|
|
14
|
+
export class DeveloperHubServiceClient extends coreClient.ServiceClient {
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new instance of the DeveloperHubServiceClient class.
|
|
17
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
18
|
+
* @param subscriptionId The ID of the target subscription.
|
|
19
|
+
* @param options The parameter options
|
|
20
|
+
*/
|
|
21
|
+
constructor(credentials, subscriptionId, options) {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
if (credentials === undefined) {
|
|
24
|
+
throw new Error("'credentials' cannot be null");
|
|
25
|
+
}
|
|
26
|
+
if (subscriptionId === undefined) {
|
|
27
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
28
|
+
}
|
|
29
|
+
// Initializing default values for options
|
|
30
|
+
if (!options) {
|
|
31
|
+
options = {};
|
|
32
|
+
}
|
|
33
|
+
const defaults = {
|
|
34
|
+
requestContentType: "application/json; charset=utf-8",
|
|
35
|
+
credential: credentials
|
|
36
|
+
};
|
|
37
|
+
const packageDetails = `azsdk-js-arm-devhub/1.0.0-beta.1`;
|
|
38
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
39
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
40
|
+
: `${packageDetails}`;
|
|
41
|
+
if (!options.credentialScopes) {
|
|
42
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
43
|
+
}
|
|
44
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
45
|
+
userAgentPrefix
|
|
46
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
47
|
+
super(optionsWithDefaults);
|
|
48
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
49
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
50
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
51
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
52
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
53
|
+
}
|
|
54
|
+
if (!options ||
|
|
55
|
+
!options.pipeline ||
|
|
56
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
57
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
58
|
+
this.pipeline.removePolicy({
|
|
59
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
60
|
+
});
|
|
61
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
62
|
+
credential: credentials,
|
|
63
|
+
scopes: `${optionsWithDefaults.credentialScopes}`,
|
|
64
|
+
challengeCallbacks: {
|
|
65
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
66
|
+
}
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
69
|
+
// Parameter assignments
|
|
70
|
+
this.subscriptionId = subscriptionId;
|
|
71
|
+
// Assigning values to Constant parameters
|
|
72
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
73
|
+
this.apiVersion = options.apiVersion || "2022-04-01-preview";
|
|
74
|
+
this.operations = new OperationsImpl(this);
|
|
75
|
+
this.workflowOperations = new WorkflowOperationsImpl(this);
|
|
76
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
77
|
+
}
|
|
78
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
79
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
80
|
+
if (!apiVersion) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
const apiVersionPolicy = {
|
|
84
|
+
name: "CustomApiVersionPolicy",
|
|
85
|
+
sendRequest(request, next) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
const param = request.url.split("?");
|
|
88
|
+
if (param.length > 1) {
|
|
89
|
+
const newParams = param[1].split("&").map((item) => {
|
|
90
|
+
if (item.indexOf("api-version") > -1) {
|
|
91
|
+
return "api-version=" + apiVersion;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return item;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
98
|
+
}
|
|
99
|
+
return next(request);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
|
|
107
|
+
* @param location The name of Azure region.
|
|
108
|
+
* @param options The options parameters.
|
|
109
|
+
*/
|
|
110
|
+
gitHubOAuth(location, options) {
|
|
111
|
+
return this.sendOperationRequest({ location, options }, gitHubOAuthOperationSpec);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
|
|
115
|
+
* @param location The name of Azure region.
|
|
116
|
+
* @param code The code response from authenticating the GitHub App.
|
|
117
|
+
* @param state The state response from authenticating the GitHub App.
|
|
118
|
+
* @param options The options parameters.
|
|
119
|
+
*/
|
|
120
|
+
gitHubOAuthCallback(location, code, state, options) {
|
|
121
|
+
return this.sendOperationRequest({ location, code, state, options }, gitHubOAuthCallbackOperationSpec);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
|
|
125
|
+
* @param location The name of Azure region.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
listGitHubOAuth(location, options) {
|
|
129
|
+
return this.sendOperationRequest({ location, options }, listGitHubOAuthOperationSpec);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// Operation Specifications
|
|
133
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
134
|
+
const gitHubOAuthOperationSpec = {
|
|
135
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default/getGitHubOAuthInfo",
|
|
136
|
+
httpMethod: "POST",
|
|
137
|
+
responses: {
|
|
138
|
+
200: {
|
|
139
|
+
bodyMapper: Mappers.GitHubOAuthInfoResponse
|
|
140
|
+
},
|
|
141
|
+
default: {
|
|
142
|
+
bodyMapper: Mappers.ErrorResponse
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
requestBody: Parameters.parameters,
|
|
146
|
+
queryParameters: [Parameters.apiVersion],
|
|
147
|
+
urlParameters: [
|
|
148
|
+
Parameters.$host,
|
|
149
|
+
Parameters.subscriptionId,
|
|
150
|
+
Parameters.location
|
|
151
|
+
],
|
|
152
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
153
|
+
mediaType: "json",
|
|
154
|
+
serializer
|
|
155
|
+
};
|
|
156
|
+
const gitHubOAuthCallbackOperationSpec = {
|
|
157
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default",
|
|
158
|
+
httpMethod: "GET",
|
|
159
|
+
responses: {
|
|
160
|
+
200: {
|
|
161
|
+
bodyMapper: Mappers.GitHubOAuthResponse
|
|
162
|
+
},
|
|
163
|
+
default: {
|
|
164
|
+
bodyMapper: Mappers.ErrorResponse
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
queryParameters: [Parameters.apiVersion, Parameters.code, Parameters.state],
|
|
168
|
+
urlParameters: [
|
|
169
|
+
Parameters.$host,
|
|
170
|
+
Parameters.subscriptionId,
|
|
171
|
+
Parameters.location
|
|
172
|
+
],
|
|
173
|
+
headerParameters: [Parameters.accept],
|
|
174
|
+
serializer
|
|
175
|
+
};
|
|
176
|
+
const listGitHubOAuthOperationSpec = {
|
|
177
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth",
|
|
178
|
+
httpMethod: "GET",
|
|
179
|
+
responses: {
|
|
180
|
+
200: {
|
|
181
|
+
bodyMapper: Mappers.GitHubOAuthListResponse
|
|
182
|
+
},
|
|
183
|
+
default: {
|
|
184
|
+
bodyMapper: Mappers.ErrorResponse
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
queryParameters: [Parameters.apiVersion],
|
|
188
|
+
urlParameters: [
|
|
189
|
+
Parameters.$host,
|
|
190
|
+
Parameters.subscriptionId,
|
|
191
|
+
Parameters.location
|
|
192
|
+
],
|
|
193
|
+
headerParameters: [Parameters.accept],
|
|
194
|
+
serializer
|
|
195
|
+
};
|
|
196
|
+
//# sourceMappingURL=developerHubServiceClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developerHubServiceClient.js","sourceRoot":"","sources":["../../src/developerHubServiceClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAW5C,MAAM,OAAO,yBAA0B,SAAQ,UAAU,CAAC,aAAa;IAKrE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAiD;;QAEjD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAA4C;YACxD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,kCAAkC,CAAC;QAC1D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,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AM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EACF,qGAAqG;IACvG,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,CAAC;IAC3E,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EACF,6FAA6F;IAC/F,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
9
|
+
export * from "./models";
|
|
10
|
+
export { DeveloperHubServiceClient } from "./developerHubServiceClient";
|
|
11
|
+
export * from "./operationsInterfaces";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,cAAc,wBAAwB,CAAC"}
|