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
provisioningServiceName
path True

string

Sertifika alınacak sağlama hizmetinin adı.

resourceGroupName
path True

string

Kaynak grubunun adı.

subscriptionId
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

CertificateListDescription

JSON serileştirilmiş dizideki sertifika açıklamalarının listesi.

Other Status Codes

ErrorDetails

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
CertificateListDescription

Sertifika nesnelerinin JSON serileştirilmiş dizisi.

CertificateProperties

X509 CA Sertifikasının açıklaması.

CertificateResponse

X509 Sertifikası.

createdByType

Kaynağı oluşturan kimliğin türü.

ErrorDetails

Hata ayrıntıları.

systemData

Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.

CertificateListDescription

Sertifika nesnelerinin JSON serileştirilmiş dizisi.

Name Tür Description
value

CertificateResponse[]

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

CertificateProperties

sertifikanın özellikleri

systemData

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

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

createdByType

Kaynağı en son değiştiren kimliğin türü.