Delen via


Web Apps - Create Deployment Slot

Beschrijving voor Creatie een implementatie voor een app of een implementatiesite.

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

URI-parameters

Name In Vereist Type Description
id
path True

string

Id van een bestaande implementatie.

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, maakt de API een implementatie 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

Aanvraagbody

Name Type Description
kind

string

Soort resource.

properties.active

boolean

Waar als de implementatie momenteel actief is, onwaar als deze is voltooid en null als de implementatie niet is gestart.

properties.author

string

Wie heeft de implementatie gemaakt.

properties.author_email

string

E-mailadres van auteur.

properties.deployer

string

Wie heeft de implementatie uitgevoerd.

properties.details

string

Details over de implementatie.

properties.end_time

string

Eindtijd.

properties.message

string

Details over de implementatiestatus.

properties.start_time

string

Begintijd.

properties.status

integer

Implementatiestatus.

Antwoorden

Name Type Description
200 OK

Deployment

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
DefaultErrorResponse

App Service foutreactie.

Deployment

Gebruikersreferenties die worden gebruikt voor publicatieactiviteit.

Details
Error

Foutmodel.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

Error

Foutmodel.

Deployment

Gebruikersreferenties die worden gebruikt voor publicatieactiviteit.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.active

boolean

Waar als de implementatie momenteel actief is, onwaar als deze is voltooid en null als de implementatie niet is gestart.

properties.author

string

Wie heeft de implementatie gemaakt.

properties.author_email

string

E-mailadres van auteur.

properties.deployer

string

Wie heeft de implementatie uitgevoerd.

properties.details

string

Details over de implementatie.

properties.end_time

string

Eindtijd.

properties.message

string

Details over de implementatiestatus.

properties.start_time

string

Begintijd.

properties.status

integer

Implementatiestatus.

type

string

Resourcetype.

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.