@azure/arm-confluent 3.0.0-beta.3 → 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 +4 -4
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1378 -162
- 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/samples-dev/accessInviteUserSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessInviteUserSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessInviteUserSample.js +45 -0
- package/dist-esm/samples-dev/accessInviteUserSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListClustersSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListClustersSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListClustersSample.js +42 -0
- package/dist-esm/samples-dev/accessListClustersSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.js +42 -0
- package/dist-esm/samples-dev/accessListEnvironmentsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.js +46 -0
- package/dist-esm/samples-dev/accessListInvitationsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.js +42 -0
- package/dist-esm/samples-dev/accessListRoleBindingsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.js +42 -0
- package/dist-esm/samples-dev/accessListServiceAccountsSample.js.map +1 -0
- package/dist-esm/samples-dev/accessListUsersSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessListUsersSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessListUsersSample.js +42 -0
- package/dist-esm/samples-dev/accessListUsersSample.js.map +1 -0
- package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.js +11 -3
- package/dist-esm/samples-dev/marketplaceAgreementsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/marketplaceAgreementsListSample.js +17 -7
- package/dist-esm/samples-dev/marketplaceAgreementsListSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationCreateSample.js +18 -5
- package/dist-esm/samples-dev/organizationCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationDeleteSample.js +12 -4
- package/dist-esm/samples-dev/organizationDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationGetSample.js +12 -4
- package/dist-esm/samples-dev/organizationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationListByResourceGroupSample.js +18 -8
- package/dist-esm/samples-dev/organizationListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationListBySubscriptionSample.js +17 -7
- package/dist-esm/samples-dev/organizationListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationOperationsListSample.js +16 -8
- package/dist-esm/samples-dev/organizationOperationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/organizationUpdateSample.js +12 -4
- package/dist-esm/samples-dev/organizationUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/validationsValidateOrganizationSample.js +17 -5
- package/dist-esm/samples-dev/validationsValidateOrganizationSample.js.map +1 -1
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.d.ts +2 -0
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.d.ts.map +1 -0
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.js +59 -0
- package/dist-esm/samples-dev/validationsValidateOrganizationV2Sample.js.map +1 -0
- package/dist-esm/src/confluentManagementClient.d.ts +5 -3
- package/dist-esm/src/confluentManagementClient.d.ts.map +1 -1
- package/dist-esm/src/confluentManagementClient.js +11 -12
- package/dist-esm/src/confluentManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +345 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +896 -3
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +15 -3
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/access.d.ts +69 -0
- package/dist-esm/src/operations/access.d.ts.map +1 -0
- package/dist-esm/src/operations/access.js +254 -0
- package/dist-esm/src/operations/access.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/marketplaceAgreements.js +6 -5
- package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -1
- package/dist-esm/src/operations/organization.d.ts +12 -12
- package/dist-esm/src/operations/organization.d.ts.map +1 -1
- package/dist-esm/src/operations/organization.js +41 -31
- package/dist-esm/src/operations/organization.js.map +1 -1
- package/dist-esm/src/operations/organizationOperations.js +6 -5
- package/dist-esm/src/operations/organizationOperations.js.map +1 -1
- package/dist-esm/src/operations/validations.d.ts +10 -2
- package/dist-esm/src/operations/validations.d.ts.map +1 -1
- package/dist-esm/src/operations/validations.js +34 -1
- package/dist-esm/src/operations/validations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/access.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/access.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/access.js +9 -0
- package/dist-esm/src/operationsInterfaces/access.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/organization.d.ts +10 -10
- package/dist-esm/src/operationsInterfaces/organization.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/validations.d.ts +10 -2
- package/dist-esm/src/operationsInterfaces/validations.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/confluent_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/confluent_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/confluent_operations_test.spec.js +73 -0
- package/dist-esm/test/confluent_operations_test.spec.js.map +1 -0
- package/package.json +20 -23
- package/review/arm-confluent.api.md +285 -6
- package/src/confluentManagementClient.ts +26 -8
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +366 -5
- package/src/models/mappers.ts +921 -3
- package/src/models/parameters.ts +19 -3
- package/src/operations/access.ts +348 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/marketplaceAgreements.ts +0 -1
- package/src/operations/organization.ts +39 -34
- package/src/operations/organizationOperations.ts +0 -1
- package/src/operations/validations.ts +47 -2
- package/src/operationsInterfaces/access.ts +121 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/organization.ts +11 -11
- package/src/operationsInterfaces/validations.ts +17 -2
- package/src/pagingHelper.ts +4 -4
- package/types/arm-confluent.d.ts +458 -23
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
package/dist/index.js
CHANGED
|
@@ -7,8 +7,7 @@ var coreClient = require('@azure/core-client');
|
|
|
7
7
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
8
|
var coreLro = require('@azure/core-lro');
|
|
9
9
|
|
|
10
|
-
function
|
|
11
|
-
if (e && e.__esModule) return e;
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
12
11
|
var n = Object.create(null);
|
|
13
12
|
if (e) {
|
|
14
13
|
Object.keys(e).forEach(function (k) {
|
|
@@ -21,12 +20,12 @@ function _interopNamespace(e) {
|
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
22
|
}
|
|
24
|
-
n
|
|
23
|
+
n.default = e;
|
|
25
24
|
return Object.freeze(n);
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
var coreClient__namespace = /*#__PURE__*/
|
|
29
|
-
var coreRestPipeline__namespace = /*#__PURE__*/
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
30
29
|
|
|
31
30
|
/*
|
|
32
31
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -37,11 +36,11 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipelin
|
|
|
37
36
|
*/
|
|
38
37
|
const pageMap = new WeakMap();
|
|
39
38
|
/**
|
|
40
|
-
* Given
|
|
41
|
-
* continuation token that can be used to begin paging from
|
|
39
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
+
* returns a continuation token that can be used to begin paging from
|
|
42
41
|
* that point later.
|
|
43
|
-
* @param page
|
|
44
|
-
* @returns The continuation token that can be passed into byPage().
|
|
42
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
45
44
|
*/
|
|
46
45
|
function getContinuationToken(page) {
|
|
47
46
|
var _a;
|
|
@@ -542,104 +541,856 @@ const OrganizationResource = {
|
|
|
542
541
|
name: "Composite",
|
|
543
542
|
className: "UserDetail"
|
|
544
543
|
}
|
|
544
|
+
},
|
|
545
|
+
linkOrganization: {
|
|
546
|
+
serializedName: "properties.linkOrganization",
|
|
547
|
+
type: {
|
|
548
|
+
name: "Composite",
|
|
549
|
+
className: "LinkOrganization"
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
};
|
|
555
|
+
const OfferDetail = {
|
|
556
|
+
type: {
|
|
557
|
+
name: "Composite",
|
|
558
|
+
className: "OfferDetail",
|
|
559
|
+
modelProperties: {
|
|
560
|
+
publisherId: {
|
|
561
|
+
constraints: {
|
|
562
|
+
MaxLength: 50
|
|
563
|
+
},
|
|
564
|
+
serializedName: "publisherId",
|
|
565
|
+
required: true,
|
|
566
|
+
type: {
|
|
567
|
+
name: "String"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
id: {
|
|
571
|
+
constraints: {
|
|
572
|
+
MaxLength: 50
|
|
573
|
+
},
|
|
574
|
+
serializedName: "id",
|
|
575
|
+
required: true,
|
|
576
|
+
type: {
|
|
577
|
+
name: "String"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
planId: {
|
|
581
|
+
constraints: {
|
|
582
|
+
MaxLength: 200
|
|
583
|
+
},
|
|
584
|
+
serializedName: "planId",
|
|
585
|
+
required: true,
|
|
586
|
+
type: {
|
|
587
|
+
name: "String"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
planName: {
|
|
591
|
+
constraints: {
|
|
592
|
+
MaxLength: 200
|
|
593
|
+
},
|
|
594
|
+
serializedName: "planName",
|
|
595
|
+
required: true,
|
|
596
|
+
type: {
|
|
597
|
+
name: "String"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
termUnit: {
|
|
601
|
+
constraints: {
|
|
602
|
+
MaxLength: 25
|
|
603
|
+
},
|
|
604
|
+
serializedName: "termUnit",
|
|
605
|
+
required: true,
|
|
606
|
+
type: {
|
|
607
|
+
name: "String"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
termId: {
|
|
611
|
+
constraints: {
|
|
612
|
+
MaxLength: 50
|
|
613
|
+
},
|
|
614
|
+
serializedName: "termId",
|
|
615
|
+
type: {
|
|
616
|
+
name: "String"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
privateOfferId: {
|
|
620
|
+
constraints: {
|
|
621
|
+
MaxLength: 255
|
|
622
|
+
},
|
|
623
|
+
serializedName: "privateOfferId",
|
|
624
|
+
type: {
|
|
625
|
+
name: "String"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
privateOfferIds: {
|
|
629
|
+
serializedName: "privateOfferIds",
|
|
630
|
+
type: {
|
|
631
|
+
name: "Sequence",
|
|
632
|
+
element: {
|
|
633
|
+
type: {
|
|
634
|
+
name: "String"
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
status: {
|
|
640
|
+
serializedName: "status",
|
|
641
|
+
type: {
|
|
642
|
+
name: "String"
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
const UserDetail = {
|
|
649
|
+
type: {
|
|
650
|
+
name: "Composite",
|
|
651
|
+
className: "UserDetail",
|
|
652
|
+
modelProperties: {
|
|
653
|
+
firstName: {
|
|
654
|
+
constraints: {
|
|
655
|
+
MaxLength: 50
|
|
656
|
+
},
|
|
657
|
+
serializedName: "firstName",
|
|
658
|
+
type: {
|
|
659
|
+
name: "String"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
lastName: {
|
|
663
|
+
constraints: {
|
|
664
|
+
MaxLength: 50
|
|
665
|
+
},
|
|
666
|
+
serializedName: "lastName",
|
|
667
|
+
type: {
|
|
668
|
+
name: "String"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
emailAddress: {
|
|
672
|
+
constraints: {
|
|
673
|
+
Pattern: new RegExp("^\\S+@\\S+\\.\\S+$")
|
|
674
|
+
},
|
|
675
|
+
serializedName: "emailAddress",
|
|
676
|
+
required: true,
|
|
677
|
+
type: {
|
|
678
|
+
name: "String"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
userPrincipalName: {
|
|
682
|
+
serializedName: "userPrincipalName",
|
|
683
|
+
type: {
|
|
684
|
+
name: "String"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
aadEmail: {
|
|
688
|
+
serializedName: "aadEmail",
|
|
689
|
+
type: {
|
|
690
|
+
name: "String"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
const LinkOrganization = {
|
|
697
|
+
type: {
|
|
698
|
+
name: "Composite",
|
|
699
|
+
className: "LinkOrganization",
|
|
700
|
+
modelProperties: {
|
|
701
|
+
token: {
|
|
702
|
+
serializedName: "token",
|
|
703
|
+
required: true,
|
|
704
|
+
type: {
|
|
705
|
+
name: "String"
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
};
|
|
711
|
+
const OrganizationResourceUpdate = {
|
|
712
|
+
type: {
|
|
713
|
+
name: "Composite",
|
|
714
|
+
className: "OrganizationResourceUpdate",
|
|
715
|
+
modelProperties: {
|
|
716
|
+
tags: {
|
|
717
|
+
serializedName: "tags",
|
|
718
|
+
type: {
|
|
719
|
+
name: "Dictionary",
|
|
720
|
+
value: { type: { name: "String" } }
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
};
|
|
726
|
+
const ValidationResponse = {
|
|
727
|
+
type: {
|
|
728
|
+
name: "Composite",
|
|
729
|
+
className: "ValidationResponse",
|
|
730
|
+
modelProperties: {
|
|
731
|
+
info: {
|
|
732
|
+
serializedName: "info",
|
|
733
|
+
type: {
|
|
734
|
+
name: "Dictionary",
|
|
735
|
+
value: { type: { name: "String" } }
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
};
|
|
741
|
+
const ListAccessRequestModel = {
|
|
742
|
+
type: {
|
|
743
|
+
name: "Composite",
|
|
744
|
+
className: "ListAccessRequestModel",
|
|
745
|
+
modelProperties: {
|
|
746
|
+
searchFilters: {
|
|
747
|
+
serializedName: "searchFilters",
|
|
748
|
+
type: {
|
|
749
|
+
name: "Dictionary",
|
|
750
|
+
value: { type: { name: "String" } }
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
};
|
|
756
|
+
const AccessListUsersSuccessResponse = {
|
|
757
|
+
type: {
|
|
758
|
+
name: "Composite",
|
|
759
|
+
className: "AccessListUsersSuccessResponse",
|
|
760
|
+
modelProperties: {
|
|
761
|
+
kind: {
|
|
762
|
+
serializedName: "kind",
|
|
763
|
+
type: {
|
|
764
|
+
name: "String"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
metadata: {
|
|
768
|
+
serializedName: "metadata",
|
|
769
|
+
type: {
|
|
770
|
+
name: "Composite",
|
|
771
|
+
className: "ConfluentListMetadata"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
data: {
|
|
775
|
+
serializedName: "data",
|
|
776
|
+
type: {
|
|
777
|
+
name: "Sequence",
|
|
778
|
+
element: {
|
|
779
|
+
type: {
|
|
780
|
+
name: "Composite",
|
|
781
|
+
className: "UserRecord"
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
const ConfluentListMetadata = {
|
|
790
|
+
type: {
|
|
791
|
+
name: "Composite",
|
|
792
|
+
className: "ConfluentListMetadata",
|
|
793
|
+
modelProperties: {
|
|
794
|
+
first: {
|
|
795
|
+
serializedName: "first",
|
|
796
|
+
type: {
|
|
797
|
+
name: "String"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
last: {
|
|
801
|
+
serializedName: "last",
|
|
802
|
+
type: {
|
|
803
|
+
name: "String"
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
prev: {
|
|
807
|
+
serializedName: "prev",
|
|
808
|
+
type: {
|
|
809
|
+
name: "String"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
next: {
|
|
813
|
+
serializedName: "next",
|
|
814
|
+
type: {
|
|
815
|
+
name: "String"
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
totalSize: {
|
|
819
|
+
serializedName: "total_size",
|
|
820
|
+
type: {
|
|
821
|
+
name: "Number"
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
const UserRecord = {
|
|
828
|
+
type: {
|
|
829
|
+
name: "Composite",
|
|
830
|
+
className: "UserRecord",
|
|
831
|
+
modelProperties: {
|
|
832
|
+
kind: {
|
|
833
|
+
serializedName: "kind",
|
|
834
|
+
type: {
|
|
835
|
+
name: "String"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
id: {
|
|
839
|
+
serializedName: "id",
|
|
840
|
+
type: {
|
|
841
|
+
name: "String"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
metadata: {
|
|
845
|
+
serializedName: "metadata",
|
|
846
|
+
type: {
|
|
847
|
+
name: "Composite",
|
|
848
|
+
className: "MetadataEntity"
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
email: {
|
|
852
|
+
serializedName: "email",
|
|
853
|
+
type: {
|
|
854
|
+
name: "String"
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
fullName: {
|
|
858
|
+
serializedName: "full_name",
|
|
859
|
+
type: {
|
|
860
|
+
name: "String"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
authType: {
|
|
864
|
+
serializedName: "auth_type",
|
|
865
|
+
type: {
|
|
866
|
+
name: "String"
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
};
|
|
872
|
+
const MetadataEntity = {
|
|
873
|
+
type: {
|
|
874
|
+
name: "Composite",
|
|
875
|
+
className: "MetadataEntity",
|
|
876
|
+
modelProperties: {
|
|
877
|
+
self: {
|
|
878
|
+
serializedName: "self",
|
|
879
|
+
type: {
|
|
880
|
+
name: "String"
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
resourceName: {
|
|
884
|
+
serializedName: "resource_name",
|
|
885
|
+
type: {
|
|
886
|
+
name: "String"
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
createdAt: {
|
|
890
|
+
serializedName: "created_at",
|
|
891
|
+
type: {
|
|
892
|
+
name: "String"
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
updatedAt: {
|
|
896
|
+
serializedName: "updated_at",
|
|
897
|
+
type: {
|
|
898
|
+
name: "String"
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
deletedAt: {
|
|
902
|
+
serializedName: "deleted_at",
|
|
903
|
+
type: {
|
|
904
|
+
name: "String"
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
};
|
|
910
|
+
const AccessListServiceAccountsSuccessResponse = {
|
|
911
|
+
type: {
|
|
912
|
+
name: "Composite",
|
|
913
|
+
className: "AccessListServiceAccountsSuccessResponse",
|
|
914
|
+
modelProperties: {
|
|
915
|
+
kind: {
|
|
916
|
+
serializedName: "kind",
|
|
917
|
+
type: {
|
|
918
|
+
name: "String"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
metadata: {
|
|
922
|
+
serializedName: "metadata",
|
|
923
|
+
type: {
|
|
924
|
+
name: "Composite",
|
|
925
|
+
className: "ConfluentListMetadata"
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
data: {
|
|
929
|
+
serializedName: "data",
|
|
930
|
+
type: {
|
|
931
|
+
name: "Sequence",
|
|
932
|
+
element: {
|
|
933
|
+
type: {
|
|
934
|
+
name: "Composite",
|
|
935
|
+
className: "ServiceAccountRecord"
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
};
|
|
943
|
+
const ServiceAccountRecord = {
|
|
944
|
+
type: {
|
|
945
|
+
name: "Composite",
|
|
946
|
+
className: "ServiceAccountRecord",
|
|
947
|
+
modelProperties: {
|
|
948
|
+
kind: {
|
|
949
|
+
serializedName: "kind",
|
|
950
|
+
type: {
|
|
951
|
+
name: "String"
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
id: {
|
|
955
|
+
serializedName: "id",
|
|
956
|
+
type: {
|
|
957
|
+
name: "String"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
metadata: {
|
|
961
|
+
serializedName: "metadata",
|
|
962
|
+
type: {
|
|
963
|
+
name: "Composite",
|
|
964
|
+
className: "MetadataEntity"
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
displayName: {
|
|
968
|
+
serializedName: "display_name",
|
|
969
|
+
type: {
|
|
970
|
+
name: "String"
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
description: {
|
|
974
|
+
serializedName: "description",
|
|
975
|
+
type: {
|
|
976
|
+
name: "String"
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
};
|
|
982
|
+
const AccessListInvitationsSuccessResponse = {
|
|
983
|
+
type: {
|
|
984
|
+
name: "Composite",
|
|
985
|
+
className: "AccessListInvitationsSuccessResponse",
|
|
986
|
+
modelProperties: {
|
|
987
|
+
kind: {
|
|
988
|
+
serializedName: "kind",
|
|
989
|
+
type: {
|
|
990
|
+
name: "String"
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
metadata: {
|
|
994
|
+
serializedName: "metadata",
|
|
995
|
+
type: {
|
|
996
|
+
name: "Composite",
|
|
997
|
+
className: "ConfluentListMetadata"
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
data: {
|
|
1001
|
+
serializedName: "data",
|
|
1002
|
+
type: {
|
|
1003
|
+
name: "Sequence",
|
|
1004
|
+
element: {
|
|
1005
|
+
type: {
|
|
1006
|
+
name: "Composite",
|
|
1007
|
+
className: "InvitationRecord"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
};
|
|
1015
|
+
const InvitationRecord = {
|
|
1016
|
+
type: {
|
|
1017
|
+
name: "Composite",
|
|
1018
|
+
className: "InvitationRecord",
|
|
1019
|
+
modelProperties: {
|
|
1020
|
+
kind: {
|
|
1021
|
+
serializedName: "kind",
|
|
1022
|
+
type: {
|
|
1023
|
+
name: "String"
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
id: {
|
|
1027
|
+
serializedName: "id",
|
|
1028
|
+
type: {
|
|
1029
|
+
name: "String"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
metadata: {
|
|
1033
|
+
serializedName: "metadata",
|
|
1034
|
+
type: {
|
|
1035
|
+
name: "Composite",
|
|
1036
|
+
className: "MetadataEntity"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
email: {
|
|
1040
|
+
serializedName: "email",
|
|
1041
|
+
type: {
|
|
1042
|
+
name: "String"
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
authType: {
|
|
1046
|
+
serializedName: "auth_type",
|
|
1047
|
+
type: {
|
|
1048
|
+
name: "String"
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
status: {
|
|
1052
|
+
serializedName: "status",
|
|
1053
|
+
type: {
|
|
1054
|
+
name: "String"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
acceptedAt: {
|
|
1058
|
+
serializedName: "accepted_at",
|
|
1059
|
+
type: {
|
|
1060
|
+
name: "String"
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
expiresAt: {
|
|
1064
|
+
serializedName: "expires_at",
|
|
1065
|
+
type: {
|
|
1066
|
+
name: "String"
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
};
|
|
1072
|
+
const AccessInviteUserAccountModel = {
|
|
1073
|
+
type: {
|
|
1074
|
+
name: "Composite",
|
|
1075
|
+
className: "AccessInviteUserAccountModel",
|
|
1076
|
+
modelProperties: {
|
|
1077
|
+
organizationId: {
|
|
1078
|
+
serializedName: "organizationId",
|
|
1079
|
+
type: {
|
|
1080
|
+
name: "String"
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
email: {
|
|
1084
|
+
serializedName: "email",
|
|
1085
|
+
type: {
|
|
1086
|
+
name: "String"
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
upn: {
|
|
1090
|
+
serializedName: "upn",
|
|
1091
|
+
type: {
|
|
1092
|
+
name: "String"
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
invitedUserDetails: {
|
|
1096
|
+
serializedName: "invitedUserDetails",
|
|
1097
|
+
type: {
|
|
1098
|
+
name: "Composite",
|
|
1099
|
+
className: "AccessInvitedUserDetails"
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
};
|
|
1105
|
+
const AccessInvitedUserDetails = {
|
|
1106
|
+
type: {
|
|
1107
|
+
name: "Composite",
|
|
1108
|
+
className: "AccessInvitedUserDetails",
|
|
1109
|
+
modelProperties: {
|
|
1110
|
+
invitedEmail: {
|
|
1111
|
+
serializedName: "invitedEmail",
|
|
1112
|
+
type: {
|
|
1113
|
+
name: "String"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
authType: {
|
|
1117
|
+
serializedName: "auth_type",
|
|
1118
|
+
type: {
|
|
1119
|
+
name: "String"
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
};
|
|
1125
|
+
const AccessListEnvironmentsSuccessResponse = {
|
|
1126
|
+
type: {
|
|
1127
|
+
name: "Composite",
|
|
1128
|
+
className: "AccessListEnvironmentsSuccessResponse",
|
|
1129
|
+
modelProperties: {
|
|
1130
|
+
kind: {
|
|
1131
|
+
serializedName: "kind",
|
|
1132
|
+
type: {
|
|
1133
|
+
name: "String"
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
metadata: {
|
|
1137
|
+
serializedName: "metadata",
|
|
1138
|
+
type: {
|
|
1139
|
+
name: "Composite",
|
|
1140
|
+
className: "ConfluentListMetadata"
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
data: {
|
|
1144
|
+
serializedName: "data",
|
|
1145
|
+
type: {
|
|
1146
|
+
name: "Sequence",
|
|
1147
|
+
element: {
|
|
1148
|
+
type: {
|
|
1149
|
+
name: "Composite",
|
|
1150
|
+
className: "EnvironmentRecord"
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
};
|
|
1158
|
+
const EnvironmentRecord = {
|
|
1159
|
+
type: {
|
|
1160
|
+
name: "Composite",
|
|
1161
|
+
className: "EnvironmentRecord",
|
|
1162
|
+
modelProperties: {
|
|
1163
|
+
kind: {
|
|
1164
|
+
serializedName: "kind",
|
|
1165
|
+
type: {
|
|
1166
|
+
name: "String"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
id: {
|
|
1170
|
+
serializedName: "id",
|
|
1171
|
+
type: {
|
|
1172
|
+
name: "String"
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
metadata: {
|
|
1176
|
+
serializedName: "metadata",
|
|
1177
|
+
type: {
|
|
1178
|
+
name: "Composite",
|
|
1179
|
+
className: "MetadataEntity"
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
displayName: {
|
|
1183
|
+
serializedName: "display_name",
|
|
1184
|
+
type: {
|
|
1185
|
+
name: "String"
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
};
|
|
1191
|
+
const AccessListClusterSuccessResponse = {
|
|
1192
|
+
type: {
|
|
1193
|
+
name: "Composite",
|
|
1194
|
+
className: "AccessListClusterSuccessResponse",
|
|
1195
|
+
modelProperties: {
|
|
1196
|
+
kind: {
|
|
1197
|
+
serializedName: "kind",
|
|
1198
|
+
type: {
|
|
1199
|
+
name: "String"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
metadata: {
|
|
1203
|
+
serializedName: "metadata",
|
|
1204
|
+
type: {
|
|
1205
|
+
name: "Composite",
|
|
1206
|
+
className: "ConfluentListMetadata"
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
data: {
|
|
1210
|
+
serializedName: "data",
|
|
1211
|
+
type: {
|
|
1212
|
+
name: "Sequence",
|
|
1213
|
+
element: {
|
|
1214
|
+
type: {
|
|
1215
|
+
name: "Composite",
|
|
1216
|
+
className: "ClusterRecord"
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
545
1220
|
}
|
|
546
1221
|
}
|
|
547
1222
|
}
|
|
548
1223
|
};
|
|
549
|
-
const
|
|
1224
|
+
const ClusterRecord = {
|
|
550
1225
|
type: {
|
|
551
1226
|
name: "Composite",
|
|
552
|
-
className: "
|
|
1227
|
+
className: "ClusterRecord",
|
|
553
1228
|
modelProperties: {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
MaxLength: 50
|
|
557
|
-
},
|
|
558
|
-
serializedName: "publisherId",
|
|
559
|
-
required: true,
|
|
1229
|
+
kind: {
|
|
1230
|
+
serializedName: "kind",
|
|
560
1231
|
type: {
|
|
561
1232
|
name: "String"
|
|
562
1233
|
}
|
|
563
1234
|
},
|
|
564
1235
|
id: {
|
|
565
|
-
constraints: {
|
|
566
|
-
MaxLength: 50
|
|
567
|
-
},
|
|
568
1236
|
serializedName: "id",
|
|
569
|
-
required: true,
|
|
570
1237
|
type: {
|
|
571
1238
|
name: "String"
|
|
572
1239
|
}
|
|
573
1240
|
},
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
MaxLength: 50
|
|
577
|
-
},
|
|
578
|
-
serializedName: "planId",
|
|
579
|
-
required: true,
|
|
1241
|
+
metadata: {
|
|
1242
|
+
serializedName: "metadata",
|
|
580
1243
|
type: {
|
|
581
|
-
name: "
|
|
1244
|
+
name: "Composite",
|
|
1245
|
+
className: "MetadataEntity"
|
|
582
1246
|
}
|
|
583
1247
|
},
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
MaxLength: 50
|
|
587
|
-
},
|
|
588
|
-
serializedName: "planName",
|
|
589
|
-
required: true,
|
|
1248
|
+
displayName: {
|
|
1249
|
+
serializedName: "display_name",
|
|
590
1250
|
type: {
|
|
591
1251
|
name: "String"
|
|
592
1252
|
}
|
|
593
1253
|
},
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
MaxLength: 25
|
|
597
|
-
},
|
|
598
|
-
serializedName: "termUnit",
|
|
599
|
-
required: true,
|
|
1254
|
+
spec: {
|
|
1255
|
+
serializedName: "spec",
|
|
600
1256
|
type: {
|
|
601
|
-
name: "
|
|
1257
|
+
name: "Composite",
|
|
1258
|
+
className: "ClusterSpecEntity"
|
|
602
1259
|
}
|
|
603
1260
|
},
|
|
604
1261
|
status: {
|
|
605
1262
|
serializedName: "status",
|
|
606
|
-
|
|
1263
|
+
type: {
|
|
1264
|
+
name: "Composite",
|
|
1265
|
+
className: "ClusterStatusEntity"
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
};
|
|
1271
|
+
const ClusterSpecEntity = {
|
|
1272
|
+
type: {
|
|
1273
|
+
name: "Composite",
|
|
1274
|
+
className: "ClusterSpecEntity",
|
|
1275
|
+
modelProperties: {
|
|
1276
|
+
displayName: {
|
|
1277
|
+
serializedName: "display_name",
|
|
1278
|
+
type: {
|
|
1279
|
+
name: "String"
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
availability: {
|
|
1283
|
+
serializedName: "availability",
|
|
1284
|
+
type: {
|
|
1285
|
+
name: "String"
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
cloud: {
|
|
1289
|
+
serializedName: "cloud",
|
|
1290
|
+
type: {
|
|
1291
|
+
name: "String"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
zone: {
|
|
1295
|
+
serializedName: "zone",
|
|
1296
|
+
type: {
|
|
1297
|
+
name: "String"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
region: {
|
|
1301
|
+
serializedName: "region",
|
|
1302
|
+
type: {
|
|
1303
|
+
name: "String"
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
kafkaBootstrapEndpoint: {
|
|
1307
|
+
serializedName: "kafka_bootstrap_endpoint",
|
|
1308
|
+
type: {
|
|
1309
|
+
name: "String"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
httpEndpoint: {
|
|
1313
|
+
serializedName: "http_endpoint",
|
|
1314
|
+
type: {
|
|
1315
|
+
name: "String"
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
apiEndpoint: {
|
|
1319
|
+
serializedName: "api_endpoint",
|
|
607
1320
|
type: {
|
|
608
1321
|
name: "String"
|
|
609
1322
|
}
|
|
1323
|
+
},
|
|
1324
|
+
config: {
|
|
1325
|
+
serializedName: "config",
|
|
1326
|
+
type: {
|
|
1327
|
+
name: "Composite",
|
|
1328
|
+
className: "ClusterConfigEntity"
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
environment: {
|
|
1332
|
+
serializedName: "environment",
|
|
1333
|
+
type: {
|
|
1334
|
+
name: "Composite",
|
|
1335
|
+
className: "ClusterEnvironmentEntity"
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
network: {
|
|
1339
|
+
serializedName: "network",
|
|
1340
|
+
type: {
|
|
1341
|
+
name: "Composite",
|
|
1342
|
+
className: "ClusterNetworkEntity"
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
byok: {
|
|
1346
|
+
serializedName: "byok",
|
|
1347
|
+
type: {
|
|
1348
|
+
name: "Composite",
|
|
1349
|
+
className: "ClusterByokEntity"
|
|
1350
|
+
}
|
|
610
1351
|
}
|
|
611
1352
|
}
|
|
612
1353
|
}
|
|
613
1354
|
};
|
|
614
|
-
const
|
|
1355
|
+
const ClusterConfigEntity = {
|
|
615
1356
|
type: {
|
|
616
1357
|
name: "Composite",
|
|
617
|
-
className: "
|
|
1358
|
+
className: "ClusterConfigEntity",
|
|
618
1359
|
modelProperties: {
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
1360
|
+
kind: {
|
|
1361
|
+
serializedName: "kind",
|
|
1362
|
+
type: {
|
|
1363
|
+
name: "String"
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
};
|
|
1369
|
+
const ClusterEnvironmentEntity = {
|
|
1370
|
+
type: {
|
|
1371
|
+
name: "Composite",
|
|
1372
|
+
className: "ClusterEnvironmentEntity",
|
|
1373
|
+
modelProperties: {
|
|
1374
|
+
id: {
|
|
1375
|
+
serializedName: "id",
|
|
624
1376
|
type: {
|
|
625
1377
|
name: "String"
|
|
626
1378
|
}
|
|
627
1379
|
},
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
MaxLength: 50
|
|
631
|
-
},
|
|
632
|
-
serializedName: "lastName",
|
|
1380
|
+
environment: {
|
|
1381
|
+
serializedName: "environment",
|
|
633
1382
|
type: {
|
|
634
1383
|
name: "String"
|
|
635
1384
|
}
|
|
636
1385
|
},
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
1386
|
+
related: {
|
|
1387
|
+
serializedName: "related",
|
|
1388
|
+
type: {
|
|
1389
|
+
name: "String"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
resourceName: {
|
|
1393
|
+
serializedName: "resource_name",
|
|
643
1394
|
type: {
|
|
644
1395
|
name: "String"
|
|
645
1396
|
}
|
|
@@ -647,16 +1398,157 @@ const UserDetail = {
|
|
|
647
1398
|
}
|
|
648
1399
|
}
|
|
649
1400
|
};
|
|
650
|
-
const
|
|
1401
|
+
const ClusterNetworkEntity = {
|
|
651
1402
|
type: {
|
|
652
1403
|
name: "Composite",
|
|
653
|
-
className: "
|
|
1404
|
+
className: "ClusterNetworkEntity",
|
|
654
1405
|
modelProperties: {
|
|
655
|
-
|
|
656
|
-
serializedName: "
|
|
1406
|
+
id: {
|
|
1407
|
+
serializedName: "id",
|
|
657
1408
|
type: {
|
|
658
|
-
name: "
|
|
659
|
-
|
|
1409
|
+
name: "String"
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
environment: {
|
|
1413
|
+
serializedName: "environment",
|
|
1414
|
+
type: {
|
|
1415
|
+
name: "String"
|
|
1416
|
+
}
|
|
1417
|
+
},
|
|
1418
|
+
related: {
|
|
1419
|
+
serializedName: "related",
|
|
1420
|
+
type: {
|
|
1421
|
+
name: "String"
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
resourceName: {
|
|
1425
|
+
serializedName: "resource_name",
|
|
1426
|
+
type: {
|
|
1427
|
+
name: "String"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
};
|
|
1433
|
+
const ClusterByokEntity = {
|
|
1434
|
+
type: {
|
|
1435
|
+
name: "Composite",
|
|
1436
|
+
className: "ClusterByokEntity",
|
|
1437
|
+
modelProperties: {
|
|
1438
|
+
id: {
|
|
1439
|
+
serializedName: "id",
|
|
1440
|
+
type: {
|
|
1441
|
+
name: "String"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
related: {
|
|
1445
|
+
serializedName: "related",
|
|
1446
|
+
type: {
|
|
1447
|
+
name: "String"
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
resourceName: {
|
|
1451
|
+
serializedName: "resource_name",
|
|
1452
|
+
type: {
|
|
1453
|
+
name: "String"
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
};
|
|
1459
|
+
const ClusterStatusEntity = {
|
|
1460
|
+
type: {
|
|
1461
|
+
name: "Composite",
|
|
1462
|
+
className: "ClusterStatusEntity",
|
|
1463
|
+
modelProperties: {
|
|
1464
|
+
phase: {
|
|
1465
|
+
serializedName: "phase",
|
|
1466
|
+
type: {
|
|
1467
|
+
name: "String"
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
cku: {
|
|
1471
|
+
serializedName: "cku",
|
|
1472
|
+
type: {
|
|
1473
|
+
name: "Number"
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
};
|
|
1479
|
+
const AccessListRoleBindingsSuccessResponse = {
|
|
1480
|
+
type: {
|
|
1481
|
+
name: "Composite",
|
|
1482
|
+
className: "AccessListRoleBindingsSuccessResponse",
|
|
1483
|
+
modelProperties: {
|
|
1484
|
+
kind: {
|
|
1485
|
+
serializedName: "kind",
|
|
1486
|
+
type: {
|
|
1487
|
+
name: "String"
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
metadata: {
|
|
1491
|
+
serializedName: "metadata",
|
|
1492
|
+
type: {
|
|
1493
|
+
name: "Composite",
|
|
1494
|
+
className: "ConfluentListMetadata"
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1497
|
+
data: {
|
|
1498
|
+
serializedName: "data",
|
|
1499
|
+
type: {
|
|
1500
|
+
name: "Sequence",
|
|
1501
|
+
element: {
|
|
1502
|
+
type: {
|
|
1503
|
+
name: "Composite",
|
|
1504
|
+
className: "RoleBindingRecord"
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
};
|
|
1512
|
+
const RoleBindingRecord = {
|
|
1513
|
+
type: {
|
|
1514
|
+
name: "Composite",
|
|
1515
|
+
className: "RoleBindingRecord",
|
|
1516
|
+
modelProperties: {
|
|
1517
|
+
kind: {
|
|
1518
|
+
serializedName: "kind",
|
|
1519
|
+
type: {
|
|
1520
|
+
name: "String"
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
id: {
|
|
1524
|
+
serializedName: "id",
|
|
1525
|
+
type: {
|
|
1526
|
+
name: "String"
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
metadata: {
|
|
1530
|
+
serializedName: "metadata",
|
|
1531
|
+
type: {
|
|
1532
|
+
name: "Composite",
|
|
1533
|
+
className: "MetadataEntity"
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
principal: {
|
|
1537
|
+
serializedName: "principal",
|
|
1538
|
+
type: {
|
|
1539
|
+
name: "String"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
roleName: {
|
|
1543
|
+
serializedName: "role_name",
|
|
1544
|
+
type: {
|
|
1545
|
+
name: "String"
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
crnPattern: {
|
|
1549
|
+
serializedName: "crn_pattern",
|
|
1550
|
+
type: {
|
|
1551
|
+
name: "String"
|
|
660
1552
|
}
|
|
661
1553
|
}
|
|
662
1554
|
}
|
|
@@ -665,19 +1557,44 @@ const OrganizationResourceUpdate = {
|
|
|
665
1557
|
|
|
666
1558
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
667
1559
|
__proto__: null,
|
|
668
|
-
|
|
1560
|
+
AccessInviteUserAccountModel: AccessInviteUserAccountModel,
|
|
1561
|
+
AccessInvitedUserDetails: AccessInvitedUserDetails,
|
|
1562
|
+
AccessListClusterSuccessResponse: AccessListClusterSuccessResponse,
|
|
1563
|
+
AccessListEnvironmentsSuccessResponse: AccessListEnvironmentsSuccessResponse,
|
|
1564
|
+
AccessListInvitationsSuccessResponse: AccessListInvitationsSuccessResponse,
|
|
1565
|
+
AccessListRoleBindingsSuccessResponse: AccessListRoleBindingsSuccessResponse,
|
|
1566
|
+
AccessListServiceAccountsSuccessResponse: AccessListServiceAccountsSuccessResponse,
|
|
1567
|
+
AccessListUsersSuccessResponse: AccessListUsersSuccessResponse,
|
|
1568
|
+
ClusterByokEntity: ClusterByokEntity,
|
|
1569
|
+
ClusterConfigEntity: ClusterConfigEntity,
|
|
1570
|
+
ClusterEnvironmentEntity: ClusterEnvironmentEntity,
|
|
1571
|
+
ClusterNetworkEntity: ClusterNetworkEntity,
|
|
1572
|
+
ClusterRecord: ClusterRecord,
|
|
1573
|
+
ClusterSpecEntity: ClusterSpecEntity,
|
|
1574
|
+
ClusterStatusEntity: ClusterStatusEntity,
|
|
669
1575
|
ConfluentAgreementResource: ConfluentAgreementResource,
|
|
670
|
-
|
|
671
|
-
|
|
1576
|
+
ConfluentAgreementResourceListResponse: ConfluentAgreementResourceListResponse,
|
|
1577
|
+
ConfluentListMetadata: ConfluentListMetadata,
|
|
1578
|
+
EnvironmentRecord: EnvironmentRecord,
|
|
672
1579
|
ErrorResponseBody: ErrorResponseBody,
|
|
1580
|
+
InvitationRecord: InvitationRecord,
|
|
1581
|
+
LinkOrganization: LinkOrganization,
|
|
1582
|
+
ListAccessRequestModel: ListAccessRequestModel,
|
|
1583
|
+
MetadataEntity: MetadataEntity,
|
|
1584
|
+
OfferDetail: OfferDetail,
|
|
1585
|
+
OperationDisplay: OperationDisplay,
|
|
673
1586
|
OperationListResult: OperationListResult,
|
|
674
1587
|
OperationResult: OperationResult,
|
|
675
|
-
OperationDisplay: OperationDisplay,
|
|
676
|
-
OrganizationResourceListResult: OrganizationResourceListResult,
|
|
677
1588
|
OrganizationResource: OrganizationResource,
|
|
678
|
-
|
|
1589
|
+
OrganizationResourceListResult: OrganizationResourceListResult,
|
|
1590
|
+
OrganizationResourceUpdate: OrganizationResourceUpdate,
|
|
1591
|
+
ResourceProviderDefaultErrorResponse: ResourceProviderDefaultErrorResponse,
|
|
1592
|
+
RoleBindingRecord: RoleBindingRecord,
|
|
1593
|
+
ServiceAccountRecord: ServiceAccountRecord,
|
|
1594
|
+
SystemData: SystemData,
|
|
679
1595
|
UserDetail: UserDetail,
|
|
680
|
-
|
|
1596
|
+
UserRecord: UserRecord,
|
|
1597
|
+
ValidationResponse: ValidationResponse
|
|
681
1598
|
});
|
|
682
1599
|
|
|
683
1600
|
/*
|
|
@@ -712,7 +1629,7 @@ const $host = {
|
|
|
712
1629
|
const apiVersion = {
|
|
713
1630
|
parameterPath: "apiVersion",
|
|
714
1631
|
mapper: {
|
|
715
|
-
defaultValue: "
|
|
1632
|
+
defaultValue: "2023-08-22",
|
|
716
1633
|
isConstant: true,
|
|
717
1634
|
serializedName: "api-version",
|
|
718
1635
|
type: {
|
|
@@ -726,7 +1643,7 @@ const subscriptionId = {
|
|
|
726
1643
|
serializedName: "subscriptionId",
|
|
727
1644
|
required: true,
|
|
728
1645
|
type: {
|
|
729
|
-
name: "
|
|
1646
|
+
name: "Uuid"
|
|
730
1647
|
}
|
|
731
1648
|
}
|
|
732
1649
|
};
|
|
@@ -759,6 +1676,10 @@ const nextLink = {
|
|
|
759
1676
|
const resourceGroupName = {
|
|
760
1677
|
parameterPath: "resourceGroupName",
|
|
761
1678
|
mapper: {
|
|
1679
|
+
constraints: {
|
|
1680
|
+
MaxLength: 90,
|
|
1681
|
+
MinLength: 1
|
|
1682
|
+
},
|
|
762
1683
|
serializedName: "resourceGroupName",
|
|
763
1684
|
required: true,
|
|
764
1685
|
type: {
|
|
@@ -788,6 +1709,14 @@ const body3 = {
|
|
|
788
1709
|
parameterPath: "body",
|
|
789
1710
|
mapper: OrganizationResource
|
|
790
1711
|
};
|
|
1712
|
+
const body4 = {
|
|
1713
|
+
parameterPath: "body",
|
|
1714
|
+
mapper: ListAccessRequestModel
|
|
1715
|
+
};
|
|
1716
|
+
const body5 = {
|
|
1717
|
+
parameterPath: "body",
|
|
1718
|
+
mapper: AccessInviteUserAccountModel
|
|
1719
|
+
};
|
|
791
1720
|
|
|
792
1721
|
/*
|
|
793
1722
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -849,17 +1778,19 @@ class MarketplaceAgreementsImpl {
|
|
|
849
1778
|
}
|
|
850
1779
|
listPagingAll(options) {
|
|
851
1780
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
852
|
-
var e_1,
|
|
1781
|
+
var _a, e_1, _b, _c;
|
|
853
1782
|
try {
|
|
854
|
-
for (var
|
|
855
|
-
|
|
1783
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1784
|
+
_c = _f.value;
|
|
1785
|
+
_d = false;
|
|
1786
|
+
const page = _c;
|
|
856
1787
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
857
1788
|
}
|
|
858
1789
|
}
|
|
859
1790
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
860
1791
|
finally {
|
|
861
1792
|
try {
|
|
862
|
-
if (
|
|
1793
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
863
1794
|
}
|
|
864
1795
|
finally { if (e_1) throw e_1.error; }
|
|
865
1796
|
}
|
|
@@ -889,7 +1820,7 @@ class MarketplaceAgreementsImpl {
|
|
|
889
1820
|
}
|
|
890
1821
|
}
|
|
891
1822
|
// Operation Specifications
|
|
892
|
-
const serializer$
|
|
1823
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
893
1824
|
const listOperationSpec$1 = {
|
|
894
1825
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements",
|
|
895
1826
|
httpMethod: "GET",
|
|
@@ -904,7 +1835,7 @@ const listOperationSpec$1 = {
|
|
|
904
1835
|
queryParameters: [apiVersion],
|
|
905
1836
|
urlParameters: [$host, subscriptionId],
|
|
906
1837
|
headerParameters: [accept],
|
|
907
|
-
serializer: serializer$
|
|
1838
|
+
serializer: serializer$4
|
|
908
1839
|
};
|
|
909
1840
|
const createOperationSpec$1 = {
|
|
910
1841
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements/default",
|
|
@@ -922,7 +1853,7 @@ const createOperationSpec$1 = {
|
|
|
922
1853
|
urlParameters: [$host, subscriptionId],
|
|
923
1854
|
headerParameters: [accept, contentType],
|
|
924
1855
|
mediaType: "json",
|
|
925
|
-
serializer: serializer$
|
|
1856
|
+
serializer: serializer$4
|
|
926
1857
|
};
|
|
927
1858
|
const listNextOperationSpec$1 = {
|
|
928
1859
|
path: "{nextLink}",
|
|
@@ -935,14 +1866,13 @@ const listNextOperationSpec$1 = {
|
|
|
935
1866
|
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
936
1867
|
}
|
|
937
1868
|
},
|
|
938
|
-
queryParameters: [apiVersion],
|
|
939
1869
|
urlParameters: [
|
|
940
1870
|
$host,
|
|
941
1871
|
subscriptionId,
|
|
942
1872
|
nextLink
|
|
943
1873
|
],
|
|
944
1874
|
headerParameters: [accept],
|
|
945
|
-
serializer: serializer$
|
|
1875
|
+
serializer: serializer$4
|
|
946
1876
|
};
|
|
947
1877
|
|
|
948
1878
|
/*
|
|
@@ -1005,17 +1935,19 @@ class OrganizationOperationsImpl {
|
|
|
1005
1935
|
}
|
|
1006
1936
|
listPagingAll(options) {
|
|
1007
1937
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1008
|
-
var e_1,
|
|
1938
|
+
var _a, e_1, _b, _c;
|
|
1009
1939
|
try {
|
|
1010
|
-
for (var
|
|
1011
|
-
|
|
1940
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1941
|
+
_c = _f.value;
|
|
1942
|
+
_d = false;
|
|
1943
|
+
const page = _c;
|
|
1012
1944
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1013
1945
|
}
|
|
1014
1946
|
}
|
|
1015
1947
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1016
1948
|
finally {
|
|
1017
1949
|
try {
|
|
1018
|
-
if (
|
|
1950
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1019
1951
|
}
|
|
1020
1952
|
finally { if (e_1) throw e_1.error; }
|
|
1021
1953
|
}
|
|
@@ -1038,7 +1970,7 @@ class OrganizationOperationsImpl {
|
|
|
1038
1970
|
}
|
|
1039
1971
|
}
|
|
1040
1972
|
// Operation Specifications
|
|
1041
|
-
const serializer$
|
|
1973
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1042
1974
|
const listOperationSpec = {
|
|
1043
1975
|
path: "/providers/Microsoft.Confluent/operations",
|
|
1044
1976
|
httpMethod: "GET",
|
|
@@ -1053,7 +1985,7 @@ const listOperationSpec = {
|
|
|
1053
1985
|
queryParameters: [apiVersion],
|
|
1054
1986
|
urlParameters: [$host],
|
|
1055
1987
|
headerParameters: [accept],
|
|
1056
|
-
serializer: serializer$
|
|
1988
|
+
serializer: serializer$3
|
|
1057
1989
|
};
|
|
1058
1990
|
const listNextOperationSpec = {
|
|
1059
1991
|
path: "{nextLink}",
|
|
@@ -1066,10 +1998,9 @@ const listNextOperationSpec = {
|
|
|
1066
1998
|
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1067
1999
|
}
|
|
1068
2000
|
},
|
|
1069
|
-
queryParameters: [apiVersion],
|
|
1070
2001
|
urlParameters: [$host, nextLink],
|
|
1071
2002
|
headerParameters: [accept],
|
|
1072
|
-
serializer: serializer$
|
|
2003
|
+
serializer: serializer$3
|
|
1073
2004
|
};
|
|
1074
2005
|
|
|
1075
2006
|
/*
|
|
@@ -1079,25 +2010,17 @@ const listNextOperationSpec = {
|
|
|
1079
2010
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1080
2011
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1081
2012
|
*/
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
});
|
|
1094
|
-
}
|
|
1095
|
-
sendPollRequest(path) {
|
|
1096
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1097
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
1098
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
1099
|
-
});
|
|
1100
|
-
}
|
|
2013
|
+
function createLroSpec(inputs) {
|
|
2014
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
2015
|
+
return {
|
|
2016
|
+
requestMethod: spec.httpMethod,
|
|
2017
|
+
requestPath: spec.path,
|
|
2018
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
2019
|
+
sendPollRequest: (path, options) => {
|
|
2020
|
+
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2021
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2022
|
+
}
|
|
2023
|
+
};
|
|
1101
2024
|
}
|
|
1102
2025
|
|
|
1103
2026
|
/*
|
|
@@ -1160,17 +2083,19 @@ class OrganizationImpl {
|
|
|
1160
2083
|
}
|
|
1161
2084
|
listBySubscriptionPagingAll(options) {
|
|
1162
2085
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
1163
|
-
var e_1,
|
|
2086
|
+
var _a, e_1, _b, _c;
|
|
1164
2087
|
try {
|
|
1165
|
-
for (var
|
|
1166
|
-
|
|
2088
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2089
|
+
_c = _f.value;
|
|
2090
|
+
_d = false;
|
|
2091
|
+
const page = _c;
|
|
1167
2092
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1168
2093
|
}
|
|
1169
2094
|
}
|
|
1170
2095
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1171
2096
|
finally {
|
|
1172
2097
|
try {
|
|
1173
|
-
if (
|
|
2098
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1174
2099
|
}
|
|
1175
2100
|
finally { if (e_1) throw e_1.error; }
|
|
1176
2101
|
}
|
|
@@ -1178,7 +2103,7 @@ class OrganizationImpl {
|
|
|
1178
2103
|
}
|
|
1179
2104
|
/**
|
|
1180
2105
|
* List all Organizations under the specified resource group.
|
|
1181
|
-
* @param resourceGroupName
|
|
2106
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1182
2107
|
* @param options The options parameters.
|
|
1183
2108
|
*/
|
|
1184
2109
|
listByResourceGroup(resourceGroupName, options) {
|
|
@@ -1220,17 +2145,19 @@ class OrganizationImpl {
|
|
|
1220
2145
|
}
|
|
1221
2146
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
1222
2147
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1223
|
-
var e_2,
|
|
2148
|
+
var _a, e_2, _b, _c;
|
|
1224
2149
|
try {
|
|
1225
|
-
for (var
|
|
1226
|
-
|
|
2150
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2151
|
+
_c = _f.value;
|
|
2152
|
+
_d = false;
|
|
2153
|
+
const page = _c;
|
|
1227
2154
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1228
2155
|
}
|
|
1229
2156
|
}
|
|
1230
2157
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1231
2158
|
finally {
|
|
1232
2159
|
try {
|
|
1233
|
-
if (
|
|
2160
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1234
2161
|
}
|
|
1235
2162
|
finally { if (e_2) throw e_2.error; }
|
|
1236
2163
|
}
|
|
@@ -1245,7 +2172,7 @@ class OrganizationImpl {
|
|
|
1245
2172
|
}
|
|
1246
2173
|
/**
|
|
1247
2174
|
* List all Organizations under the specified resource group.
|
|
1248
|
-
* @param resourceGroupName
|
|
2175
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1249
2176
|
* @param options The options parameters.
|
|
1250
2177
|
*/
|
|
1251
2178
|
_listByResourceGroup(resourceGroupName, options) {
|
|
@@ -1253,7 +2180,7 @@ class OrganizationImpl {
|
|
|
1253
2180
|
}
|
|
1254
2181
|
/**
|
|
1255
2182
|
* Get the properties of a specific Organization resource.
|
|
1256
|
-
* @param resourceGroupName
|
|
2183
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1257
2184
|
* @param organizationName Organization resource name
|
|
1258
2185
|
* @param options The options parameters.
|
|
1259
2186
|
*/
|
|
@@ -1262,7 +2189,7 @@ class OrganizationImpl {
|
|
|
1262
2189
|
}
|
|
1263
2190
|
/**
|
|
1264
2191
|
* Create Organization resource
|
|
1265
|
-
* @param resourceGroupName
|
|
2192
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1266
2193
|
* @param organizationName Organization resource name
|
|
1267
2194
|
* @param options The options parameters.
|
|
1268
2195
|
*/
|
|
@@ -1271,7 +2198,7 @@ class OrganizationImpl {
|
|
|
1271
2198
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1272
2199
|
return this.client.sendOperationRequest(args, spec);
|
|
1273
2200
|
});
|
|
1274
|
-
const
|
|
2201
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1275
2202
|
var _a;
|
|
1276
2203
|
let currentRawResponse = undefined;
|
|
1277
2204
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -1290,11 +2217,15 @@ class OrganizationImpl {
|
|
|
1290
2217
|
}
|
|
1291
2218
|
};
|
|
1292
2219
|
});
|
|
1293
|
-
const lro =
|
|
1294
|
-
|
|
1295
|
-
|
|
2220
|
+
const lro = createLroSpec({
|
|
2221
|
+
sendOperationFn,
|
|
2222
|
+
args: { resourceGroupName, organizationName, options },
|
|
2223
|
+
spec: createOperationSpec
|
|
2224
|
+
});
|
|
2225
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2226
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1296
2227
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1297
|
-
|
|
2228
|
+
resourceLocationConfig: "azure-async-operation"
|
|
1298
2229
|
});
|
|
1299
2230
|
yield poller.poll();
|
|
1300
2231
|
return poller;
|
|
@@ -1302,7 +2233,7 @@ class OrganizationImpl {
|
|
|
1302
2233
|
}
|
|
1303
2234
|
/**
|
|
1304
2235
|
* Create Organization resource
|
|
1305
|
-
* @param resourceGroupName
|
|
2236
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1306
2237
|
* @param organizationName Organization resource name
|
|
1307
2238
|
* @param options The options parameters.
|
|
1308
2239
|
*/
|
|
@@ -1314,7 +2245,7 @@ class OrganizationImpl {
|
|
|
1314
2245
|
}
|
|
1315
2246
|
/**
|
|
1316
2247
|
* Update Organization resource
|
|
1317
|
-
* @param resourceGroupName
|
|
2248
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1318
2249
|
* @param organizationName Organization resource name
|
|
1319
2250
|
* @param options The options parameters.
|
|
1320
2251
|
*/
|
|
@@ -1323,7 +2254,7 @@ class OrganizationImpl {
|
|
|
1323
2254
|
}
|
|
1324
2255
|
/**
|
|
1325
2256
|
* Delete Organization resource
|
|
1326
|
-
* @param resourceGroupName
|
|
2257
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1327
2258
|
* @param organizationName Organization resource name
|
|
1328
2259
|
* @param options The options parameters.
|
|
1329
2260
|
*/
|
|
@@ -1332,7 +2263,7 @@ class OrganizationImpl {
|
|
|
1332
2263
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1333
2264
|
return this.client.sendOperationRequest(args, spec);
|
|
1334
2265
|
});
|
|
1335
|
-
const
|
|
2266
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
1336
2267
|
var _a;
|
|
1337
2268
|
let currentRawResponse = undefined;
|
|
1338
2269
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -1351,11 +2282,15 @@ class OrganizationImpl {
|
|
|
1351
2282
|
}
|
|
1352
2283
|
};
|
|
1353
2284
|
});
|
|
1354
|
-
const lro =
|
|
1355
|
-
|
|
1356
|
-
|
|
2285
|
+
const lro = createLroSpec({
|
|
2286
|
+
sendOperationFn,
|
|
2287
|
+
args: { resourceGroupName, organizationName, options },
|
|
2288
|
+
spec: deleteOperationSpec
|
|
2289
|
+
});
|
|
2290
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2291
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1357
2292
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1358
|
-
|
|
2293
|
+
resourceLocationConfig: "location"
|
|
1359
2294
|
});
|
|
1360
2295
|
yield poller.poll();
|
|
1361
2296
|
return poller;
|
|
@@ -1363,7 +2298,7 @@ class OrganizationImpl {
|
|
|
1363
2298
|
}
|
|
1364
2299
|
/**
|
|
1365
2300
|
* Delete Organization resource
|
|
1366
|
-
* @param resourceGroupName
|
|
2301
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1367
2302
|
* @param organizationName Organization resource name
|
|
1368
2303
|
* @param options The options parameters.
|
|
1369
2304
|
*/
|
|
@@ -1383,7 +2318,7 @@ class OrganizationImpl {
|
|
|
1383
2318
|
}
|
|
1384
2319
|
/**
|
|
1385
2320
|
* ListByResourceGroupNext
|
|
1386
|
-
* @param resourceGroupName
|
|
2321
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1387
2322
|
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
1388
2323
|
* @param options The options parameters.
|
|
1389
2324
|
*/
|
|
@@ -1392,7 +2327,7 @@ class OrganizationImpl {
|
|
|
1392
2327
|
}
|
|
1393
2328
|
}
|
|
1394
2329
|
// Operation Specifications
|
|
1395
|
-
const serializer$
|
|
2330
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1396
2331
|
const listBySubscriptionOperationSpec = {
|
|
1397
2332
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations",
|
|
1398
2333
|
httpMethod: "GET",
|
|
@@ -1407,7 +2342,7 @@ const listBySubscriptionOperationSpec = {
|
|
|
1407
2342
|
queryParameters: [apiVersion],
|
|
1408
2343
|
urlParameters: [$host, subscriptionId],
|
|
1409
2344
|
headerParameters: [accept],
|
|
1410
|
-
serializer: serializer$
|
|
2345
|
+
serializer: serializer$2
|
|
1411
2346
|
};
|
|
1412
2347
|
const listByResourceGroupOperationSpec = {
|
|
1413
2348
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations",
|
|
@@ -1427,7 +2362,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
1427
2362
|
resourceGroupName
|
|
1428
2363
|
],
|
|
1429
2364
|
headerParameters: [accept],
|
|
1430
|
-
serializer: serializer$
|
|
2365
|
+
serializer: serializer$2
|
|
1431
2366
|
};
|
|
1432
2367
|
const getOperationSpec = {
|
|
1433
2368
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
@@ -1448,7 +2383,7 @@ const getOperationSpec = {
|
|
|
1448
2383
|
organizationName
|
|
1449
2384
|
],
|
|
1450
2385
|
headerParameters: [accept],
|
|
1451
|
-
serializer: serializer$
|
|
2386
|
+
serializer: serializer$2
|
|
1452
2387
|
};
|
|
1453
2388
|
const createOperationSpec = {
|
|
1454
2389
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
@@ -1480,7 +2415,7 @@ const createOperationSpec = {
|
|
|
1480
2415
|
],
|
|
1481
2416
|
headerParameters: [accept, contentType],
|
|
1482
2417
|
mediaType: "json",
|
|
1483
|
-
serializer: serializer$
|
|
2418
|
+
serializer: serializer$2
|
|
1484
2419
|
};
|
|
1485
2420
|
const updateOperationSpec = {
|
|
1486
2421
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
@@ -1503,7 +2438,7 @@ const updateOperationSpec = {
|
|
|
1503
2438
|
],
|
|
1504
2439
|
headerParameters: [accept, contentType],
|
|
1505
2440
|
mediaType: "json",
|
|
1506
|
-
serializer: serializer$
|
|
2441
|
+
serializer: serializer$2
|
|
1507
2442
|
};
|
|
1508
2443
|
const deleteOperationSpec = {
|
|
1509
2444
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}",
|
|
@@ -1525,7 +2460,7 @@ const deleteOperationSpec = {
|
|
|
1525
2460
|
organizationName
|
|
1526
2461
|
],
|
|
1527
2462
|
headerParameters: [accept],
|
|
1528
|
-
serializer: serializer$
|
|
2463
|
+
serializer: serializer$2
|
|
1529
2464
|
};
|
|
1530
2465
|
const listBySubscriptionNextOperationSpec = {
|
|
1531
2466
|
path: "{nextLink}",
|
|
@@ -1538,14 +2473,13 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
1538
2473
|
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1539
2474
|
}
|
|
1540
2475
|
},
|
|
1541
|
-
queryParameters: [apiVersion],
|
|
1542
2476
|
urlParameters: [
|
|
1543
2477
|
$host,
|
|
1544
2478
|
subscriptionId,
|
|
1545
2479
|
nextLink
|
|
1546
2480
|
],
|
|
1547
2481
|
headerParameters: [accept],
|
|
1548
|
-
serializer: serializer$
|
|
2482
|
+
serializer: serializer$2
|
|
1549
2483
|
};
|
|
1550
2484
|
const listByResourceGroupNextOperationSpec = {
|
|
1551
2485
|
path: "{nextLink}",
|
|
@@ -1558,7 +2492,6 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
1558
2492
|
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
1559
2493
|
}
|
|
1560
2494
|
},
|
|
1561
|
-
queryParameters: [apiVersion],
|
|
1562
2495
|
urlParameters: [
|
|
1563
2496
|
$host,
|
|
1564
2497
|
subscriptionId,
|
|
@@ -1566,7 +2499,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
1566
2499
|
resourceGroupName
|
|
1567
2500
|
],
|
|
1568
2501
|
headerParameters: [accept],
|
|
1569
|
-
serializer: serializer$
|
|
2502
|
+
serializer: serializer$2
|
|
1570
2503
|
};
|
|
1571
2504
|
|
|
1572
2505
|
/*
|
|
@@ -1587,7 +2520,7 @@ class ValidationsImpl {
|
|
|
1587
2520
|
}
|
|
1588
2521
|
/**
|
|
1589
2522
|
* Organization Validate proxy resource
|
|
1590
|
-
* @param resourceGroupName
|
|
2523
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1591
2524
|
* @param organizationName Organization resource name
|
|
1592
2525
|
* @param body Organization resource model
|
|
1593
2526
|
* @param options The options parameters.
|
|
@@ -1595,9 +2528,19 @@ class ValidationsImpl {
|
|
|
1595
2528
|
validateOrganization(resourceGroupName, organizationName, body, options) {
|
|
1596
2529
|
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, validateOrganizationOperationSpec);
|
|
1597
2530
|
}
|
|
2531
|
+
/**
|
|
2532
|
+
* Organization Validate proxy resource
|
|
2533
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2534
|
+
* @param organizationName Organization resource name
|
|
2535
|
+
* @param body Organization resource model
|
|
2536
|
+
* @param options The options parameters.
|
|
2537
|
+
*/
|
|
2538
|
+
validateOrganizationV2(resourceGroupName, organizationName, body, options) {
|
|
2539
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, validateOrganizationV2OperationSpec);
|
|
2540
|
+
}
|
|
1598
2541
|
}
|
|
1599
2542
|
// Operation Specifications
|
|
1600
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2543
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1601
2544
|
const validateOrganizationOperationSpec = {
|
|
1602
2545
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidate",
|
|
1603
2546
|
httpMethod: "POST",
|
|
@@ -1619,7 +2562,30 @@ const validateOrganizationOperationSpec = {
|
|
|
1619
2562
|
],
|
|
1620
2563
|
headerParameters: [accept, contentType],
|
|
1621
2564
|
mediaType: "json",
|
|
1622
|
-
serializer
|
|
2565
|
+
serializer: serializer$1
|
|
2566
|
+
};
|
|
2567
|
+
const validateOrganizationV2OperationSpec = {
|
|
2568
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/validations/{organizationName}/orgvalidateV2",
|
|
2569
|
+
httpMethod: "POST",
|
|
2570
|
+
responses: {
|
|
2571
|
+
200: {
|
|
2572
|
+
bodyMapper: ValidationResponse
|
|
2573
|
+
},
|
|
2574
|
+
default: {
|
|
2575
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2576
|
+
}
|
|
2577
|
+
},
|
|
2578
|
+
requestBody: body3,
|
|
2579
|
+
queryParameters: [apiVersion],
|
|
2580
|
+
urlParameters: [
|
|
2581
|
+
$host,
|
|
2582
|
+
subscriptionId,
|
|
2583
|
+
resourceGroupName,
|
|
2584
|
+
organizationName
|
|
2585
|
+
],
|
|
2586
|
+
headerParameters: [accept, contentType],
|
|
2587
|
+
mediaType: "json",
|
|
2588
|
+
serializer: serializer$1
|
|
1623
2589
|
};
|
|
1624
2590
|
|
|
1625
2591
|
/*
|
|
@@ -1629,20 +2595,269 @@ const validateOrganizationOperationSpec = {
|
|
|
1629
2595
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1630
2596
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1631
2597
|
*/
|
|
1632
|
-
|
|
2598
|
+
/** Class containing Access operations. */
|
|
2599
|
+
class AccessImpl {
|
|
2600
|
+
/**
|
|
2601
|
+
* Initialize a new instance of the class Access class.
|
|
2602
|
+
* @param client Reference to the service client
|
|
2603
|
+
*/
|
|
2604
|
+
constructor(client) {
|
|
2605
|
+
this.client = client;
|
|
2606
|
+
}
|
|
2607
|
+
/**
|
|
2608
|
+
* Organization users details
|
|
2609
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2610
|
+
* @param organizationName Organization resource name
|
|
2611
|
+
* @param body List Access Request Model
|
|
2612
|
+
* @param options The options parameters.
|
|
2613
|
+
*/
|
|
2614
|
+
listUsers(resourceGroupName, organizationName, body, options) {
|
|
2615
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listUsersOperationSpec);
|
|
2616
|
+
}
|
|
2617
|
+
/**
|
|
2618
|
+
* Organization service accounts details
|
|
2619
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2620
|
+
* @param organizationName Organization resource name
|
|
2621
|
+
* @param body List Access Request Model
|
|
2622
|
+
* @param options The options parameters.
|
|
2623
|
+
*/
|
|
2624
|
+
listServiceAccounts(resourceGroupName, organizationName, body, options) {
|
|
2625
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listServiceAccountsOperationSpec);
|
|
2626
|
+
}
|
|
2627
|
+
/**
|
|
2628
|
+
* Organization accounts invitation details
|
|
2629
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2630
|
+
* @param organizationName Organization resource name
|
|
2631
|
+
* @param body List Access Request Model
|
|
2632
|
+
* @param options The options parameters.
|
|
2633
|
+
*/
|
|
2634
|
+
listInvitations(resourceGroupName, organizationName, body, options) {
|
|
2635
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listInvitationsOperationSpec);
|
|
2636
|
+
}
|
|
2637
|
+
/**
|
|
2638
|
+
* Invite user to the organization
|
|
2639
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2640
|
+
* @param organizationName Organization resource name
|
|
2641
|
+
* @param body Invite user account model
|
|
2642
|
+
* @param options The options parameters.
|
|
2643
|
+
*/
|
|
2644
|
+
inviteUser(resourceGroupName, organizationName, body, options) {
|
|
2645
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, inviteUserOperationSpec);
|
|
2646
|
+
}
|
|
2647
|
+
/**
|
|
2648
|
+
* Environment list of an organization
|
|
2649
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2650
|
+
* @param organizationName Organization resource name
|
|
2651
|
+
* @param body List Access Request Model
|
|
2652
|
+
* @param options The options parameters.
|
|
2653
|
+
*/
|
|
2654
|
+
listEnvironments(resourceGroupName, organizationName, body, options) {
|
|
2655
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listEnvironmentsOperationSpec);
|
|
2656
|
+
}
|
|
2657
|
+
/**
|
|
2658
|
+
* Cluster details
|
|
2659
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2660
|
+
* @param organizationName Organization resource name
|
|
2661
|
+
* @param body List Access Request Model
|
|
2662
|
+
* @param options The options parameters.
|
|
2663
|
+
*/
|
|
2664
|
+
listClusters(resourceGroupName, organizationName, body, options) {
|
|
2665
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listClustersOperationSpec);
|
|
2666
|
+
}
|
|
1633
2667
|
/**
|
|
1634
|
-
*
|
|
1635
|
-
* @param
|
|
1636
|
-
* @param
|
|
1637
|
-
* @param
|
|
2668
|
+
* Organization role bindings
|
|
2669
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2670
|
+
* @param organizationName Organization resource name
|
|
2671
|
+
* @param body List Access Request Model
|
|
2672
|
+
* @param options The options parameters.
|
|
1638
2673
|
*/
|
|
1639
|
-
|
|
2674
|
+
listRoleBindings(resourceGroupName, organizationName, body, options) {
|
|
2675
|
+
return this.client.sendOperationRequest({ resourceGroupName, organizationName, body, options }, listRoleBindingsOperationSpec);
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
// Operation Specifications
|
|
2679
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2680
|
+
const listUsersOperationSpec = {
|
|
2681
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listUsers",
|
|
2682
|
+
httpMethod: "POST",
|
|
2683
|
+
responses: {
|
|
2684
|
+
200: {
|
|
2685
|
+
bodyMapper: AccessListUsersSuccessResponse
|
|
2686
|
+
},
|
|
2687
|
+
default: {
|
|
2688
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2689
|
+
}
|
|
2690
|
+
},
|
|
2691
|
+
requestBody: body4,
|
|
2692
|
+
queryParameters: [apiVersion],
|
|
2693
|
+
urlParameters: [
|
|
2694
|
+
$host,
|
|
2695
|
+
subscriptionId,
|
|
2696
|
+
resourceGroupName,
|
|
2697
|
+
organizationName
|
|
2698
|
+
],
|
|
2699
|
+
headerParameters: [accept, contentType],
|
|
2700
|
+
mediaType: "json",
|
|
2701
|
+
serializer
|
|
2702
|
+
};
|
|
2703
|
+
const listServiceAccountsOperationSpec = {
|
|
2704
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listServiceAccounts",
|
|
2705
|
+
httpMethod: "POST",
|
|
2706
|
+
responses: {
|
|
2707
|
+
200: {
|
|
2708
|
+
bodyMapper: AccessListServiceAccountsSuccessResponse
|
|
2709
|
+
},
|
|
2710
|
+
default: {
|
|
2711
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
requestBody: body4,
|
|
2715
|
+
queryParameters: [apiVersion],
|
|
2716
|
+
urlParameters: [
|
|
2717
|
+
$host,
|
|
2718
|
+
subscriptionId,
|
|
2719
|
+
resourceGroupName,
|
|
2720
|
+
organizationName
|
|
2721
|
+
],
|
|
2722
|
+
headerParameters: [accept, contentType],
|
|
2723
|
+
mediaType: "json",
|
|
2724
|
+
serializer
|
|
2725
|
+
};
|
|
2726
|
+
const listInvitationsOperationSpec = {
|
|
2727
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listInvitations",
|
|
2728
|
+
httpMethod: "POST",
|
|
2729
|
+
responses: {
|
|
2730
|
+
200: {
|
|
2731
|
+
bodyMapper: AccessListInvitationsSuccessResponse
|
|
2732
|
+
},
|
|
2733
|
+
default: {
|
|
2734
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2735
|
+
}
|
|
2736
|
+
},
|
|
2737
|
+
requestBody: body4,
|
|
2738
|
+
queryParameters: [apiVersion],
|
|
2739
|
+
urlParameters: [
|
|
2740
|
+
$host,
|
|
2741
|
+
subscriptionId,
|
|
2742
|
+
resourceGroupName,
|
|
2743
|
+
organizationName
|
|
2744
|
+
],
|
|
2745
|
+
headerParameters: [accept, contentType],
|
|
2746
|
+
mediaType: "json",
|
|
2747
|
+
serializer
|
|
2748
|
+
};
|
|
2749
|
+
const inviteUserOperationSpec = {
|
|
2750
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/createInvitation",
|
|
2751
|
+
httpMethod: "POST",
|
|
2752
|
+
responses: {
|
|
2753
|
+
200: {
|
|
2754
|
+
bodyMapper: InvitationRecord
|
|
2755
|
+
},
|
|
2756
|
+
default: {
|
|
2757
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
requestBody: body5,
|
|
2761
|
+
queryParameters: [apiVersion],
|
|
2762
|
+
urlParameters: [
|
|
2763
|
+
$host,
|
|
2764
|
+
subscriptionId,
|
|
2765
|
+
resourceGroupName,
|
|
2766
|
+
organizationName
|
|
2767
|
+
],
|
|
2768
|
+
headerParameters: [accept, contentType],
|
|
2769
|
+
mediaType: "json",
|
|
2770
|
+
serializer
|
|
2771
|
+
};
|
|
2772
|
+
const listEnvironmentsOperationSpec = {
|
|
2773
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listEnvironments",
|
|
2774
|
+
httpMethod: "POST",
|
|
2775
|
+
responses: {
|
|
2776
|
+
200: {
|
|
2777
|
+
bodyMapper: AccessListEnvironmentsSuccessResponse
|
|
2778
|
+
},
|
|
2779
|
+
default: {
|
|
2780
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
requestBody: body4,
|
|
2784
|
+
queryParameters: [apiVersion],
|
|
2785
|
+
urlParameters: [
|
|
2786
|
+
$host,
|
|
2787
|
+
subscriptionId,
|
|
2788
|
+
resourceGroupName,
|
|
2789
|
+
organizationName
|
|
2790
|
+
],
|
|
2791
|
+
headerParameters: [accept, contentType],
|
|
2792
|
+
mediaType: "json",
|
|
2793
|
+
serializer
|
|
2794
|
+
};
|
|
2795
|
+
const listClustersOperationSpec = {
|
|
2796
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listClusters",
|
|
2797
|
+
httpMethod: "POST",
|
|
2798
|
+
responses: {
|
|
2799
|
+
200: {
|
|
2800
|
+
bodyMapper: AccessListClusterSuccessResponse
|
|
2801
|
+
},
|
|
2802
|
+
default: {
|
|
2803
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2804
|
+
}
|
|
2805
|
+
},
|
|
2806
|
+
requestBody: body4,
|
|
2807
|
+
queryParameters: [apiVersion],
|
|
2808
|
+
urlParameters: [
|
|
2809
|
+
$host,
|
|
2810
|
+
subscriptionId,
|
|
2811
|
+
resourceGroupName,
|
|
2812
|
+
organizationName
|
|
2813
|
+
],
|
|
2814
|
+
headerParameters: [accept, contentType],
|
|
2815
|
+
mediaType: "json",
|
|
2816
|
+
serializer
|
|
2817
|
+
};
|
|
2818
|
+
const listRoleBindingsOperationSpec = {
|
|
2819
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/listRoleBindings",
|
|
2820
|
+
httpMethod: "POST",
|
|
2821
|
+
responses: {
|
|
2822
|
+
200: {
|
|
2823
|
+
bodyMapper: AccessListRoleBindingsSuccessResponse
|
|
2824
|
+
},
|
|
2825
|
+
default: {
|
|
2826
|
+
bodyMapper: ResourceProviderDefaultErrorResponse
|
|
2827
|
+
}
|
|
2828
|
+
},
|
|
2829
|
+
requestBody: body4,
|
|
2830
|
+
queryParameters: [apiVersion],
|
|
2831
|
+
urlParameters: [
|
|
2832
|
+
$host,
|
|
2833
|
+
subscriptionId,
|
|
2834
|
+
resourceGroupName,
|
|
2835
|
+
organizationName
|
|
2836
|
+
],
|
|
2837
|
+
headerParameters: [accept, contentType],
|
|
2838
|
+
mediaType: "json",
|
|
2839
|
+
serializer
|
|
2840
|
+
};
|
|
2841
|
+
|
|
2842
|
+
/*
|
|
2843
|
+
* Copyright (c) Microsoft Corporation.
|
|
2844
|
+
* Licensed under the MIT License.
|
|
2845
|
+
*
|
|
2846
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2847
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2848
|
+
*/
|
|
2849
|
+
class ConfluentManagementClient extends coreClient__namespace.ServiceClient {
|
|
2850
|
+
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
1640
2851
|
var _a, _b, _c;
|
|
1641
2852
|
if (credentials === undefined) {
|
|
1642
2853
|
throw new Error("'credentials' cannot be null");
|
|
1643
2854
|
}
|
|
1644
|
-
|
|
1645
|
-
|
|
2855
|
+
let subscriptionId;
|
|
2856
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
2857
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
2858
|
+
}
|
|
2859
|
+
else if (typeof subscriptionIdOrOptions === "object") {
|
|
2860
|
+
options = subscriptionIdOrOptions;
|
|
1646
2861
|
}
|
|
1647
2862
|
// Initializing default values for options
|
|
1648
2863
|
if (!options) {
|
|
@@ -1652,7 +2867,7 @@ class ConfluentManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
1652
2867
|
requestContentType: "application/json; charset=utf-8",
|
|
1653
2868
|
credential: credentials
|
|
1654
2869
|
};
|
|
1655
|
-
const packageDetails = `azsdk-js-arm-confluent/3.0.0
|
|
2870
|
+
const packageDetails = `azsdk-js-arm-confluent/3.0.0`;
|
|
1656
2871
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
1657
2872
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
1658
2873
|
: `${packageDetails}`;
|
|
@@ -1685,11 +2900,12 @@ class ConfluentManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
1685
2900
|
this.subscriptionId = subscriptionId;
|
|
1686
2901
|
// Assigning values to Constant parameters
|
|
1687
2902
|
this.$host = options.$host || "https://management.azure.com";
|
|
1688
|
-
this.apiVersion = options.apiVersion || "
|
|
2903
|
+
this.apiVersion = options.apiVersion || "2023-08-22";
|
|
1689
2904
|
this.marketplaceAgreements = new MarketplaceAgreementsImpl(this);
|
|
1690
2905
|
this.organizationOperations = new OrganizationOperationsImpl(this);
|
|
1691
2906
|
this.organization = new OrganizationImpl(this);
|
|
1692
2907
|
this.validations = new ValidationsImpl(this);
|
|
2908
|
+
this.access = new AccessImpl(this);
|
|
1693
2909
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
1694
2910
|
}
|
|
1695
2911
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|