Dps Certificate - List
Sağlama hizmetine bağlı tüm sertifikaları alın.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates?api-version=2022-12-12
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
provisioning
|
path | True |
string |
Sertifika alınacak sağlama hizmetinin adı. |
resource
|
path | True |
string |
Kaynak grubunun adı. |
subscription
|
path | True |
string |
Abonelik tanımlayıcısı. |
api-version
|
query | True |
string |
API sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
JSON serileştirilmiş dizideki sertifika açıklamalarının listesi. |
|
Other Status Codes |
Varsayılan hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow.
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
DPSGetCertificates
Örnek isteği
GET https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/provisioningServices/myFirstProvisioningService/certificates?api-version=2022-12-12
Örnek yanıt
{
"value": [
{
"properties": {
"subject": "CN=testdevice1",
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
"isVerified": false,
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
"updated": "Thu, 12 Oct 2017 19:23:50 GMT",
"certificate": "MA=="
},
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/andbuc-hub/certificates/cert",
"name": "cert",
"type": "Microsoft.Devices/ProvisioningServices/Certificates",
"etag": "AAAAAAExpNs="
}
]
}
Tanımlar
Name | Description |
---|---|
Certificate |
Sertifika nesnelerinin JSON serileştirilmiş dizisi. |
Certificate |
X509 CA Sertifikasının açıklaması. |
Certificate |
X509 Sertifikası. |
created |
Kaynağı oluşturan kimliğin türü. |
Error |
Hata ayrıntıları. |
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
CertificateListDescription
Sertifika nesnelerinin JSON serileştirilmiş dizisi.
Name | Tür | Description |
---|---|---|
value |
Sertifika nesneleri dizisi. |
CertificateProperties
X509 CA Sertifikasının açıklaması.
Name | Tür | Description |
---|---|---|
certificate |
string |
X509 sertifikası .cer dosyasının veya yalnızca .pem dosya içeriğinin temel-64 gösterimi. |
created |
string |
Sertifikanın oluşturma tarihi ve saati. |
expiry |
string |
Sertifikanın son kullanma tarihi ve saati. |
isVerified |
boolean |
Sertifikanın doğrulanıp doğrulanmamış olduğunu belirler. |
subject |
string |
Sertifikanın konu adı. |
thumbprint |
string |
Sertifikanın parmak izi. |
updated |
string |
Sertifikanın son güncelleştirme tarihi ve saati. |
CertificateResponse
X509 Sertifikası.
Name | Tür | Description |
---|---|---|
etag |
string |
Varlık etiketi. |
id |
string |
Kaynak tanımlayıcısı. |
name |
string |
Sertifikanın adı. |
properties |
sertifikanın özellikleri |
|
systemData |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
|
type |
string |
Kaynak türü. |
createdByType
Kaynağı oluşturan kimliğin türü.
Name | Tür | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorDetails
Hata ayrıntıları.
Name | Tür | Description |
---|---|---|
code |
integer |
Hata kodu. |
details |
string |
Hata ayrıntıları. |
httpStatusCode |
string |
HTTP durum kodu. |
message |
string |
Hata iletisi. |
systemData
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.
Name | Tür | Description |
---|---|---|
createdAt |
string |
Kaynak oluşturma (UTC) zaman damgası. |
createdBy |
string |
Kaynağı oluşturan kimlik. |
createdByType |
Kaynağı oluşturan kimliğin türü. |
|
lastModifiedAt |
string |
Kaynağın son değişikliğinin zaman damgası (UTC) |
lastModifiedBy |
string |
Kaynağı en son değiştiren kimlik. |
lastModifiedByType |
Kaynağı en son değiştiren kimliğin türü. |