@azure/arm-confluent 2.0.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.txt → LICENSE} +2 -2
- package/README.md +70 -70
- package/dist/index.js +1547 -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/confluentManagementClient.d.ts +21 -0
- package/dist-esm/src/confluentManagementClient.d.ts.map +1 -0
- package/dist-esm/src/confluentManagementClient.js +54 -0
- package/dist-esm/src/confluentManagementClient.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 +382 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +43 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +15 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +209 -237
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +14 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +110 -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 +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
- package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
- package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
- package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
- package/dist-esm/src/operations/organization.d.ts +96 -0
- package/dist-esm/src/operations/organization.d.ts.map +1 -0
- package/dist-esm/src/operations/organization.js +449 -0
- package/dist-esm/src/operations/organization.js.map +1 -0
- package/dist-esm/src/operations/organizationOperations.d.ts +32 -0
- package/dist-esm/src/operations/organizationOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/organizationOperations.js +120 -0
- package/dist-esm/src/operations/organizationOperations.js.map +1 -0
- package/dist-esm/src/operations/validations.d.ts +21 -0
- package/dist-esm/src/operations/validations.d.ts.map +1 -0
- package/dist-esm/src/operations/validations.js +56 -0
- package/dist-esm/src/operations/validations.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/{esm/models/organizationOperationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +5 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js +9 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/organization.d.ts +60 -0
- package/dist-esm/src/operationsInterfaces/organization.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/organization.js +9 -0
- package/dist-esm/src/operationsInterfaces/organization.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/organizationOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/validations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/validations.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/validations.js} +2 -1
- package/dist-esm/src/operationsInterfaces/validations.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 +65 -31
- package/review/arm-confluent.api.md +352 -0
- package/rollup.config.js +181 -30
- package/src/confluentManagementClient.ts +73 -32
- package/src/{models/validationsMappers.ts → index.ts} +4 -10
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +297 -572
- package/src/models/mappers.ts +211 -240
- package/src/models/parameters.ts +81 -24
- package/src/operations/index.ts +1 -2
- package/src/operations/marketplaceAgreements.ts +107 -132
- package/src/operations/organization.ts +414 -300
- package/src/operations/organizationOperations.ts +87 -75
- package/src/operations/validations.ts +39 -79
- package/src/{models/organizationOperationsMappers.ts → operationsInterfaces/index.ts} +4 -7
- package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
- package/src/operationsInterfaces/organization.ts +114 -0
- package/src/operationsInterfaces/organizationOperations.ts +25 -0
- package/src/operationsInterfaces/validations.ts +30 -0
- package/tsconfig.json +3 -3
- package/types/arm-confluent.d.ts +543 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-confluent.js +0 -1426
- package/dist/arm-confluent.js.map +0 -1
- package/dist/arm-confluent.min.js +0 -1
- package/dist/arm-confluent.min.js.map +0 -1
- package/esm/confluentManagementClient.d.ts +0 -21
- package/esm/confluentManagementClient.d.ts.map +0 -1
- package/esm/confluentManagementClient.js +0 -35
- package/esm/confluentManagementClient.js.map +0 -1
- package/esm/confluentManagementClientContext.d.ts +0 -16
- package/esm/confluentManagementClientContext.d.ts.map +0 -1
- package/esm/confluentManagementClientContext.js +0 -56
- package/esm/confluentManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -640
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -17
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
- package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
- package/esm/models/marketplaceAgreementsMappers.js +0 -9
- package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
- package/esm/models/organizationMappers.d.ts +0 -2
- package/esm/models/organizationMappers.d.ts.map +0 -1
- package/esm/models/organizationMappers.js +0 -9
- package/esm/models/organizationMappers.js.map +0 -1
- package/esm/models/organizationOperationsMappers.d.ts +0 -2
- package/esm/models/organizationOperationsMappers.d.ts.map +0 -1
- package/esm/models/organizationOperationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -72
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/validationsMappers.d.ts +0 -2
- package/esm/models/validationsMappers.d.ts.map +0 -1
- package/esm/models/validationsMappers.js +0 -9
- package/esm/models/validationsMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/marketplaceAgreements.d.ts +0 -61
- package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
- package/esm/operations/marketplaceAgreements.js +0 -95
- package/esm/operations/marketplaceAgreements.js.map +0 -1
- package/esm/operations/organization.d.ts +0 -157
- package/esm/operations/organization.d.ts.map +0 -1
- package/esm/operations/organization.js +0 -317
- package/esm/operations/organization.js.map +0 -1
- package/esm/operations/organizationOperations.d.ts +0 -46
- package/esm/operations/organizationOperations.d.ts.map +0 -1
- package/esm/operations/organizationOperations.js +0 -79
- package/esm/operations/organizationOperations.js.map +0 -1
- package/esm/operations/validations.d.ts +0 -37
- package/esm/operations/validations.d.ts.map +0 -1
- package/esm/operations/validations.js +0 -59
- package/esm/operations/validations.js.map +0 -1
- package/src/confluentManagementClientContext.ts +0 -68
- package/src/models/marketplaceAgreementsMappers.ts +0 -19
- package/src/models/organizationMappers.ts +0 -20
|
@@ -0,0 +1,56 @@
|
|
|
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 * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing Validations operations. */
|
|
12
|
+
export class ValidationsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class Validations class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Organization Validate proxy resource
|
|
22
|
+
* @param resourceGroupName Resource group name
|
|
23
|
+
* @param organizationName Organization resource name
|
|
24
|
+
* @param body Organization resource model
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
validateOrganization(resourceGroupName, organizationName, body, options) {
|
|
28
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, validateOrganizationOperationSpec);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
// Operation Specifications
|
|
32
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
33
|
+
const validateOrganizationOperationSpec = {
|
|
34
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate",
|
|
35
|
+
httpMethod: "POST",
|
|
36
|
+
responses: {
|
|
37
|
+
200: {
|
|
38
|
+
bodyMapper: Mappers.OrganizationResource
|
|
39
|
+
},
|
|
40
|
+
default: {
|
|
41
|
+
bodyMapper: Mappers.ResourceProviderDefaultErrorResponse
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
requestBody: Parameters.body3,
|
|
45
|
+
queryParameters: [Parameters.apiVersion],
|
|
46
|
+
urlParameters: [
|
|
47
|
+
Parameters.$host,
|
|
48
|
+
Parameters.subscriptionId,
|
|
49
|
+
Parameters.resourceGroupName,
|
|
50
|
+
Parameters.organizationName
|
|
51
|
+
],
|
|
52
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
53
|
+
mediaType: "json",
|
|
54
|
+
serializer
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=validations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validations.js","sourceRoot":"","sources":["../../../src/operations/validations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAyB,EACzB,gBAAwB,EACxB,IAA0B,EAC1B,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,EAAE,EACtD,iCAAiC,CAClC,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EACF,6IAA6I;IAC/I,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;KACF;IACD,WAAW,EAAE,UAAU,CAAC,KAAK;IAC7B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
|
package/{esm/models/organizationOperationsMappers.js → dist-esm/src/operationsInterfaces/index.js}
RENAMED
|
@@ -5,5 +5,8 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
|
|
8
|
+
export * from "./marketplaceAgreements";
|
|
9
|
+
export * from "./organizationOperations";
|
|
10
|
+
export * from "./organization";
|
|
11
|
+
export * from "./validations";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ConfluentAgreementResource, MarketplaceAgreementsListOptionalParams, MarketplaceAgreementsCreateOptionalParams, MarketplaceAgreementsCreateResponse } from "../models";
|
|
3
|
+
/** Interface representing a MarketplaceAgreements. */
|
|
4
|
+
export interface MarketplaceAgreements {
|
|
5
|
+
/**
|
|
6
|
+
* List Confluent marketplace agreements in the subscription.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: MarketplaceAgreementsListOptionalParams): PagedAsyncIterableIterator<ConfluentAgreementResource>;
|
|
10
|
+
/**
|
|
11
|
+
* Create Confluent Marketplace agreement in the subscription.
|
|
12
|
+
* @param options The options parameters.
|
|
13
|
+
*/
|
|
14
|
+
create(options?: MarketplaceAgreementsCreateOptionalParams): Promise<MarketplaceAgreementsCreateResponse>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=marketplaceAgreements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplaceAgreements.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/marketplaceAgreements.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,0BAA0B,EAC1B,uCAAuC,EACvC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,WAAW,CAAC;AAGnB,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,0BAA0B,CAAC,CAAC;IAC1D;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=marketplaceAgreements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplaceAgreements.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/marketplaceAgreements.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { OrganizationResource, OrganizationListBySubscriptionOptionalParams, OrganizationListByResourceGroupOptionalParams, OrganizationGetOptionalParams, OrganizationGetResponse, OrganizationCreateOptionalParams, OrganizationCreateResponse, OrganizationUpdateOptionalParams, OrganizationUpdateResponse, OrganizationDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a Organization. */
|
|
5
|
+
export interface Organization {
|
|
6
|
+
/**
|
|
7
|
+
* List all organizations under the specified subscription.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listBySubscription(options?: OrganizationListBySubscriptionOptionalParams): PagedAsyncIterableIterator<OrganizationResource>;
|
|
11
|
+
/**
|
|
12
|
+
* List all Organizations under the specified resource group.
|
|
13
|
+
* @param resourceGroupName Resource group name
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listByResourceGroup(resourceGroupName: string, options?: OrganizationListByResourceGroupOptionalParams): PagedAsyncIterableIterator<OrganizationResource>;
|
|
17
|
+
/**
|
|
18
|
+
* Get the properties of a specific Organization resource.
|
|
19
|
+
* @param resourceGroupName Resource group name
|
|
20
|
+
* @param organizationName Organization resource name
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
get(resourceGroupName: string, organizationName: string, options?: OrganizationGetOptionalParams): Promise<OrganizationGetResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Create Organization resource
|
|
26
|
+
* @param resourceGroupName Resource group name
|
|
27
|
+
* @param organizationName Organization resource name
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
beginCreate(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise<PollerLike<PollOperationState<OrganizationCreateResponse>, OrganizationCreateResponse>>;
|
|
31
|
+
/**
|
|
32
|
+
* Create Organization resource
|
|
33
|
+
* @param resourceGroupName Resource group name
|
|
34
|
+
* @param organizationName Organization resource name
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
beginCreateAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationCreateOptionalParams): Promise<OrganizationCreateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Update Organization resource
|
|
40
|
+
* @param resourceGroupName Resource group name
|
|
41
|
+
* @param organizationName Organization resource name
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
update(resourceGroupName: string, organizationName: string, options?: OrganizationUpdateOptionalParams): Promise<OrganizationUpdateResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Delete Organization resource
|
|
47
|
+
* @param resourceGroupName Resource group name
|
|
48
|
+
* @param organizationName Organization resource name
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginDelete(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
52
|
+
/**
|
|
53
|
+
* Delete Organization resource
|
|
54
|
+
* @param resourceGroupName Resource group name
|
|
55
|
+
* @param organizationName Organization resource name
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginDeleteAndWait(resourceGroupName: string, organizationName: string, options?: OrganizationDeleteOptionalParams): Promise<void>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=organization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/organization.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,oBAAoB,EACpB,4CAA4C,EAC5C,6CAA6C,EAC7C,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM,WAAW,CAAC;AAGnB,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,0BAA0B,CAAC,EAC9C,0BAA0B,CAC3B,CACF,CAAC;IACF;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=organization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/organization.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { OperationResult, OrganizationOperationsListOptionalParams } from "../models";
|
|
3
|
+
/** Interface representing a OrganizationOperations. */
|
|
4
|
+
export interface OrganizationOperations {
|
|
5
|
+
/**
|
|
6
|
+
* List all operations provided by Microsoft.Confluent.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OrganizationOperationsListOptionalParams): PagedAsyncIterableIterator<OperationResult>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=organizationOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/organizationOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,wCAAwC,EACzC,MAAM,WAAW,CAAC;AAGnB,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=organizationOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/organizationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OrganizationResource, ValidationsValidateOrganizationOptionalParams, ValidationsValidateOrganizationResponse } from "../models";
|
|
2
|
+
/** Interface representing a Validations. */
|
|
3
|
+
export interface Validations {
|
|
4
|
+
/**
|
|
5
|
+
* Organization Validate proxy resource
|
|
6
|
+
* @param resourceGroupName Resource group name
|
|
7
|
+
* @param organizationName Organization resource name
|
|
8
|
+
* @param body Organization resource model
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
validateOrganization(resourceGroupName: string, organizationName: string, body: OrganizationResource, options?: ValidationsValidateOrganizationOptionalParams): Promise<ValidationsValidateOrganizationResponse>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=validations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/validations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,oBAAoB,EACpB,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,WAAW,CAAC;AAEnB,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;CACrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/validations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { record } from "@azure-tools/test-recorder";
|
|
10
|
+
const recorderEnvSetup = {
|
|
11
|
+
replaceableVariables: {
|
|
12
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
|
13
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
14
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
15
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
16
|
+
},
|
|
17
|
+
customizationsOnRecordings: [
|
|
18
|
+
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
|
19
|
+
],
|
|
20
|
+
queryParametersToSkip: []
|
|
21
|
+
};
|
|
22
|
+
describe("My test", () => {
|
|
23
|
+
let recorder;
|
|
24
|
+
beforeEach(function () {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
recorder = record(this, recorderEnvSetup);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
afterEach(function () {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
yield recorder.stop();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
it("sample test", function () {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
console.log("Hi, I'm a test!");
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=sampleTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,57 +1,91 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/arm-confluent",
|
|
3
|
+
"sdk-type": "mgmt",
|
|
3
4
|
"author": "Microsoft Corporation",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "
|
|
5
|
+
"description": "A generated SDK for ConfluentManagementClient.",
|
|
6
|
+
"version": "3.0.0-beta.1",
|
|
7
|
+
"engines": { "node": ">=12.0.0" },
|
|
6
8
|
"dependencies": {
|
|
7
|
-
"@azure/
|
|
8
|
-
"@azure/
|
|
9
|
-
"
|
|
9
|
+
"@azure/core-lro": "^2.2.0",
|
|
10
|
+
"@azure/abort-controller": "^1.0.0",
|
|
11
|
+
"@azure/core-paging": "^1.2.0",
|
|
12
|
+
"@azure/core-client": "^1.0.0",
|
|
13
|
+
"@azure/core-auth": "^1.3.0",
|
|
14
|
+
"@azure/core-rest-pipeline": "^1.1.0",
|
|
15
|
+
"tslib": "^2.2.0"
|
|
10
16
|
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
"node",
|
|
13
|
-
"azure",
|
|
14
|
-
"typescript",
|
|
15
|
-
"browser",
|
|
16
|
-
"isomorphic"
|
|
17
|
-
],
|
|
17
|
+
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"main": "./dist/
|
|
20
|
-
"module": "./esm/
|
|
21
|
-
"types": "./
|
|
19
|
+
"main": "./dist/index.js",
|
|
20
|
+
"module": "./dist-esm/src/index.js",
|
|
21
|
+
"types": "./types/arm-confluent.d.ts",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"
|
|
24
|
-
"rollup": "
|
|
25
|
-
"rollup
|
|
23
|
+
"@microsoft/api-extractor": "^7.18.11",
|
|
24
|
+
"@rollup/plugin-commonjs": "11.0.2",
|
|
25
|
+
"@rollup/plugin-json": "^4.0.0",
|
|
26
|
+
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
27
|
+
"@rollup/plugin-node-resolve": "^8.0.0",
|
|
28
|
+
"mkdirp": "^1.0.4",
|
|
29
|
+
"rollup": "^1.16.3",
|
|
26
30
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
27
|
-
"
|
|
31
|
+
"typescript": "~4.2.0",
|
|
32
|
+
"uglify-js": "^3.4.9",
|
|
33
|
+
"rimraf": "^3.0.0",
|
|
34
|
+
"@azure/identity": "^2.0.1",
|
|
35
|
+
"@azure-tools/test-recorder": "^1.0.0",
|
|
36
|
+
"mocha": "^7.1.1",
|
|
37
|
+
"cross-env": "^7.0.2"
|
|
28
38
|
},
|
|
29
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/
|
|
39
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confluent/arm-confluent",
|
|
30
40
|
"repository": {
|
|
31
41
|
"type": "git",
|
|
32
42
|
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
33
43
|
},
|
|
34
|
-
"bugs": {
|
|
35
|
-
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
36
|
-
},
|
|
44
|
+
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
|
|
37
45
|
"files": [
|
|
38
46
|
"dist/**/*.js",
|
|
39
47
|
"dist/**/*.js.map",
|
|
40
48
|
"dist/**/*.d.ts",
|
|
41
49
|
"dist/**/*.d.ts.map",
|
|
42
|
-
"esm/**/*.js",
|
|
43
|
-
"esm/**/*.js.map",
|
|
44
|
-
"esm/**/*.d.ts",
|
|
45
|
-
"esm/**/*.d.ts.map",
|
|
50
|
+
"dist-esm/**/*.js",
|
|
51
|
+
"dist-esm/**/*.js.map",
|
|
52
|
+
"dist-esm/**/*.d.ts",
|
|
53
|
+
"dist-esm/**/*.d.ts.map",
|
|
46
54
|
"src/**/*.ts",
|
|
47
55
|
"README.md",
|
|
56
|
+
"LICENSE",
|
|
48
57
|
"rollup.config.js",
|
|
49
|
-
"tsconfig.json"
|
|
58
|
+
"tsconfig.json",
|
|
59
|
+
"review/*",
|
|
60
|
+
"CHANGELOG.md",
|
|
61
|
+
"types/*"
|
|
50
62
|
],
|
|
51
63
|
"scripts": {
|
|
52
|
-
"build": "tsc && rollup -c
|
|
53
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/
|
|
54
|
-
"prepack": "npm
|
|
64
|
+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
65
|
+
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
66
|
+
"prepack": "npm run build",
|
|
67
|
+
"pack": "npm pack 2>&1",
|
|
68
|
+
"extract-api": "api-extractor run --local",
|
|
69
|
+
"lint": "echo skipped",
|
|
70
|
+
"audit": "echo skipped",
|
|
71
|
+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
72
|
+
"build:node": "echo skipped",
|
|
73
|
+
"build:browser": "echo skipped",
|
|
74
|
+
"build:test": "echo skipped",
|
|
75
|
+
"build:samples": "echo skipped.",
|
|
76
|
+
"check-format": "echo skipped",
|
|
77
|
+
"execute:samples": "echo skipped",
|
|
78
|
+
"format": "echo skipped",
|
|
79
|
+
"test": "npm run integration-test",
|
|
80
|
+
"test:node": "echo skipped",
|
|
81
|
+
"test:browser": "echo skipped",
|
|
82
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
83
|
+
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
84
|
+
"unit-test:browser": "echo skipped",
|
|
85
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
86
|
+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
|
87
|
+
"integration-test:browser": "echo skipped",
|
|
88
|
+
"docs": "echo skipped"
|
|
55
89
|
},
|
|
56
90
|
"sideEffects": false,
|
|
57
91
|
"autoPublish": true
|