Web Apps - List Basic Publishing Credentials Policies Slot
Beschrijving voor Retourneert of Scm-basisverificatie is toegestaan en of FTP is toegestaan voor een bepaalde site.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
Naam van de app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
slot
|
path | True |
string |
|
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
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | uw gebruikersaccount imiteren |
Voorbeelden
List Publishing Credentials Policies
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies?api-version=2023-12-01
Voorbeeldrespons
{
"value": [
{
"id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/ftp",
"name": "ftp",
"type": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies",
"properties": {
"allow": true
}
},
{
"id": "/subscriptions/3fb8d758-2e2c-42e9-a528-a8acdfe87237/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite/slots/staging/basicPublishingCredentialsPolicies/scm",
"name": "scm",
"type": "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies",
"properties": {
"allow": true
}
}
]
}
Definities
Name | Description |
---|---|
Csm |
Parameters voor beleid voor publicatiereferenties. |
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Publishing |
ARM-resource voor het publiceren van referentiebeleid voor entiteitenverzameling. |
CsmPublishingCredentialsPoliciesEntity
Parameters voor beleid voor publicatiereferenties.
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.allow |
boolean |
|
type |
string |
Resourcetype. |
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. |
PublishingCredentialsPoliciesCollection
ARM-resource voor het publiceren van referentiebeleid voor entiteitenverzameling.
Name | Type | Description |
---|---|---|
nextLink |
string |
Koppeling naar de volgende pagina met resources. |
value |
Verzameling van resources. |