You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
36
+
*/
37
+
#suppress"@azure-tools/typespec-azure-core/use-standard-operations""Foundations.Operation is necessary for Key Vault"
38
+
#suppress"@azure-tools/typespec-azure-core/use-standard-names""Operation name is already established"
39
+
@summary("List certificates in a specified key vault")
40
+
@route("/certificates")
41
+
@get
42
+
oplistCertificatePropertiesisKeyVaultOperation<
43
+
{
44
+
/**
45
+
* Specifies whether to include certificates which are not completely provisioned.
46
+
*/
47
+
@query("includePending")
48
+
includePending?:boolean;
49
+
},
50
+
CertificateListResult
51
+
>;
52
+
53
+
/**
54
+
* The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
55
+
*/
56
+
#suppress"@azure-tools/typespec-azure-core/use-standard-operations""Foundations.Operation is necessary for Key Vault"
57
+
#suppress"@azure-tools/typespec-azure-core/use-standard-names""Operation name is already established"
58
+
@summary("List certificate issuers for a specified key vault.")
* The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
65
+
*/
66
+
#suppress"@azure-tools/typespec-azure-core/use-standard-operations""Foundations.Operation is necessary for Key Vault"
67
+
#suppress"@azure-tools/typespec-azure-core/use-standard-names""Operation name is already established"
* The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
85
+
*/
86
+
#suppress"@azure-tools/typespec-azure-core/use-standard-operations""Foundations.Operation is necessary for Key Vault"
87
+
#suppress"@azure-tools/typespec-azure-core/use-standard-names""Operation name is already established"
88
+
@summary("Lists the deleted certificates in the specified vault currently available for recovery.")
Copy file name to clipboardExpand all lines: specification/keyvault/Security.KeyVault.Certificates/routes.tsp
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,7 @@ import "@typespec/rest";
4
4
import"./models.tsp";
5
5
import"../Security.KeyVault.Common/common.tsp";
6
6
7
-
usingAzure.Core;
8
-
usingAzure.Core.Traits;
9
7
usingAzure.ClientGenerator.Core;
10
-
usingTypeSpec.Rest;
11
8
usingTypeSpec.Http;
12
9
13
10
namespaceKeyVault;
@@ -129,6 +126,7 @@ op setCertificateIssuer is KeyVaultOperation<
129
126
* The name of the issuer. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.
130
127
*/
131
128
@path("issuer-name")
129
+
@clientName("name", "go")
132
130
issuerName:string;
133
131
134
132
/**
@@ -155,6 +153,7 @@ op updateCertificateIssuer is KeyVaultOperation<
155
153
* The name of the issuer.
156
154
*/
157
155
@path("issuer-name")
156
+
@clientName("name", "go")
158
157
issuerName:string;
159
158
160
159
/**
@@ -181,6 +180,7 @@ op getCertificateIssuer is KeyVaultOperation<
181
180
* The name of the issuer.
182
181
*/
183
182
@path("issuer-name")
183
+
@clientName("name", "go")
184
184
issuerName:string;
185
185
},
186
186
IssuerBundle
@@ -199,6 +199,7 @@ op deleteCertificateIssuer is KeyVaultOperation<
* The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
32
+
*/
33
+
#suppress"@azure-tools/typespec-azure-core/use-standard-operations""Foundations.Operation is necessary for Key Vault"
34
+
#suppress"@azure-tools/typespec-azure-core/use-standard-names""Operation name is already established"
35
+
@summary("Retrieves a list of individual key versions with the same key name.")
36
+
@route("/keys/{key-name}/versions")
37
+
@get
38
+
oplistKeyPropertiesVersionsisKeyVaultOperation<
39
+
{
40
+
/**
41
+
* The name of the key.
42
+
*/
43
+
@path("key-name")
44
+
@clientName("name", "go")
45
+
keyName:string;
46
+
},
47
+
KeyListResult
48
+
>;
49
+
50
+
/**
51
+
* Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
52
+
*/
53
+
#suppress"@azure-tools/typespec-azure-core/use-standard-operations""Foundations.Operation is necessary for Key Vault"
54
+
#suppress"@azure-tools/typespec-azure-core/use-standard-names""Operation name is already established"
* Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
62
+
*/
63
+
#suppress"@azure-tools/typespec-azure-core/use-standard-operations""Foundations.Operation is necessary for Key Vault"
64
+
#suppress"@azure-tools/typespec-azure-core/use-standard-names""Operation name is already established"
65
+
@summary("Lists the deleted keys in the specified vault.")
0 commit comments