Share via


Web Apps - List Azure Storage Accounts

Az alkalmazás Azure Storage-fiókkonfigurációinak lekérése című cikk leírása.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list?api-version=2023-12-01

URI-paraméterek

Name In Kötelező Típus Description
name
path True

string

Az alkalmazás neve.

resourceGroupName
path True

string

Annak az erőforráscsoportnak a neve, amelyhez az erőforrás tartozik.

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

subscriptionId
path True

string

Az Azure-előfizetés azonosítója. Ez egy GUID formátumú sztring (például 00000000-0000-0000-0000-00000000000000).

api-version
query True

string

API-verzió

Válaszok

Name Típus Description
200 OK

AzureStoragePropertyDictionaryResource

OK

Other Status Codes

DefaultErrorResponse

App Service hibaválasz.

Biztonság

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 felhasználói fiók megszemélyesítése

Definíciók

Name Description
AzureStorageInfoValue

Azure Files vagy Blob Storage hozzáférési információ értéke a szótártárolóhoz.

AzureStoragePropertyDictionaryResource

AzureStorageInfo szótárerőforrás.

AzureStorageProtocol

Csatlakoztatási protokoll a tárfiókhoz.

AzureStorageState

A tárfiók állapota.

AzureStorageType

A tároló típusa.

DefaultErrorResponse

App Service hibaválasz.

Details
Error

Hibamodell.

AzureStorageInfoValue

Azure Files vagy Blob Storage hozzáférési információ értéke a szótártárolóhoz.

Name Típus Description
accessKey

string

A tárfiók hozzáférési kulcsa.

accountName

string

A tárfiók neve.

mountPath

string

A tároló csatlakoztatásának elérési útja a hely futtatókörnyezetében.

protocol

AzureStorageProtocol

Csatlakoztatási protokoll a tárfiókhoz.

shareName

string

A fájlmegosztás neve (tároló neve a Blob Storage esetében).

state

AzureStorageState

A tárfiók állapota.

type

AzureStorageType

A tároló típusa.

AzureStoragePropertyDictionaryResource

AzureStorageInfo szótárerőforrás.

Name Típus Description
id

string

Erőforrás-azonosító.

kind

string

Erőforrás típusa.

name

string

Erőforrás neve.

properties.

AzureStorageInfoValue

Azure Files vagy Blob Storage hozzáférési információ értéke a szótártárolóhoz.

type

string

Erőforrástípus.

AzureStorageProtocol

Csatlakoztatási protokoll a tárfiókhoz.

Name Típus Description
Http

string

Nfs

string

Smb

string

AzureStorageState

A tárfiók állapota.

Name Típus Description
InvalidCredentials

string

InvalidShare

string

NotValidated

string

Ok

string

AzureStorageType

A tároló típusa.

Name Típus Description
AzureBlob

string

AzureFiles

string

DefaultErrorResponse

App Service hibaválasz.

Name Típus Description
error

Error

Hibamodell.

Details

Name Típus Description
code

string

Szabványosított sztring a hiba programozott azonosításához.

message

string

Részletes hibaleírás és hibakeresési információk.

target

string

Részletes hibaleírás és hibakeresési információk.

Error

Hibamodell.

Name Típus Description
code

string

Szabványosított sztring a hiba programozott azonosításához.

details

Details[]

Részletes hibák.

innererror

string

További információ a hibakereséshez.

message

string

Részletes hibaleírás és hibakeresési információk.

target

string

Részletes hibaleírás és hibakeresési információk.