Share via


Certificates - Get

Beschrijving voor Een certificaat ophalen.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
name
path True

string

Naam van het certificaat.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex pattern: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000).

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

Certificate

OK

Other Status Codes

DefaultErrorResponse

App Service foutreactie.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Get Certificate

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282?api-version=2023-12-01

Sample Response

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc6282",
  "name": "testc6282",
  "type": "Microsoft.Web/certificates",
  "location": "East US",
  "properties": {
    "friendlyName": "",
    "subjectName": "ServerCert",
    "hostNames": [
      "ServerCert"
    ],
    "issuer": "CACert",
    "issueDate": "2015-11-12T23:40:25+00:00",
    "expirationDate": "2039-12-31T23:59:59+00:00",
    "thumbprint": "FE703D7411A44163B6D32B3AD9B03E175886EBFE"
  }
}

Definities

Name Description
Certificate

SSL-certificaat voor een app.

DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

HostingEnvironmentProfile

Specificatie voor een App Service Environment die voor deze resource moet worden gebruikt.

KeyVaultSecretStatus

Status van het Key Vault geheim.

Certificate

SSL-certificaat voor een app.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

location

string

Resourcelocatie.

name

string

Resourcenaam.

properties.canonicalName

string

CNAME van het certificaat dat moet worden uitgegeven via een gratis certificaat

properties.cerBlob

string

Onbewerkte bytes van .cer bestand

properties.domainValidationMethod

string

Methode voor domeinvalidatie voor gratis certificaat

properties.expirationDate

string

Vervaldatum van certificaat.

properties.friendlyName

string

Beschrijvende naam van het certificaat.

properties.hostNames

string[]

Hostnamen waarop het certificaat van toepassing is.

properties.hostingEnvironmentProfile

HostingEnvironmentProfile

Specificatie voor de App Service Environment die voor het certificaat moeten worden gebruikt.

properties.issueDate

string

Datum van certificaatuitgifte.

properties.issuer

string

Certificaatverlener.

properties.keyVaultId

string

Key Vault Csm-resource-id.

properties.keyVaultSecretName

string

Key Vault geheime naam.

properties.keyVaultSecretStatus

KeyVaultSecretStatus

Status van het Key Vault geheim.

properties.password

string

Certificaatwachtwoord.

properties.pfxBlob

string

Pfx-blob.

properties.publicKeyHash

string

Hash van openbare sleutel.

properties.selfLink

string

Zelfkoppeling.

properties.serverFarmId

string

Resource-id van het gekoppelde App Service-abonnement, opgemaakt als: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

properties.siteName

string

App-naam.

properties.subjectName

string

Onderwerpnaam van het certificaat.

properties.thumbprint

string

Vingerafdruk van certificaat.

properties.valid

boolean

Is het certificaat geldig?

tags

object

Resourcetags.

type

string

Resourcetype.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

Error

Foutmodel.

Details

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

Error

Foutmodel.

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

details

Details[]

Gedetailleerde fouten.

innererror

string

Meer informatie over foutopsporing.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

HostingEnvironmentProfile

Specificatie voor een App Service Environment die voor deze resource moet worden gebruikt.

Name Type Description
id

string

Resource-id van de App Service Environment.

name

string

Naam van de App Service Environment.

type

string

Resourcetype van de App Service Environment.

KeyVaultSecretStatus

Status van het Key Vault geheim.

Name Type Description
AzureServiceUnauthorizedToAccessKeyVault

string

CertificateOrderFailed

string

ExternalPrivateKey

string

Initialized

string

KeyVaultDoesNotExist

string

KeyVaultSecretDoesNotExist

string

OperationNotPermittedOnKeyVault

string

Succeeded

string

Unknown

string

UnknownError

string

WaitingOnCertificateOrder

string