@azure/arm-keyvault 2.1.0-alpha.20221101.1 → 2.1.0-alpha.20221202.3
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 +12 -3
- package/dist/index.js +450 -110
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/keyVaultManagementClient.d.ts +2 -0
- package/dist-esm/src/keyVaultManagementClient.d.ts.map +1 -1
- package/dist-esm/src/keyVaultManagementClient.js +49 -18
- package/dist-esm/src/keyVaultManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +132 -15
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +107 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +26 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/operations/keys.d.ts.map +1 -1
- package/dist-esm/src/operations/keys.js +37 -14
- package/dist-esm/src/operations/keys.js.map +1 -1
- package/dist-esm/src/operations/managedHsms.d.ts.map +1 -1
- package/dist-esm/src/operations/managedHsms.js +55 -21
- package/dist-esm/src/operations/managedHsms.js.map +1 -1
- package/dist-esm/src/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/mhsmPrivateEndpointConnections.js +19 -7
- package/dist-esm/src/operations/mhsmPrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +19 -7
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/secrets.d.ts.map +1 -1
- package/dist-esm/src/operations/secrets.js +19 -7
- package/dist-esm/src/operations/secrets.js.map +1 -1
- package/dist-esm/src/operations/vaults.d.ts.map +1 -1
- package/dist-esm/src/operations/vaults.js +73 -28
- package/dist-esm/src/operations/vaults.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/keyvault_examples.d.ts.map +1 -1
- package/dist-esm/test/keyvault_examples.js +17 -19
- package/dist-esm/test/keyvault_examples.js.map +1 -1
- package/package.json +12 -8
- package/review/arm-keyvault.api.md +30 -123
- package/src/index.ts +1 -0
- package/src/keyVaultManagementClient.ts +60 -20
- package/src/models/index.ts +132 -15
- package/src/models/mappers.ts +27 -0
- package/src/operations/keys.ts +53 -22
- package/src/operations/managedHsms.ts +66 -25
- package/src/operations/mhsmPrivateEndpointConnections.ts +26 -8
- package/src/operations/operations.ts +21 -8
- package/src/operations/privateEndpointConnections.ts +27 -13
- package/src/operations/secrets.ts +27 -9
- package/src/operations/vaults.ts +86 -33
- package/src/pagingHelper.ts +39 -0
- package/types/arm-keyvault.d.ts +144 -15
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface PageInfo {
|
|
10
|
+
continuationToken?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Given a result page from a pageable operation, returns a
|
|
17
|
+
* continuation token that can be used to begin paging from
|
|
18
|
+
* that point later.
|
|
19
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
20
|
+
* @returns The continuation token that can be passed into byPage().
|
|
21
|
+
*/
|
|
22
|
+
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
+
if (typeof page !== "object" || page === null) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return pageMap.get(page)?.continuationToken;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function setContinuationToken(
|
|
30
|
+
page: unknown,
|
|
31
|
+
continuationToken: string | undefined
|
|
32
|
+
): void {
|
|
33
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
+
pageInfo.continuationToken = continuationToken;
|
|
38
|
+
pageMap.set(page, pageInfo);
|
|
39
|
+
}
|
package/types/arm-keyvault.d.ts
CHANGED
|
@@ -284,6 +284,15 @@ export declare interface ErrorModel {
|
|
|
284
284
|
readonly innerError?: ErrorModel;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
+
/**
|
|
288
|
+
* Given a result page from a pageable operation, returns a
|
|
289
|
+
* continuation token that can be used to begin paging from
|
|
290
|
+
* that point later.
|
|
291
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
292
|
+
* @returns The continuation token that can be passed into byPage().
|
|
293
|
+
*/
|
|
294
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
295
|
+
|
|
287
296
|
/**
|
|
288
297
|
* Defines values for IdentityType. \
|
|
289
298
|
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
@@ -343,7 +352,7 @@ export declare type JsonWebKeyOperation = string;
|
|
|
343
352
|
export declare type JsonWebKeyType = string;
|
|
344
353
|
|
|
345
354
|
/** The key resource. */
|
|
346
|
-
export declare
|
|
355
|
+
export declare interface Key extends Resource {
|
|
347
356
|
/** The attributes of the key. */
|
|
348
357
|
attributes?: KeyAttributes;
|
|
349
358
|
/** The type of the key. For valid values, see JsonWebKeyType. */
|
|
@@ -367,7 +376,7 @@ export declare type Key = Resource & {
|
|
|
367
376
|
rotationPolicy?: RotationPolicy;
|
|
368
377
|
/** Key release policy in response. It will be used for both output and input. Omitted if empty */
|
|
369
378
|
releasePolicy?: KeyReleasePolicy;
|
|
370
|
-
}
|
|
379
|
+
}
|
|
371
380
|
|
|
372
381
|
/** The object attributes managed by the Azure Key Vault service. */
|
|
373
382
|
export declare interface KeyAttributes {
|
|
@@ -603,6 +612,8 @@ export declare class KeyVaultManagementClient extends coreClient.ServiceClient {
|
|
|
603
612
|
* @param options The parameter options
|
|
604
613
|
*/
|
|
605
614
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: KeyVaultManagementClientOptionalParams);
|
|
615
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
616
|
+
private addCustomApiVersionPolicy;
|
|
606
617
|
keys: Keys;
|
|
607
618
|
vaults: Vaults;
|
|
608
619
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
@@ -626,131 +637,209 @@ export declare interface KeyVaultManagementClientOptionalParams extends coreClie
|
|
|
626
637
|
|
|
627
638
|
/** Known values of {@link ActionsRequired} that the service accepts. */
|
|
628
639
|
export declare enum KnownActionsRequired {
|
|
640
|
+
/** None */
|
|
629
641
|
None = "None"
|
|
630
642
|
}
|
|
631
643
|
|
|
632
644
|
/** Known values of {@link CertificatePermissions} that the service accepts. */
|
|
633
645
|
export declare enum KnownCertificatePermissions {
|
|
646
|
+
/** All */
|
|
634
647
|
All = "all",
|
|
648
|
+
/** Get */
|
|
635
649
|
Get = "get",
|
|
650
|
+
/** List */
|
|
636
651
|
List = "list",
|
|
652
|
+
/** Delete */
|
|
637
653
|
Delete = "delete",
|
|
654
|
+
/** Create */
|
|
638
655
|
Create = "create",
|
|
656
|
+
/** Import */
|
|
639
657
|
Import = "import",
|
|
658
|
+
/** Update */
|
|
640
659
|
Update = "update",
|
|
660
|
+
/** Managecontacts */
|
|
641
661
|
Managecontacts = "managecontacts",
|
|
662
|
+
/** Getissuers */
|
|
642
663
|
Getissuers = "getissuers",
|
|
664
|
+
/** Listissuers */
|
|
643
665
|
Listissuers = "listissuers",
|
|
666
|
+
/** Setissuers */
|
|
644
667
|
Setissuers = "setissuers",
|
|
668
|
+
/** Deleteissuers */
|
|
645
669
|
Deleteissuers = "deleteissuers",
|
|
670
|
+
/** Manageissuers */
|
|
646
671
|
Manageissuers = "manageissuers",
|
|
672
|
+
/** Recover */
|
|
647
673
|
Recover = "recover",
|
|
674
|
+
/** Purge */
|
|
648
675
|
Purge = "purge",
|
|
676
|
+
/** Backup */
|
|
649
677
|
Backup = "backup",
|
|
678
|
+
/** Restore */
|
|
650
679
|
Restore = "restore"
|
|
651
680
|
}
|
|
652
681
|
|
|
653
682
|
/** Known values of {@link DeletionRecoveryLevel} that the service accepts. */
|
|
654
683
|
export declare enum KnownDeletionRecoveryLevel {
|
|
684
|
+
/** Purgeable */
|
|
655
685
|
Purgeable = "Purgeable",
|
|
686
|
+
/** RecoverablePurgeable */
|
|
656
687
|
RecoverablePurgeable = "Recoverable+Purgeable",
|
|
688
|
+
/** Recoverable */
|
|
657
689
|
Recoverable = "Recoverable",
|
|
690
|
+
/** RecoverableProtectedSubscription */
|
|
658
691
|
RecoverableProtectedSubscription = "Recoverable+ProtectedSubscription"
|
|
659
692
|
}
|
|
660
693
|
|
|
661
694
|
/** Known values of {@link IdentityType} that the service accepts. */
|
|
662
695
|
export declare enum KnownIdentityType {
|
|
696
|
+
/** User */
|
|
663
697
|
User = "User",
|
|
698
|
+
/** Application */
|
|
664
699
|
Application = "Application",
|
|
700
|
+
/** ManagedIdentity */
|
|
665
701
|
ManagedIdentity = "ManagedIdentity",
|
|
702
|
+
/** Key */
|
|
666
703
|
Key = "Key"
|
|
667
704
|
}
|
|
668
705
|
|
|
669
706
|
/** Known values of {@link JsonWebKeyCurveName} that the service accepts. */
|
|
670
707
|
export declare enum KnownJsonWebKeyCurveName {
|
|
708
|
+
/** P256 */
|
|
671
709
|
P256 = "P-256",
|
|
710
|
+
/** P384 */
|
|
672
711
|
P384 = "P-384",
|
|
712
|
+
/** P521 */
|
|
673
713
|
P521 = "P-521",
|
|
714
|
+
/** P256K */
|
|
674
715
|
P256K = "P-256K"
|
|
675
716
|
}
|
|
676
717
|
|
|
677
718
|
/** Known values of {@link JsonWebKeyOperation} that the service accepts. */
|
|
678
719
|
export declare enum KnownJsonWebKeyOperation {
|
|
720
|
+
/** Encrypt */
|
|
679
721
|
Encrypt = "encrypt",
|
|
722
|
+
/** Decrypt */
|
|
680
723
|
Decrypt = "decrypt",
|
|
724
|
+
/** Sign */
|
|
681
725
|
Sign = "sign",
|
|
726
|
+
/** Verify */
|
|
682
727
|
Verify = "verify",
|
|
728
|
+
/** WrapKey */
|
|
683
729
|
WrapKey = "wrapKey",
|
|
730
|
+
/** UnwrapKey */
|
|
684
731
|
UnwrapKey = "unwrapKey",
|
|
732
|
+
/** Import */
|
|
685
733
|
Import = "import",
|
|
734
|
+
/** Release */
|
|
686
735
|
Release = "release"
|
|
687
736
|
}
|
|
688
737
|
|
|
689
738
|
/** Known values of {@link JsonWebKeyType} that the service accepts. */
|
|
690
739
|
export declare enum KnownJsonWebKeyType {
|
|
740
|
+
/** EC */
|
|
691
741
|
EC = "EC",
|
|
742
|
+
/** ECHSM */
|
|
692
743
|
ECHSM = "EC-HSM",
|
|
744
|
+
/** RSA */
|
|
693
745
|
RSA = "RSA",
|
|
746
|
+
/** RSAHSM */
|
|
694
747
|
RSAHSM = "RSA-HSM"
|
|
695
748
|
}
|
|
696
749
|
|
|
697
750
|
/** Known values of {@link KeyPermissions} that the service accepts. */
|
|
698
751
|
export declare enum KnownKeyPermissions {
|
|
752
|
+
/** All */
|
|
699
753
|
All = "all",
|
|
754
|
+
/** Encrypt */
|
|
700
755
|
Encrypt = "encrypt",
|
|
756
|
+
/** Decrypt */
|
|
701
757
|
Decrypt = "decrypt",
|
|
758
|
+
/** WrapKey */
|
|
702
759
|
WrapKey = "wrapKey",
|
|
760
|
+
/** UnwrapKey */
|
|
703
761
|
UnwrapKey = "unwrapKey",
|
|
762
|
+
/** Sign */
|
|
704
763
|
Sign = "sign",
|
|
764
|
+
/** Verify */
|
|
705
765
|
Verify = "verify",
|
|
766
|
+
/** Get */
|
|
706
767
|
Get = "get",
|
|
768
|
+
/** List */
|
|
707
769
|
List = "list",
|
|
770
|
+
/** Create */
|
|
708
771
|
Create = "create",
|
|
772
|
+
/** Update */
|
|
709
773
|
Update = "update",
|
|
774
|
+
/** Import */
|
|
710
775
|
Import = "import",
|
|
776
|
+
/** Delete */
|
|
711
777
|
Delete = "delete",
|
|
778
|
+
/** Backup */
|
|
712
779
|
Backup = "backup",
|
|
780
|
+
/** Restore */
|
|
713
781
|
Restore = "restore",
|
|
782
|
+
/** Recover */
|
|
714
783
|
Recover = "recover",
|
|
784
|
+
/** Purge */
|
|
715
785
|
Purge = "purge",
|
|
786
|
+
/** Release */
|
|
716
787
|
Release = "release",
|
|
788
|
+
/** Rotate */
|
|
717
789
|
Rotate = "rotate",
|
|
790
|
+
/** Getrotationpolicy */
|
|
718
791
|
Getrotationpolicy = "getrotationpolicy",
|
|
792
|
+
/** Setrotationpolicy */
|
|
719
793
|
Setrotationpolicy = "setrotationpolicy"
|
|
720
794
|
}
|
|
721
795
|
|
|
722
796
|
/** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
|
|
723
797
|
export declare enum KnownManagedHsmSkuFamily {
|
|
798
|
+
/** B */
|
|
724
799
|
B = "B"
|
|
725
800
|
}
|
|
726
801
|
|
|
727
802
|
/** Known values of {@link NetworkRuleAction} that the service accepts. */
|
|
728
803
|
export declare enum KnownNetworkRuleAction {
|
|
804
|
+
/** Allow */
|
|
729
805
|
Allow = "Allow",
|
|
806
|
+
/** Deny */
|
|
730
807
|
Deny = "Deny"
|
|
731
808
|
}
|
|
732
809
|
|
|
733
810
|
/** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
|
|
734
811
|
export declare enum KnownNetworkRuleBypassOptions {
|
|
812
|
+
/** AzureServices */
|
|
735
813
|
AzureServices = "AzureServices",
|
|
814
|
+
/** None */
|
|
736
815
|
None = "None"
|
|
737
816
|
}
|
|
738
817
|
|
|
739
818
|
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
740
819
|
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
820
|
+
/** Succeeded */
|
|
741
821
|
Succeeded = "Succeeded",
|
|
822
|
+
/** Creating */
|
|
742
823
|
Creating = "Creating",
|
|
824
|
+
/** Updating */
|
|
743
825
|
Updating = "Updating",
|
|
826
|
+
/** Deleting */
|
|
744
827
|
Deleting = "Deleting",
|
|
828
|
+
/** Failed */
|
|
745
829
|
Failed = "Failed",
|
|
830
|
+
/** Disconnected */
|
|
746
831
|
Disconnected = "Disconnected"
|
|
747
832
|
}
|
|
748
833
|
|
|
749
834
|
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
750
835
|
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
836
|
+
/** Pending */
|
|
751
837
|
Pending = "Pending",
|
|
838
|
+
/** Approved */
|
|
752
839
|
Approved = "Approved",
|
|
840
|
+
/** Rejected */
|
|
753
841
|
Rejected = "Rejected",
|
|
842
|
+
/** Disconnected */
|
|
754
843
|
Disconnected = "Disconnected"
|
|
755
844
|
}
|
|
756
845
|
|
|
@@ -776,50 +865,79 @@ export declare enum KnownProvisioningState {
|
|
|
776
865
|
|
|
777
866
|
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
778
867
|
export declare enum KnownPublicNetworkAccess {
|
|
868
|
+
/** Enabled */
|
|
779
869
|
Enabled = "Enabled",
|
|
870
|
+
/** Disabled */
|
|
780
871
|
Disabled = "Disabled"
|
|
781
872
|
}
|
|
782
873
|
|
|
783
874
|
/** Known values of {@link SecretPermissions} that the service accepts. */
|
|
784
875
|
export declare enum KnownSecretPermissions {
|
|
876
|
+
/** All */
|
|
785
877
|
All = "all",
|
|
878
|
+
/** Get */
|
|
786
879
|
Get = "get",
|
|
880
|
+
/** List */
|
|
787
881
|
List = "list",
|
|
882
|
+
/** Set */
|
|
788
883
|
Set = "set",
|
|
884
|
+
/** Delete */
|
|
789
885
|
Delete = "delete",
|
|
886
|
+
/** Backup */
|
|
790
887
|
Backup = "backup",
|
|
888
|
+
/** Restore */
|
|
791
889
|
Restore = "restore",
|
|
890
|
+
/** Recover */
|
|
792
891
|
Recover = "recover",
|
|
892
|
+
/** Purge */
|
|
793
893
|
Purge = "purge"
|
|
794
894
|
}
|
|
795
895
|
|
|
796
896
|
/** Known values of {@link SkuFamily} that the service accepts. */
|
|
797
897
|
export declare enum KnownSkuFamily {
|
|
898
|
+
/** A */
|
|
798
899
|
A = "A"
|
|
799
900
|
}
|
|
800
901
|
|
|
801
902
|
/** Known values of {@link StoragePermissions} that the service accepts. */
|
|
802
903
|
export declare enum KnownStoragePermissions {
|
|
904
|
+
/** All */
|
|
803
905
|
All = "all",
|
|
906
|
+
/** Get */
|
|
804
907
|
Get = "get",
|
|
908
|
+
/** List */
|
|
805
909
|
List = "list",
|
|
910
|
+
/** Delete */
|
|
806
911
|
Delete = "delete",
|
|
912
|
+
/** Set */
|
|
807
913
|
Set = "set",
|
|
914
|
+
/** Update */
|
|
808
915
|
Update = "update",
|
|
916
|
+
/** Regeneratekey */
|
|
809
917
|
Regeneratekey = "regeneratekey",
|
|
918
|
+
/** Recover */
|
|
810
919
|
Recover = "recover",
|
|
920
|
+
/** Purge */
|
|
811
921
|
Purge = "purge",
|
|
922
|
+
/** Backup */
|
|
812
923
|
Backup = "backup",
|
|
924
|
+
/** Restore */
|
|
813
925
|
Restore = "restore",
|
|
926
|
+
/** Setsas */
|
|
814
927
|
Setsas = "setsas",
|
|
928
|
+
/** Listsas */
|
|
815
929
|
Listsas = "listsas",
|
|
930
|
+
/** Getsas */
|
|
816
931
|
Getsas = "getsas",
|
|
932
|
+
/** Deletesas */
|
|
817
933
|
Deletesas = "deletesas"
|
|
818
934
|
}
|
|
819
935
|
|
|
820
936
|
/** Known values of {@link VaultProvisioningState} that the service accepts. */
|
|
821
937
|
export declare enum KnownVaultProvisioningState {
|
|
938
|
+
/** Succeeded */
|
|
822
939
|
Succeeded = "Succeeded",
|
|
940
|
+
/** RegisteringDns */
|
|
823
941
|
RegisteringDns = "RegisteringDns"
|
|
824
942
|
}
|
|
825
943
|
|
|
@@ -841,10 +959,10 @@ export declare interface LogSpecification {
|
|
|
841
959
|
}
|
|
842
960
|
|
|
843
961
|
/** Resource information with extended details. */
|
|
844
|
-
export declare
|
|
962
|
+
export declare interface ManagedHsm extends ManagedHsmResource {
|
|
845
963
|
/** Properties of the managed HSM */
|
|
846
964
|
properties?: ManagedHsmProperties;
|
|
847
|
-
}
|
|
965
|
+
}
|
|
848
966
|
|
|
849
967
|
/** The error exception. */
|
|
850
968
|
export declare interface ManagedHsmError {
|
|
@@ -1146,6 +1264,12 @@ export declare interface ManagedHsmsPurgeDeletedOptionalParams extends coreClien
|
|
|
1146
1264
|
resumeFrom?: string;
|
|
1147
1265
|
}
|
|
1148
1266
|
|
|
1267
|
+
/** Defines headers for ManagedHsms_update operation. */
|
|
1268
|
+
export declare interface ManagedHsmsUpdateHeaders {
|
|
1269
|
+
/** The URI to poll for completion status. */
|
|
1270
|
+
location?: string;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1149
1273
|
/** Optional parameters. */
|
|
1150
1274
|
export declare interface ManagedHsmsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1151
1275
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1211,7 +1335,7 @@ export declare interface MhsmPrivateEndpoint {
|
|
|
1211
1335
|
}
|
|
1212
1336
|
|
|
1213
1337
|
/** Private endpoint connection resource. */
|
|
1214
|
-
export declare
|
|
1338
|
+
export declare interface MhsmPrivateEndpointConnection extends ManagedHsmResource {
|
|
1215
1339
|
/** Modified whenever there is a change in the state of private endpoint connection. */
|
|
1216
1340
|
etag?: string;
|
|
1217
1341
|
/** Properties of the private endpoint object. */
|
|
@@ -1220,10 +1344,14 @@ export declare type MhsmPrivateEndpointConnection = ManagedHsmResource & {
|
|
|
1220
1344
|
privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
|
|
1221
1345
|
/** Provisioning state of the private endpoint connection. */
|
|
1222
1346
|
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
1223
|
-
}
|
|
1347
|
+
}
|
|
1224
1348
|
|
|
1225
1349
|
/** Private endpoint connection item. */
|
|
1226
1350
|
export declare interface MhsmPrivateEndpointConnectionItem {
|
|
1351
|
+
/** Id of private endpoint connection. */
|
|
1352
|
+
id?: string;
|
|
1353
|
+
/** Modified whenever there is a change in the state of private endpoint connection. */
|
|
1354
|
+
etag?: string;
|
|
1227
1355
|
/** Properties of the private endpoint object. */
|
|
1228
1356
|
privateEndpoint?: MhsmPrivateEndpoint;
|
|
1229
1357
|
/** Approval state of the private link connection. */
|
|
@@ -1345,7 +1473,7 @@ export declare interface MhsmPrivateEndpointConnectionsPutOptionalParams extends
|
|
|
1345
1473
|
export declare type MhsmPrivateEndpointConnectionsPutResponse = MhsmPrivateEndpointConnectionsPutHeaders & MhsmPrivateEndpointConnection;
|
|
1346
1474
|
|
|
1347
1475
|
/** A private link resource */
|
|
1348
|
-
export declare
|
|
1476
|
+
export declare interface MhsmPrivateLinkResource extends ManagedHsmResource {
|
|
1349
1477
|
/**
|
|
1350
1478
|
* Group identifier of private link resource.
|
|
1351
1479
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1358,7 +1486,7 @@ export declare type MhsmPrivateLinkResource = ManagedHsmResource & {
|
|
|
1358
1486
|
readonly requiredMembers?: string[];
|
|
1359
1487
|
/** Required DNS zone names of the the private link resource. */
|
|
1360
1488
|
requiredZoneNames?: string[];
|
|
1361
|
-
}
|
|
1489
|
+
}
|
|
1362
1490
|
|
|
1363
1491
|
/** A list of private link resources */
|
|
1364
1492
|
export declare interface MhsmPrivateLinkResourceListResult {
|
|
@@ -1512,7 +1640,7 @@ export declare interface PrivateEndpoint {
|
|
|
1512
1640
|
}
|
|
1513
1641
|
|
|
1514
1642
|
/** Private endpoint connection resource. */
|
|
1515
|
-
export declare
|
|
1643
|
+
export declare interface PrivateEndpointConnection extends Resource {
|
|
1516
1644
|
/** Modified whenever there is a change in the state of private endpoint connection. */
|
|
1517
1645
|
etag?: string;
|
|
1518
1646
|
/** Properties of the private endpoint object. */
|
|
@@ -1521,7 +1649,7 @@ export declare type PrivateEndpointConnection = Resource & {
|
|
|
1521
1649
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
1522
1650
|
/** Provisioning state of the private endpoint connection. */
|
|
1523
1651
|
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
1524
|
-
}
|
|
1652
|
+
}
|
|
1525
1653
|
|
|
1526
1654
|
/** Private endpoint connection item. */
|
|
1527
1655
|
export declare interface PrivateEndpointConnectionItem {
|
|
@@ -1676,7 +1804,7 @@ export declare type PrivateEndpointConnectionsPutResponse = PrivateEndpointConne
|
|
|
1676
1804
|
export declare type PrivateEndpointServiceConnectionStatus = string;
|
|
1677
1805
|
|
|
1678
1806
|
/** A private link resource */
|
|
1679
|
-
export declare
|
|
1807
|
+
export declare interface PrivateLinkResource extends Resource {
|
|
1680
1808
|
/**
|
|
1681
1809
|
* Group identifier of private link resource.
|
|
1682
1810
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1689,7 +1817,7 @@ export declare type PrivateLinkResource = Resource & {
|
|
|
1689
1817
|
readonly requiredMembers?: string[];
|
|
1690
1818
|
/** Required DNS zone names of the the private link resource. */
|
|
1691
1819
|
requiredZoneNames?: string[];
|
|
1692
|
-
}
|
|
1820
|
+
}
|
|
1693
1821
|
|
|
1694
1822
|
/** A list of private link resources */
|
|
1695
1823
|
export declare interface PrivateLinkResourceListResult {
|
|
@@ -1801,13 +1929,14 @@ export declare interface RotationPolicy {
|
|
|
1801
1929
|
}
|
|
1802
1930
|
|
|
1803
1931
|
/** Resource information with extended details. */
|
|
1804
|
-
export declare
|
|
1932
|
+
export declare interface Secret extends Resource {
|
|
1805
1933
|
/** Properties of the secret */
|
|
1806
1934
|
properties: SecretProperties;
|
|
1807
|
-
}
|
|
1935
|
+
}
|
|
1808
1936
|
|
|
1809
1937
|
/** The secret management attributes. */
|
|
1810
|
-
export declare
|
|
1938
|
+
export declare interface SecretAttributes extends Attributes {
|
|
1939
|
+
}
|
|
1811
1940
|
|
|
1812
1941
|
/** Parameters for creating or updating a secret */
|
|
1813
1942
|
export declare interface SecretCreateOrUpdateParameters {
|