Delen via


Web Apps - List Site Containers Slot

Lijsten alle sitecontainers van een site of een implementatiesite.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

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

slot
path True

string

Naam van de implementatiesite. Als er geen site is opgegeven, krijgt de API een lijst met sitecontainers voor de productiesite.

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000).

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

SiteContainerCollection

OK

Other Status Codes

DefaultErrorResponse

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

Definities

Name Description
AuthType

Verificatietype

DefaultErrorResponse

App Service foutreactie.

Details
EnvironmentVariable
Error

Foutmodel.

SiteContainer

Container van een site

SiteContainerCollection

Verzameling van sitecontainers

VolumeMount

AuthType

Verificatietype

Name Type Description
Anonymous

string

SystemIdentity

string

UserAssigned

string

UserCredentials

string

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

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.

EnvironmentVariable

Name Type Description
name

string

Naam van omgevingsvariabele

value

string

Waarde van omgevingsvariabele

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.

SiteContainer

Container van een site

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.authType

AuthType

Verificatietype

properties.createdTime

string

Gemaakt om

properties.environmentVariables

EnvironmentVariable[]

Lijst met omgevingsvariabelen

properties.image

string

Naam van installatiekopie

properties.isMain

boolean

true als de container de hoofdsitecontainer is; false Anders.

properties.lastModifiedTime

string

Tijdstip laatst gewijzigd

properties.passwordSecret

string

Wachtwoordgeheim

properties.startUpCommand

string

Opstartopdracht

properties.targetPort

string

Doelpoort

properties.userManagedIdentityClientId

string

UserManagedIdentity ClientId

properties.userName

string

Gebruikersnaam

properties.volumeMounts

VolumeMount[]

Lijst met volumekoppelingen

type

string

Resourcetype.

SiteContainerCollection

Verzameling van sitecontainers

Name Type Description
nextLink

string

Koppeling naar de volgende pagina met resources.

value

SiteContainer[]

Verzameling resources.

VolumeMount

Name Type Description
containerMountPath

string

Doelpad op de container waarop het volume is gekoppeld

data

string

Configuratiegegevens die op het volume moeten worden gekoppeld

readOnly

boolean

Booleaanse waarde om op te geven of de koppeling alleen-lezen is voor de container

volumeSubPath

string

Subpad in het volume waaruit het volume is gekoppeld.