Certificates - List By Resource Group
Beschrijving voor Alle certificaten in een resourcegroep ophalen.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex pattern: |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK. |
|
Other Status Codes |
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
List Certificates by resource group
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates?api-version=2023-12-01
Sample Response
{
"value": [
{
"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"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/certificates/testc4912",
"name": "testc4912",
"type": "Microsoft.Web/certificates",
"location": "West US",
"properties": {
"friendlyName": "",
"subjectName": "ServerCert2",
"hostNames": [
"ServerCert2"
],
"issuer": "CACert",
"issueDate": "2015-12-12T23:40:25+00:00",
"expirationDate": "2040-12-31T23:59:59+00:00",
"thumbprint": "FE703D7411A44163B6D32B3AD9B0490D5886EBFE"
}
}
]
}
Definities
Name | Description |
---|---|
Certificate |
SSL-certificaat voor een app. |
Certificate |
Verzameling certificaten. |
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Hosting |
Specificatie voor een App Service Environment die moet worden gebruikt voor deze resource. |
Key |
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 van 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 |
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 |
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. |
CertificateCollection
Verzameling certificaten.
Name | Type | Description |
---|---|---|
nextLink |
string |
Koppeling naar de volgende pagina met resources. |
value |
Verzameling van resources. |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
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 moet worden gebruikt voor deze resource.
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 |