Web Apps - Get Ftp Allowed Slot
에 대한 설명 사이트에서 FTP가 허용되는지 여부를 반환합니다.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/basicPublishingCredentialsPolicies/ftp?api-version=2023-12-01
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
name
|
path | True |
string |
응용 프로그램의 이름입니다. |
resource
|
path | True |
string |
리소스가 속한 리소스 그룹의 이름입니다. Regex pattern: |
slot
|
path | True |
string |
|
subscription
|
path | True |
string |
Azure 구독 ID. GUID 형식 문자열입니다(예: 00000000-0000-0000-0000-0000-00000000000). |
api-version
|
query | True |
string |
API 버전 |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
정상 |
|
Other Status Codes |
오류 응답을 App Service. |
보안
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | 사용자 계정 가장 |
예제
Get FTP Allowed
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp?api-version=2023-12-01
Sample Response
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/basicPublishingCredentialsPolicies/ftp",
"properties": {
"allow": false
}
}
정의
Name | Description |
---|---|
Csm |
자격 증명 정책 매개 변수 게시. |
Default |
오류 응답을 App Service. |
Details | |
Error |
오류 모델. |
CsmPublishingCredentialsPoliciesEntity
자격 증명 정책 매개 변수 게시.
Name | 형식 | Description |
---|---|---|
id |
string |
리소스 ID입니다. |
kind |
string |
리소스 종류입니다. |
name |
string |
리소스 이름입니다. |
properties.allow |
boolean |
|
type |
string |
리소스 종류. |
DefaultErrorResponse
오류 응답을 App Service.
Name | 형식 | Description |
---|---|---|
error |
오류 모델. |
Details
Name | 형식 | Description |
---|---|---|
code |
string |
프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다. |
message |
string |
자세한 오류 설명 및 디버깅 정보입니다. |
target |
string |
자세한 오류 설명 및 디버깅 정보입니다. |
Error
오류 모델.
Name | 형식 | Description |
---|---|---|
code |
string |
프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다. |
details |
Details[] |
자세한 오류입니다. |
innererror |
string |
디버그 오류에 대한 자세한 정보입니다. |
message |
string |
자세한 오류 설명 및 디버깅 정보입니다. |
target |
string |
자세한 오류 설명 및 디버깅 정보입니다. |