Portal Revision - Get
Hiermee haalt u de revisie van de ontwikkelaarsportal op die is opgegeven door de id.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalRevisions/{portalRevisionId}?api-version=2024-05-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
portal
|
path | True |
string minLength: 1maxLength: 256 |
Portalrevisie-id. Moet uniek zijn in het huidige EXEMPLAAR van de API Management-service. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
service
|
path | True |
string minLength: 1maxLength: 50 pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$ |
De naam van de API Management-service. |
subscription
|
path | True |
string (uuid) |
De id van het doelabonnement. De waarde moet een UUID zijn. |
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Hiermee haalt u de revisie van de opgegeven portal op. Kopteksten ETag: string |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
ApiManagementGetPortalRevision
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalRevisions/20201112101010?api-version=2024-05-01
Voorbeeldrespons
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/portalRevisions/20201112101010",
"type": "Microsoft.ApiManagement/service/portalRevisions",
"name": "20201112101010",
"properties": {
"description": "portal revision 1",
"statusDetails": null,
"status": "completed",
"isCurrent": true,
"createdDateTime": "2020-11-12T22:51:36.47Z",
"updatedDateTime": "2020-11-12T22:52:00.097Z"
}
}
Definities
Name | Description |
---|---|
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
Portal |
Contractgegevens van portalrevisie. |
portal |
Status van de revisie van de portal. |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
PortalRevisionContract
Contractgegevens van portalrevisie.
Name | Type | Description |
---|---|---|
id |
string |
Volledig gekwalificeerde resource-id voor de resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
De naam van de resource |
properties.createdDateTime |
string (date-time) |
De aanmaakdatum en -tijd van de portal. |
properties.description |
string maxLength: 2000 |
Beschrijving van portalrevisie. |
properties.isCurrent |
boolean |
Geeft aan of de revisie van de portal openbaar is. |
properties.provisioningState |
string |
De inrichtingsstatus |
properties.status |
Status van de revisie van de portal. |
|
properties.statusDetails |
string maxLength: 2000 |
Details van publicatiestatus van portalrevisie. |
properties.updatedDateTime |
string (date-time) |
Laatst bijgewerkte datum en tijd. |
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
portalRevisionStatus
Status van de revisie van de portal.
Waarde | Description |
---|---|
completed |
De revisiepublicatie van de portal is voltooid. |
failed |
De revisiepublicatie van de portal is mislukt. |
pending |
De revisie van de portal is in de wachtrij geplaatst. |
publishing |
De revisie van de portal wordt gepubliceerd. |